@crisp-ui-kit/crisp 0.5.0 → 0.7.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/README.md +14 -0
- package/dist/accordion.css +9 -1
- package/dist/appshell.css +12 -4
- package/dist/authshell.css +57 -0
- package/dist/authshell.d.ts +7 -0
- package/dist/avatargroup.css +2 -2
- package/dist/badge.css +4 -4
- package/dist/barchart.css +13 -5
- package/dist/board.css +9 -1
- package/dist/bulkbar.css +11 -3
- package/dist/button.css +15 -1
- package/dist/button.d.ts +2 -1
- package/dist/card.css +8 -0
- package/dist/checkbox.css +17 -1
- package/dist/cjs/components/accordion/accordion.js +69 -0
- package/dist/cjs/components/accordion/accordion.recipe.js +26 -0
- package/dist/cjs/components/accordion/index.js +7 -0
- package/dist/cjs/components/avatar/avatar.js +44 -0
- package/dist/cjs/components/avatar/avatar.recipe.js +42 -0
- package/dist/cjs/components/avatar/index.js +7 -0
- package/dist/cjs/components/avatargroup/avatargroup.js +52 -0
- package/dist/cjs/components/avatargroup/avatargroup.recipe.js +18 -0
- package/dist/cjs/components/avatargroup/index.js +7 -0
- package/dist/cjs/components/badge/badge.js +44 -0
- package/dist/cjs/components/badge/badge.recipe.js +68 -0
- package/dist/cjs/components/badge/index.js +7 -0
- package/dist/cjs/components/barchart/barchart.js +45 -0
- package/dist/cjs/components/barchart/barchart.recipe.js +34 -0
- package/dist/cjs/components/barchart/index.js +7 -0
- package/dist/cjs/components/breadcrumb/breadcrumb.js +53 -0
- package/dist/cjs/components/breadcrumb/breadcrumb.recipe.js +21 -0
- package/dist/cjs/components/breadcrumb/index.js +7 -0
- package/dist/cjs/components/bulkbar/bulkbar.js +53 -0
- package/dist/cjs/components/bulkbar/bulkbar.recipe.js +31 -0
- package/dist/cjs/components/bulkbar/index.js +8 -0
- package/dist/cjs/components/button/button.js +62 -0
- package/dist/cjs/components/button/button.recipe.js +58 -0
- package/dist/cjs/components/button/index.js +7 -0
- package/dist/cjs/components/callout/callout.js +25 -0
- package/dist/cjs/components/callout/callout.recipe.js +29 -0
- package/dist/cjs/components/callout/index.js +7 -0
- package/dist/cjs/components/card/card.js +54 -0
- package/dist/cjs/components/card/card.recipe.js +31 -0
- package/dist/cjs/components/card/index.js +10 -0
- package/dist/cjs/components/checkbox/checkbox.js +56 -0
- package/dist/cjs/components/checkbox/checkbox.recipe.js +34 -0
- package/dist/cjs/components/checkbox/index.js +7 -0
- package/dist/cjs/components/columncalc/columncalc.js +139 -0
- package/dist/cjs/components/columncalc/columncalc.recipe.js +33 -0
- package/dist/cjs/components/columncalc/index.js +10 -0
- package/dist/cjs/components/contextmenu/contextmenu.js +78 -0
- package/dist/cjs/components/contextmenu/contextmenu.recipe.js +24 -0
- package/dist/cjs/components/contextmenu/index.js +7 -0
- package/dist/cjs/components/datatable/datatable.js +508 -0
- package/dist/cjs/components/datatable/datatable.recipe.js +113 -0
- package/dist/cjs/components/datatable/index.js +7 -0
- package/dist/cjs/components/datepicker/datepicker.js +153 -0
- package/dist/cjs/components/datepicker/datepicker.recipe.js +180 -0
- package/dist/cjs/components/datepicker/index.js +19 -0
- package/dist/cjs/components/datepickerfield/datepickerfield.js +85 -0
- package/dist/cjs/components/datepickerfield/datepickerfield.recipe.js +44 -0
- package/dist/cjs/components/datepickerfield/index.js +7 -0
- package/dist/cjs/components/dialog/dialog.js +86 -0
- package/dist/cjs/components/dialog/dialog.recipe.js +35 -0
- package/dist/cjs/components/dialog/index.js +9 -0
- package/dist/cjs/components/divider/divider.js +10 -0
- package/dist/cjs/components/divider/divider.recipe.js +17 -0
- package/dist/cjs/components/divider/index.js +7 -0
- package/dist/cjs/components/donutchart/donutchart.js +41 -0
- package/dist/cjs/components/donutchart/donutchart.recipe.js +30 -0
- package/dist/cjs/components/donutchart/index.js +7 -0
- package/dist/cjs/components/drawer/drawer.js +80 -0
- package/dist/cjs/components/drawer/drawer.recipe.js +30 -0
- package/dist/cjs/components/drawer/index.js +9 -0
- package/dist/cjs/components/emptystate/emptystate.js +10 -0
- package/dist/cjs/components/emptystate/emptystate.recipe.js +34 -0
- package/dist/cjs/components/emptystate/index.js +7 -0
- package/dist/cjs/components/formfield/formfield.js +50 -0
- package/dist/cjs/components/formfield/formfield.recipe.js +22 -0
- package/dist/cjs/components/formfield/index.js +7 -0
- package/dist/cjs/components/input/index.js +7 -0
- package/dist/cjs/components/input/input.js +47 -0
- package/dist/cjs/components/input/input.recipe.js +59 -0
- package/dist/cjs/components/kbd/index.js +7 -0
- package/dist/cjs/components/kbd/kbd.js +44 -0
- package/dist/cjs/components/kbd/kbd.recipe.js +23 -0
- package/dist/cjs/components/linechart/index.js +7 -0
- package/dist/cjs/components/linechart/linechart.js +57 -0
- package/dist/cjs/components/linechart/linechart.recipe.js +35 -0
- package/dist/cjs/components/menu/index.js +14 -0
- package/dist/cjs/components/menu/menu-keyboard.js +117 -0
- package/dist/cjs/components/menu/menu.js +144 -0
- package/dist/cjs/components/menu/menu.recipe.js +54 -0
- package/dist/cjs/components/multiselect/index.js +7 -0
- package/dist/cjs/components/multiselect/multiselect.js +161 -0
- package/dist/cjs/components/multiselect/multiselect.recipe.js +71 -0
- package/dist/cjs/components/popover/index.js +7 -0
- package/dist/cjs/components/popover/popover.js +106 -0
- package/dist/cjs/components/popover/popover.recipe.js +21 -0
- package/dist/cjs/components/progress/index.js +7 -0
- package/dist/cjs/components/progress/progress.js +26 -0
- package/dist/cjs/components/progress/progress.recipe.js +20 -0
- package/dist/cjs/components/radiogroup/index.js +8 -0
- package/dist/cjs/components/radiogroup/radiogroup.js +83 -0
- package/dist/cjs/components/radiogroup/radiogroup.recipe.js +40 -0
- package/dist/cjs/components/resizablepanel/index.js +12 -0
- package/dist/cjs/components/resizablepanel/resizablepanel.js +176 -0
- package/dist/cjs/components/resizablepanel/resizablepanel.recipe.js +69 -0
- package/dist/cjs/components/segmented/index.js +7 -0
- package/dist/cjs/components/segmented/segmented.js +95 -0
- package/dist/cjs/components/segmented/segmented.recipe.js +23 -0
- package/dist/cjs/components/select/index.js +7 -0
- package/dist/cjs/components/select/select.js +180 -0
- package/dist/cjs/components/select/select.recipe.js +79 -0
- package/dist/cjs/components/skeleton/index.js +7 -0
- package/dist/cjs/components/skeleton/skeleton.js +13 -0
- package/dist/cjs/components/skeleton/skeleton.recipe.js +17 -0
- package/dist/cjs/components/spinner/index.js +7 -0
- package/dist/cjs/components/spinner/spinner.js +15 -0
- package/dist/cjs/components/spinner/spinner.recipe.js +16 -0
- package/dist/cjs/components/stagebar/index.js +7 -0
- package/dist/cjs/components/stagebar/stagebar.js +26 -0
- package/dist/cjs/components/stagebar/stagebar.recipe.js +17 -0
- package/dist/cjs/components/statcard/index.js +7 -0
- package/dist/cjs/components/statcard/statcard.js +15 -0
- package/dist/cjs/components/statcard/statcard.recipe.js +37 -0
- package/dist/cjs/components/switch/index.js +7 -0
- package/dist/cjs/components/switch/switch.js +58 -0
- package/dist/cjs/components/switch/switch.recipe.js +29 -0
- package/dist/cjs/components/table/index.js +14 -0
- package/dist/cjs/components/table/table.js +66 -0
- package/dist/cjs/components/table/table.recipe.js +43 -0
- package/dist/cjs/components/tabletoolbar/index.js +20 -0
- package/dist/cjs/components/tabletoolbar/tabletoolbar.chrome.js +84 -0
- package/dist/cjs/components/tabletoolbar/tabletoolbar.js +237 -0
- package/dist/cjs/components/tabletoolbar/tabletoolbar.recipe.js +26 -0
- package/dist/cjs/components/tabs/index.js +7 -0
- package/dist/cjs/components/tabs/tabs.js +106 -0
- package/dist/cjs/components/tabs/tabs.recipe.js +36 -0
- package/dist/cjs/components/textarea/index.js +7 -0
- package/dist/cjs/components/textarea/textarea.js +56 -0
- package/dist/cjs/components/textarea/textarea.recipe.js +46 -0
- package/dist/cjs/components/toast/index.js +8 -0
- package/dist/cjs/components/toast/toast.js +95 -0
- package/dist/cjs/components/toast/toast.recipe.js +31 -0
- package/dist/cjs/components/tooltip/index.js +7 -0
- package/dist/cjs/components/tooltip/tooltip.js +95 -0
- package/dist/cjs/components/tooltip/tooltip.recipe.js +16 -0
- package/dist/cjs/components/wheelpicker/index.js +7 -0
- package/dist/cjs/components/wheelpicker/wheelpicker.js +134 -0
- package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +95 -0
- package/dist/cjs/core/cx.js +8 -0
- package/dist/cjs/core/define.js +6 -0
- package/dist/cjs/core/index.js +11 -0
- package/dist/cjs/core/primitive.js +49 -0
- package/dist/cjs/core/resolve.js +44 -0
- package/dist/cjs/core/types.js +2 -0
- package/dist/cjs/index.js +92 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/product/appshell/appshell.js +104 -0
- package/dist/cjs/product/appshell/appshell.recipe.js +30 -0
- package/dist/cjs/product/appshell/index.js +7 -0
- package/dist/cjs/product/authshell/authshell.js +21 -0
- package/dist/cjs/product/authshell/authshell.recipe.js +67 -0
- package/dist/cjs/product/authshell/index.js +7 -0
- package/dist/cjs/product/board/board.js +78 -0
- package/dist/cjs/product/board/board.recipe.js +31 -0
- package/dist/cjs/product/board/index.js +7 -0
- package/dist/cjs/product/command/command.js +238 -0
- package/dist/cjs/product/command/command.recipe.js +47 -0
- package/dist/cjs/product/command/index.js +8 -0
- package/dist/cjs/product/entitycard/entitycard.js +14 -0
- package/dist/cjs/product/entitycard/entitycard.recipe.js +32 -0
- package/dist/cjs/product/entitycard/index.js +7 -0
- package/dist/cjs/product/flowcanvas/flowcanvas.js +121 -0
- package/dist/cjs/product/flowcanvas/flowcanvas.recipe.js +28 -0
- package/dist/cjs/product/flowcanvas/index.js +7 -0
- package/dist/cjs/product/inbox/inbox.js +16 -0
- package/dist/cjs/product/inbox/inbox.recipe.js +46 -0
- package/dist/cjs/product/inbox/index.js +7 -0
- package/dist/cjs/product/listpage/index.js +8 -0
- package/dist/cjs/product/listpage/listpage.js +25 -0
- package/dist/cjs/product/listpage/listpage.recipe.js +46 -0
- package/dist/cjs/product/navitem/index.js +5 -0
- package/dist/cjs/product/navitem/navitem.js +44 -0
- package/dist/cjs/product/navitem/navitem.recipe.js +36 -0
- package/dist/cjs/product/onboarding/index.js +7 -0
- package/dist/cjs/product/onboarding/onboarding.js +17 -0
- package/dist/cjs/product/onboarding/onboarding.recipe.js +44 -0
- package/dist/cjs/product/recordpage/index.js +7 -0
- package/dist/cjs/product/recordpage/recordpage.js +409 -0
- package/dist/cjs/product/recordpage/recordpage.recipe.js +162 -0
- package/dist/cjs/product/recordpanel/index.js +7 -0
- package/dist/cjs/product/recordpanel/recordpanel.js +83 -0
- package/dist/cjs/product/recordpanel/recordpanel.recipe.js +51 -0
- package/dist/cjs/product/recordstable/company-logos.js +29 -0
- package/dist/cjs/product/recordstable/index.js +10 -0
- package/dist/cjs/product/recordstable/recordstable.js +1092 -0
- package/dist/cjs/product/recordstable/recordstable.recipe.js +152 -0
- package/dist/cjs/product/recordstable/recordstable.tag.js +21 -0
- package/dist/cjs/product/richtext/index.js +7 -0
- package/dist/cjs/product/richtext/richtext.js +147 -0
- package/dist/cjs/product/richtext/richtext.recipe.js +43 -0
- package/dist/cjs/product/settingssection/index.js +7 -0
- package/dist/cjs/product/settingssection/settingssection.js +14 -0
- package/dist/cjs/product/settingssection/settingssection.recipe.js +23 -0
- package/dist/cjs/product/settingsshell/index.js +7 -0
- package/dist/cjs/product/settingsshell/settingsshell.js +59 -0
- package/dist/cjs/product/settingsshell/settingsshell.recipe.js +46 -0
- package/dist/cjs/product/sidebar/index.js +13 -0
- package/dist/cjs/product/sidebar/sidebar.js +148 -0
- package/dist/cjs/product/sidebar/sidebar.recipe.js +46 -0
- package/dist/cjs/product/tasklist/index.js +7 -0
- package/dist/cjs/product/tasklist/tasklist.js +19 -0
- package/dist/cjs/product/tasklist/tasklist.recipe.js +38 -0
- package/dist/cjs/product/trialbanner/index.js +7 -0
- package/dist/cjs/product/trialbanner/trialbanner.js +13 -0
- package/dist/cjs/product/trialbanner/trialbanner.recipe.js +32 -0
- package/dist/cjs/product/viewtoggle/index.js +7 -0
- package/dist/cjs/product/viewtoggle/viewtoggle.js +55 -0
- package/dist/cjs/product/viewtoggle/viewtoggle.recipe.js +27 -0
- package/dist/cjs/tokens/contract.js +21 -0
- package/dist/cjs/tokens/elevation.js +47 -0
- package/dist/cjs/tokens/index.js +18 -0
- package/dist/cjs/tokens/palette.js +63 -0
- package/dist/cjs/tokens/scale.js +70 -0
- package/dist/cjs/tokens/semantic.js +57 -0
- package/dist/columncalc.css +26 -0
- package/dist/columncalc.d.ts +7 -0
- package/dist/command.css +34 -1
- package/dist/contextmenu.css +10 -2
- package/dist/datatable.css +60 -14
- package/dist/datepicker.css +165 -19
- package/dist/datepicker.d.ts +2 -2
- package/dist/datepickerfield.css +27 -0
- package/dist/datepickerfield.d.ts +7 -0
- package/dist/dialog.css +10 -2
- package/dist/donutchart.css +8 -0
- package/dist/drawer.css +13 -5
- package/dist/entitycard.css +10 -2
- package/dist/esm/components/accordion/accordion.js +17 -16
- package/dist/esm/components/accordion/accordion.recipe.js +1 -1
- package/dist/esm/components/avatargroup/avatargroup.js +2 -2
- package/dist/esm/components/avatargroup/avatargroup.recipe.js +2 -2
- package/dist/esm/components/badge/badge.recipe.js +4 -4
- package/dist/esm/components/barchart/barchart.js +15 -2
- package/dist/esm/components/barchart/barchart.recipe.js +10 -5
- package/dist/esm/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/esm/components/bulkbar/bulkbar.js +2 -2
- package/dist/esm/components/bulkbar/bulkbar.recipe.js +4 -4
- package/dist/esm/components/button/button.js +13 -2
- package/dist/esm/components/button/button.recipe.js +20 -4
- package/dist/esm/components/callout/callout.js +2 -2
- package/dist/esm/components/checkbox/checkbox.recipe.js +9 -1
- package/dist/esm/components/columncalc/columncalc.js +100 -0
- package/dist/esm/components/columncalc/columncalc.recipe.js +30 -0
- package/dist/esm/components/columncalc/index.js +1 -0
- package/dist/esm/components/contextmenu/contextmenu.recipe.js +4 -4
- package/dist/esm/components/datatable/datatable.js +276 -49
- package/dist/esm/components/datatable/datatable.recipe.js +54 -16
- package/dist/esm/components/datepicker/datepicker.js +104 -53
- package/dist/esm/components/datepicker/datepicker.recipe.js +170 -25
- package/dist/esm/components/datepicker/index.js +1 -1
- package/dist/esm/components/datepickerfield/datepickerfield.js +49 -0
- package/dist/esm/components/datepickerfield/datepickerfield.recipe.js +41 -0
- package/dist/esm/components/datepickerfield/index.js +2 -0
- package/dist/esm/components/dialog/dialog.js +2 -2
- package/dist/esm/components/dialog/dialog.recipe.js +4 -4
- package/dist/esm/components/divider/divider.js +2 -2
- package/dist/esm/components/donutchart/donutchart.js +2 -2
- package/dist/esm/components/drawer/drawer.js +2 -2
- package/dist/esm/components/drawer/drawer.recipe.js +6 -6
- package/dist/esm/components/emptystate/emptystate.js +2 -2
- package/dist/esm/components/formfield/formfield.js +2 -2
- package/dist/esm/components/input/input.js +6 -3
- package/dist/esm/components/input/input.recipe.js +38 -5
- package/dist/esm/components/linechart/linechart.js +15 -2
- package/dist/esm/components/linechart/linechart.recipe.js +10 -5
- package/dist/esm/components/menu/index.js +1 -0
- package/dist/esm/components/menu/menu-keyboard.js +80 -0
- package/dist/esm/components/menu/menu.js +27 -60
- package/dist/esm/components/menu/menu.recipe.js +5 -5
- package/dist/esm/components/multiselect/multiselect.js +10 -3
- package/dist/esm/components/multiselect/multiselect.recipe.js +8 -8
- package/dist/esm/components/popover/popover.js +2 -2
- package/dist/esm/components/popover/popover.recipe.js +2 -2
- package/dist/esm/components/progress/progress.js +3 -3
- package/dist/esm/components/radiogroup/radiogroup.js +2 -2
- package/dist/esm/components/radiogroup/radiogroup.recipe.js +1 -1
- package/dist/esm/components/resizablepanel/index.js +2 -0
- package/dist/esm/components/resizablepanel/resizablepanel.js +135 -0
- package/dist/esm/components/resizablepanel/resizablepanel.recipe.js +66 -0
- package/dist/esm/components/segmented/segmented.js +2 -2
- package/dist/esm/components/select/select.js +2 -2
- package/dist/esm/components/select/select.recipe.js +6 -6
- package/dist/esm/components/skeleton/skeleton.js +5 -2
- package/dist/esm/components/spinner/spinner.js +3 -2
- package/dist/esm/components/stagebar/stagebar.js +2 -2
- package/dist/esm/components/statcard/statcard.js +2 -2
- package/dist/esm/components/table/table.recipe.js +6 -6
- package/dist/esm/components/tabletoolbar/tabletoolbar.chrome.js +3 -3
- package/dist/esm/components/tabletoolbar/tabletoolbar.js +21 -13
- package/dist/esm/components/tabs/tabs.js +2 -2
- package/dist/esm/components/tabs/tabs.recipe.js +4 -4
- package/dist/esm/components/textarea/textarea.js +5 -5
- package/dist/esm/components/textarea/textarea.recipe.js +16 -4
- package/dist/esm/components/toast/toast.js +4 -4
- package/dist/esm/components/toast/toast.recipe.js +2 -2
- package/dist/esm/components/tooltip/tooltip.js +21 -7
- package/dist/esm/components/wheelpicker/index.js +2 -0
- package/dist/esm/components/wheelpicker/wheelpicker.js +98 -0
- package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +92 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/product/appshell/appshell.js +33 -9
- package/dist/esm/product/appshell/appshell.recipe.js +4 -4
- package/dist/esm/product/authshell/authshell.js +18 -0
- package/dist/esm/product/authshell/authshell.recipe.js +64 -0
- package/dist/esm/product/authshell/index.js +2 -0
- package/dist/esm/product/board/board.js +2 -2
- package/dist/esm/product/board/board.recipe.js +1 -1
- package/dist/esm/product/command/command.js +19 -6
- package/dist/esm/product/command/command.recipe.js +27 -2
- package/dist/esm/product/entitycard/entitycard.js +2 -2
- package/dist/esm/product/entitycard/entitycard.recipe.js +2 -2
- package/dist/esm/product/flowcanvas/flowcanvas.js +4 -4
- package/dist/esm/product/inbox/inbox.recipe.js +1 -1
- package/dist/esm/product/listpage/listpage.recipe.js +3 -3
- package/dist/esm/product/navitem/navitem.recipe.js +13 -1
- package/dist/esm/product/onboarding/onboarding.js +2 -2
- package/dist/esm/product/onboarding/onboarding.recipe.js +2 -2
- package/dist/esm/product/recordpage/recordpage.js +133 -47
- package/dist/esm/product/recordpage/recordpage.recipe.js +19 -17
- package/dist/esm/product/recordpanel/recordpanel.js +4 -4
- package/dist/esm/product/recordpanel/recordpanel.recipe.js +12 -16
- package/dist/esm/product/recordstable/recordstable.js +157 -66
- package/dist/esm/product/recordstable/recordstable.recipe.js +23 -23
- package/dist/esm/product/recordstable/recordstable.tag.js +18 -0
- package/dist/esm/product/richtext/richtext.js +3 -3
- package/dist/esm/product/richtext/richtext.recipe.js +3 -3
- package/dist/esm/product/settingssection/settingssection.js +2 -2
- package/dist/esm/product/settingsshell/settingsshell.js +2 -2
- package/dist/esm/product/settingsshell/settingsshell.recipe.js +7 -2
- package/dist/esm/product/sidebar/sidebar.js +2 -2
- package/dist/esm/product/sidebar/sidebar.recipe.js +27 -2
- package/dist/esm/product/tasklist/tasklist.js +4 -4
- package/dist/esm/product/trialbanner/trialbanner.js +2 -2
- package/dist/esm/product/trialbanner/trialbanner.recipe.js +2 -2
- package/dist/esm/product/viewtoggle/viewtoggle.js +10 -2
- package/dist/esm/product/viewtoggle/viewtoggle.recipe.js +1 -1
- package/dist/esm/tokens/elevation.js +44 -0
- package/dist/esm/tokens/index.js +1 -0
- package/dist/esm/tokens/palette.js +30 -0
- package/dist/esm/tokens/scale.js +7 -0
- package/dist/esm/tokens/semantic.js +24 -0
- package/dist/inbox.css +9 -1
- package/dist/input.css +32 -4
- package/dist/linechart.css +5 -5
- package/dist/listpage.css +11 -3
- package/dist/menu.css +11 -3
- package/dist/multiselect.css +14 -6
- package/dist/native/tokens.d.ts +16 -0
- package/dist/native/tokens.js +221 -0
- package/dist/navitem.css +21 -1
- package/dist/onboarding.css +10 -2
- package/dist/popover.css +8 -0
- package/dist/progress.css +8 -0
- package/dist/radiogroup.css +9 -1
- package/dist/recordpage.css +22 -12
- package/dist/recordpanel.css +25 -15
- package/dist/recordstable.css +37 -23
- package/dist/resizablepanel.css +53 -0
- package/dist/resizablepanel.d.ts +7 -0
- package/dist/richtext.css +11 -3
- package/dist/segmented.css +8 -0
- package/dist/select.css +12 -4
- package/dist/settingsshell.css +15 -2
- package/dist/sidebar.css +34 -1
- package/dist/skeleton.css +8 -0
- package/dist/spinner.css +8 -0
- package/dist/stagebar.css +8 -0
- package/dist/styles.css +2051 -1111
- package/dist/switch.css +8 -0
- package/dist/table.css +14 -6
- package/dist/tabletoolbar.css +8 -0
- package/dist/tabs.css +12 -4
- package/dist/tasklist.css +8 -0
- package/dist/textarea.css +23 -3
- package/dist/toast.css +10 -2
- package/dist/tokens.css +29 -0
- package/dist/tokens.json +217 -0
- package/dist/tooltip.css +8 -0
- package/dist/trialbanner.css +8 -0
- package/dist/types/components/accordion/accordion.d.ts +10 -8
- package/dist/types/components/avatargroup/avatargroup.d.ts +2 -2
- package/dist/types/components/barchart/barchart.d.ts +4 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/types/components/bulkbar/bulkbar.d.ts +4 -2
- package/dist/types/components/button/button.d.ts +8 -0
- package/dist/types/components/button/button.recipe.d.ts +12 -0
- package/dist/types/components/callout/callout.d.ts +2 -2
- package/dist/types/components/columncalc/columncalc.d.ts +49 -0
- package/dist/types/components/columncalc/columncalc.recipe.d.ts +3 -0
- package/dist/types/components/columncalc/index.d.ts +1 -0
- package/dist/types/components/datatable/datatable.d.ts +58 -3
- package/dist/types/components/datepicker/datepicker.d.ts +41 -18
- package/dist/types/components/datepicker/datepicker.recipe.d.ts +25 -2
- package/dist/types/components/datepicker/index.d.ts +1 -1
- package/dist/types/components/datepickerfield/datepickerfield.d.ts +35 -0
- package/dist/types/components/datepickerfield/datepickerfield.recipe.d.ts +5 -0
- package/dist/types/components/datepickerfield/index.d.ts +2 -0
- package/dist/types/components/dialog/dialog.d.ts +3 -1
- package/dist/types/components/divider/divider.d.ts +2 -2
- package/dist/types/components/donutchart/donutchart.d.ts +2 -2
- package/dist/types/components/drawer/drawer.d.ts +3 -1
- package/dist/types/components/emptystate/emptystate.d.ts +2 -2
- package/dist/types/components/formfield/formfield.d.ts +7 -4
- package/dist/types/components/input/input.d.ts +8 -2
- package/dist/types/components/linechart/linechart.d.ts +4 -2
- package/dist/types/components/menu/index.d.ts +1 -0
- package/dist/types/components/menu/menu-keyboard.d.ts +33 -0
- package/dist/types/components/menu/menu.d.ts +7 -1
- package/dist/types/components/multiselect/multiselect.d.ts +8 -4
- package/dist/types/components/popover/popover.d.ts +4 -1
- package/dist/types/components/progress/progress.d.ts +2 -2
- package/dist/types/components/radiogroup/radiogroup.d.ts +2 -2
- package/dist/types/components/resizablepanel/index.d.ts +2 -0
- package/dist/types/components/resizablepanel/resizablepanel.d.ts +75 -0
- package/dist/types/components/resizablepanel/resizablepanel.recipe.d.ts +3 -0
- package/dist/types/components/segmented/segmented.d.ts +2 -2
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/skeleton/skeleton.d.ts +2 -2
- package/dist/types/components/spinner/spinner.d.ts +2 -2
- package/dist/types/components/stagebar/stagebar.d.ts +2 -2
- package/dist/types/components/statcard/statcard.d.ts +2 -2
- package/dist/types/components/tabletoolbar/tabletoolbar.d.ts +28 -2
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/toast/toast.d.ts +7 -1
- package/dist/types/components/tooltip/tooltip.d.ts +8 -1
- package/dist/types/components/wheelpicker/index.d.ts +2 -0
- package/dist/types/components/wheelpicker/wheelpicker.d.ts +37 -0
- package/dist/types/components/wheelpicker/wheelpicker.recipe.d.ts +26 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/product/appshell/appshell.d.ts +16 -2
- package/dist/types/product/authshell/authshell.d.ts +28 -0
- package/dist/types/product/authshell/authshell.recipe.d.ts +3 -0
- package/dist/types/product/authshell/index.d.ts +2 -0
- package/dist/types/product/board/board.d.ts +2 -2
- package/dist/types/product/command/command.d.ts +25 -1
- package/dist/types/product/entitycard/entitycard.d.ts +2 -2
- package/dist/types/product/flowcanvas/flowcanvas.d.ts +9 -1
- package/dist/types/product/onboarding/onboarding.d.ts +7 -1
- package/dist/types/product/recordpage/recordpage.d.ts +65 -1
- package/dist/types/product/recordpanel/recordpanel.d.ts +8 -2
- package/dist/types/product/recordstable/recordstable.d.ts +90 -1
- package/dist/types/product/recordstable/recordstable.tag.d.ts +10 -0
- package/dist/types/product/richtext/richtext.d.ts +5 -1
- package/dist/types/product/settingssection/settingssection.d.ts +2 -2
- package/dist/types/product/settingsshell/settingsshell.d.ts +6 -2
- package/dist/types/product/sidebar/sidebar.d.ts +8 -0
- package/dist/types/product/tasklist/tasklist.d.ts +5 -1
- package/dist/types/product/trialbanner/trialbanner.d.ts +2 -2
- package/dist/types/product/viewtoggle/viewtoggle.d.ts +11 -5
- package/dist/types/tokens/contract.d.ts +14 -3
- package/dist/types/tokens/elevation.d.ts +44 -0
- package/dist/types/tokens/index.d.ts +1 -0
- package/dist/types/tokens/palette.d.ts +40 -0
- package/dist/types/tokens/scale.d.ts +7 -0
- package/dist/types/tokens/semantic.d.ts +19 -0
- package/dist/viewtoggle.css +9 -1
- package/dist/wheelpicker.css +68 -0
- package/dist/wheelpicker.d.ts +7 -0
- package/package.json +160 -68
package/dist/switch.css
CHANGED
|
@@ -10,3 +10,11 @@
|
|
|
10
10
|
&:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
11
11
|
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
@media (prefers-reduced-motion: reduce) {
|
|
15
|
+
.switch, .switch * {
|
|
16
|
+
animation-duration: 0.01ms !important;
|
|
17
|
+
animation-iteration-count: 1 !important;
|
|
18
|
+
transition-duration: 0.01ms !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/dist/table.css
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
display: block; box-sizing: border-box; background: var(--bg-surface);
|
|
3
3
|
& .table-scroll { overflow-x: auto; }
|
|
4
4
|
& table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: var(--text-lg); color: var(--fg-primary); }
|
|
5
|
-
& th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-
|
|
6
|
-
& th { height:
|
|
5
|
+
& th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; vertical-align: middle; white-space: nowrap; overflow: hidden; }
|
|
6
|
+
& th { height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
|
|
7
7
|
& td { color: var(--fg-primary); background: var(--bg-surface); }
|
|
8
|
-
& th:last-child, & td:last-child { border-
|
|
8
|
+
& th:last-child, & td:last-child { border-inline-end: none; }
|
|
9
9
|
& tbody tr:last-child td { border-bottom: none; }
|
|
10
10
|
& tfoot td { border-top: 1px solid var(--border-subtle); border-bottom: none; font-weight: var(--weight-medium); color: var(--fg-muted); }
|
|
11
|
-
& caption { padding: var(--space-2) var(--space-2); text-align:
|
|
12
|
-
& td[data-align="right"], & th[data-align="right"] { text-align:
|
|
11
|
+
& caption { padding: var(--space-2) var(--space-2); text-align: start; font-size: var(--text-sm); color: var(--fg-muted); caption-side: bottom; }
|
|
12
|
+
& td[data-align="right"], & th[data-align="right"] { text-align: end; }
|
|
13
13
|
& td[data-align="center"], & th[data-align="center"] { text-align: center; }
|
|
14
14
|
}
|
|
15
15
|
.table--interactive_true {
|
|
16
|
-
& tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary)
|
|
16
|
+
& tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
|
|
17
17
|
}
|
|
18
18
|
.table--interactive_false {
|
|
19
19
|
|
|
@@ -24,3 +24,11 @@
|
|
|
24
24
|
.table--surface_bleed {
|
|
25
25
|
border: none; border-radius: 0;
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
@media (prefers-reduced-motion: reduce) {
|
|
29
|
+
.table, .table * {
|
|
30
|
+
animation-duration: 0.01ms !important;
|
|
31
|
+
animation-iteration-count: 1 !important;
|
|
32
|
+
transition-duration: 0.01ms !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
package/dist/tabletoolbar.css
CHANGED
|
@@ -68,3 +68,11 @@
|
|
|
68
68
|
& .tabletoolbar-new:hover { background: var(--bg-brand-solid-pressed); }
|
|
69
69
|
|
|
70
70
|
}
|
|
71
|
+
|
|
72
|
+
@media (prefers-reduced-motion: reduce) {
|
|
73
|
+
.tabletoolbar, .tabletoolbar * {
|
|
74
|
+
animation-duration: 0.01ms !important;
|
|
75
|
+
animation-iteration-count: 1 !important;
|
|
76
|
+
transition-duration: 0.01ms !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
package/dist/tabs.css
CHANGED
|
@@ -3,17 +3,25 @@
|
|
|
3
3
|
display: flex; flex-direction: column; min-height: 0; font-family: var(--font-sans);
|
|
4
4
|
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
5
5
|
|
|
6
|
-
& .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height:
|
|
7
|
-
& .tabs-leading { display: inline-flex; align-items: center; margin-
|
|
6
|
+
& .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height: var(--size-row); flex-shrink: 0; }
|
|
7
|
+
& .tabs-leading { display: inline-flex; align-items: center; margin-inline-end: var(--space-1); }
|
|
8
8
|
& .tabs-tab { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; margin: 0; padding: 0 var(--space-2); border: none; background: none; box-shadow: inset 0 0 0 1px transparent; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: color .12s ease, background-color .12s ease, box-shadow .12s ease; }
|
|
9
9
|
& .tabs-tab svg { flex-shrink: 0; opacity: 0.85; }
|
|
10
10
|
& .tabs-tab:hover:not([data-selected]) { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
|
|
11
|
-
& .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-
|
|
11
|
+
& .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-subtle); }
|
|
12
12
|
& .tabs-tab:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
|
|
13
13
|
& .tabs-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
|
|
14
14
|
& .tabs-tab[data-selected] .tabs-tab-badge { color: var(--fg-primary); }
|
|
15
|
-
& .tabs-indicator { position: absolute; bottom:
|
|
15
|
+
& .tabs-indicator { position: absolute; bottom: calc(-1 * var(--space-2)); left: 0; height: 1px; background: var(--fg-primary); border-radius: 2px 2px 0 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
|
|
16
16
|
& .tabs-panel { flex: 1; min-height: 0; }
|
|
17
17
|
& .tabs-panel:focus-visible { outline: none; }
|
|
18
18
|
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
@media (prefers-reduced-motion: reduce) {
|
|
22
|
+
.tabs, .tabs * {
|
|
23
|
+
animation-duration: 0.01ms !important;
|
|
24
|
+
animation-iteration-count: 1 !important;
|
|
25
|
+
transition-duration: 0.01ms !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/dist/tasklist.css
CHANGED
|
@@ -22,3 +22,11 @@
|
|
|
22
22
|
|
|
23
23
|
& .tasklist-empty { padding: var(--space-4) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
@media (prefers-reduced-motion: reduce) {
|
|
27
|
+
.tasklist, .tasklist * {
|
|
28
|
+
animation-duration: 0.01ms !important;
|
|
29
|
+
animation-iteration-count: 1 !important;
|
|
30
|
+
transition-duration: 0.01ms !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist/textarea.css
CHANGED
|
@@ -5,16 +5,36 @@
|
|
|
5
5
|
& .textarea-field {
|
|
6
6
|
box-sizing: border-box; display: block; width: 100%; min-height: 80px; resize: vertical;
|
|
7
7
|
margin: 0; padding: var(--space-1-5) var(--space-2-5); border: none; border-radius: var(--radius-md);
|
|
8
|
-
background: var(--bg-surface); box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
|
|
8
|
+
background: var(--bg-surface); 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);
|
|
9
9
|
font-family: inherit; font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
|
|
10
10
|
outline: none; transition: box-shadow .15s ease;
|
|
11
11
|
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
12
12
|
}
|
|
13
13
|
& .textarea-field::placeholder { color: var(--fg-muted); }
|
|
14
|
-
& .textarea-field:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
|
|
15
14
|
& .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
15
|
+
|
|
16
|
+
/* seed-design's focus treatment, same as Input: a 2px ring on an ::after
|
|
17
|
+
overlay that is present-but-transparent at rest, so focusing never
|
|
18
|
+
shifts the box, animating only its colour. */
|
|
19
|
+
& .textarea-wrap { position: relative; display: block; }
|
|
20
|
+
& .textarea-wrap::after {
|
|
21
|
+
content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
|
|
22
|
+
border: 2px solid transparent; transition: border-color .1s ease;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
& .textarea-wrap:focus-within::after { border-color: var(--stroke-field-focus); }
|
|
26
|
+
&[data-invalid] .textarea-wrap::after { border-color: var(--bg-danger); }
|
|
27
|
+
&[data-invalid] .textarea-wrap:focus-within::after { border-color: var(--bg-danger); }
|
|
16
28
|
&[data-counted] .textarea-field { padding-bottom: var(--space-5); }
|
|
17
|
-
& .textarea-count { position: absolute;
|
|
29
|
+
& .textarea-count { position: absolute; inset-inline-end: var(--space-2-5); bottom: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); pointer-events: none; }
|
|
18
30
|
& .textarea-count[data-over] { color: var(--bg-danger); }
|
|
19
31
|
|
|
20
32
|
}
|
|
33
|
+
|
|
34
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35
|
+
.textarea, .textarea * {
|
|
36
|
+
animation-duration: 0.01ms !important;
|
|
37
|
+
animation-iteration-count: 1 !important;
|
|
38
|
+
transition-duration: 0.01ms !important;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/dist/toast.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.toast {
|
|
2
2
|
display: contents; font-family: var(--font-sans);
|
|
3
|
-
& .toast-viewport { position: fixed; z-index: 80;
|
|
3
|
+
& .toast-viewport { position: fixed; z-index: 80; inset-inline-end: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); width: 360px; max-width: calc(100vw - var(--space-8)); pointer-events: none; }
|
|
4
4
|
& .toast { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 5%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10); opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease; @starting-style { opacity: 0; transform: translateY(8px); } }
|
|
5
5
|
& .toast-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
|
|
6
6
|
& .toast[data-tone="info"] .toast-icon { color: var(--bg-brand-solid); }
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
& .toast-desc { font-size: var(--text-md); color: var(--fg-muted); }
|
|
13
13
|
& .toast-action { align-self: flex-start; margin-top: var(--space-1-5); height: 24px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
|
|
14
14
|
& .toast-action:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); }
|
|
15
|
-
& .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
|
|
15
|
+
& .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
|
|
16
16
|
& .toast-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20
|
+
.toast, .toast * {
|
|
21
|
+
animation-duration: 0.01ms !important;
|
|
22
|
+
animation-iteration-count: 1 !important;
|
|
23
|
+
transition-duration: 0.01ms !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
package/dist/tokens.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--bg-brand-solid: #266df0;
|
|
3
3
|
--bg-brand-solid-pressed: #1f5fd6;
|
|
4
4
|
--fg-on-brand: #ffffff;
|
|
5
|
+
--fg-on-tone: #101112;
|
|
5
6
|
--bg-surface: #ffffff;
|
|
6
7
|
--bg-raised: #f4f4f5;
|
|
7
8
|
--border-default: #e4e4e7;
|
|
@@ -21,18 +22,29 @@
|
|
|
21
22
|
--fg-primary: #101112;
|
|
22
23
|
--fg-muted: #71717a;
|
|
23
24
|
--bg-danger: #e5484d;
|
|
25
|
+
--bg-danger-solid: #ba2525;
|
|
26
|
+
--stroke-field-focus: #1a1c20;
|
|
27
|
+
--fg-disabled: #d1d3d8;
|
|
28
|
+
--bg-neutral-weak: #f3f4f5;
|
|
29
|
+
--bg-neutral-inverted: #2a3038;
|
|
30
|
+
--fg-on-neutral-inverted: #ffffff;
|
|
31
|
+
--fg-neutral-subtle: #868b94;
|
|
32
|
+
--fg-neutral-muted: #555d6d;
|
|
33
|
+
--stroke-focus-ring: #1e82eb;
|
|
24
34
|
--bg-success: #1f9d57;
|
|
25
35
|
--bg-warning: #b5730f;
|
|
26
36
|
--bg-orange: #f97514;
|
|
27
37
|
--bg-cyan: #00b9eb;
|
|
28
38
|
--bg-purple: #9b69ff;
|
|
29
39
|
--bg-sidebar: #fbfbfb;
|
|
40
|
+
--bg-subtle: #fbfbfb;
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
[data-theme="dark"] {
|
|
33
44
|
--bg-brand-solid: #266df0;
|
|
34
45
|
--bg-brand-solid-pressed: #1f5fd6;
|
|
35
46
|
--fg-on-brand: #ffffff;
|
|
47
|
+
--fg-on-tone: #101112;
|
|
36
48
|
--bg-surface: #0a0a0a;
|
|
37
49
|
--bg-raised: #101112;
|
|
38
50
|
--border-default: #212224;
|
|
@@ -52,12 +64,22 @@
|
|
|
52
64
|
--fg-primary: #f5f5f5;
|
|
53
65
|
--fg-muted: #9a9aa2;
|
|
54
66
|
--bg-danger: #ff5a5f;
|
|
67
|
+
--bg-danger-solid: #ba2525;
|
|
68
|
+
--stroke-field-focus: #f3f4f5;
|
|
69
|
+
--fg-disabled: #5b606a;
|
|
70
|
+
--bg-neutral-weak: #1d2025;
|
|
71
|
+
--bg-neutral-inverted: #f3f4f5;
|
|
72
|
+
--fg-on-neutral-inverted: #16171b;
|
|
73
|
+
--fg-neutral-subtle: #b0b3ba;
|
|
74
|
+
--fg-neutral-muted: #dcdee3;
|
|
75
|
+
--stroke-focus-ring: #5e98fe;
|
|
55
76
|
--bg-success: #2ea968;
|
|
56
77
|
--bg-warning: #e0982a;
|
|
57
78
|
--bg-orange: #f97514;
|
|
58
79
|
--bg-cyan: #00b9eb;
|
|
59
80
|
--bg-purple: #9b69ff;
|
|
60
81
|
--bg-sidebar: #0e0f10;
|
|
82
|
+
--bg-subtle: #0e0f10;
|
|
61
83
|
}
|
|
62
84
|
|
|
63
85
|
:root {
|
|
@@ -72,6 +94,7 @@
|
|
|
72
94
|
--space-0-5: 2px;
|
|
73
95
|
--space-1-5: 6px;
|
|
74
96
|
--space-2-5: 10px;
|
|
97
|
+
--radius-chip: 7px;
|
|
75
98
|
--radius-sm: 6px;
|
|
76
99
|
--radius-md: 8px;
|
|
77
100
|
--radius-lg: 9px;
|
|
@@ -79,9 +102,14 @@
|
|
|
79
102
|
--radius-2xl: 16px;
|
|
80
103
|
--radius-full: 999px;
|
|
81
104
|
--size-icon: 16px;
|
|
105
|
+
--size-chip: 22px;
|
|
82
106
|
--size-row: 28px;
|
|
107
|
+
--size-menuRow: 32px;
|
|
83
108
|
--size-tableRow: 36px;
|
|
109
|
+
--size-tableHeader: 40px;
|
|
84
110
|
--size-header: 48px;
|
|
111
|
+
--size-calendarCell: 48px;
|
|
112
|
+
--size-calendarPill: 42px;
|
|
85
113
|
--text-xs: 11px;
|
|
86
114
|
--text-sm: 12px;
|
|
87
115
|
--text-md: 13px;
|
|
@@ -90,5 +118,6 @@
|
|
|
90
118
|
--weight-regular: 400;
|
|
91
119
|
--weight-medium: 500;
|
|
92
120
|
--weight-semibold: 600;
|
|
121
|
+
--weight-bold: 700;
|
|
93
122
|
--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
94
123
|
}
|
package/dist/tokens.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"light": {
|
|
4
|
+
"bgBrandSolid": "#266df0",
|
|
5
|
+
"bgBrandSolidPressed": "#1f5fd6",
|
|
6
|
+
"fgOnBrand": "#ffffff",
|
|
7
|
+
"fgOnTone": "#101112",
|
|
8
|
+
"bgSurface": "#ffffff",
|
|
9
|
+
"bgRaised": "#f4f4f5",
|
|
10
|
+
"borderDefault": "#e4e4e7",
|
|
11
|
+
"borderSubtle": "#eeeff1",
|
|
12
|
+
"ringNeutral": "transparent",
|
|
13
|
+
"bgTileActive": "#ffffff",
|
|
14
|
+
"shadowTileActive": "rgba(0,0,0,0.04)",
|
|
15
|
+
"bgOverlayFrost": "#ffffff",
|
|
16
|
+
"shadowOverlay1": "rgba(28,40,64,0.12)",
|
|
17
|
+
"shadowOverlay2": "rgba(28,40,64,0.16)",
|
|
18
|
+
"shadowOverlay3": "rgba(28,40,64,0.16)",
|
|
19
|
+
"bgPopover": "#ffffff",
|
|
20
|
+
"ringPopover": "rgba(0,0,0,0)",
|
|
21
|
+
"shadowPopover1": "rgba(28,40,64,0.04)",
|
|
22
|
+
"shadowPopover2": "rgba(28,40,64,0.12)",
|
|
23
|
+
"shadowPopover3": "rgba(24,41,75,0.16)",
|
|
24
|
+
"fgPrimary": "#101112",
|
|
25
|
+
"fgMuted": "#71717a",
|
|
26
|
+
"bgDanger": "#e5484d",
|
|
27
|
+
"bgDangerSolid": "#ba2525",
|
|
28
|
+
"strokeFieldFocus": "#1a1c20",
|
|
29
|
+
"fgDisabled": "#d1d3d8",
|
|
30
|
+
"bgNeutralWeak": "#f3f4f5",
|
|
31
|
+
"bgNeutralInverted": "#2a3038",
|
|
32
|
+
"fgOnNeutralInverted": "#ffffff",
|
|
33
|
+
"fgNeutralSubtle": "#868b94",
|
|
34
|
+
"fgNeutralMuted": "#555d6d",
|
|
35
|
+
"strokeFocusRing": "#1e82eb",
|
|
36
|
+
"bgSuccess": "#1f9d57",
|
|
37
|
+
"bgWarning": "#b5730f",
|
|
38
|
+
"bgOrange": "#f97514",
|
|
39
|
+
"bgCyan": "#00b9eb",
|
|
40
|
+
"bgPurple": "#9b69ff",
|
|
41
|
+
"bgSidebar": "#fbfbfb",
|
|
42
|
+
"bgSubtle": "#fbfbfb"
|
|
43
|
+
},
|
|
44
|
+
"dark": {
|
|
45
|
+
"bgBrandSolid": "#266df0",
|
|
46
|
+
"bgBrandSolidPressed": "#1f5fd6",
|
|
47
|
+
"fgOnBrand": "#ffffff",
|
|
48
|
+
"fgOnTone": "#101112",
|
|
49
|
+
"bgSurface": "#0a0a0a",
|
|
50
|
+
"bgRaised": "#101112",
|
|
51
|
+
"borderDefault": "#212224",
|
|
52
|
+
"borderSubtle": "#1c1d1f",
|
|
53
|
+
"ringNeutral": "#212224",
|
|
54
|
+
"bgTileActive": "#101112",
|
|
55
|
+
"shadowTileActive": "rgba(0,0,0,0)",
|
|
56
|
+
"bgOverlayFrost": "#1c1d1f",
|
|
57
|
+
"shadowOverlay1": "rgba(0,0,0,0.48)",
|
|
58
|
+
"shadowOverlay2": "rgba(0,0,0,0.64)",
|
|
59
|
+
"shadowOverlay3": "rgba(0,0,0,0)",
|
|
60
|
+
"bgPopover": "#17181a",
|
|
61
|
+
"ringPopover": "#212224",
|
|
62
|
+
"shadowPopover1": "rgba(0,0,0,0.16)",
|
|
63
|
+
"shadowPopover2": "rgba(0,0,0,0.24)",
|
|
64
|
+
"shadowPopover3": "rgba(0,0,0,0.32)",
|
|
65
|
+
"fgPrimary": "#f5f5f5",
|
|
66
|
+
"fgMuted": "#9a9aa2",
|
|
67
|
+
"bgDanger": "#ff5a5f",
|
|
68
|
+
"bgDangerSolid": "#ba2525",
|
|
69
|
+
"strokeFieldFocus": "#f3f4f5",
|
|
70
|
+
"fgDisabled": "#5b606a",
|
|
71
|
+
"bgNeutralWeak": "#1d2025",
|
|
72
|
+
"bgNeutralInverted": "#f3f4f5",
|
|
73
|
+
"fgOnNeutralInverted": "#16171b",
|
|
74
|
+
"fgNeutralSubtle": "#b0b3ba",
|
|
75
|
+
"fgNeutralMuted": "#dcdee3",
|
|
76
|
+
"strokeFocusRing": "#5e98fe",
|
|
77
|
+
"bgSuccess": "#2ea968",
|
|
78
|
+
"bgWarning": "#e0982a",
|
|
79
|
+
"bgOrange": "#f97514",
|
|
80
|
+
"bgCyan": "#00b9eb",
|
|
81
|
+
"bgPurple": "#9b69ff",
|
|
82
|
+
"bgSidebar": "#0e0f10",
|
|
83
|
+
"bgSubtle": "#0e0f10"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"palette": {
|
|
87
|
+
"light": {
|
|
88
|
+
"gray00": "#ffffff",
|
|
89
|
+
"white": "#ffffff",
|
|
90
|
+
"ink": "#101112",
|
|
91
|
+
"gray50": "#f4f4f5",
|
|
92
|
+
"gray900": "#101112",
|
|
93
|
+
"line200": "#e4e4e7",
|
|
94
|
+
"line100": "#eeeff1",
|
|
95
|
+
"ringNeutral": "transparent",
|
|
96
|
+
"tileActive": "#ffffff",
|
|
97
|
+
"tileActiveShadow": "rgba(0,0,0,0.04)",
|
|
98
|
+
"overlayFrost": "#ffffff",
|
|
99
|
+
"shadowOverlay1": "rgba(28,40,64,0.12)",
|
|
100
|
+
"shadowOverlay2": "rgba(28,40,64,0.16)",
|
|
101
|
+
"shadowOverlay3": "rgba(28,40,64,0.16)",
|
|
102
|
+
"popoverBg": "#ffffff",
|
|
103
|
+
"ringPopover": "rgba(0,0,0,0)",
|
|
104
|
+
"shadowPopover1": "rgba(28,40,64,0.04)",
|
|
105
|
+
"shadowPopover2": "rgba(28,40,64,0.12)",
|
|
106
|
+
"shadowPopover3": "rgba(24,41,75,0.16)",
|
|
107
|
+
"gray400": "#71717a",
|
|
108
|
+
"brand600": "#266df0",
|
|
109
|
+
"brand700": "#1f5fd6",
|
|
110
|
+
"red600": "#e5484d",
|
|
111
|
+
"red700": "#ba2525",
|
|
112
|
+
"fieldFocus": "#1a1c20",
|
|
113
|
+
"disabledFg": "#d1d3d8",
|
|
114
|
+
"neutralWeak": "#f3f4f5",
|
|
115
|
+
"neutralInverted": "#2a3038",
|
|
116
|
+
"onNeutralInverted": "#ffffff",
|
|
117
|
+
"neutralSubtle": "#868b94",
|
|
118
|
+
"neutralMuted": "#555d6d",
|
|
119
|
+
"focusRing": "#1e82eb",
|
|
120
|
+
"green600": "#1f9d57",
|
|
121
|
+
"amber600": "#b5730f",
|
|
122
|
+
"orange600": "#f97514",
|
|
123
|
+
"cyan600": "#00b9eb",
|
|
124
|
+
"purple600": "#9b69ff",
|
|
125
|
+
"graySidebar": "#fbfbfb"
|
|
126
|
+
},
|
|
127
|
+
"dark": {
|
|
128
|
+
"gray00": "#0a0a0a",
|
|
129
|
+
"white": "#ffffff",
|
|
130
|
+
"ink": "#101112",
|
|
131
|
+
"gray50": "#101112",
|
|
132
|
+
"gray900": "#f5f5f5",
|
|
133
|
+
"line200": "#212224",
|
|
134
|
+
"line100": "#1c1d1f",
|
|
135
|
+
"ringNeutral": "#212224",
|
|
136
|
+
"tileActive": "#101112",
|
|
137
|
+
"tileActiveShadow": "rgba(0,0,0,0)",
|
|
138
|
+
"overlayFrost": "#1c1d1f",
|
|
139
|
+
"shadowOverlay1": "rgba(0,0,0,0.48)",
|
|
140
|
+
"shadowOverlay2": "rgba(0,0,0,0.64)",
|
|
141
|
+
"shadowOverlay3": "rgba(0,0,0,0)",
|
|
142
|
+
"popoverBg": "#17181a",
|
|
143
|
+
"ringPopover": "#212224",
|
|
144
|
+
"shadowPopover1": "rgba(0,0,0,0.16)",
|
|
145
|
+
"shadowPopover2": "rgba(0,0,0,0.24)",
|
|
146
|
+
"shadowPopover3": "rgba(0,0,0,0.32)",
|
|
147
|
+
"gray400": "#9a9aa2",
|
|
148
|
+
"brand600": "#266df0",
|
|
149
|
+
"brand700": "#1f5fd6",
|
|
150
|
+
"red600": "#ff5a5f",
|
|
151
|
+
"red700": "#ba2525",
|
|
152
|
+
"fieldFocus": "#f3f4f5",
|
|
153
|
+
"disabledFg": "#5b606a",
|
|
154
|
+
"neutralWeak": "#1d2025",
|
|
155
|
+
"neutralInverted": "#f3f4f5",
|
|
156
|
+
"onNeutralInverted": "#16171b",
|
|
157
|
+
"neutralSubtle": "#b0b3ba",
|
|
158
|
+
"neutralMuted": "#dcdee3",
|
|
159
|
+
"focusRing": "#5e98fe",
|
|
160
|
+
"green600": "#2ea968",
|
|
161
|
+
"amber600": "#e0982a",
|
|
162
|
+
"orange600": "#f97514",
|
|
163
|
+
"cyan600": "#00b9eb",
|
|
164
|
+
"purple600": "#9b69ff",
|
|
165
|
+
"graySidebar": "#0e0f10"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"space": {
|
|
169
|
+
"1": 4,
|
|
170
|
+
"2": 8,
|
|
171
|
+
"3": 12,
|
|
172
|
+
"4": 16,
|
|
173
|
+
"5": 20,
|
|
174
|
+
"6": 24,
|
|
175
|
+
"8": 32,
|
|
176
|
+
"px": 1,
|
|
177
|
+
"0.5": 2,
|
|
178
|
+
"1.5": 6,
|
|
179
|
+
"2.5": 10
|
|
180
|
+
},
|
|
181
|
+
"radius": {
|
|
182
|
+
"chip": 7,
|
|
183
|
+
"sm": 6,
|
|
184
|
+
"md": 8,
|
|
185
|
+
"lg": 9,
|
|
186
|
+
"xl": 12,
|
|
187
|
+
"2xl": 16,
|
|
188
|
+
"full": 999
|
|
189
|
+
},
|
|
190
|
+
"size": {
|
|
191
|
+
"icon": 16,
|
|
192
|
+
"chip": 22,
|
|
193
|
+
"row": 28,
|
|
194
|
+
"menuRow": 32,
|
|
195
|
+
"tableRow": 36,
|
|
196
|
+
"tableHeader": 40,
|
|
197
|
+
"header": 48,
|
|
198
|
+
"calendarCell": 48,
|
|
199
|
+
"calendarPill": 42
|
|
200
|
+
},
|
|
201
|
+
"text": {
|
|
202
|
+
"xs": 11,
|
|
203
|
+
"sm": 12,
|
|
204
|
+
"md": 13,
|
|
205
|
+
"lg": 14,
|
|
206
|
+
"xl": 16
|
|
207
|
+
},
|
|
208
|
+
"font": {
|
|
209
|
+
"sans": "\"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif"
|
|
210
|
+
},
|
|
211
|
+
"weight": {
|
|
212
|
+
"regular": "400",
|
|
213
|
+
"medium": "500",
|
|
214
|
+
"semibold": "600",
|
|
215
|
+
"bold": "700"
|
|
216
|
+
}
|
|
217
|
+
}
|
package/dist/tooltip.css
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
.tooltip {
|
|
2
2
|
position: fixed; z-index: 70; box-sizing: border-box; pointer-events: none; max-width: 260px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: #20242c; color: #fff; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.45; box-shadow: 0 4px 14px -2px rgba(28,40,64,0.28), 0 0 0 1px rgba(255,255,255,0.04); opacity: 1; transition: opacity 0.12s ease; @starting-style { opacity: 0; }
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6
|
+
.tooltip, .tooltip * {
|
|
7
|
+
animation-duration: 0.01ms !important;
|
|
8
|
+
animation-iteration-count: 1 !important;
|
|
9
|
+
transition-duration: 0.01ms !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/trialbanner.css
CHANGED
|
@@ -16,3 +16,11 @@
|
|
|
16
16
|
&[data-tone="warning"] .trialbanner-icon { color: var(--bg-warning); }
|
|
17
17
|
&[data-tone="danger"] .trialbanner-icon { color: var(--bg-danger); }
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
@media (prefers-reduced-motion: reduce) {
|
|
21
|
+
.trialbanner, .trialbanner * {
|
|
22
|
+
animation-duration: 0.01ms !important;
|
|
23
|
+
animation-iteration-count: 1 !important;
|
|
24
|
+
transition-duration: 0.01ms !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -4,20 +4,22 @@ export type AccordionItemData = {
|
|
|
4
4
|
title: React.ReactNode;
|
|
5
5
|
content: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export type AccordionProps = {
|
|
7
|
+
export type AccordionProps = Omit<React.ComponentPropsWithoutRef<"div">, "defaultValue"> & {
|
|
8
8
|
items: AccordionItemData[];
|
|
9
9
|
/** Allow multiple panels open at once (default: single). */
|
|
10
10
|
multiple?: boolean;
|
|
11
|
-
/**
|
|
11
|
+
/** Controlled open value(s). Omit to let Accordion manage them (see
|
|
12
|
+
* `defaultValue`). A string in single mode, an array when `multiple`. */
|
|
13
|
+
value?: string | string[];
|
|
14
|
+
/** Initially open value(s), when uncontrolled. */
|
|
12
15
|
defaultValue?: string | string[];
|
|
16
|
+
/** Fires with the next open value(s) on every toggle, controlled or not.
|
|
17
|
+
* Emits the shape the mode implies: `string[]` when `multiple`, otherwise
|
|
18
|
+
* the open value, or `""` when the panel was closed. */
|
|
19
|
+
onValueChange?: (value: string | string[]) => void;
|
|
13
20
|
className?: string;
|
|
14
21
|
};
|
|
15
|
-
|
|
16
|
-
* A collapsible section list — measured from Attio's sidebar groups. Single or
|
|
17
|
-
* multiple open; panels animate their height (grid-rows 0fr->1fr). Headers are
|
|
18
|
-
* buttons with `aria-expanded` / `aria-controls`.
|
|
19
|
-
*/
|
|
20
|
-
export declare function Accordion({ items, multiple, defaultValue, className, }: AccordionProps): React.JSX.Element;
|
|
22
|
+
export declare function Accordion({ items, multiple, value, defaultValue, onValueChange, className, ...rest }: AccordionProps): React.JSX.Element;
|
|
21
23
|
export declare namespace Accordion {
|
|
22
24
|
var displayName: string;
|
|
23
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type AvatarProps } from "../avatar/avatar";
|
|
3
|
-
export type AvatarGroupProps = {
|
|
3
|
+
export type AvatarGroupProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
4
|
/** Avatar elements to stack, in order (left on the outside). */
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
/** Show at most this many, then a "+N" overflow chip. */
|
|
@@ -15,7 +15,7 @@ export type AvatarGroupProps = {
|
|
|
15
15
|
* from Attio's team / member rows. Pass `<Avatar>` children; each is ringed in
|
|
16
16
|
* the surface colour so it reads against its neighbour.
|
|
17
17
|
*/
|
|
18
|
-
export declare function AvatarGroup({ children, max, size, className, "aria-label": ariaLabel, }: AvatarGroupProps): React.JSX.Element;
|
|
18
|
+
export declare function AvatarGroup({ children, max, size, className, "aria-label": ariaLabel, ...rest }: AvatarGroupProps): React.JSX.Element;
|
|
19
19
|
export declare namespace AvatarGroup {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@ export type BarDatum = {
|
|
|
3
3
|
label: string;
|
|
4
4
|
value: number;
|
|
5
5
|
};
|
|
6
|
-
export type BarChartProps = {
|
|
6
|
+
export type BarChartProps = Omit<React.ComponentPropsWithoutRef<"div">, "color"> & {
|
|
7
7
|
data: BarDatum[];
|
|
8
8
|
/** Overall height in px (default 240). */
|
|
9
9
|
height?: number;
|
|
@@ -15,6 +15,8 @@ export type BarChartProps = {
|
|
|
15
15
|
color?: string;
|
|
16
16
|
/** Formats axis ticks and bar values. */
|
|
17
17
|
format?: (n: number) => string;
|
|
18
|
+
/** Pins the value-axis gutter width in px, overriding the width auto-derived from the longest tick label. */
|
|
19
|
+
yAxisWidth?: number;
|
|
18
20
|
/** Category-axis title, shown centred below the labels. */
|
|
19
21
|
xAxisTitle?: React.ReactNode;
|
|
20
22
|
"aria-label"?: string;
|
|
@@ -24,7 +26,7 @@ export type BarChartProps = {
|
|
|
24
26
|
* A responsive bar chart — measured from Attio's Reports dashboard. Pure CSS, so
|
|
25
27
|
* it scales with its container. Renders `role="img"` with an accessible summary.
|
|
26
28
|
*/
|
|
27
|
-
export declare function BarChart({ data, height, max, ticks, color, format, xAxisTitle, "aria-label": ariaLabel, className, }: BarChartProps): React.JSX.Element;
|
|
29
|
+
export declare function BarChart({ data, height, max, ticks, color, format, yAxisWidth, xAxisTitle, "aria-label": ariaLabel, className, ...rest }: BarChartProps): React.JSX.Element;
|
|
28
30
|
export declare namespace BarChart {
|
|
29
31
|
var displayName: string;
|
|
30
32
|
}
|
|
@@ -5,7 +5,7 @@ export type BreadcrumbItem = {
|
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
};
|
|
8
|
-
export type BreadcrumbProps = {
|
|
8
|
+
export type BreadcrumbProps = React.ComponentPropsWithoutRef<"nav"> & {
|
|
9
9
|
items: BreadcrumbItem[];
|
|
10
10
|
/** Separator between items (default a chevron). */
|
|
11
11
|
separator?: React.ReactNode;
|
|
@@ -16,7 +16,7 @@ export type BreadcrumbProps = {
|
|
|
16
16
|
* A breadcrumb trail — measured from Attio's record-page nav. The last item is
|
|
17
17
|
* marked `aria-current="page"`; earlier items render as links or buttons.
|
|
18
18
|
*/
|
|
19
|
-
export declare function Breadcrumb({ items, separator, "aria-label": ariaLabel, className, }: BreadcrumbProps): React.JSX.Element;
|
|
19
|
+
export declare function Breadcrumb({ items, separator, "aria-label": ariaLabel, className, ...rest }: BreadcrumbProps): React.JSX.Element;
|
|
20
20
|
export declare namespace Breadcrumb {
|
|
21
21
|
var displayName: string;
|
|
22
22
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export type BulkBarProps = {
|
|
2
|
+
export type BulkBarProps = Omit<React.ComponentPropsWithoutRef<"div">, "children"> & {
|
|
3
3
|
/** Selected count — renders the leading "N selected" pill when provided. */
|
|
4
4
|
count?: number;
|
|
5
5
|
/** Called when the count pill (its ✕) is pressed — clear the selection. */
|
|
6
6
|
onClear?: () => void;
|
|
7
7
|
/** Word after the count in the pill (default "selected"). */
|
|
8
8
|
countLabel?: string;
|
|
9
|
+
/** title on the count pill's clear (✕) control (default "Clear selection"). */
|
|
10
|
+
clearLabel?: string;
|
|
9
11
|
/** Action buttons — usually `<BulkBarButton>`s and a `<Menu>` overflow. */
|
|
10
12
|
children?: React.ReactNode;
|
|
11
13
|
className?: string;
|
|
@@ -15,7 +17,7 @@ export type BulkBarProps = {
|
|
|
15
17
|
* positioned ancestor when a selection is active; render it conditionally
|
|
16
18
|
* (e.g. `count > 0 && <BulkBar …/>`). Measured from Attio's records table.
|
|
17
19
|
*/
|
|
18
|
-
export declare function BulkBar({ count, onClear, countLabel, children, className, }: BulkBarProps): React.JSX.Element;
|
|
20
|
+
export declare function BulkBar({ count, onClear, countLabel, children, className, clearLabel, ...rest }: BulkBarProps): React.JSX.Element;
|
|
19
21
|
export declare namespace BulkBar {
|
|
20
22
|
var displayName: string;
|
|
21
23
|
}
|
|
@@ -22,6 +22,10 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<React.Detailed
|
|
|
22
22
|
text: string;
|
|
23
23
|
icon: string;
|
|
24
24
|
};
|
|
25
|
+
touchTarget: {
|
|
26
|
+
true: string;
|
|
27
|
+
false: string;
|
|
28
|
+
};
|
|
25
29
|
}> & {
|
|
26
30
|
config: import("../..").RecipeConfig<{
|
|
27
31
|
intent: {
|
|
@@ -39,6 +43,10 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<React.Detailed
|
|
|
39
43
|
text: string;
|
|
40
44
|
icon: string;
|
|
41
45
|
};
|
|
46
|
+
touchTarget: {
|
|
47
|
+
true: string;
|
|
48
|
+
false: string;
|
|
49
|
+
};
|
|
42
50
|
}>;
|
|
43
51
|
meta: {
|
|
44
52
|
primary: {
|