All notable changes to this project will be documented in this file.
This change log follows the conventions of keepachangelog.com.
2024-7-6
kushi.ui.playground
design and implementation, which drives the design.kushi
interactive site running on Github Pages.:.offscreen
:.neutralize
:.convex
, :.convex-0
~ convex-5
:.sans
and :.serif
kushi.ui.divisor.core/divisor
component and related $:divisor-*
tokens and :.divisor-*
utility classes.kushi.ui.link
componentkushi.ui.switch.core/switch
to use :.no-shrink
classThe following components have been renamed:
kushi.ui.alert.core/alert
-> kushi.ui.callout.core/callout
kushi.ui.progress.core/progress
-> kushi.ui.progress.core/spinner
kushi.ui.progress.core/spinner
-> kushi.ui.progress.core/donut
kushi.ui.input.text.core/input
-> kushi.ui.text-field.core/text-field
All <input>
related component namespaces have been simplified:
kushi.ui.input.checkbox.core
-> kushi.ui.checkbox.core
kushi.ui.input.radio.core
-> kushi.ui.radio.core
kushi.ui.input.slider.core
-> kushi.ui.slider.core
kushi.ui.input.switch.core
-> kushi.ui.switch.core
kushi.ui.input.text.core/input
-> kushi.ui.text-field.core/text-field
All uses of fg
in token and utility class names has been hydrated to foreground
:
$neutral-fg
-> $neutral-foreground
:.neutral-fg
-> :.neutral-foreground
:$progress-animation-duration
-> :$spinner-animation-duration
Default value of $pane-min-width
is now 70px
Default value of $pane-min-height
is now 35px
2024-3-21
design.kushi/domo
in place of kushi.ui.dom
:-reveal-on-click?
:-reveal-on-click-duration
from tooltip. These will resurface in upcoming toggle tip or popover component.kushi.dom.ui
namespace. Replaced by dependency design.kushi/domo
2023-5-17
:-textarea?
option on kushi.ui.input.text/input
component. Closes #43kushi.ui.modal
documentation instructions, Fixes #422023-5-17
kushi.core/breakpoints
kushi.core/token->ms
has-parent()
and has-ancestor()
:add-css-reset?
option adds css reset to stylesheetkushi.core/add-google-font!
kushi.core/add-google-material-symbols-font!
$
syntax for css variables "var(--foo)"
-> :$foo
:.shrink
:.grow
:.after-absolute-centered
and :.northwest
:.inline-block
, :.inline-flex
, etc.:.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
Added a kushi.ui.*
set of namespaces for library components which includes
kushi.ui.core/lightswitch!
for toggling between light and dark modes.
kushi.ui.progress.core
ns with basics components for animated loading/progress indicators.
neutral
warning
positive
negative
accent
default
minimal
bordered
filled
pill
rounded
sharp
.edn
theme file.gray
, purple
, blue
, green
, lime
, yellow
, gold
, orange
, red
, magenta
, and brown
$white-transparent-50
, $dark-gray-transparent-15
, etc.:.bordered-red
, :.bordered-blue
, etc. for all colors in stock kushi pallette.kushi.playground.*
set of namespaces for generating interactive documentation
site for projects.:log-*
options to config to control what gets logged on each build.kushi.ui.dom
utility namespace for helper fns like copy-to-clipboard!
, scroll-into-view!
, screen-quadrant
, and many more.kushi.core/merge-with-style
renamed to kushi.core/merge-attrs
kushi.core/merge-with-style
renamed to kushi.core/merge-attrs
kushi.core/add-system-font-stack
map-mode
.2022-1-14
map-mode
, which enables opting-in to project-wide style-map syntax instead of default atomic syntax
thin
,extra-light
,light
,regular
,medium
,semi-bold
,bold
,extra-bold
,heavy
props to built-in atomic classes. These correspond to font-weight
values 100
- 900
.
italic
and oblique
(font-style
) to built-in atomic classes
visibility
prop to available shorthand list.
zi
(z-index) prop to available shorthand list.
data-cljs
attribute (ns and LOC info)
is automatically added to styled elements for dev builds
Example reageant project.
:select-ns
config option for narrowing compilation to select namespaces
Support for error reporting and assertion errors in the case of duplicate keyframe
names, duplicate defclass
names, and duplicate :prefix
+ :ident
combos.
Support for bad modifier warnings.
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.
Bad arg console warnings for defclass
Ensure correct printing order of media query rules
deref
'ed atoms use the same css var naming convention as normal bindings
Pre-formatting of js warnings for bad args fixes edge case dev build exceptions.
2021-08-16
2021-08-10
defclass
and sx
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