@crisp-ui-kit/crisp 0.31.5 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +88 -0
- package/README.md +22 -0
- package/dist/accordion.css +13 -13
- package/dist/accordion.layered.css +23 -0
- package/dist/appshell.css +11 -11
- package/dist/appshell.layered.css +25 -0
- package/dist/authshell.css +23 -23
- package/dist/authshell.layered.css +59 -0
- package/dist/avatar.css +23 -23
- package/dist/avatar.layered.css +41 -0
- package/dist/avatargroup.css +2 -2
- package/dist/avatargroup.layered.css +7 -0
- package/dist/badge.css +31 -31
- package/dist/badge.layered.css +51 -0
- package/dist/barchart.css +15 -15
- package/dist/barchart.layered.css +25 -0
- package/dist/base.css +4 -4
- package/dist/board.css +20 -20
- package/dist/board.layered.css +34 -0
- package/dist/breadcrumb.css +8 -8
- package/dist/breadcrumb.layered.css +13 -0
- package/dist/bulkbar.css +13 -13
- package/dist/bulkbar.layered.css +23 -0
- package/dist/button.css +21 -21
- package/dist/button.layered.css +46 -0
- package/dist/callout.css +15 -15
- package/dist/callout.layered.css +18 -0
- package/dist/card.css +14 -14
- package/dist/card.layered.css +30 -0
- package/dist/checkbox.css +9 -9
- package/dist/checkbox.layered.css +21 -0
- package/dist/cjs/components/accordion/accordion.js +1 -1
- package/dist/cjs/components/accordion/accordion.recipe.js +10 -10
- package/dist/cjs/components/badge/badge.js +1 -1
- package/dist/cjs/components/badge/badge.recipe.js +1 -1
- package/dist/cjs/components/barchart/barchart.js +3 -3
- package/dist/cjs/components/barchart/barchart.recipe.js +14 -14
- package/dist/cjs/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/cjs/components/breadcrumb/breadcrumb.recipe.js +6 -6
- package/dist/cjs/components/bulkbar/bulkbar.js +2 -2
- package/dist/cjs/components/bulkbar/bulkbar.recipe.js +10 -10
- package/dist/cjs/components/callout/callout.js +1 -1
- package/dist/cjs/components/callout/callout.recipe.js +9 -9
- package/dist/cjs/components/card/card.js +3 -3
- package/dist/cjs/components/card/card.recipe.js +5 -5
- package/dist/cjs/components/columncalc/columncalc.js +1 -1
- package/dist/cjs/components/columncalc/columncalc.recipe.js +16 -9
- package/dist/cjs/components/contextmenu/contextmenu.js +4 -4
- package/dist/cjs/components/contextmenu/contextmenu.recipe.js +9 -9
- package/dist/cjs/components/datatable/datatable.js +21 -19
- package/dist/cjs/components/datatable/datatable.recipe.js +57 -57
- package/dist/cjs/components/datepicker/datepicker.js +12 -12
- package/dist/cjs/components/datepicker/datepicker.recipe.js +45 -45
- package/dist/cjs/components/datepickerfield/datepickerfield.js +2 -2
- package/dist/cjs/components/datepickerfield/datepickerfield.recipe.js +9 -9
- package/dist/cjs/components/dialog/dialog.js +5 -5
- package/dist/cjs/components/dialog/dialog.recipe.js +16 -16
- package/dist/cjs/components/donutchart/donutchart.js +1 -1
- package/dist/cjs/components/donutchart/donutchart.recipe.js +12 -12
- package/dist/cjs/components/drawer/drawer.js +3 -3
- package/dist/cjs/components/drawer/drawer.recipe.js +14 -14
- package/dist/cjs/components/emptystate/emptystate.js +1 -1
- package/dist/cjs/components/emptystate/emptystate.recipe.js +9 -9
- package/dist/cjs/components/fileupload/fileupload.js +3 -3
- package/dist/cjs/components/fileupload/fileupload.recipe.js +23 -23
- package/dist/cjs/components/formfield/formfield.js +1 -1
- package/dist/cjs/components/formfield/formfield.recipe.js +5 -5
- package/dist/cjs/components/input/input.js +1 -1
- package/dist/cjs/components/input/input.recipe.js +6 -6
- package/dist/cjs/components/linechart/linechart.js +4 -4
- package/dist/cjs/components/linechart/linechart.recipe.js +14 -14
- package/dist/cjs/components/menu/menu.js +6 -6
- package/dist/cjs/components/menu/menu.recipe.js +19 -19
- package/dist/cjs/components/multiselect/multiselect.js +5 -5
- package/dist/cjs/components/multiselect/multiselect.recipe.js +29 -29
- package/dist/cjs/components/popover/popover.js +1 -1
- package/dist/cjs/components/popover/popover.recipe.js +3 -3
- package/dist/cjs/components/progress/progress.js +2 -2
- package/dist/cjs/components/progress/progress.recipe.js +3 -3
- package/dist/cjs/components/quantitypicker/quantitypicker.js +2 -2
- package/dist/cjs/components/quantitypicker/quantitypicker.recipe.js +16 -16
- package/dist/cjs/components/radiogroup/radiogroup.js +1 -1
- package/dist/cjs/components/radiogroup/radiogroup.recipe.js +14 -14
- package/dist/cjs/components/resizablepanel/resizablepanel.js +3 -3
- package/dist/cjs/components/resizablepanel/resizablepanel.recipe.js +24 -24
- package/dist/cjs/components/segmented/segmented.js +4 -4
- package/dist/cjs/components/segmented/segmented.recipe.js +7 -7
- package/dist/cjs/components/select/select.js +3 -3
- package/dist/cjs/components/select/select.recipe.js +25 -25
- package/dist/cjs/components/slider/slider.js +2 -2
- package/dist/cjs/components/slider/slider.recipe.js +15 -15
- package/dist/cjs/components/stagebar/stagebar.js +1 -1
- package/dist/cjs/components/stagebar/stagebar.recipe.js +1 -1
- package/dist/cjs/components/statcard/statcard.js +1 -1
- package/dist/cjs/components/statcard/statcard.recipe.js +9 -9
- package/dist/cjs/components/switch/switch.js +1 -1
- package/dist/cjs/components/switch/switch.recipe.js +2 -2
- package/dist/cjs/components/table/table.js +1 -1
- package/dist/cjs/components/table/table.recipe.js +1 -1
- package/dist/cjs/components/tabletoolbar/tabletoolbar.chrome.js +65 -64
- package/dist/cjs/components/tabletoolbar/tabletoolbar.js +13 -13
- package/dist/cjs/components/tabs/tabs.js +4 -4
- package/dist/cjs/components/tabs/tabs.recipe.js +12 -12
- package/dist/cjs/components/textarea/textarea.js +2 -2
- package/dist/cjs/components/textarea/textarea.recipe.js +11 -11
- package/dist/cjs/components/toast/toast.js +4 -4
- package/dist/cjs/components/toast/toast.recipe.js +14 -14
- package/dist/cjs/components/wheelpicker/wheelpicker.js +2 -2
- package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +19 -19
- package/dist/cjs/core/dialog-description.js +1 -1
- package/dist/cjs/core/namespace.js +17 -0
- package/dist/cjs/core/resolve.js +5 -3
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/product/appshell/appshell.js +2 -2
- package/dist/cjs/product/appshell/appshell.recipe.js +8 -8
- package/dist/cjs/product/authshell/authshell.js +1 -1
- package/dist/cjs/product/authshell/authshell.recipe.js +20 -20
- package/dist/cjs/product/board/board.js +3 -3
- package/dist/cjs/product/board/board.recipe.js +17 -17
- package/dist/cjs/product/command/command.js +3 -3
- package/dist/cjs/product/command/command.recipe.js +25 -25
- package/dist/cjs/product/entitycard/entitycard.js +1 -1
- package/dist/cjs/product/entitycard/entitycard.recipe.js +7 -7
- package/dist/cjs/product/flowcanvas/flowcanvas.js +5 -5
- package/dist/cjs/product/flowcanvas/flowcanvas.recipe.js +11 -11
- package/dist/cjs/product/inbox/inbox.js +1 -1
- package/dist/cjs/product/inbox/inbox.recipe.js +22 -22
- package/dist/cjs/product/listpage/listpage.js +3 -3
- package/dist/cjs/product/listpage/listpage.recipe.js +18 -18
- package/dist/cjs/product/navitem/navitem.js +1 -1
- package/dist/cjs/product/navitem/navitem.recipe.js +2 -2
- package/dist/cjs/product/onboarding/onboarding.js +1 -1
- package/dist/cjs/product/onboarding/onboarding.recipe.js +19 -19
- package/dist/cjs/product/recordpage/recordpage.js +24 -24
- package/dist/cjs/product/recordpage/recordpage.recipe.js +117 -117
- package/dist/cjs/product/recordpanel/recordpanel.js +4 -4
- package/dist/cjs/product/recordpanel/recordpanel.recipe.js +15 -15
- package/dist/cjs/product/recordstable/recordstable.js +48 -48
- package/dist/cjs/product/recordstable/recordstable.recipe.js +87 -87
- package/dist/cjs/product/recordstable/recordstable.tag.js +8 -8
- package/dist/cjs/product/richtext/richtext.js +4 -4
- package/dist/cjs/product/richtext/richtext.recipe.js +21 -21
- package/dist/cjs/product/settingssection/settingssection.js +1 -1
- package/dist/cjs/product/settingssection/settingssection.recipe.js +6 -6
- package/dist/cjs/product/settingsshell/settingsshell.js +1 -1
- package/dist/cjs/product/settingsshell/settingsshell.recipe.js +20 -20
- package/dist/cjs/product/sidebar/sidebar.js +2 -2
- package/dist/cjs/product/sidebar/sidebar.recipe.js +21 -21
- package/dist/cjs/product/tasklist/tasklist.js +2 -2
- package/dist/cjs/product/tasklist/tasklist.recipe.js +14 -14
- package/dist/cjs/product/trialbanner/trialbanner.js +1 -1
- package/dist/cjs/product/trialbanner/trialbanner.recipe.js +6 -6
- package/dist/cjs/product/viewtoggle/viewtoggle.js +1 -1
- package/dist/cjs/product/viewtoggle/viewtoggle.recipe.js +4 -4
- package/dist/cjs/tokens/contract.js +3 -2
- package/dist/cjs/tokens/elevation.js +4 -4
- package/dist/cjs/tokens/palette.js +2 -2
- package/dist/cjs/tokens/scale.js +6 -6
- package/dist/cjs/tokens/semantic.js +1 -1
- package/dist/columncalc.css +19 -12
- package/dist/columncalc.layered.css +35 -0
- package/dist/command.css +28 -28
- package/dist/command.layered.css +44 -0
- package/dist/contextmenu.css +12 -12
- package/dist/contextmenu.layered.css +22 -0
- package/dist/datatable.css +66 -66
- package/dist/datatable.layered.css +108 -0
- package/dist/datepicker.css +86 -86
- package/dist/datepicker.layered.css +179 -0
- package/dist/datepickerfield.css +19 -19
- package/dist/datepickerfield.layered.css +29 -0
- package/dist/dialog.css +19 -19
- package/dist/dialog.layered.css +29 -0
- package/dist/divider.css +2 -2
- package/dist/divider.layered.css +7 -0
- package/dist/donutchart.css +15 -15
- package/dist/donutchart.layered.css +26 -0
- package/dist/drawer.css +17 -17
- package/dist/drawer.layered.css +27 -0
- package/dist/emptystate.css +15 -15
- package/dist/emptystate.layered.css +22 -0
- package/dist/entitycard.css +14 -14
- package/dist/entitycard.layered.css +28 -0
- package/dist/esm/components/accordion/accordion.js +1 -1
- package/dist/esm/components/accordion/accordion.recipe.js +10 -10
- package/dist/esm/components/badge/badge.js +1 -1
- package/dist/esm/components/badge/badge.recipe.js +1 -1
- package/dist/esm/components/barchart/barchart.js +3 -3
- package/dist/esm/components/barchart/barchart.recipe.js +14 -14
- package/dist/esm/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/esm/components/breadcrumb/breadcrumb.recipe.js +6 -6
- package/dist/esm/components/bulkbar/bulkbar.js +2 -2
- package/dist/esm/components/bulkbar/bulkbar.recipe.js +10 -10
- package/dist/esm/components/callout/callout.js +1 -1
- package/dist/esm/components/callout/callout.recipe.js +9 -9
- package/dist/esm/components/card/card.js +3 -3
- package/dist/esm/components/card/card.recipe.js +5 -5
- package/dist/esm/components/columncalc/columncalc.js +1 -1
- package/dist/esm/components/columncalc/columncalc.recipe.js +16 -9
- package/dist/esm/components/contextmenu/contextmenu.js +4 -4
- package/dist/esm/components/contextmenu/contextmenu.recipe.js +9 -9
- package/dist/esm/components/datatable/datatable.js +21 -19
- package/dist/esm/components/datatable/datatable.recipe.js +57 -57
- package/dist/esm/components/datepicker/datepicker.js +12 -12
- package/dist/esm/components/datepicker/datepicker.recipe.js +45 -45
- package/dist/esm/components/datepickerfield/datepickerfield.js +2 -2
- package/dist/esm/components/datepickerfield/datepickerfield.recipe.js +9 -9
- package/dist/esm/components/dialog/dialog.js +5 -5
- package/dist/esm/components/dialog/dialog.recipe.js +16 -16
- package/dist/esm/components/donutchart/donutchart.js +1 -1
- package/dist/esm/components/donutchart/donutchart.recipe.js +12 -12
- package/dist/esm/components/drawer/drawer.js +3 -3
- package/dist/esm/components/drawer/drawer.recipe.js +14 -14
- package/dist/esm/components/emptystate/emptystate.js +1 -1
- package/dist/esm/components/emptystate/emptystate.recipe.js +9 -9
- package/dist/esm/components/fileupload/fileupload.js +3 -3
- package/dist/esm/components/fileupload/fileupload.recipe.js +23 -23
- package/dist/esm/components/formfield/formfield.js +1 -1
- package/dist/esm/components/formfield/formfield.recipe.js +5 -5
- package/dist/esm/components/input/input.js +1 -1
- package/dist/esm/components/input/input.recipe.js +6 -6
- package/dist/esm/components/linechart/linechart.js +4 -4
- package/dist/esm/components/linechart/linechart.recipe.js +14 -14
- package/dist/esm/components/menu/menu.js +6 -6
- package/dist/esm/components/menu/menu.recipe.js +19 -19
- package/dist/esm/components/multiselect/multiselect.js +5 -5
- package/dist/esm/components/multiselect/multiselect.recipe.js +29 -29
- package/dist/esm/components/popover/popover.js +1 -1
- package/dist/esm/components/popover/popover.recipe.js +3 -3
- package/dist/esm/components/progress/progress.js +2 -2
- package/dist/esm/components/progress/progress.recipe.js +3 -3
- package/dist/esm/components/quantitypicker/quantitypicker.js +2 -2
- package/dist/esm/components/quantitypicker/quantitypicker.recipe.js +16 -16
- package/dist/esm/components/radiogroup/radiogroup.js +1 -1
- package/dist/esm/components/radiogroup/radiogroup.recipe.js +14 -14
- package/dist/esm/components/resizablepanel/resizablepanel.js +3 -3
- package/dist/esm/components/resizablepanel/resizablepanel.recipe.js +24 -24
- package/dist/esm/components/segmented/segmented.js +4 -4
- package/dist/esm/components/segmented/segmented.recipe.js +7 -7
- package/dist/esm/components/select/select.js +3 -3
- package/dist/esm/components/select/select.recipe.js +25 -25
- package/dist/esm/components/slider/slider.js +2 -2
- package/dist/esm/components/slider/slider.recipe.js +15 -15
- package/dist/esm/components/stagebar/stagebar.js +1 -1
- package/dist/esm/components/stagebar/stagebar.recipe.js +1 -1
- package/dist/esm/components/statcard/statcard.js +1 -1
- package/dist/esm/components/statcard/statcard.recipe.js +9 -9
- package/dist/esm/components/switch/switch.js +1 -1
- package/dist/esm/components/switch/switch.recipe.js +2 -2
- package/dist/esm/components/table/table.js +1 -1
- package/dist/esm/components/table/table.recipe.js +1 -1
- package/dist/esm/components/tabletoolbar/tabletoolbar.chrome.js +65 -64
- package/dist/esm/components/tabletoolbar/tabletoolbar.js +13 -13
- package/dist/esm/components/tabs/tabs.js +4 -4
- package/dist/esm/components/tabs/tabs.recipe.js +12 -12
- package/dist/esm/components/textarea/textarea.js +2 -2
- package/dist/esm/components/textarea/textarea.recipe.js +11 -11
- package/dist/esm/components/toast/toast.js +4 -4
- package/dist/esm/components/toast/toast.recipe.js +14 -14
- package/dist/esm/components/wheelpicker/wheelpicker.js +2 -2
- package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +19 -19
- package/dist/esm/core/dialog-description.js +1 -1
- package/dist/esm/core/namespace.js +14 -0
- package/dist/esm/core/resolve.js +5 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/product/appshell/appshell.js +2 -2
- package/dist/esm/product/appshell/appshell.recipe.js +8 -8
- package/dist/esm/product/authshell/authshell.js +1 -1
- package/dist/esm/product/authshell/authshell.recipe.js +20 -20
- package/dist/esm/product/board/board.js +3 -3
- package/dist/esm/product/board/board.recipe.js +17 -17
- package/dist/esm/product/command/command.js +3 -3
- package/dist/esm/product/command/command.recipe.js +25 -25
- package/dist/esm/product/entitycard/entitycard.js +1 -1
- package/dist/esm/product/entitycard/entitycard.recipe.js +7 -7
- package/dist/esm/product/flowcanvas/flowcanvas.js +5 -5
- package/dist/esm/product/flowcanvas/flowcanvas.recipe.js +11 -11
- package/dist/esm/product/inbox/inbox.js +1 -1
- package/dist/esm/product/inbox/inbox.recipe.js +22 -22
- package/dist/esm/product/listpage/listpage.js +3 -3
- package/dist/esm/product/listpage/listpage.recipe.js +18 -18
- package/dist/esm/product/navitem/navitem.js +1 -1
- package/dist/esm/product/navitem/navitem.recipe.js +2 -2
- package/dist/esm/product/onboarding/onboarding.js +1 -1
- package/dist/esm/product/onboarding/onboarding.recipe.js +19 -19
- package/dist/esm/product/recordpage/recordpage.js +24 -24
- package/dist/esm/product/recordpage/recordpage.recipe.js +117 -117
- package/dist/esm/product/recordpanel/recordpanel.js +4 -4
- package/dist/esm/product/recordpanel/recordpanel.recipe.js +15 -15
- package/dist/esm/product/recordstable/recordstable.js +48 -48
- package/dist/esm/product/recordstable/recordstable.recipe.js +87 -87
- package/dist/esm/product/recordstable/recordstable.tag.js +8 -8
- package/dist/esm/product/richtext/richtext.js +4 -4
- package/dist/esm/product/richtext/richtext.recipe.js +21 -21
- package/dist/esm/product/settingssection/settingssection.js +1 -1
- package/dist/esm/product/settingssection/settingssection.recipe.js +6 -6
- package/dist/esm/product/settingsshell/settingsshell.js +1 -1
- package/dist/esm/product/settingsshell/settingsshell.recipe.js +20 -20
- package/dist/esm/product/sidebar/sidebar.js +2 -2
- package/dist/esm/product/sidebar/sidebar.recipe.js +21 -21
- package/dist/esm/product/tasklist/tasklist.js +2 -2
- package/dist/esm/product/tasklist/tasklist.recipe.js +14 -14
- package/dist/esm/product/trialbanner/trialbanner.js +1 -1
- package/dist/esm/product/trialbanner/trialbanner.recipe.js +6 -6
- package/dist/esm/product/viewtoggle/viewtoggle.js +1 -1
- package/dist/esm/product/viewtoggle/viewtoggle.recipe.js +4 -4
- package/dist/esm/tokens/contract.js +3 -2
- package/dist/esm/tokens/elevation.js +4 -4
- package/dist/esm/tokens/palette.js +2 -2
- package/dist/esm/tokens/scale.js +6 -6
- package/dist/esm/tokens/semantic.js +1 -1
- package/dist/fileupload.css +46 -46
- package/dist/fileupload.layered.css +91 -0
- package/dist/flowcanvas.css +13 -13
- package/dist/flowcanvas.layered.css +17 -0
- package/dist/formfield.css +7 -7
- package/dist/formfield.layered.css +10 -0
- package/dist/inbox.css +26 -26
- package/dist/inbox.layered.css +41 -0
- package/dist/input.css +17 -17
- package/dist/input.layered.css +45 -0
- package/dist/kbd.css +2 -2
- package/dist/kbd.layered.css +5 -0
- package/dist/linechart.css +14 -14
- package/dist/linechart.layered.css +17 -0
- package/dist/listpage.css +22 -22
- package/dist/listpage.layered.css +41 -0
- package/dist/menu.css +29 -29
- package/dist/menu.layered.css +48 -0
- package/dist/multiselect.css +42 -42
- package/dist/multiselect.layered.css +63 -0
- package/dist/navitem.css +14 -14
- package/dist/navitem.layered.css +25 -0
- package/dist/onboarding.css +24 -24
- package/dist/onboarding.layered.css +39 -0
- package/dist/popover.css +6 -6
- package/dist/popover.layered.css +16 -0
- package/dist/progress.css +7 -7
- package/dist/progress.layered.css +17 -0
- package/dist/quantitypicker.css +34 -34
- package/dist/quantitypicker.layered.css +80 -0
- package/dist/radiogroup.css +18 -18
- package/dist/radiogroup.layered.css +33 -0
- package/dist/recordpage.css +122 -122
- package/dist/recordpage.layered.css +153 -0
- package/dist/recordpanel.css +31 -31
- package/dist/recordpanel.layered.css +50 -0
- package/dist/recordstable.css +162 -162
- package/dist/recordstable.layered.css +222 -0
- package/dist/resizablepanel.css +26 -26
- package/dist/resizablepanel.layered.css +55 -0
- package/dist/richtext.css +24 -24
- package/dist/richtext.layered.css +38 -0
- package/dist/segmented.css +10 -10
- package/dist/segmented.layered.css +20 -0
- package/dist/select.css +43 -43
- package/dist/select.layered.css +72 -0
- package/dist/settingssection.css +8 -8
- package/dist/settingssection.layered.css +11 -0
- package/dist/settingsshell.css +23 -23
- package/dist/settingsshell.layered.css +44 -0
- package/dist/sidebar.css +27 -27
- package/dist/sidebar.layered.css +40 -0
- package/dist/skeleton.css +4 -4
- package/dist/skeleton.layered.css +15 -0
- package/dist/slider.css +23 -23
- package/dist/slider.layered.css +58 -0
- package/dist/spinner.css +3 -3
- package/dist/spinner.layered.css +14 -0
- package/dist/stagebar.css +4 -4
- package/dist/stagebar.layered.css +14 -0
- package/dist/statcard.css +14 -14
- package/dist/statcard.layered.css +21 -0
- package/dist/styles.css +1816 -1725
- package/dist/styles.layered.css +2932 -0
- package/dist/switch.css +7 -7
- package/dist/switch.layered.css +22 -0
- package/dist/table.css +16 -16
- package/dist/table.layered.css +36 -0
- package/dist/tabletoolbar.css +67 -67
- package/dist/tabletoolbar.layered.css +80 -0
- package/dist/tabs.css +15 -15
- package/dist/tabs.layered.css +29 -0
- package/dist/tasklist.css +17 -17
- package/dist/tasklist.layered.css +34 -0
- package/dist/textarea.css +18 -18
- package/dist/textarea.layered.css +42 -0
- package/dist/toast.css +17 -17
- package/dist/toast.layered.css +27 -0
- package/dist/tokens.css +199 -115
- package/dist/tooltip.css +3 -3
- package/dist/tooltip.layered.css +13 -0
- package/dist/trialbanner.css +13 -13
- package/dist/trialbanner.layered.css +28 -0
- package/dist/types/core/dialog-description.d.ts +1 -1
- package/dist/types/core/namespace.d.ts +2 -0
- package/dist/types/tokens/elevation.d.ts +4 -4
- package/dist/viewtoggle.css +10 -10
- package/dist/viewtoggle.layered.css +23 -0
- package/dist/wheelpicker.css +29 -29
- package/dist/wheelpicker.layered.css +70 -0
- package/licenses/Apache-2.0.txt +201 -0
- package/package.json +5 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-badge {
|
|
3
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--crisp-space-1); font-family: var(--crisp-font-sans); font-weight: var(--crisp-weight-medium); letter-spacing: -0.1px; white-space: nowrap;
|
|
4
|
+
& .crisp-badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--crisp-radius-full); background: currentColor; }
|
|
5
|
+
}
|
|
6
|
+
.crisp-badge--tone_neutral {
|
|
7
|
+
background: var(--crisp-bg-raised); color: var(--crisp-fg-muted); box-shadow: inset 0 0 0 1px var(--crisp-border-default);
|
|
8
|
+
}
|
|
9
|
+
.crisp-badge--tone_brand {
|
|
10
|
+
background: color-mix(in srgb, var(--crisp-bg-brand-solid) 14%, transparent); color: var(--crisp-bg-brand-solid); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-brand-solid) 30%, transparent);
|
|
11
|
+
}
|
|
12
|
+
.crisp-badge--tone_success {
|
|
13
|
+
background: color-mix(in srgb, var(--crisp-bg-success) 14%, transparent); color: var(--crisp-bg-success); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-success) 30%, transparent);
|
|
14
|
+
}
|
|
15
|
+
.crisp-badge--tone_warning {
|
|
16
|
+
background: color-mix(in srgb, var(--crisp-bg-warning) 16%, transparent); color: var(--crisp-bg-warning); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-warning) 32%, transparent);
|
|
17
|
+
}
|
|
18
|
+
.crisp-badge--tone_danger {
|
|
19
|
+
background: color-mix(in srgb, var(--crisp-bg-danger) 14%, transparent); color: var(--crisp-bg-danger); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-danger) 30%, transparent);
|
|
20
|
+
}
|
|
21
|
+
.crisp-badge--size_small {
|
|
22
|
+
height: 16px; padding-inline: var(--crisp-space-1-5); font-size: var(--crisp-text-xs); border-radius: var(--crisp-radius-sm);
|
|
23
|
+
}
|
|
24
|
+
.crisp-badge--size_medium {
|
|
25
|
+
height: 20px; padding-inline: var(--crisp-space-2); font-size: var(--crisp-text-sm); border-radius: var(--crisp-radius-sm);
|
|
26
|
+
}
|
|
27
|
+
.crisp-badge--size_large {
|
|
28
|
+
height: var(--crisp-size-chip); padding-inline: 9px; font-size: var(--crisp-text-lg); border-radius: var(--crisp-radius-chip);
|
|
29
|
+
}
|
|
30
|
+
.crisp-badge--variant_soft {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
.crisp-badge--variant_solid {
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
.crisp-badge--compound_0 {
|
|
37
|
+
background: var(--crisp-bg-brand-solid); color: var(--crisp-fg-on-brand); box-shadow: none;
|
|
38
|
+
}
|
|
39
|
+
.crisp-badge--compound_1 {
|
|
40
|
+
background: var(--crisp-bg-success); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
41
|
+
}
|
|
42
|
+
.crisp-badge--compound_2 {
|
|
43
|
+
background: var(--crisp-bg-warning); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
44
|
+
}
|
|
45
|
+
.crisp-badge--compound_3 {
|
|
46
|
+
background: var(--crisp-bg-danger); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
47
|
+
}
|
|
48
|
+
.crisp-badge--compound_4 {
|
|
49
|
+
background: var(--crisp-fg-muted); color: var(--crisp-bg-surface); box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
package/dist/barchart.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.barchart {
|
|
2
|
-
display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --barchart-yaxis-width: 34px;
|
|
3
|
-
& .barchart-body { display: flex; flex: 1; min-height: 0; }
|
|
4
|
-
& .barchart-yaxis { position: relative; flex-shrink: 0; width: var(--barchart-yaxis-width); }
|
|
5
|
-
& .barchart-ytick { position: absolute; inset-inline-end: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
|
|
6
|
-
& .barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--space-3); border-bottom: 1px solid var(--border-default); }
|
|
7
|
-
& .barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
|
|
8
|
-
& .barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
|
|
9
|
-
& .barchart-bar { width: 100%; max-width: 96px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-brand-solid); transition: height 0.3s ease; }
|
|
10
|
-
& .barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
|
|
11
|
-
& .barchart-xaxis { display: flex; gap: var(--space-3); margin-top: var(--space-1-5); }
|
|
12
|
-
& .barchart-xaxis[data-inset] { padding-inline-start: var(--barchart-yaxis-width); }
|
|
13
|
-
& .barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
|
|
14
|
-
& .barchart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--barchart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
|
|
1
|
+
.crisp-barchart {
|
|
2
|
+
display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--crisp-font-sans); --crisp-barchart-yaxis-width: 34px;
|
|
3
|
+
& .crisp-barchart-body { display: flex; flex: 1; min-height: 0; }
|
|
4
|
+
& .crisp-barchart-yaxis { position: relative; flex-shrink: 0; width: var(--crisp-barchart-yaxis-width); }
|
|
5
|
+
& .crisp-barchart-ytick { position: absolute; inset-inline-end: var(--crisp-space-2); transform: translateY(50%); font-size: var(--crisp-text-xs); color: var(--crisp-fg-muted); white-space: nowrap; }
|
|
6
|
+
& .crisp-barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--crisp-space-3); border-bottom: 1px solid var(--crisp-border-default); }
|
|
7
|
+
& .crisp-barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--crisp-border-subtle); pointer-events: none; }
|
|
8
|
+
& .crisp-barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
|
|
9
|
+
& .crisp-barchart-bar { width: 100%; max-width: 96px; border-radius: var(--crisp-radius-sm) var(--crisp-radius-sm) 0 0; background: var(--crisp-bg-brand-solid); transition: height 0.3s ease; }
|
|
10
|
+
& .crisp-barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
|
|
11
|
+
& .crisp-barchart-xaxis { display: flex; gap: var(--crisp-space-3); margin-top: var(--crisp-space-1-5); }
|
|
12
|
+
& .crisp-barchart-xaxis[data-inset] { padding-inline-start: var(--crisp-barchart-yaxis-width); }
|
|
13
|
+
& .crisp-barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--crisp-text-sm); color: var(--crisp-fg-muted); }
|
|
14
|
+
& .crisp-barchart-axis-title { margin-top: var(--crisp-space-1); padding-inline-start: var(--crisp-barchart-yaxis-width); text-align: center; font-size: var(--crisp-text-sm); color: var(--crisp-fg-muted); }
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@media (prefers-reduced-motion: reduce) {
|
|
18
|
-
.barchart, .barchart * {
|
|
18
|
+
.crisp-barchart, .crisp-barchart * {
|
|
19
19
|
animation-duration: 0.01ms !important;
|
|
20
20
|
animation-iteration-count: 1 !important;
|
|
21
21
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-barchart {
|
|
3
|
+
display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--crisp-font-sans); --crisp-barchart-yaxis-width: 34px;
|
|
4
|
+
& .crisp-barchart-body { display: flex; flex: 1; min-height: 0; }
|
|
5
|
+
& .crisp-barchart-yaxis { position: relative; flex-shrink: 0; width: var(--crisp-barchart-yaxis-width); }
|
|
6
|
+
& .crisp-barchart-ytick { position: absolute; inset-inline-end: var(--crisp-space-2); transform: translateY(50%); font-size: var(--crisp-text-xs); color: var(--crisp-fg-muted); white-space: nowrap; }
|
|
7
|
+
& .crisp-barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--crisp-space-3); border-bottom: 1px solid var(--crisp-border-default); }
|
|
8
|
+
& .crisp-barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--crisp-border-subtle); pointer-events: none; }
|
|
9
|
+
& .crisp-barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
|
|
10
|
+
& .crisp-barchart-bar { width: 100%; max-width: 96px; border-radius: var(--crisp-radius-sm) var(--crisp-radius-sm) 0 0; background: var(--crisp-bg-brand-solid); transition: height 0.3s ease; }
|
|
11
|
+
& .crisp-barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
|
|
12
|
+
& .crisp-barchart-xaxis { display: flex; gap: var(--crisp-space-3); margin-top: var(--crisp-space-1-5); }
|
|
13
|
+
& .crisp-barchart-xaxis[data-inset] { padding-inline-start: var(--crisp-barchart-yaxis-width); }
|
|
14
|
+
& .crisp-barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--crisp-text-sm); color: var(--crisp-fg-muted); }
|
|
15
|
+
& .crisp-barchart-axis-title { margin-top: var(--crisp-space-1); padding-inline-start: var(--crisp-barchart-yaxis-width); text-align: center; font-size: var(--crisp-text-sm); color: var(--crisp-fg-muted); }
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (prefers-reduced-motion: reduce) {
|
|
19
|
+
.crisp-barchart, .crisp-barchart * {
|
|
20
|
+
animation-duration: 0.01ms !important;
|
|
21
|
+
animation-iteration-count: 1 !important;
|
|
22
|
+
transition-duration: 0.01ms !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/dist/base.css
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
body {
|
|
6
6
|
margin: 0;
|
|
7
|
-
font-family: var(--font-sans);
|
|
8
|
-
font-size: var(--text-lg);
|
|
7
|
+
font-family: var(--crisp-font-sans);
|
|
8
|
+
font-size: var(--crisp-text-lg);
|
|
9
9
|
line-height: 20px;
|
|
10
|
-
background: var(--bg-surface);
|
|
11
|
-
color: var(--fg-primary);
|
|
10
|
+
background: var(--crisp-bg-surface);
|
|
11
|
+
color: var(--crisp-fg-primary);
|
|
12
12
|
-webkit-font-smoothing: antialiased;
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
package/dist/board.css
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.board {
|
|
2
|
-
display: flex; gap: var(--space-3); height: 100%; box-sizing: border-box; padding: var(--space-3); overflow-x: auto; align-items: flex-start; font-family: var(--font-sans);
|
|
3
|
-
& .board-col { display: flex; flex-direction: column; width: 280px; flex-shrink: 0; max-height: 100%; box-sizing: border-box; }
|
|
4
|
-
& .board-col-header { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); flex-shrink: 0; }
|
|
5
|
-
& .board-col-dot { width: 9px; height: 9px; border-radius: var(--radius-full); flex-shrink: 0; }
|
|
6
|
-
& .board-col-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
|
|
7
|
-
& .board-col-count { font-size: var(--text-md); color: var(--fg-muted); }
|
|
8
|
-
& .board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
|
|
9
|
-
& .board-col-add:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
|
|
10
|
-
& .board-col-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-height: 48px; padding: var(--space-1); border-radius: var(--radius-lg); overflow-y: auto; transition: background 0.12s; }
|
|
11
|
-
& .board-col[data-over] .board-col-body { background: color-mix(in srgb, var(--bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
|
|
12
|
-
& .board-newcard { display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 32px; flex-shrink: 0; border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
|
|
13
|
-
& .board-newcard:hover { background: color-mix(in srgb, var(--fg-primary) 7%, transparent); color: var(--fg-primary); }
|
|
14
|
-
& .board-card { display: flex; flex-direction: column; gap: var(--space-2); box-sizing: border-box; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04); cursor: grab; }
|
|
15
|
-
& .board-card:active { cursor: grabbing; }
|
|
16
|
-
& .board-card[data-dragging] { opacity: 0.4; }
|
|
17
|
-
& .board-card:focus { outline: none; }
|
|
18
|
-
& .board-card:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
|
|
1
|
+
.crisp-board {
|
|
2
|
+
display: flex; gap: var(--crisp-space-3); height: 100%; box-sizing: border-box; padding: var(--crisp-space-3); overflow-x: auto; align-items: flex-start; font-family: var(--crisp-font-sans);
|
|
3
|
+
& .crisp-board-col { display: flex; flex-direction: column; width: 280px; flex-shrink: 0; max-height: 100%; box-sizing: border-box; }
|
|
4
|
+
& .crisp-board-col-header { display: flex; align-items: center; gap: var(--crisp-space-2); height: 36px; padding: 0 var(--crisp-space-1); flex-shrink: 0; }
|
|
5
|
+
& .crisp-board-col-dot { width: 9px; height: 9px; border-radius: var(--crisp-radius-full); flex-shrink: 0; }
|
|
6
|
+
& .crisp-board-col-title { font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-semibold); color: var(--crisp-fg-primary); }
|
|
7
|
+
& .crisp-board-col-count { font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
8
|
+
& .crisp-board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--crisp-radius-md); background: none; color: var(--crisp-fg-muted); font-family: inherit; cursor: pointer; }
|
|
9
|
+
& .crisp-board-col-add:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 6%, transparent); color: var(--crisp-fg-primary); }
|
|
10
|
+
& .crisp-board-col-body { display: flex; flex-direction: column; gap: var(--crisp-space-2); flex: 1; min-height: 48px; padding: var(--crisp-space-1); border-radius: var(--crisp-radius-lg); overflow-y: auto; transition: background 0.12s; }
|
|
11
|
+
& .crisp-board-col[data-over] .crisp-board-col-body { background: color-mix(in srgb, var(--crisp-bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-brand-solid) 30%, transparent); }
|
|
12
|
+
& .crisp-board-newcard { display: flex; align-items: center; justify-content: center; gap: var(--crisp-space-1-5); height: 32px; flex-shrink: 0; border: none; border-radius: var(--crisp-radius-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); color: var(--crisp-fg-muted); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); cursor: pointer; }
|
|
13
|
+
& .crisp-board-newcard:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 7%, transparent); color: var(--crisp-fg-primary); }
|
|
14
|
+
& .crisp-board-card { display: flex; flex-direction: column; gap: var(--crisp-space-2); box-sizing: border-box; padding: var(--crisp-space-2-5) var(--crisp-space-3); border-radius: var(--crisp-radius-lg); background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle), 0 1px 2px rgba(0,0,0,0.04); cursor: grab; }
|
|
15
|
+
& .crisp-board-card:active { cursor: grabbing; }
|
|
16
|
+
& .crisp-board-card[data-dragging] { opacity: 0.4; }
|
|
17
|
+
& .crisp-board-card:focus { outline: none; }
|
|
18
|
+
& .crisp-board-card:focus-visible { outline: 2px solid var(--crisp-bg-brand-solid); outline-offset: 1px; }
|
|
19
19
|
/* announced, never drawn */
|
|
20
|
-
& .board-live {
|
|
20
|
+
& .crisp-board-live {
|
|
21
21
|
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
22
22
|
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@media (prefers-reduced-motion: reduce) {
|
|
27
|
-
.board, .board * {
|
|
27
|
+
.crisp-board, .crisp-board * {
|
|
28
28
|
animation-duration: 0.01ms !important;
|
|
29
29
|
animation-iteration-count: 1 !important;
|
|
30
30
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-board {
|
|
3
|
+
display: flex; gap: var(--crisp-space-3); height: 100%; box-sizing: border-box; padding: var(--crisp-space-3); overflow-x: auto; align-items: flex-start; font-family: var(--crisp-font-sans);
|
|
4
|
+
& .crisp-board-col { display: flex; flex-direction: column; width: 280px; flex-shrink: 0; max-height: 100%; box-sizing: border-box; }
|
|
5
|
+
& .crisp-board-col-header { display: flex; align-items: center; gap: var(--crisp-space-2); height: 36px; padding: 0 var(--crisp-space-1); flex-shrink: 0; }
|
|
6
|
+
& .crisp-board-col-dot { width: 9px; height: 9px; border-radius: var(--crisp-radius-full); flex-shrink: 0; }
|
|
7
|
+
& .crisp-board-col-title { font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-semibold); color: var(--crisp-fg-primary); }
|
|
8
|
+
& .crisp-board-col-count { font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
9
|
+
& .crisp-board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--crisp-radius-md); background: none; color: var(--crisp-fg-muted); font-family: inherit; cursor: pointer; }
|
|
10
|
+
& .crisp-board-col-add:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 6%, transparent); color: var(--crisp-fg-primary); }
|
|
11
|
+
& .crisp-board-col-body { display: flex; flex-direction: column; gap: var(--crisp-space-2); flex: 1; min-height: 48px; padding: var(--crisp-space-1); border-radius: var(--crisp-radius-lg); overflow-y: auto; transition: background 0.12s; }
|
|
12
|
+
& .crisp-board-col[data-over] .crisp-board-col-body { background: color-mix(in srgb, var(--crisp-bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-bg-brand-solid) 30%, transparent); }
|
|
13
|
+
& .crisp-board-newcard { display: flex; align-items: center; justify-content: center; gap: var(--crisp-space-1-5); height: 32px; flex-shrink: 0; border: none; border-radius: var(--crisp-radius-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); color: var(--crisp-fg-muted); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); cursor: pointer; }
|
|
14
|
+
& .crisp-board-newcard:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 7%, transparent); color: var(--crisp-fg-primary); }
|
|
15
|
+
& .crisp-board-card { display: flex; flex-direction: column; gap: var(--crisp-space-2); box-sizing: border-box; padding: var(--crisp-space-2-5) var(--crisp-space-3); border-radius: var(--crisp-radius-lg); background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle), 0 1px 2px rgba(0,0,0,0.04); cursor: grab; }
|
|
16
|
+
& .crisp-board-card:active { cursor: grabbing; }
|
|
17
|
+
& .crisp-board-card[data-dragging] { opacity: 0.4; }
|
|
18
|
+
& .crisp-board-card:focus { outline: none; }
|
|
19
|
+
& .crisp-board-card:focus-visible { outline: 2px solid var(--crisp-bg-brand-solid); outline-offset: 1px; }
|
|
20
|
+
/* announced, never drawn */
|
|
21
|
+
& .crisp-board-live {
|
|
22
|
+
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
23
|
+
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@media (prefers-reduced-motion: reduce) {
|
|
28
|
+
.crisp-board, .crisp-board * {
|
|
29
|
+
animation-duration: 0.01ms !important;
|
|
30
|
+
animation-iteration-count: 1 !important;
|
|
31
|
+
transition-duration: 0.01ms !important;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
package/dist/breadcrumb.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.breadcrumb {
|
|
2
|
-
display: flex; align-items: center; gap: var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-lg);
|
|
3
|
-
& .breadcrumb-item { display: inline-flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
|
|
4
|
-
& .breadcrumb-item svg { flex-shrink: 0; }
|
|
5
|
-
& a.breadcrumb-item:hover, & button.breadcrumb-item:hover { color: var(--fg-primary); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
|
|
6
|
-
& button.breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
|
|
7
|
-
& .breadcrumb-item[aria-current] { color: var(--fg-primary); font-weight: var(--weight-medium); }
|
|
8
|
-
& .breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 28%, transparent); }
|
|
1
|
+
.crisp-breadcrumb {
|
|
2
|
+
display: flex; align-items: center; gap: var(--crisp-space-0-5); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-lg);
|
|
3
|
+
& .crisp-breadcrumb-item { display: inline-flex; align-items: center; gap: var(--crisp-space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--crisp-space-1); border-radius: var(--crisp-radius-md); color: var(--crisp-fg-muted); text-decoration: none; white-space: nowrap; }
|
|
4
|
+
& .crisp-breadcrumb-item svg { flex-shrink: 0; }
|
|
5
|
+
& a.crisp-breadcrumb-item:hover, & button.crisp-breadcrumb-item:hover { color: var(--crisp-fg-primary); background: color-mix(in srgb, var(--crisp-fg-primary) 5%, transparent); }
|
|
6
|
+
& button.crisp-breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
|
|
7
|
+
& .crisp-breadcrumb-item[aria-current] { color: var(--crisp-fg-primary); font-weight: var(--crisp-weight-medium); }
|
|
8
|
+
& .crisp-breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--crisp-fg-primary) 28%, transparent); }
|
|
9
9
|
[dir="rtl"] & [data-rtl-flip] { transform: scaleX(-1); }
|
|
10
10
|
|
|
11
11
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-breadcrumb {
|
|
3
|
+
display: flex; align-items: center; gap: var(--crisp-space-0-5); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-lg);
|
|
4
|
+
& .crisp-breadcrumb-item { display: inline-flex; align-items: center; gap: var(--crisp-space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--crisp-space-1); border-radius: var(--crisp-radius-md); color: var(--crisp-fg-muted); text-decoration: none; white-space: nowrap; }
|
|
5
|
+
& .crisp-breadcrumb-item svg { flex-shrink: 0; }
|
|
6
|
+
& a.crisp-breadcrumb-item:hover, & button.crisp-breadcrumb-item:hover { color: var(--crisp-fg-primary); background: color-mix(in srgb, var(--crisp-fg-primary) 5%, transparent); }
|
|
7
|
+
& button.crisp-breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
|
|
8
|
+
& .crisp-breadcrumb-item[aria-current] { color: var(--crisp-fg-primary); font-weight: var(--crisp-weight-medium); }
|
|
9
|
+
& .crisp-breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--crisp-fg-primary) 28%, transparent); }
|
|
10
|
+
[dir="rtl"] & [data-rtl-flip] { transform: scaleX(-1); }
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/bulkbar.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
.bulkbar {
|
|
2
|
-
position: absolute; left: 0; right: 0; bottom: var(--space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
|
|
3
|
-
& .bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-0-5); height: 48px; padding: 0 var(--space-1) 0 var(--space-1-5); border-radius: 14px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); color: var(--fg-primary); transition: opacity .16s ease, transform .16s ease; }
|
|
4
|
-
& .bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
|
|
5
|
-
& .bulkbar-count { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
6
|
-
& .bulkbar-count:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); color: var(--fg-primary); }
|
|
7
|
-
& .bulkbar-count svg { flex-shrink: 0; }
|
|
8
|
-
& .bulkbar-btn { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
9
|
-
& .bulkbar-btn:hover { background: var(--bg-raised); }
|
|
10
|
-
& .bulkbar-btn--danger { color: var(--bg-danger); }
|
|
11
|
-
& .bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
|
|
12
|
-
& .bulkbar-btn svg { flex-shrink: 0; }
|
|
1
|
+
.crisp-bulkbar {
|
|
2
|
+
position: absolute; left: 0; right: 0; bottom: var(--crisp-space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
|
|
3
|
+
& .crisp-bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--crisp-space-0-5); height: 48px; padding: 0 var(--crisp-space-1) 0 var(--crisp-space-1-5); border-radius: 14px; background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-ring-popover), 0 0 0 1px var(--crisp-shadow-popover1), 0 4px 8px -4px var(--crisp-shadow-popover2), 0 4px 12px -2px var(--crisp-shadow-popover3); color: var(--crisp-fg-primary); transition: opacity .16s ease, transform .16s ease; }
|
|
4
|
+
& .crisp-bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
|
|
5
|
+
& .crisp-bulkbar-count { display: inline-flex; align-items: center; gap: var(--crisp-space-1); height: var(--crisp-size-menuRow); margin: 0; padding: 0 var(--crisp-space-2); border: none; border-radius: var(--crisp-radius-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); color: var(--crisp-fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
6
|
+
& .crisp-bulkbar-count:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 8%, transparent); color: var(--crisp-fg-primary); }
|
|
7
|
+
& .crisp-bulkbar-count svg { flex-shrink: 0; }
|
|
8
|
+
& .crisp-bulkbar-btn { display: inline-flex; align-items: center; gap: var(--crisp-space-1); height: var(--crisp-size-menuRow); padding: 0 var(--crisp-space-2); border: none; border-radius: var(--crisp-radius-md); background: transparent; color: var(--crisp-fg-primary); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
9
|
+
& .crisp-bulkbar-btn:hover { background: var(--crisp-bg-raised); }
|
|
10
|
+
& .crisp-bulkbar-btn--danger { color: var(--crisp-bg-danger); }
|
|
11
|
+
& .crisp-bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--crisp-bg-danger) 10%, transparent); }
|
|
12
|
+
& .crisp-bulkbar-btn svg { flex-shrink: 0; }
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@media (prefers-reduced-motion: reduce) {
|
|
16
|
-
.bulkbar, .bulkbar * {
|
|
16
|
+
.crisp-bulkbar, .crisp-bulkbar * {
|
|
17
17
|
animation-duration: 0.01ms !important;
|
|
18
18
|
animation-iteration-count: 1 !important;
|
|
19
19
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-bulkbar {
|
|
3
|
+
position: absolute; left: 0; right: 0; bottom: var(--crisp-space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
|
|
4
|
+
& .crisp-bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--crisp-space-0-5); height: 48px; padding: 0 var(--crisp-space-1) 0 var(--crisp-space-1-5); border-radius: 14px; background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-ring-popover), 0 0 0 1px var(--crisp-shadow-popover1), 0 4px 8px -4px var(--crisp-shadow-popover2), 0 4px 12px -2px var(--crisp-shadow-popover3); color: var(--crisp-fg-primary); transition: opacity .16s ease, transform .16s ease; }
|
|
5
|
+
& .crisp-bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
|
|
6
|
+
& .crisp-bulkbar-count { display: inline-flex; align-items: center; gap: var(--crisp-space-1); height: var(--crisp-size-menuRow); margin: 0; padding: 0 var(--crisp-space-2); border: none; border-radius: var(--crisp-radius-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); color: var(--crisp-fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
7
|
+
& .crisp-bulkbar-count:hover { background: color-mix(in srgb, var(--crisp-fg-primary) 8%, transparent); color: var(--crisp-fg-primary); }
|
|
8
|
+
& .crisp-bulkbar-count svg { flex-shrink: 0; }
|
|
9
|
+
& .crisp-bulkbar-btn { display: inline-flex; align-items: center; gap: var(--crisp-space-1); height: var(--crisp-size-menuRow); padding: 0 var(--crisp-space-2); border: none; border-radius: var(--crisp-radius-md); background: transparent; color: var(--crisp-fg-primary); font-family: inherit; font-size: var(--crisp-text-md); font-weight: var(--crisp-weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
|
|
10
|
+
& .crisp-bulkbar-btn:hover { background: var(--crisp-bg-raised); }
|
|
11
|
+
& .crisp-bulkbar-btn--danger { color: var(--crisp-bg-danger); }
|
|
12
|
+
& .crisp-bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--crisp-bg-danger) 10%, transparent); }
|
|
13
|
+
& .crisp-bulkbar-btn svg { flex-shrink: 0; }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (prefers-reduced-motion: reduce) {
|
|
17
|
+
.crisp-bulkbar, .crisp-bulkbar * {
|
|
18
|
+
animation-duration: 0.01ms !important;
|
|
19
|
+
animation-iteration-count: 1 !important;
|
|
20
|
+
transition-duration: 0.01ms !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
package/dist/button.css
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
.button {
|
|
2
|
-
display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
1
|
+
.crisp-button {
|
|
2
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--crisp-space-1-5); font-family: var(--crisp-font-sans); font-weight: var(--crisp-weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
3
3
|
}
|
|
4
|
-
.button--intent_primary {
|
|
5
|
-
background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--bg-brand-solid-pressed); } &:active { background: var(--bg-brand-solid-pressed); }
|
|
4
|
+
.crisp-button--intent_primary {
|
|
5
|
+
background: var(--crisp-bg-brand-solid); color: var(--crisp-fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--crisp-bg-brand-solid-pressed); } &:active { background: var(--crisp-bg-brand-solid-pressed); }
|
|
6
6
|
}
|
|
7
|
-
.button--intent_neutral {
|
|
8
|
-
background: var(--bg-surface); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--bg-raised); }
|
|
7
|
+
.crisp-button--intent_neutral {
|
|
8
|
+
background: var(--crisp-bg-surface); color: var(--crisp-fg-primary); box-shadow: inset 0 0 0 1px var(--crisp-ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--crisp-bg-raised); }
|
|
9
9
|
}
|
|
10
|
-
.button--intent_danger {
|
|
11
|
-
background: var(--bg-danger-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
|
|
10
|
+
.crisp-button--intent_danger {
|
|
11
|
+
background: var(--crisp-bg-danger-solid); color: var(--crisp-fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
|
|
12
12
|
}
|
|
13
|
-
.button--intent_ghost {
|
|
14
|
-
background: transparent; color: var(--fg-muted); box-shadow: none; &:hover { background: var(--bg-raised); color: var(--fg-primary); }
|
|
13
|
+
.crisp-button--intent_ghost {
|
|
14
|
+
background: transparent; color: var(--crisp-fg-muted); box-shadow: none; &:hover { background: var(--crisp-bg-raised); color: var(--crisp-fg-primary); }
|
|
15
15
|
}
|
|
16
|
-
.button--size_sm {
|
|
17
|
-
height: 24px; padding-inline: var(--space-1-5); font-size: var(--text-md); border-radius: var(--radius-md);
|
|
16
|
+
.crisp-button--size_sm {
|
|
17
|
+
height: 24px; padding-inline: var(--crisp-space-1-5); font-size: var(--crisp-text-md); border-radius: var(--crisp-radius-md);
|
|
18
18
|
}
|
|
19
|
-
.button--size_md {
|
|
20
|
-
height: 28px; padding-inline: var(--space-2); font-size: var(--text-lg); border-radius: var(--radius-md);
|
|
19
|
+
.crisp-button--size_md {
|
|
20
|
+
height: 28px; padding-inline: var(--crisp-space-2); font-size: var(--crisp-text-lg); border-radius: var(--crisp-radius-md);
|
|
21
21
|
}
|
|
22
|
-
.button--size_lg {
|
|
23
|
-
height: 40px; padding-inline: 14px; font-size: var(--text-lg); border-radius: 10px;
|
|
22
|
+
.crisp-button--size_lg {
|
|
23
|
+
height: 40px; padding-inline: 14px; font-size: var(--crisp-text-lg); border-radius: 10px;
|
|
24
24
|
}
|
|
25
|
-
.button--shape_text {
|
|
25
|
+
.crisp-button--shape_text {
|
|
26
26
|
|
|
27
27
|
}
|
|
28
|
-
.button--shape_icon {
|
|
28
|
+
.crisp-button--shape_icon {
|
|
29
29
|
padding-inline: 0; aspect-ratio: 1 / 1;
|
|
30
30
|
}
|
|
31
|
-
.button--touchTarget_true {
|
|
31
|
+
.crisp-button--touchTarget_true {
|
|
32
32
|
position: relative; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; min-width: 44px; min-height: 44px; }
|
|
33
33
|
}
|
|
34
|
-
.button--touchTarget_false {
|
|
34
|
+
.crisp-button--touchTarget_false {
|
|
35
35
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@media (prefers-reduced-motion: reduce) {
|
|
39
|
-
.button, .button * {
|
|
39
|
+
.crisp-button, .crisp-button * {
|
|
40
40
|
animation-duration: 0.01ms !important;
|
|
41
41
|
animation-iteration-count: 1 !important;
|
|
42
42
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-button {
|
|
3
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--crisp-space-1-5); font-family: var(--crisp-font-sans); font-weight: var(--crisp-weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
4
|
+
}
|
|
5
|
+
.crisp-button--intent_primary {
|
|
6
|
+
background: var(--crisp-bg-brand-solid); color: var(--crisp-fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--crisp-bg-brand-solid-pressed); } &:active { background: var(--crisp-bg-brand-solid-pressed); }
|
|
7
|
+
}
|
|
8
|
+
.crisp-button--intent_neutral {
|
|
9
|
+
background: var(--crisp-bg-surface); color: var(--crisp-fg-primary); box-shadow: inset 0 0 0 1px var(--crisp-ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--crisp-bg-raised); }
|
|
10
|
+
}
|
|
11
|
+
.crisp-button--intent_danger {
|
|
12
|
+
background: var(--crisp-bg-danger-solid); color: var(--crisp-fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
|
|
13
|
+
}
|
|
14
|
+
.crisp-button--intent_ghost {
|
|
15
|
+
background: transparent; color: var(--crisp-fg-muted); box-shadow: none; &:hover { background: var(--crisp-bg-raised); color: var(--crisp-fg-primary); }
|
|
16
|
+
}
|
|
17
|
+
.crisp-button--size_sm {
|
|
18
|
+
height: 24px; padding-inline: var(--crisp-space-1-5); font-size: var(--crisp-text-md); border-radius: var(--crisp-radius-md);
|
|
19
|
+
}
|
|
20
|
+
.crisp-button--size_md {
|
|
21
|
+
height: 28px; padding-inline: var(--crisp-space-2); font-size: var(--crisp-text-lg); border-radius: var(--crisp-radius-md);
|
|
22
|
+
}
|
|
23
|
+
.crisp-button--size_lg {
|
|
24
|
+
height: 40px; padding-inline: 14px; font-size: var(--crisp-text-lg); border-radius: 10px;
|
|
25
|
+
}
|
|
26
|
+
.crisp-button--shape_text {
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
.crisp-button--shape_icon {
|
|
30
|
+
padding-inline: 0; aspect-ratio: 1 / 1;
|
|
31
|
+
}
|
|
32
|
+
.crisp-button--touchTarget_true {
|
|
33
|
+
position: relative; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; min-width: 44px; min-height: 44px; }
|
|
34
|
+
}
|
|
35
|
+
.crisp-button--touchTarget_false {
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (prefers-reduced-motion: reduce) {
|
|
40
|
+
.crisp-button, .crisp-button * {
|
|
41
|
+
animation-duration: 0.01ms !important;
|
|
42
|
+
animation-iteration-count: 1 !important;
|
|
43
|
+
transition-duration: 0.01ms !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
package/dist/callout.css
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.callout {
|
|
2
|
-
display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary);
|
|
3
|
-
& .callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
|
|
4
|
-
& .callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
5
|
-
& .callout-title { font-weight: var(--weight-semibold); }
|
|
6
|
-
& .callout-desc { color: var(--fg-muted); }
|
|
7
|
-
& .callout-action { flex-shrink: 0; }
|
|
8
|
-
&[data-tone="info"] { background: color-mix(in srgb, var(--bg-brand-solid) 8%, transparent); }
|
|
9
|
-
&[data-tone="info"] .callout-icon { color: var(--bg-brand-solid); }
|
|
10
|
-
&[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 10%, transparent); }
|
|
11
|
-
&[data-tone="success"] .callout-icon { color: var(--bg-success); }
|
|
12
|
-
&[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 12%, transparent); }
|
|
13
|
-
&[data-tone="warning"] .callout-icon { color: var(--bg-warning); }
|
|
14
|
-
&[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
|
|
15
|
-
&[data-tone="danger"] .callout-icon { color: var(--bg-danger); }
|
|
1
|
+
.crisp-callout {
|
|
2
|
+
display: flex; align-items: flex-start; gap: var(--crisp-space-2-5); box-sizing: border-box; padding: var(--crisp-space-3) var(--crisp-space-4); border-radius: var(--crisp-radius-lg); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); color: var(--crisp-fg-primary);
|
|
3
|
+
& .crisp-callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--crisp-fg-muted); }
|
|
4
|
+
& .crisp-callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
5
|
+
& .crisp-callout-title { font-weight: var(--crisp-weight-semibold); }
|
|
6
|
+
& .crisp-callout-desc { color: var(--crisp-fg-muted); }
|
|
7
|
+
& .crisp-callout-action { flex-shrink: 0; }
|
|
8
|
+
&[data-tone="info"] { background: color-mix(in srgb, var(--crisp-bg-brand-solid) 8%, transparent); }
|
|
9
|
+
&[data-tone="info"] .crisp-callout-icon { color: var(--crisp-bg-brand-solid); }
|
|
10
|
+
&[data-tone="success"] { background: color-mix(in srgb, var(--crisp-bg-success) 10%, transparent); }
|
|
11
|
+
&[data-tone="success"] .crisp-callout-icon { color: var(--crisp-bg-success); }
|
|
12
|
+
&[data-tone="warning"] { background: color-mix(in srgb, var(--crisp-bg-warning) 12%, transparent); }
|
|
13
|
+
&[data-tone="warning"] .crisp-callout-icon { color: var(--crisp-bg-warning); }
|
|
14
|
+
&[data-tone="danger"] { background: color-mix(in srgb, var(--crisp-bg-danger) 10%, transparent); }
|
|
15
|
+
&[data-tone="danger"] .crisp-callout-icon { color: var(--crisp-bg-danger); }
|
|
16
16
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-callout {
|
|
3
|
+
display: flex; align-items: flex-start; gap: var(--crisp-space-2-5); box-sizing: border-box; padding: var(--crisp-space-3) var(--crisp-space-4); border-radius: var(--crisp-radius-lg); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-md); background: color-mix(in srgb, var(--crisp-fg-primary) 4%, transparent); color: var(--crisp-fg-primary);
|
|
4
|
+
& .crisp-callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--crisp-fg-muted); }
|
|
5
|
+
& .crisp-callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
6
|
+
& .crisp-callout-title { font-weight: var(--crisp-weight-semibold); }
|
|
7
|
+
& .crisp-callout-desc { color: var(--crisp-fg-muted); }
|
|
8
|
+
& .crisp-callout-action { flex-shrink: 0; }
|
|
9
|
+
&[data-tone="info"] { background: color-mix(in srgb, var(--crisp-bg-brand-solid) 8%, transparent); }
|
|
10
|
+
&[data-tone="info"] .crisp-callout-icon { color: var(--crisp-bg-brand-solid); }
|
|
11
|
+
&[data-tone="success"] { background: color-mix(in srgb, var(--crisp-bg-success) 10%, transparent); }
|
|
12
|
+
&[data-tone="success"] .crisp-callout-icon { color: var(--crisp-bg-success); }
|
|
13
|
+
&[data-tone="warning"] { background: color-mix(in srgb, var(--crisp-bg-warning) 12%, transparent); }
|
|
14
|
+
&[data-tone="warning"] .crisp-callout-icon { color: var(--crisp-bg-warning); }
|
|
15
|
+
&[data-tone="danger"] { background: color-mix(in srgb, var(--crisp-bg-danger) 10%, transparent); }
|
|
16
|
+
&[data-tone="danger"] .crisp-callout-icon { color: var(--crisp-bg-danger); }
|
|
17
|
+
}
|
|
18
|
+
}
|
package/dist/card.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
.card {
|
|
2
|
-
display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); font-family: var(--font-sans); color: var(--fg-primary);
|
|
3
|
-
& .card-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
|
|
4
|
-
& .card-header svg { flex-shrink: 0; color: var(--fg-muted); }
|
|
5
|
-
& .card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
6
|
-
& .card-body { flex: 1; min-height: 0; padding: var(--space-4); }
|
|
7
|
-
& .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-subtle); }
|
|
1
|
+
.crisp-card {
|
|
2
|
+
display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--crisp-radius-xl); background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle); font-family: var(--crisp-font-sans); color: var(--crisp-fg-primary);
|
|
3
|
+
& .crisp-card-header { display: flex; align-items: center; gap: var(--crisp-space-2); flex-shrink: 0; padding: var(--crisp-space-3) var(--crisp-space-4); border-bottom: 1px solid var(--crisp-border-subtle); font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-semibold); }
|
|
4
|
+
& .crisp-card-header svg { flex-shrink: 0; color: var(--crisp-fg-muted); }
|
|
5
|
+
& .crisp-card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
6
|
+
& .crisp-card-body { flex: 1; min-height: 0; padding: var(--crisp-space-4); }
|
|
7
|
+
& .crisp-card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--crisp-space-2); flex-shrink: 0; padding: var(--crisp-space-3) var(--crisp-space-4); border-top: 1px solid var(--crisp-border-subtle); }
|
|
8
8
|
}
|
|
9
|
-
.card--raised_true {
|
|
10
|
-
box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
|
|
9
|
+
.crisp-card--raised_true {
|
|
10
|
+
box-shadow: inset 0 0 0 1px var(--crisp-border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
|
|
11
11
|
}
|
|
12
|
-
.card--raised_false {
|
|
12
|
+
.crisp-card--raised_false {
|
|
13
13
|
|
|
14
14
|
}
|
|
15
|
-
.card--interactive_true {
|
|
16
|
-
cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
|
|
15
|
+
.crisp-card--interactive_true {
|
|
16
|
+
cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--crisp-border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
|
|
17
17
|
}
|
|
18
|
-
.card--interactive_false {
|
|
18
|
+
.crisp-card--interactive_false {
|
|
19
19
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@media (prefers-reduced-motion: reduce) {
|
|
23
|
-
.card, .card * {
|
|
23
|
+
.crisp-card, .crisp-card * {
|
|
24
24
|
animation-duration: 0.01ms !important;
|
|
25
25
|
animation-iteration-count: 1 !important;
|
|
26
26
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-card {
|
|
3
|
+
display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--crisp-radius-xl); background: var(--crisp-bg-surface); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle); font-family: var(--crisp-font-sans); color: var(--crisp-fg-primary);
|
|
4
|
+
& .crisp-card-header { display: flex; align-items: center; gap: var(--crisp-space-2); flex-shrink: 0; padding: var(--crisp-space-3) var(--crisp-space-4); border-bottom: 1px solid var(--crisp-border-subtle); font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-semibold); }
|
|
5
|
+
& .crisp-card-header svg { flex-shrink: 0; color: var(--crisp-fg-muted); }
|
|
6
|
+
& .crisp-card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
7
|
+
& .crisp-card-body { flex: 1; min-height: 0; padding: var(--crisp-space-4); }
|
|
8
|
+
& .crisp-card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--crisp-space-2); flex-shrink: 0; padding: var(--crisp-space-3) var(--crisp-space-4); border-top: 1px solid var(--crisp-border-subtle); }
|
|
9
|
+
}
|
|
10
|
+
.crisp-card--raised_true {
|
|
11
|
+
box-shadow: inset 0 0 0 1px var(--crisp-border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
|
|
12
|
+
}
|
|
13
|
+
.crisp-card--raised_false {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
.crisp-card--interactive_true {
|
|
17
|
+
cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--crisp-border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
|
|
18
|
+
}
|
|
19
|
+
.crisp-card--interactive_false {
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (prefers-reduced-motion: reduce) {
|
|
24
|
+
.crisp-card, .crisp-card * {
|
|
25
|
+
animation-duration: 0.01ms !important;
|
|
26
|
+
animation-iteration-count: 1 !important;
|
|
27
|
+
transition-duration: 0.01ms !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/dist/checkbox.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.checkbox {
|
|
2
|
-
appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-sm)
|
|
3
|
-
; background: var(--bg-surface)
|
|
4
|
-
; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary)
|
|
5
|
-
9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
|
|
6
|
-
&:checked, &:indeterminate { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; }
|
|
1
|
+
.crisp-checkbox {
|
|
2
|
+
appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--crisp-radius-sm)
|
|
3
|
+
; background: var(--crisp-bg-surface)
|
|
4
|
+
; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-fg-primary)
|
|
5
|
+
9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-fg-primary) 30%, transparent); }
|
|
6
|
+
&:checked, &:indeterminate { background: var(--crisp-bg-brand-solid) center / 10px no-repeat; box-shadow: none; }
|
|
7
7
|
&:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
|
|
8
|
-
&:indeterminate { background-image: linear-gradient(var(--fg-on-brand), var(--fg-on-brand)); background-size: 8px 2px; }
|
|
9
|
-
&:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
|
|
8
|
+
&:indeterminate { background-image: linear-gradient(var(--crisp-fg-on-brand), var(--crisp-fg-on-brand)); background-size: 8px 2px; }
|
|
9
|
+
&:focus-visible { outline: 2px solid var(--crisp-bg-brand-solid); outline-offset: 1px; }
|
|
10
10
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@media (prefers-reduced-motion: reduce) {
|
|
14
|
-
.checkbox, .checkbox * {
|
|
14
|
+
.crisp-checkbox, .crisp-checkbox * {
|
|
15
15
|
animation-duration: 0.01ms !important;
|
|
16
16
|
animation-iteration-count: 1 !important;
|
|
17
17
|
transition-duration: 0.01ms !important;
|