@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
package/NOTICE
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
crisp
|
|
2
|
+
Copyright (c) 2026 Munkherdene
|
|
3
|
+
|
|
4
|
+
This product includes software developed by third parties, listed below.
|
|
5
|
+
crisp itself is distributed under the MIT License (see LICENSE).
|
|
6
|
+
|
|
7
|
+
================================================================================
|
|
8
|
+
SEED Design — Apache License 2.0
|
|
9
|
+
================================================================================
|
|
10
|
+
|
|
11
|
+
crisp depends on, and contains work derived from, SEED Design by 주식회사 당근마켓
|
|
12
|
+
(Karrot). Upstream: https://github.com/daangn/seed-design
|
|
13
|
+
|
|
14
|
+
A copy of the Apache License 2.0 is provided at licenses/Apache-2.0.txt, and the
|
|
15
|
+
attribution notice from SEED Design's own NOTICE file is reproduced verbatim at
|
|
16
|
+
the end of this section, as Apache-2.0 §4 requires.
|
|
17
|
+
|
|
18
|
+
Used as dependencies (unmodified, resolved from npm):
|
|
19
|
+
|
|
20
|
+
@seed-design/dom-utils
|
|
21
|
+
@seed-design/react-date-picker
|
|
22
|
+
@seed-design/react-file-upload
|
|
23
|
+
@seed-design/react-middle-truncate
|
|
24
|
+
@seed-design/react-quantity-picker
|
|
25
|
+
@seed-design/react-slider
|
|
26
|
+
@seed-design/react-time-picker
|
|
27
|
+
|
|
28
|
+
Contains derived work. Each file named here carries a comment recording what was
|
|
29
|
+
taken and what was changed; the summary is that the GEOMETRY is SEED's, read from
|
|
30
|
+
@seed-design/css, and every colour is remapped to crisp's own token roles:
|
|
31
|
+
|
|
32
|
+
components/datepicker/datepicker.recipe.ts calendar structure and range model,
|
|
33
|
+
incl. the 48px cell / 42px pill and
|
|
34
|
+
the [data-in-range]::before bridge
|
|
35
|
+
components/quantitypicker/quantitypicker.recipe.ts control geometry per size
|
|
36
|
+
components/slider/slider.recipe.ts 26px row, 4px track, thumb discs
|
|
37
|
+
components/wheelpicker/wheelpicker.recipe.ts wheel metrics and selection band
|
|
38
|
+
components/input/input.recipe.ts focus ring treatment (2px ::after)
|
|
39
|
+
components/textarea/textarea.recipe.ts focus ring treatment, as Input
|
|
40
|
+
tokens/palette.ts SEED's neutral greys, focus-ring
|
|
41
|
+
contrast and wheel-picker values
|
|
42
|
+
tokens/scale.ts font-weight-bold for the calendar
|
|
43
|
+
|
|
44
|
+
No SEED Design brand resource — logo, product name, character or other
|
|
45
|
+
Karrot-identifying element — is used, reproduced or redistributed by crisp. The
|
|
46
|
+
references above name SEED Design solely to attribute the source of the software,
|
|
47
|
+
as the licence requires. crisp is not affiliated with, sponsored by, or endorsed
|
|
48
|
+
by 주식회사 당근마켓.
|
|
49
|
+
|
|
50
|
+
--- SEED Design NOTICE, reproduced verbatim -----------------------------------
|
|
51
|
+
|
|
52
|
+
SEED Design
|
|
53
|
+
Copyright 2025 주식회사 당근마켓
|
|
54
|
+
|
|
55
|
+
이 소프트웨어는 Apache License 2.0에 따라 배포되며, 상업적 목적을 포함하여 자유롭게 사용, 수정, 재배포할 수 있습니다.
|
|
56
|
+
재배포할 때에는 Apache License 2.0 제4조에 따라 라이선스 사본을 제공하고 이 파일에 담긴 귀속 고지를 전달해야 합니다.
|
|
57
|
+
|
|
58
|
+
아래 "브랜드 리소스"에 관한 내용은 상표에 관한 안내이며, Apache License 2.0이 정하는 조건을 변경하지 않습니다.
|
|
59
|
+
|
|
60
|
+
이 저장소에서 제공하는 "브랜드 리소스"는 주식회사 당근마켓(이하 "당근마켓")의 자산으로 대한민국 상표법의 보호를 받습니다.
|
|
61
|
+
브랜드 리소스란 로고, 상호명, 캐릭터 등 당근마켓이나 당근마켓의 제품으로 식별될 수 있는 모든 요소를 의미합니다.
|
|
62
|
+
|
|
63
|
+
당근마켓과 사전 협의가 없는 경우 비상업적 목적으로만 사용이 허가되며 [당근마켓 브랜드 리소스 가이드라인]을 준수해야 합니다.
|
|
64
|
+
상표 사용 허가는 당근마켓의 요청에 따라 언제든지 철회될 수 있습니다.
|
|
65
|
+
|
|
66
|
+
또한 브랜드 리소스를 다음과 같은 방식으로 사용할 수 없습니다.
|
|
67
|
+
|
|
68
|
+
- 당근마켓을 사칭하거나, 당근마켓이 제공하는 제품 또는 서비스인 것처럼 오인하게 하는 사용
|
|
69
|
+
- 당근마켓의 제품 또는 서비스와 제휴, 후원, 보증, 그 밖의 관련이 있는 것처럼 오인하게 하는 사용
|
|
70
|
+
|
|
71
|
+
[당근마켓 브랜드 리소스 가이드라인]: https://app.notion.com/p/daangn/6fdd92981e4a42d8b29c89cbbba7a8b7
|
|
72
|
+
|
|
73
|
+
--- end of reproduced notice ---------------------------------------------------
|
|
74
|
+
|
|
75
|
+
================================================================================
|
|
76
|
+
Other third-party dependencies
|
|
77
|
+
================================================================================
|
|
78
|
+
|
|
79
|
+
MIT License:
|
|
80
|
+
@radix-ui/react-compose-refs, @radix-ui/react-slot Copyright (c) WorkOS
|
|
81
|
+
@zag-js/combobox, @zag-js/dialog, @zag-js/react Copyright (c) Chakra Systems
|
|
82
|
+
clsx Copyright (c) Luke Edwards
|
|
83
|
+
|
|
84
|
+
ISC License:
|
|
85
|
+
lucide-react Copyright (c) Lucide Contributors
|
|
86
|
+
|
|
87
|
+
Each is resolved from npm as an unmodified dependency and is not bundled into
|
|
88
|
+
crisp's published output; their licence texts ship with their own packages.
|
package/README.md
CHANGED
|
@@ -99,6 +99,28 @@ The docs site renders a live, measured demo for every component. Run it locally:
|
|
|
99
99
|
cd docs && bun run dev # http://localhost:3000
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
+
## Credits
|
|
103
|
+
|
|
104
|
+
crisp stands on other people's work.
|
|
105
|
+
|
|
106
|
+
**[SEED Design](https://github.com/daangn/seed-design)** by 주식회사 당근마켓 (Karrot),
|
|
107
|
+
Apache-2.0. Seven `@seed-design/*` packages drive crisp's DatePicker, TimePicker, Slider,
|
|
108
|
+
QuantityPicker, FileUpload and MiddleTruncate, and the geometry of those components — plus the
|
|
109
|
+
WheelPicker, the field focus rings and several neutral token values — is read from
|
|
110
|
+
`@seed-design/css` and remapped onto crisp's own token roles. The layering that crisp's
|
|
111
|
+
multi-platform work follows is theirs too: see [ADR 0002](./docs/adr/0002-cross-platform-boundary.md).
|
|
112
|
+
Each derived file records what was taken and what changed; the full attribution, including
|
|
113
|
+
SEED Design's own notice, is in [NOTICE](./NOTICE).
|
|
114
|
+
|
|
115
|
+
**[Radix](https://www.radix-ui.com) Slot and compose-refs** (MIT) for `asChild`,
|
|
116
|
+
**[Zag](https://zagjs.com)** (MIT) for the combobox and dialog state machines,
|
|
117
|
+
**[Lucide](https://lucide.dev)** (ISC) for every icon, and **clsx** (MIT).
|
|
118
|
+
|
|
119
|
+
crisp is not affiliated with, sponsored by or endorsed by any of them.
|
|
120
|
+
|
|
102
121
|
## License
|
|
103
122
|
|
|
104
123
|
[MIT](./LICENSE) © Munkherdene
|
|
124
|
+
|
|
125
|
+
crisp's own code is MIT. It includes work under the Apache License 2.0 — see
|
|
126
|
+
[NOTICE](./NOTICE) and [licenses/Apache-2.0.txt](./licenses/Apache-2.0.txt).
|
package/dist/accordion.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
.accordion {
|
|
2
|
-
display: flex; flex-direction: column; font-family: var(--font-sans);
|
|
3
|
-
& .accordion-item { border-bottom: 1px solid var(--border-subtle); }
|
|
4
|
-
& .accordion-trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 44px; padding: 0 var(--space-1); margin: 0; border: none; background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); text-align: start; cursor: pointer; }
|
|
5
|
-
& .accordion-trigger:hover { color: var(--fg-primary); }
|
|
6
|
-
& .accordion-title { flex: 1; min-width: 0; }
|
|
7
|
-
& .accordion-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .2s ease; }
|
|
8
|
-
& .accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
|
|
9
|
-
& .accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
|
|
10
|
-
& .accordion-panel[data-open] { grid-template-rows: 1fr; }
|
|
11
|
-
& .accordion-panel-inner { overflow: hidden; }
|
|
12
|
-
& .accordion-content { padding: 0 var(--space-1) var(--space-3); font-size: var(--text-md); color: var(--fg-muted); }
|
|
1
|
+
.crisp-accordion {
|
|
2
|
+
display: flex; flex-direction: column; font-family: var(--crisp-font-sans);
|
|
3
|
+
& .crisp-accordion-item { border-bottom: 1px solid var(--crisp-border-subtle); }
|
|
4
|
+
& .crisp-accordion-trigger { display: flex; align-items: center; gap: var(--crisp-space-2); width: 100%; height: 44px; padding: 0 var(--crisp-space-1); margin: 0; border: none; background: none; color: var(--crisp-fg-primary); font-family: inherit; font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-medium); text-align: start; cursor: pointer; }
|
|
5
|
+
& .crisp-accordion-trigger:hover { color: var(--crisp-fg-primary); }
|
|
6
|
+
& .crisp-accordion-title { flex: 1; min-width: 0; }
|
|
7
|
+
& .crisp-accordion-chevron { flex-shrink: 0; color: var(--crisp-fg-muted); transition: transform .2s ease; }
|
|
8
|
+
& .crisp-accordion-trigger[aria-expanded="true"] .crisp-accordion-chevron { transform: rotate(180deg); }
|
|
9
|
+
& .crisp-accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
|
|
10
|
+
& .crisp-accordion-panel[data-open] { grid-template-rows: 1fr; }
|
|
11
|
+
& .crisp-accordion-panel-inner { overflow: hidden; }
|
|
12
|
+
& .crisp-accordion-content { padding: 0 var(--crisp-space-1) var(--crisp-space-3); font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@media (prefers-reduced-motion: reduce) {
|
|
16
|
-
.accordion, .accordion * {
|
|
16
|
+
.crisp-accordion, .crisp-accordion * {
|
|
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-accordion {
|
|
3
|
+
display: flex; flex-direction: column; font-family: var(--crisp-font-sans);
|
|
4
|
+
& .crisp-accordion-item { border-bottom: 1px solid var(--crisp-border-subtle); }
|
|
5
|
+
& .crisp-accordion-trigger { display: flex; align-items: center; gap: var(--crisp-space-2); width: 100%; height: 44px; padding: 0 var(--crisp-space-1); margin: 0; border: none; background: none; color: var(--crisp-fg-primary); font-family: inherit; font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-medium); text-align: start; cursor: pointer; }
|
|
6
|
+
& .crisp-accordion-trigger:hover { color: var(--crisp-fg-primary); }
|
|
7
|
+
& .crisp-accordion-title { flex: 1; min-width: 0; }
|
|
8
|
+
& .crisp-accordion-chevron { flex-shrink: 0; color: var(--crisp-fg-muted); transition: transform .2s ease; }
|
|
9
|
+
& .crisp-accordion-trigger[aria-expanded="true"] .crisp-accordion-chevron { transform: rotate(180deg); }
|
|
10
|
+
& .crisp-accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
|
|
11
|
+
& .crisp-accordion-panel[data-open] { grid-template-rows: 1fr; }
|
|
12
|
+
& .crisp-accordion-panel-inner { overflow: hidden; }
|
|
13
|
+
& .crisp-accordion-content { padding: 0 var(--crisp-space-1) var(--crisp-space-3); font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (prefers-reduced-motion: reduce) {
|
|
17
|
+
.crisp-accordion, .crisp-accordion * {
|
|
18
|
+
animation-duration: 0.01ms !important;
|
|
19
|
+
animation-iteration-count: 1 !important;
|
|
20
|
+
transition-duration: 0.01ms !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
package/dist/appshell.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.appshell {
|
|
1
|
+
.crisp-appshell {
|
|
2
2
|
|
|
3
|
-
display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--bg-surface); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
4
|
-
& .appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
|
|
5
|
-
& .appshell-side-inner { height: 100%; }
|
|
6
|
-
& .appshell-resize { position: absolute; top: 0; inset-inline-end: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
|
|
7
|
-
& .appshell-resize::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 1px; height: 100%; background: var(--border-subtle); transition: background-color .16s, height .16s; }
|
|
8
|
-
& .appshell-resize:hover::after, & .appshell-resize[data-dragging]::after { width: 2px; background: var(--bg-brand-solid); }
|
|
9
|
-
& .appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
|
|
10
|
-
& .appshell-expand { position: absolute; top: var(--space-2); inset-inline-start: var(--space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--size-row); height: var(--size-row); padding: 0; border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
|
|
11
|
-
& .appshell-expand:hover { background: var(--bg-raised); color: var(--fg-primary); }
|
|
3
|
+
display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--crisp-bg-surface); font-family: var(--crisp-font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
4
|
+
& .crisp-appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
|
|
5
|
+
& .crisp-appshell-side-inner { height: 100%; }
|
|
6
|
+
& .crisp-appshell-resize { position: absolute; top: 0; inset-inline-end: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
|
|
7
|
+
& .crisp-appshell-resize::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 1px; height: 100%; background: var(--crisp-border-subtle); transition: background-color .16s, height .16s; }
|
|
8
|
+
& .crisp-appshell-resize:hover::after, & .crisp-appshell-resize[data-dragging]::after { width: 2px; background: var(--crisp-bg-brand-solid); }
|
|
9
|
+
& .crisp-appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
|
|
10
|
+
& .crisp-appshell-expand { position: absolute; top: var(--crisp-space-2); inset-inline-start: var(--crisp-space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--crisp-size-row); height: var(--crisp-size-row); padding: 0; border: none; border-radius: var(--crisp-radius-md); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle); background: var(--crisp-bg-surface); color: var(--crisp-fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
|
|
11
|
+
& .crisp-appshell-expand:hover { background: var(--crisp-bg-raised); color: var(--crisp-fg-primary); }
|
|
12
12
|
|
|
13
13
|
[dir="rtl"] & [data-rtl-flip] { transform: scaleX(-1); }
|
|
14
14
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@media (prefers-reduced-motion: reduce) {
|
|
18
|
-
.appshell, .appshell * {
|
|
18
|
+
.crisp-appshell, .crisp-appshell * {
|
|
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-appshell {
|
|
3
|
+
|
|
4
|
+
display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--crisp-bg-surface); font-family: var(--crisp-font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
5
|
+
& .crisp-appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
|
|
6
|
+
& .crisp-appshell-side-inner { height: 100%; }
|
|
7
|
+
& .crisp-appshell-resize { position: absolute; top: 0; inset-inline-end: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
|
|
8
|
+
& .crisp-appshell-resize::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 1px; height: 100%; background: var(--crisp-border-subtle); transition: background-color .16s, height .16s; }
|
|
9
|
+
& .crisp-appshell-resize:hover::after, & .crisp-appshell-resize[data-dragging]::after { width: 2px; background: var(--crisp-bg-brand-solid); }
|
|
10
|
+
& .crisp-appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
|
|
11
|
+
& .crisp-appshell-expand { position: absolute; top: var(--crisp-space-2); inset-inline-start: var(--crisp-space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--crisp-size-row); height: var(--crisp-size-row); padding: 0; border: none; border-radius: var(--crisp-radius-md); box-shadow: inset 0 0 0 1px var(--crisp-border-subtle); background: var(--crisp-bg-surface); color: var(--crisp-fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
|
|
12
|
+
& .crisp-appshell-expand:hover { background: var(--crisp-bg-raised); color: var(--crisp-fg-primary); }
|
|
13
|
+
|
|
14
|
+
[dir="rtl"] & [data-rtl-flip] { transform: scaleX(-1); }
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (prefers-reduced-motion: reduce) {
|
|
19
|
+
.crisp-appshell, .crisp-appshell * {
|
|
20
|
+
animation-duration: 0.01ms !important;
|
|
21
|
+
animation-iteration-count: 1 !important;
|
|
22
|
+
transition-duration: 0.01ms !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/dist/authshell.css
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
.authshell {
|
|
1
|
+
.crisp-authshell {
|
|
2
2
|
min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative;
|
|
3
|
-
background: var(--bg-surface); font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
|
|
3
|
+
background: var(--crisp-bg-surface); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-lg); line-height: 20px; color: var(--crisp-fg-primary);
|
|
4
4
|
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
5
5
|
|
|
6
|
-
& .authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--border-default); }
|
|
7
|
-
& .authshell-progress-fill { height: 2px; background: var(--fg-primary); border-radius: 4px; transition: width .2s; }
|
|
6
|
+
& .crisp-authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--crisp-border-default); }
|
|
7
|
+
& .crisp-authshell-progress-fill { height: 2px; background: var(--crisp-fg-primary); border-radius: 4px; transition: width .2s; }
|
|
8
8
|
|
|
9
|
-
& .authshell-logo { margin-top: var(--space-8); height: 24px; display: flex; align-items: center; }
|
|
9
|
+
& .crisp-authshell-logo { margin-top: var(--crisp-space-8); height: 24px; display: flex; align-items: center; }
|
|
10
10
|
|
|
11
|
-
& .authshell-card { margin-top: var(--space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--border-subtle); overflow: hidden; }
|
|
11
|
+
& .crisp-authshell-card { margin-top: var(--crisp-space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--crisp-border-subtle); overflow: hidden; }
|
|
12
12
|
|
|
13
|
-
& .authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
|
|
13
|
+
& .crisp-authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
|
|
14
14
|
|
|
15
|
-
& .authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
|
|
16
|
-
& .authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--bg-subtle) 0%, transparent) 0%, var(--bg-subtle) 100%); pointer-events: none; }
|
|
15
|
+
& .crisp-authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--crisp-bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--crisp-fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
|
|
16
|
+
& .crisp-authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--crisp-bg-subtle) 0%, transparent) 0%, var(--crisp-bg-subtle) 100%); pointer-events: none; }
|
|
17
17
|
|
|
18
|
-
& .authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-8); align-items: center; }
|
|
18
|
+
& .crisp-authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--crisp-space-8); align-items: center; }
|
|
19
19
|
|
|
20
|
-
& .authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); align-self: stretch; }
|
|
20
|
+
& .crisp-authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--crisp-weight-semibold); letter-spacing: -0.4px; color: var(--crisp-fg-primary); align-self: stretch; }
|
|
21
21
|
|
|
22
|
-
& .authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
|
|
22
|
+
& .crisp-authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
|
|
23
23
|
|
|
24
|
-
& .authshell-footer { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); line-height: 16px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
|
|
25
|
-
& .authshell-footer a { color: inherit; font-weight: var(--weight-medium); text-decoration: underline; }
|
|
24
|
+
& .crisp-authshell-footer { margin-top: var(--crisp-space-6); display: flex; align-items: center; gap: var(--crisp-space-1); font-size: var(--crisp-text-sm); line-height: 16px; color: color-mix(in srgb, var(--crisp-fg-primary) 63%, transparent); }
|
|
25
|
+
& .crisp-authshell-footer a { color: inherit; font-weight: var(--crisp-weight-medium); text-decoration: underline; }
|
|
26
26
|
|
|
27
27
|
/* Auth-surface control treatment: flatter than the in-app chrome — a plain
|
|
28
28
|
hairline ring instead of elevation.field's soft glow, and a 36px (not
|
|
29
|
-
40px) submit. Scoped to .authshell-body so a consumer keeps using
|
|
29
|
+
40px) submit. Scoped to .crisp-authshell-body so a consumer keeps using
|
|
30
30
|
crisp's Input / FormField / Button and gets the auth treatment for free. */
|
|
31
|
-
& .authshell-body .formfield-label { font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--fg-primary) 50%, transparent); padding-inline-start: var(--space-1); }
|
|
32
|
-
& .authshell-body .formfield { gap: var(--space-1); }
|
|
33
|
-
& .authshell-body .input { height: 34px; padding-inline: var(--space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
|
|
34
|
-
& .authshell-body .input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
|
|
31
|
+
& .crisp-authshell-body .crisp-formfield-label { font-size: var(--crisp-text-sm); line-height: 16px; font-weight: var(--crisp-weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--crisp-fg-primary) 50%, transparent); padding-inline-start: var(--crisp-space-1); }
|
|
32
|
+
& .crisp-authshell-body .crisp-formfield { gap: var(--crisp-space-1); }
|
|
33
|
+
& .crisp-authshell-body .crisp-input { height: 34px; padding-inline: var(--crisp-space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-fg-primary) 6%, transparent); font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
|
|
34
|
+
& .crisp-authshell-body .crisp-input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
35
35
|
/* Same three-layer brand shadow as Button's primary intent, but the auth
|
|
36
36
|
button's inset ring is measured at rgba(0,0,0,0.06) — a hairline, not
|
|
37
37
|
the in-app button's rgba(255,255,255,0.07) highlight. */
|
|
38
|
-
& .authshell-body .button { height: 36px; padding-inline: var(--space-3); border-radius: 10px; }
|
|
39
|
-
& .authshell-body .button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
|
|
38
|
+
& .crisp-authshell-body .crisp-button { height: 36px; padding-inline: var(--crisp-space-3); border-radius: 10px; }
|
|
39
|
+
& .crisp-authshell-body .crisp-button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
|
|
40
40
|
|
|
41
41
|
/* The preview pane drops out in JS on narrow viewports (measured: two
|
|
42
42
|
panes at 1393px, one at 954px), so 1200px is a chosen threshold inside
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
a viewport query would keep the 1130px card and overflow it. Asking the
|
|
46
46
|
shell's own width is what "there isn't room for the preview" means. */
|
|
47
47
|
container-type: inline-size;
|
|
48
|
-
@container (max-width: 1200px) { & .authshell-preview { display: none; } }
|
|
48
|
+
@container (max-width: 1200px) { & .crisp-authshell-preview { display: none; } }
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@media (prefers-reduced-motion: reduce) {
|
|
52
|
-
.authshell, .authshell * {
|
|
52
|
+
.crisp-authshell, .crisp-authshell * {
|
|
53
53
|
animation-duration: 0.01ms !important;
|
|
54
54
|
animation-iteration-count: 1 !important;
|
|
55
55
|
transition-duration: 0.01ms !important;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-authshell {
|
|
3
|
+
min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative;
|
|
4
|
+
background: var(--crisp-bg-surface); font-family: var(--crisp-font-sans); font-size: var(--crisp-text-lg); line-height: 20px; color: var(--crisp-fg-primary);
|
|
5
|
+
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
6
|
+
|
|
7
|
+
& .crisp-authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--crisp-border-default); }
|
|
8
|
+
& .crisp-authshell-progress-fill { height: 2px; background: var(--crisp-fg-primary); border-radius: 4px; transition: width .2s; }
|
|
9
|
+
|
|
10
|
+
& .crisp-authshell-logo { margin-top: var(--crisp-space-8); height: 24px; display: flex; align-items: center; }
|
|
11
|
+
|
|
12
|
+
& .crisp-authshell-card { margin-top: var(--crisp-space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--crisp-border-subtle); overflow: hidden; }
|
|
13
|
+
|
|
14
|
+
& .crisp-authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
|
|
15
|
+
|
|
16
|
+
& .crisp-authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--crisp-bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--crisp-fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
|
|
17
|
+
& .crisp-authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--crisp-bg-subtle) 0%, transparent) 0%, var(--crisp-bg-subtle) 100%); pointer-events: none; }
|
|
18
|
+
|
|
19
|
+
& .crisp-authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--crisp-space-8); align-items: center; }
|
|
20
|
+
|
|
21
|
+
& .crisp-authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--crisp-weight-semibold); letter-spacing: -0.4px; color: var(--crisp-fg-primary); align-self: stretch; }
|
|
22
|
+
|
|
23
|
+
& .crisp-authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
|
|
24
|
+
|
|
25
|
+
& .crisp-authshell-footer { margin-top: var(--crisp-space-6); display: flex; align-items: center; gap: var(--crisp-space-1); font-size: var(--crisp-text-sm); line-height: 16px; color: color-mix(in srgb, var(--crisp-fg-primary) 63%, transparent); }
|
|
26
|
+
& .crisp-authshell-footer a { color: inherit; font-weight: var(--crisp-weight-medium); text-decoration: underline; }
|
|
27
|
+
|
|
28
|
+
/* Auth-surface control treatment: flatter than the in-app chrome — a plain
|
|
29
|
+
hairline ring instead of elevation.field's soft glow, and a 36px (not
|
|
30
|
+
40px) submit. Scoped to .crisp-authshell-body so a consumer keeps using
|
|
31
|
+
crisp's Input / FormField / Button and gets the auth treatment for free. */
|
|
32
|
+
& .crisp-authshell-body .crisp-formfield-label { font-size: var(--crisp-text-sm); line-height: 16px; font-weight: var(--crisp-weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--crisp-fg-primary) 50%, transparent); padding-inline-start: var(--crisp-space-1); }
|
|
33
|
+
& .crisp-authshell-body .crisp-formfield { gap: var(--crisp-space-1); }
|
|
34
|
+
& .crisp-authshell-body .crisp-input { height: 34px; padding-inline: var(--crisp-space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crisp-fg-primary) 6%, transparent); font-size: var(--crisp-text-lg); font-weight: var(--crisp-weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
|
|
35
|
+
& .crisp-authshell-body .crisp-input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
36
|
+
/* Same three-layer brand shadow as Button's primary intent, but the auth
|
|
37
|
+
button's inset ring is measured at rgba(0,0,0,0.06) — a hairline, not
|
|
38
|
+
the in-app button's rgba(255,255,255,0.07) highlight. */
|
|
39
|
+
& .crisp-authshell-body .crisp-button { height: 36px; padding-inline: var(--crisp-space-3); border-radius: 10px; }
|
|
40
|
+
& .crisp-authshell-body .crisp-button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
|
|
41
|
+
|
|
42
|
+
/* The preview pane drops out in JS on narrow viewports (measured: two
|
|
43
|
+
panes at 1393px, one at 954px), so 1200px is a chosen threshold inside
|
|
44
|
+
that bracket, not a measured value. A CONTAINER query, not a media
|
|
45
|
+
query: the shell is embedded in the docs inside an ~800px column, where
|
|
46
|
+
a viewport query would keep the 1130px card and overflow it. Asking the
|
|
47
|
+
shell's own width is what "there isn't room for the preview" means. */
|
|
48
|
+
container-type: inline-size;
|
|
49
|
+
@container (max-width: 1200px) { & .crisp-authshell-preview { display: none; } }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (prefers-reduced-motion: reduce) {
|
|
53
|
+
.crisp-authshell, .crisp-authshell * {
|
|
54
|
+
animation-duration: 0.01ms !important;
|
|
55
|
+
animation-iteration-count: 1 !important;
|
|
56
|
+
transition-duration: 0.01ms !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
package/dist/avatar.css
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
.avatar {
|
|
2
|
-
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-sans); font-weight: var(--weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
|
|
1
|
+
.crisp-avatar {
|
|
2
|
+
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--crisp-font-sans); font-weight: var(--crisp-weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
|
|
3
3
|
}
|
|
4
|
-
.avatar--size_sm {
|
|
4
|
+
.crisp-avatar--size_sm {
|
|
5
5
|
height: 16px; width: 16px; font-size: 9px;
|
|
6
6
|
}
|
|
7
|
-
.avatar--size_md {
|
|
7
|
+
.crisp-avatar--size_md {
|
|
8
8
|
height: 20px; width: 20px; font-size: 10px;
|
|
9
9
|
}
|
|
10
|
-
.avatar--size_lg {
|
|
11
|
-
height: 24px; width: 24px; font-size: var(--text-sm);
|
|
10
|
+
.crisp-avatar--size_lg {
|
|
11
|
+
height: 24px; width: 24px; font-size: var(--crisp-text-sm);
|
|
12
12
|
}
|
|
13
|
-
.avatar--size_xl {
|
|
14
|
-
height: 32px; width: 32px; font-size: var(--text-lg);
|
|
13
|
+
.crisp-avatar--size_xl {
|
|
14
|
+
height: 32px; width: 32px; font-size: var(--crisp-text-lg);
|
|
15
15
|
}
|
|
16
|
-
.avatar--shape_circle {
|
|
17
|
-
border-radius: var(--radius-full);
|
|
16
|
+
.crisp-avatar--shape_circle {
|
|
17
|
+
border-radius: var(--crisp-radius-full);
|
|
18
18
|
}
|
|
19
|
-
.avatar--shape_rounded {
|
|
19
|
+
.crisp-avatar--shape_rounded {
|
|
20
20
|
border-radius: 30%;
|
|
21
21
|
}
|
|
22
|
-
.avatar--tone_neutral {
|
|
23
|
-
background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
|
|
22
|
+
.crisp-avatar--tone_neutral {
|
|
23
|
+
background: var(--crisp-bg-raised); color: var(--crisp-fg-muted); box-shadow: inset 0 0 0 1px var(--crisp-border-default);
|
|
24
24
|
}
|
|
25
|
-
.avatar--tone_brand {
|
|
26
|
-
background: var(--bg-brand-solid); color: #fff;
|
|
25
|
+
.crisp-avatar--tone_brand {
|
|
26
|
+
background: var(--crisp-bg-brand-solid); color: #fff;
|
|
27
27
|
}
|
|
28
|
-
.avatar--tone_orange {
|
|
29
|
-
background: var(--bg-orange); color: #fff;
|
|
28
|
+
.crisp-avatar--tone_orange {
|
|
29
|
+
background: var(--crisp-bg-orange); color: #fff;
|
|
30
30
|
}
|
|
31
|
-
.avatar--tone_cyan {
|
|
32
|
-
background: var(--bg-cyan); color: #fff;
|
|
31
|
+
.crisp-avatar--tone_cyan {
|
|
32
|
+
background: var(--crisp-bg-cyan); color: #fff;
|
|
33
33
|
}
|
|
34
|
-
.avatar--tone_purple {
|
|
35
|
-
background: var(--bg-purple); color: #fff;
|
|
34
|
+
.crisp-avatar--tone_purple {
|
|
35
|
+
background: var(--crisp-bg-purple); color: #fff;
|
|
36
36
|
}
|
|
37
|
-
.avatar--tone_green {
|
|
38
|
-
background: var(--bg-success); color: #fff;
|
|
37
|
+
.crisp-avatar--tone_green {
|
|
38
|
+
background: var(--crisp-bg-success); color: #fff;
|
|
39
39
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-avatar {
|
|
3
|
+
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--crisp-font-sans); font-weight: var(--crisp-weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
|
|
4
|
+
}
|
|
5
|
+
.crisp-avatar--size_sm {
|
|
6
|
+
height: 16px; width: 16px; font-size: 9px;
|
|
7
|
+
}
|
|
8
|
+
.crisp-avatar--size_md {
|
|
9
|
+
height: 20px; width: 20px; font-size: 10px;
|
|
10
|
+
}
|
|
11
|
+
.crisp-avatar--size_lg {
|
|
12
|
+
height: 24px; width: 24px; font-size: var(--crisp-text-sm);
|
|
13
|
+
}
|
|
14
|
+
.crisp-avatar--size_xl {
|
|
15
|
+
height: 32px; width: 32px; font-size: var(--crisp-text-lg);
|
|
16
|
+
}
|
|
17
|
+
.crisp-avatar--shape_circle {
|
|
18
|
+
border-radius: var(--crisp-radius-full);
|
|
19
|
+
}
|
|
20
|
+
.crisp-avatar--shape_rounded {
|
|
21
|
+
border-radius: 30%;
|
|
22
|
+
}
|
|
23
|
+
.crisp-avatar--tone_neutral {
|
|
24
|
+
background: var(--crisp-bg-raised); color: var(--crisp-fg-muted); box-shadow: inset 0 0 0 1px var(--crisp-border-default);
|
|
25
|
+
}
|
|
26
|
+
.crisp-avatar--tone_brand {
|
|
27
|
+
background: var(--crisp-bg-brand-solid); color: #fff;
|
|
28
|
+
}
|
|
29
|
+
.crisp-avatar--tone_orange {
|
|
30
|
+
background: var(--crisp-bg-orange); color: #fff;
|
|
31
|
+
}
|
|
32
|
+
.crisp-avatar--tone_cyan {
|
|
33
|
+
background: var(--crisp-bg-cyan); color: #fff;
|
|
34
|
+
}
|
|
35
|
+
.crisp-avatar--tone_purple {
|
|
36
|
+
background: var(--crisp-bg-purple); color: #fff;
|
|
37
|
+
}
|
|
38
|
+
.crisp-avatar--tone_green {
|
|
39
|
+
background: var(--crisp-bg-success); color: #fff;
|
|
40
|
+
}
|
|
41
|
+
}
|
package/dist/avatargroup.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.avatargroup {
|
|
1
|
+
.crisp-avatargroup {
|
|
2
2
|
display: inline-flex; align-items: center;
|
|
3
|
-
& > * { margin-inline-start: -var(--space-2); box-shadow: 0 0 0 2px var(--bg-surface); position: relative; }
|
|
3
|
+
& > * { margin-inline-start: -var(--crisp-space-2); box-shadow: 0 0 0 2px var(--crisp-bg-surface); position: relative; }
|
|
4
4
|
& > *:first-child { margin-inline-start: 0; }
|
|
5
5
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@layer crisp-components {
|
|
2
|
+
.crisp-avatargroup {
|
|
3
|
+
display: inline-flex; align-items: center;
|
|
4
|
+
& > * { margin-inline-start: -var(--crisp-space-2); box-shadow: 0 0 0 2px var(--crisp-bg-surface); position: relative; }
|
|
5
|
+
& > *:first-child { margin-inline-start: 0; }
|
|
6
|
+
}
|
|
7
|
+
}
|
package/dist/badge.css
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
.badge {
|
|
2
|
-
display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.1px; white-space: nowrap;
|
|
3
|
-
& .badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-full); background: currentColor; }
|
|
1
|
+
.crisp-badge {
|
|
2
|
+
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;
|
|
3
|
+
& .crisp-badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--crisp-radius-full); background: currentColor; }
|
|
4
4
|
}
|
|
5
|
-
.badge--tone_neutral {
|
|
6
|
-
background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
|
|
5
|
+
.crisp-badge--tone_neutral {
|
|
6
|
+
background: var(--crisp-bg-raised); color: var(--crisp-fg-muted); box-shadow: inset 0 0 0 1px var(--crisp-border-default);
|
|
7
7
|
}
|
|
8
|
-
.badge--tone_brand {
|
|
9
|
-
background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: var(--bg-brand-solid); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent);
|
|
8
|
+
.crisp-badge--tone_brand {
|
|
9
|
+
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);
|
|
10
10
|
}
|
|
11
|
-
.badge--tone_success {
|
|
12
|
-
background: color-mix(in srgb, var(--bg-success) 14%, transparent); color: var(--bg-success); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent);
|
|
11
|
+
.crisp-badge--tone_success {
|
|
12
|
+
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);
|
|
13
13
|
}
|
|
14
|
-
.badge--tone_warning {
|
|
15
|
-
background: color-mix(in srgb, var(--bg-warning) 16%, transparent); color: var(--bg-warning); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 32%, transparent);
|
|
14
|
+
.crisp-badge--tone_warning {
|
|
15
|
+
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);
|
|
16
16
|
}
|
|
17
|
-
.badge--tone_danger {
|
|
18
|
-
background: color-mix(in srgb, var(--bg-danger) 14%, transparent); color: var(--bg-danger); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent);
|
|
17
|
+
.crisp-badge--tone_danger {
|
|
18
|
+
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);
|
|
19
19
|
}
|
|
20
|
-
.badge--size_small {
|
|
21
|
-
height: 16px; padding-inline: var(--space-1-5); font-size: var(--text-xs); border-radius: var(--radius-sm);
|
|
20
|
+
.crisp-badge--size_small {
|
|
21
|
+
height: 16px; padding-inline: var(--crisp-space-1-5); font-size: var(--crisp-text-xs); border-radius: var(--crisp-radius-sm);
|
|
22
22
|
}
|
|
23
|
-
.badge--size_medium {
|
|
24
|
-
height: 20px; padding-inline: var(--space-2); font-size: var(--text-sm); border-radius: var(--radius-sm);
|
|
23
|
+
.crisp-badge--size_medium {
|
|
24
|
+
height: 20px; padding-inline: var(--crisp-space-2); font-size: var(--crisp-text-sm); border-radius: var(--crisp-radius-sm);
|
|
25
25
|
}
|
|
26
|
-
.badge--size_large {
|
|
27
|
-
height: var(--size-chip); padding-inline: 9px; font-size: var(--text-lg); border-radius: var(--radius-chip);
|
|
26
|
+
.crisp-badge--size_large {
|
|
27
|
+
height: var(--crisp-size-chip); padding-inline: 9px; font-size: var(--crisp-text-lg); border-radius: var(--crisp-radius-chip);
|
|
28
28
|
}
|
|
29
|
-
.badge--variant_soft {
|
|
29
|
+
.crisp-badge--variant_soft {
|
|
30
30
|
|
|
31
31
|
}
|
|
32
|
-
.badge--variant_solid {
|
|
32
|
+
.crisp-badge--variant_solid {
|
|
33
33
|
|
|
34
34
|
}
|
|
35
|
-
.badge--compound_0 {
|
|
36
|
-
background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: none;
|
|
35
|
+
.crisp-badge--compound_0 {
|
|
36
|
+
background: var(--crisp-bg-brand-solid); color: var(--crisp-fg-on-brand); box-shadow: none;
|
|
37
37
|
}
|
|
38
|
-
.badge--compound_1 {
|
|
39
|
-
background: var(--bg-success); color: var(--fg-on-tone); box-shadow: none;
|
|
38
|
+
.crisp-badge--compound_1 {
|
|
39
|
+
background: var(--crisp-bg-success); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
40
40
|
}
|
|
41
|
-
.badge--compound_2 {
|
|
42
|
-
background: var(--bg-warning); color: var(--fg-on-tone); box-shadow: none;
|
|
41
|
+
.crisp-badge--compound_2 {
|
|
42
|
+
background: var(--crisp-bg-warning); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
43
43
|
}
|
|
44
|
-
.badge--compound_3 {
|
|
45
|
-
background: var(--bg-danger); color: var(--fg-on-tone); box-shadow: none;
|
|
44
|
+
.crisp-badge--compound_3 {
|
|
45
|
+
background: var(--crisp-bg-danger); color: var(--crisp-fg-on-tone); box-shadow: none;
|
|
46
46
|
}
|
|
47
|
-
.badge--compound_4 {
|
|
48
|
-
background: var(--fg-muted); color: var(--bg-surface); box-shadow: none;
|
|
47
|
+
.crisp-badge--compound_4 {
|
|
48
|
+
background: var(--crisp-fg-muted); color: var(--crisp-bg-surface); box-shadow: none;
|
|
49
49
|
}
|