Liking cljdoc? Tell your friends :D

Change Log

All notable changes to this project will be documented in this file.
This change log follows the conventions of keepachangelog.com.

1.0.0-a.19

2023-5-17

Added

  • Textarea primitive support via :-textarea? option on kushi.ui.input.text/input component. Closes #43

Fixed

Breaking changes

  • kushi.ui.collapse.core/accordian -> kushi.ui.collapse.core/accordion

1.0.0-a.18

2023-5-17

Added

Functionality

  • kushi.core/breakpoints
  • kushi.core/token->ms

Styling Engine / sx macro

  • Support mixing of shorthand and map notation in argument to sx macro
  • Support has-parent() and has-ancestor()
  • Support all pseudo and combo selectors

Font loading

  • kushi.core/add-google-font!
  • kushi.core/add-google-material-symbols-font!

Typography

  • Added type scale system
  • Ability to create custom type scale system with half-step shifts.

Design tokens

  • Introduced use of $ syntax for css variables "var(--foo)" -> :$foo
  • Non-combo flex utility classes such as :.shrink :.grow
  • Combinatorial absolute and fixed positioning utilities such as :.after-absolute-centered and :.northwest
  • Augmented display utility classes with :.inline-block, :.inline-flex, etc.
  • `:.enhanceable`` utility class for icons
  • :.xxxtight ~ :.xxxloose utility class scale for tracking
  • :.xxxfast ~ :.xxxloose utility class scale for animations
  • :.rounded-xxxsmall ~ :.rounded-xxxlarge utility class scale for rounded-corners
  • :.convex, :.debossed, :.elevated-0 ~ :.elevated-5

UI Component Library

  • Added a kushi.ui.* set of namespaces for library components which includes

    • Button
    • Radio
    • Checkbox
    • Switch
    • Input
    • Slider
    • Tooltip
    • Icons
    • Tag
    • Label
    • Card
    • Alert
    • Modal
    • Collapse
    • Accordion
    • Grid
  • kushi.ui.core/lightswitch! for toggling between light and dark modes.

  • kushi.ui.progress.core ns with basics components for animated loading/progress indicators.

Design system

  • Added complete design system with light/dark support across variants:
    • Semantic variants:
      • neutral
      • warning
      • positive
      • negative
      • accent
    • Kind variants:
      • default
      • minimal
      • bordered
      • filled
    • Shape variants:
      • pill
      • rounded
      • sharp
  • Ability to theme with user .edn theme file.
  • Color pallet of gray, purple, blue, green, lime, yellow, gold, orange, red, magenta, and brown
  • Scaled transparent grayscale design tokens e.g. $white-transparent-50, $dark-gray-transparent-15, etc.
  • :.bordered-red, :.bordered-blue, etc. for all colors in stock kushi pallette.
  • Support syncing of type weight with radio and checkbox outline/border-width

Interactive documentation

  • Added a kushi.playground.* set of namespaces for generating interactive documentation site for projects.

Build system

  • Ability to elide sections of css output by category.
  • Added various :log-* options to config to control what gets logged on each build.

DOM utility namespace

  • Added kushi.ui.dom utility namespace for helper fns like copy-to-clipboard!, scroll-into-view!, screen-quadrant, and many more.

Changed

  • kushi.core/merge-with-style renamed to kushi.core/merge-attrs

Icons

  • Uses Material Symbols instead of Material Icons

Fixed

  • kushi.core/merge-with-style renamed to kushi.core/merge-attrs

Removed

  • kushi.core/add-system-font-stack
  • Explicit map-mode.

1.0.0-alpha

2022-1-14

Added

Changed

  • User-defined media queries (breakpoints) scale in kushi.edn now expects a vector of kwargs (instead of a map)

  • defkeyframes now takes a symbol as name, instead of a keyword

  • Use :ancestor instead of :parent for ancestor prefixing options

  • Removed :sans-serif, :serif, and :code from built-in atomic classes.

  • Removed kushi-specific :fn key in attributes map to refer to var-quoted component function.

  • Refactored stylesheet and reporting namespaces.

Fixed

0.1.2

2021-08-16

Fixed

  • Conditional application of classes
  • Browser console warnings for invalid number values
  • Diagnostic printing config options

0.1.1

2021-08-10

Fixed

  • Console warnings for defclass and sx
  • Diagnostic printing

0.1.0

2021-08-06

Initial commit.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close