@d4gger/design-system 4.1.2 → 4.2.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/dist/_internal/baseButton.props.d.cts +12 -12
- package/dist/_internal/baseButton.props.d.mts +12 -12
- package/dist/_internal/baseButton.props.d.ts +12 -12
- package/dist/_internal/baseMenu.props.d.cts +8 -8
- package/dist/_internal/baseMenu.props.d.mts +8 -8
- package/dist/_internal/baseMenu.props.d.ts +8 -8
- package/dist/_internal/constants.d.cts +3 -3
- package/dist/_internal/constants.d.cts.map +1 -1
- package/dist/_internal/constants.d.mts +3 -3
- package/dist/_internal/constants.d.mts.map +1 -1
- package/dist/_internal/constants.d.ts +3 -3
- package/dist/_internal/constants.d.ts.map +1 -1
- package/dist/_internal/helpers/extractMarginProps.d.cts +9 -9
- package/dist/_internal/helpers/extractMarginProps.d.mts +9 -9
- package/dist/_internal/helpers/extractMarginProps.d.ts +9 -9
- package/dist/_internal/helpers/getMatchingGrayColor.d.cts +1 -1
- package/dist/_internal/helpers/getMatchingGrayColor.d.mts +1 -1
- package/dist/_internal/helpers/getMatchingGrayColor.d.ts +1 -1
- package/dist/_internal/helpers/inert.d.cts +1 -1
- package/dist/_internal/helpers/inert.d.mts +1 -1
- package/dist/_internal/helpers/inert.d.ts +1 -1
- package/dist/_internal/helpers/requireReactElement.d.cts.map +1 -1
- package/dist/_internal/helpers/requireReactElement.d.mts.map +1 -1
- package/dist/_internal/helpers/requireReactElement.d.ts.map +1 -1
- package/dist/_internal/motion.d.cts.map +1 -1
- package/dist/_internal/motion.d.mts.map +1 -1
- package/dist/_internal/motion.d.ts.map +1 -1
- package/dist/_internal/props/color.prop.d.cts +1 -1
- package/dist/_internal/props/color.prop.d.cts.map +1 -1
- package/dist/_internal/props/color.prop.d.mts +1 -1
- package/dist/_internal/props/color.prop.d.mts.map +1 -1
- package/dist/_internal/props/color.prop.d.ts +1 -1
- package/dist/_internal/props/color.prop.d.ts.map +1 -1
- package/dist/_internal/props/height.prop.d.cts +3 -3
- package/dist/_internal/props/height.prop.d.mts +3 -3
- package/dist/_internal/props/height.prop.d.ts +3 -3
- package/dist/_internal/props/layout.prop.d.cts +56 -56
- package/dist/_internal/props/layout.prop.d.cts.map +1 -1
- package/dist/_internal/props/layout.prop.d.mts +56 -56
- package/dist/_internal/props/layout.prop.d.mts.map +1 -1
- package/dist/_internal/props/layout.prop.d.ts +56 -56
- package/dist/_internal/props/layout.prop.d.ts.map +1 -1
- package/dist/_internal/props/margin.prop.d.cts +25 -25
- package/dist/_internal/props/margin.prop.d.cts.map +1 -1
- package/dist/_internal/props/margin.prop.d.mts +25 -25
- package/dist/_internal/props/margin.prop.d.mts.map +1 -1
- package/dist/_internal/props/margin.prop.d.ts +25 -25
- package/dist/_internal/props/margin.prop.d.ts.map +1 -1
- package/dist/_internal/props/padding.prop.d.cts +19 -19
- package/dist/_internal/props/padding.prop.d.mts +19 -19
- package/dist/_internal/props/padding.prop.d.ts +19 -19
- package/dist/_internal/props/propDef.d.cts +7 -7
- package/dist/_internal/props/propDef.d.cts.map +1 -1
- package/dist/_internal/props/propDef.d.mts +7 -7
- package/dist/_internal/props/propDef.d.mts.map +1 -1
- package/dist/_internal/props/propDef.d.ts +7 -7
- package/dist/_internal/props/propDef.d.ts.map +1 -1
- package/dist/_internal/props/radius.prop.d.cts +3 -3
- package/dist/_internal/props/radius.prop.d.mts +3 -3
- package/dist/_internal/props/radius.prop.d.ts +3 -3
- package/dist/_internal/props/width.prop.d.cts +3 -3
- package/dist/_internal/props/width.prop.d.mts +3 -3
- package/dist/_internal/props/width.prop.d.ts +3 -3
- package/dist/components/accordion/Accordion.d.cts +3 -3
- package/dist/components/accordion/Accordion.d.mts +3 -3
- package/dist/components/accordion/Accordion.d.ts +3 -3
- package/dist/components/accordion/accordion.props.d.cts +3 -3
- package/dist/components/accordion/accordion.props.d.mts +3 -3
- package/dist/components/accordion/accordion.props.d.ts +3 -3
- package/dist/components/alert/alert.props.d.cts +8 -8
- package/dist/components/alert/alert.props.d.mts +8 -8
- package/dist/components/alert/alert.props.d.ts +8 -8
- package/dist/components/alertDialog/AlertDialog.d.cts +4 -4
- package/dist/components/alertDialog/AlertDialog.d.mts +4 -4
- package/dist/components/alertDialog/AlertDialog.d.ts +4 -4
- package/dist/components/alertDialog/alertDialog.props.d.cts +6 -6
- package/dist/components/alertDialog/alertDialog.props.d.cts.map +1 -1
- package/dist/components/alertDialog/alertDialog.props.d.mts +6 -6
- package/dist/components/alertDialog/alertDialog.props.d.mts.map +1 -1
- package/dist/components/alertDialog/alertDialog.props.d.ts +6 -6
- package/dist/components/alertDialog/alertDialog.props.d.ts.map +1 -1
- package/dist/components/articleNodes/ArticleNodes.d.cts.map +1 -1
- package/dist/components/articleNodes/ArticleNodes.d.mts.map +1 -1
- package/dist/components/articleNodes/ArticleNodes.d.ts.map +1 -1
- package/dist/components/avatar/avatar.props.d.cts +8 -8
- package/dist/components/avatar/avatar.props.d.mts +8 -8
- package/dist/components/avatar/avatar.props.d.ts +8 -8
- package/dist/components/avatar/avatar.radix.props.d.cts +3 -3
- package/dist/components/avatar/avatar.radix.props.d.cts.map +1 -1
- package/dist/components/avatar/avatar.radix.props.d.mts +3 -3
- package/dist/components/avatar/avatar.radix.props.d.mts.map +1 -1
- package/dist/components/avatar/avatar.radix.props.d.ts +3 -3
- package/dist/components/avatar/avatar.radix.props.d.ts.map +1 -1
- package/dist/components/badge/badge.props.d.cts +8 -8
- package/dist/components/badge/badge.props.d.mts +8 -8
- package/dist/components/badge/badge.props.d.ts +8 -8
- package/dist/components/banner/banner.props.d.cts +4 -4
- package/dist/components/banner/banner.props.d.mts +4 -4
- package/dist/components/banner/banner.props.d.ts +4 -4
- package/dist/components/blockquote/blockquote.props.d.cts +4 -4
- package/dist/components/blockquote/blockquote.props.d.mts +4 -4
- package/dist/components/blockquote/blockquote.props.d.ts +4 -4
- package/dist/components/bottomDock/bottomDock.props.d.cts +8 -8
- package/dist/components/bottomDock/bottomDock.props.d.cts.map +1 -1
- package/dist/components/bottomDock/bottomDock.props.d.mts +8 -8
- package/dist/components/bottomDock/bottomDock.props.d.mts.map +1 -1
- package/dist/components/bottomDock/bottomDock.props.d.ts +8 -8
- package/dist/components/bottomDock/bottomDock.props.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.props.d.cts +4 -4
- package/dist/components/breadcrumb/breadcrumb.props.d.mts +4 -4
- package/dist/components/breadcrumb/breadcrumb.props.d.ts +4 -4
- package/dist/components/button/Button.cjs +7 -1
- package/dist/components/button/Button.cjs.map +2 -2
- package/dist/components/button/Button.d.cts.map +1 -1
- package/dist/components/button/Button.d.mts.map +1 -1
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/button/Button.js +7 -1
- package/dist/components/button/Button.js.map +2 -2
- package/dist/components/button/button.props.d.cts +8 -8
- package/dist/components/button/button.props.d.mts +8 -8
- package/dist/components/button/button.props.d.ts +8 -8
- package/dist/components/button.css +11 -3
- package/dist/components/calendar/calendar.props.d.cts +5 -5
- package/dist/components/calendar/calendar.props.d.cts.map +1 -1
- package/dist/components/calendar/calendar.props.d.mts +5 -5
- package/dist/components/calendar/calendar.props.d.mts.map +1 -1
- package/dist/components/calendar/calendar.props.d.ts +5 -5
- package/dist/components/calendar/calendar.props.d.ts.map +1 -1
- package/dist/components/callout/callout.props.d.cts +8 -8
- package/dist/components/callout/callout.props.d.mts +8 -8
- package/dist/components/callout/callout.props.d.ts +8 -8
- package/dist/components/card/card.props.d.cts +4 -4
- package/dist/components/card/card.props.d.cts.map +1 -1
- package/dist/components/card/card.props.d.mts +4 -4
- package/dist/components/card/card.props.d.mts.map +1 -1
- package/dist/components/card/card.props.d.ts +4 -4
- package/dist/components/card/card.props.d.ts.map +1 -1
- package/dist/components/carousel/carousel.props.d.cts +4 -4
- package/dist/components/carousel/carousel.props.d.mts +4 -4
- package/dist/components/carousel/carousel.props.d.ts +4 -4
- package/dist/components/checkbox/checkbox.props.d.cts +8 -8
- package/dist/components/checkbox/checkbox.props.d.mts +8 -8
- package/dist/components/checkbox/checkbox.props.d.ts +8 -8
- package/dist/components/checkboxCards/checkboxCards.props.d.cts +6 -6
- package/dist/components/checkboxCards/checkboxCards.props.d.cts.map +1 -1
- package/dist/components/checkboxCards/checkboxCards.props.d.mts +6 -6
- package/dist/components/checkboxCards/checkboxCards.props.d.mts.map +1 -1
- package/dist/components/checkboxCards/checkboxCards.props.d.ts +6 -6
- package/dist/components/checkboxCards/checkboxCards.props.d.ts.map +1 -1
- package/dist/components/checkboxGroup/checkboxGroup.props.d.cts +5 -5
- package/dist/components/checkboxGroup/checkboxGroup.props.d.cts.map +1 -1
- package/dist/components/checkboxGroup/checkboxGroup.props.d.mts +5 -5
- package/dist/components/checkboxGroup/checkboxGroup.props.d.mts.map +1 -1
- package/dist/components/checkboxGroup/checkboxGroup.props.d.ts +5 -5
- package/dist/components/checkboxGroup/checkboxGroup.props.d.ts.map +1 -1
- package/dist/components/code/code.props.d.cts +8 -8
- package/dist/components/code/code.props.d.mts +8 -8
- package/dist/components/code/code.props.d.ts +8 -8
- package/dist/components/colorPicker/ColorPicker.d.cts +5 -5
- package/dist/components/colorPicker/ColorPicker.d.mts +5 -5
- package/dist/components/colorPicker/ColorPicker.d.ts +5 -5
- package/dist/components/colorPicker/colorPicker.props.d.cts +4 -4
- package/dist/components/colorPicker/colorPicker.props.d.mts +4 -4
- package/dist/components/colorPicker/colorPicker.props.d.ts +4 -4
- package/dist/components/colorSwatch/ColorSwatch.d.cts +4 -4
- package/dist/components/colorSwatch/ColorSwatch.d.mts +4 -4
- package/dist/components/colorSwatch/ColorSwatch.d.ts +4 -4
- package/dist/components/colorSwatch/colorSwatch.props.d.cts +4 -4
- package/dist/components/colorSwatch/colorSwatch.props.d.mts +4 -4
- package/dist/components/colorSwatch/colorSwatch.props.d.ts +4 -4
- package/dist/components/combobox/Combobox.d.cts +14 -14
- package/dist/components/combobox/Combobox.d.mts +14 -14
- package/dist/components/combobox/Combobox.d.ts +14 -14
- package/dist/components/combobox/combobox.props.d.cts +9 -9
- package/dist/components/combobox/combobox.props.d.mts +9 -9
- package/dist/components/combobox/combobox.props.d.ts +9 -9
- package/dist/components/command/Command.d.cts +11 -11
- package/dist/components/command/Command.d.mts +11 -11
- package/dist/components/command/Command.d.ts +11 -11
- package/dist/components/command/command.props.d.cts +4 -4
- package/dist/components/command/command.props.d.mts +4 -4
- package/dist/components/command/command.props.d.ts +4 -4
- package/dist/components/configDrawer/ConfigDrawer.d.cts +1 -1
- package/dist/components/configDrawer/ConfigDrawer.d.cts.map +1 -1
- package/dist/components/configDrawer/ConfigDrawer.d.mts +1 -1
- package/dist/components/configDrawer/ConfigDrawer.d.mts.map +1 -1
- package/dist/components/configDrawer/ConfigDrawer.d.ts +1 -1
- package/dist/components/configDrawer/ConfigDrawer.d.ts.map +1 -1
- package/dist/components/container/Container.d.cts +54 -54
- package/dist/components/container/Container.d.mts +54 -54
- package/dist/components/container/Container.d.ts +54 -54
- package/dist/components/container/container.props.d.cts +1 -1
- package/dist/components/container/container.props.d.cts.map +1 -1
- package/dist/components/container/container.props.d.mts +1 -1
- package/dist/components/container/container.props.d.mts.map +1 -1
- package/dist/components/container/container.props.d.ts +1 -1
- package/dist/components/container/container.props.d.ts.map +1 -1
- package/dist/components/contextMenu/ContextMenu.d.cts +1 -1
- package/dist/components/contextMenu/ContextMenu.d.cts.map +1 -1
- package/dist/components/contextMenu/ContextMenu.d.mts +1 -1
- package/dist/components/contextMenu/ContextMenu.d.mts.map +1 -1
- package/dist/components/contextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/contextMenu/ContextMenu.d.ts.map +1 -1
- package/dist/components/contextMenu/contextMenu.props.d.cts +6 -6
- package/dist/components/contextMenu/contextMenu.props.d.mts +6 -6
- package/dist/components/contextMenu/contextMenu.props.d.ts +6 -6
- package/dist/components/copyButton/CopyButton.d.cts +9 -9
- package/dist/components/copyButton/CopyButton.d.mts +9 -9
- package/dist/components/copyButton/CopyButton.d.ts +9 -9
- package/dist/components/copyButton/copyButton.props.d.cts +8 -8
- package/dist/components/copyButton/copyButton.props.d.mts +8 -8
- package/dist/components/copyButton/copyButton.props.d.ts +8 -8
- package/dist/components/dataList/dataList.props.d.cts +4 -4
- package/dist/components/dataList/dataList.props.d.mts +4 -4
- package/dist/components/dataList/dataList.props.d.ts +4 -4
- package/dist/components/dataTable/DataTableToolbar.d.cts +0 -3
- package/dist/components/dataTable/DataTableToolbar.d.cts.map +1 -1
- package/dist/components/dataTable/DataTableToolbar.d.mts +0 -3
- package/dist/components/dataTable/DataTableToolbar.d.mts.map +1 -1
- package/dist/components/dataTable/DataTableToolbar.d.ts +0 -3
- package/dist/components/dataTable/DataTableToolbar.d.ts.map +1 -1
- package/dist/components/datePicker/datePicker.props.d.cts +4 -4
- package/dist/components/datePicker/datePicker.props.d.mts +4 -4
- package/dist/components/datePicker/datePicker.props.d.ts +4 -4
- package/dist/components/drawer/Drawer.d.cts +11 -11
- package/dist/components/drawer/Drawer.d.mts +11 -11
- package/dist/components/drawer/Drawer.d.ts +11 -11
- package/dist/components/drawer/drawer.props.d.cts +12 -12
- package/dist/components/drawer/drawer.props.d.cts.map +1 -1
- package/dist/components/drawer/drawer.props.d.mts +12 -12
- package/dist/components/drawer/drawer.props.d.mts.map +1 -1
- package/dist/components/drawer/drawer.props.d.ts +12 -12
- package/dist/components/drawer/drawer.props.d.ts.map +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.cts +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.cts.map +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.mts +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.mts.map +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/components/dropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/dropdownMenu/dropdownMenu.props.d.cts +6 -6
- package/dist/components/dropdownMenu/dropdownMenu.props.d.mts +6 -6
- package/dist/components/dropdownMenu/dropdownMenu.props.d.ts +6 -6
- package/dist/components/editable/editable.props.d.cts +4 -4
- package/dist/components/editable/editable.props.d.mts +4 -4
- package/dist/components/editable/editable.props.d.ts +4 -4
- package/dist/components/emptyState/emptyState.props.d.cts +5 -5
- package/dist/components/emptyState/emptyState.props.d.cts.map +1 -1
- package/dist/components/emptyState/emptyState.props.d.mts +5 -5
- package/dist/components/emptyState/emptyState.props.d.mts.map +1 -1
- package/dist/components/emptyState/emptyState.props.d.ts +5 -5
- package/dist/components/emptyState/emptyState.props.d.ts.map +1 -1
- package/dist/components/environmentRibbon/environmentRibbon.props.d.cts +5 -5
- package/dist/components/environmentRibbon/environmentRibbon.props.d.cts.map +1 -1
- package/dist/components/environmentRibbon/environmentRibbon.props.d.mts +5 -5
- package/dist/components/environmentRibbon/environmentRibbon.props.d.mts.map +1 -1
- package/dist/components/environmentRibbon/environmentRibbon.props.d.ts +5 -5
- package/dist/components/environmentRibbon/environmentRibbon.props.d.ts.map +1 -1
- package/dist/components/field/field.props.d.cts +4 -4
- package/dist/components/field/field.props.d.mts +4 -4
- package/dist/components/field/field.props.d.ts +4 -4
- package/dist/components/fileUpload/fileUpload.props.d.cts +9 -9
- package/dist/components/fileUpload/fileUpload.props.d.mts +9 -9
- package/dist/components/fileUpload/fileUpload.props.d.ts +9 -9
- package/dist/components/floatingPanel/FloatingPanel.d.cts +4 -4
- package/dist/components/floatingPanel/FloatingPanel.d.mts +4 -4
- package/dist/components/floatingPanel/FloatingPanel.d.ts +4 -4
- package/dist/components/floatingPanel/floatingPanel.props.d.cts +8 -8
- package/dist/components/floatingPanel/floatingPanel.props.d.mts +8 -8
- package/dist/components/floatingPanel/floatingPanel.props.d.ts +8 -8
- package/dist/components/form/Form.d.cts +8 -8
- package/dist/components/form/Form.d.mts +8 -8
- package/dist/components/form/Form.d.ts +8 -8
- package/dist/components/form/form.props.d.cts +4 -4
- package/dist/components/form/form.props.d.mts +4 -4
- package/dist/components/form/form.props.d.ts +4 -4
- package/dist/components/grid/Grid.d.cts +54 -54
- package/dist/components/grid/Grid.d.mts +54 -54
- package/dist/components/grid/Grid.d.ts +54 -54
- package/dist/components/heading/heading.props.d.cts +127 -127
- package/dist/components/heading/heading.props.d.mts +127 -127
- package/dist/components/heading/heading.props.d.ts +127 -127
- package/dist/components/hoverCard/HoverCard.d.cts +4 -4
- package/dist/components/hoverCard/HoverCard.d.mts +4 -4
- package/dist/components/hoverCard/HoverCard.d.ts +4 -4
- package/dist/components/hoverCard/hoverCard.props.d.cts +5 -5
- package/dist/components/hoverCard/hoverCard.props.d.cts.map +1 -1
- package/dist/components/hoverCard/hoverCard.props.d.mts +5 -5
- package/dist/components/hoverCard/hoverCard.props.d.mts.map +1 -1
- package/dist/components/hoverCard/hoverCard.props.d.ts +5 -5
- package/dist/components/hoverCard/hoverCard.props.d.ts.map +1 -1
- package/dist/components/icon/Icon.d.cts +340 -340
- package/dist/components/icon/Icon.d.cts.map +1 -1
- package/dist/components/icon/Icon.d.mts +340 -340
- package/dist/components/icon/Icon.d.mts.map +1 -1
- package/dist/components/icon/Icon.d.ts +340 -340
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/icon/icon.props.d.cts +1 -1
- package/dist/components/icon/icon.props.d.cts.map +1 -1
- package/dist/components/icon/icon.props.d.mts +1 -1
- package/dist/components/icon/icon.props.d.mts.map +1 -1
- package/dist/components/icon/icon.props.d.ts +1 -1
- package/dist/components/icon/icon.props.d.ts.map +1 -1
- package/dist/components/iconButton/iconButton.props.d.cts +8 -8
- package/dist/components/iconButton/iconButton.props.d.mts +8 -8
- package/dist/components/iconButton/iconButton.props.d.ts +8 -8
- package/dist/components/input/input.props.d.cts +4 -4
- package/dist/components/input/input.props.d.mts +4 -4
- package/dist/components/input/input.props.d.ts +4 -4
- package/dist/components/inputGroup/inputGroup.props.d.cts +4 -4
- package/dist/components/inputGroup/inputGroup.props.d.mts +4 -4
- package/dist/components/inputGroup/inputGroup.props.d.ts +4 -4
- package/dist/components/inputOtp/InputOtp.d.cts +8 -8
- package/dist/components/inputOtp/InputOtp.d.mts +8 -8
- package/dist/components/inputOtp/InputOtp.d.ts +8 -8
- package/dist/components/inputOtp/inputOtp.props.d.cts +4 -4
- package/dist/components/inputOtp/inputOtp.props.d.mts +4 -4
- package/dist/components/inputOtp/inputOtp.props.d.ts +4 -4
- package/dist/components/item/item.props.d.cts +4 -4
- package/dist/components/item/item.props.d.mts +4 -4
- package/dist/components/item/item.props.d.ts +4 -4
- package/dist/components/kbd/kbd.props.d.cts +4 -4
- package/dist/components/kbd/kbd.props.d.mts +4 -4
- package/dist/components/kbd/kbd.props.d.ts +4 -4
- package/dist/components/label/label.props.d.cts +4 -4
- package/dist/components/label/label.props.d.mts +4 -4
- package/dist/components/label/label.props.d.ts +4 -4
- package/dist/components/link/link.props.d.cts +10 -10
- package/dist/components/link/link.props.d.cts.map +1 -1
- package/dist/components/link/link.props.d.mts +10 -10
- package/dist/components/link/link.props.d.mts.map +1 -1
- package/dist/components/link/link.props.d.ts +10 -10
- package/dist/components/link/link.props.d.ts.map +1 -1
- package/dist/components/marquee/marquee.props.d.cts +4 -4
- package/dist/components/marquee/marquee.props.d.mts +4 -4
- package/dist/components/marquee/marquee.props.d.ts +4 -4
- package/dist/components/menu/menu.props.d.cts +1 -1
- package/dist/components/menu/menu.props.d.cts.map +1 -1
- package/dist/components/menu/menu.props.d.mts +1 -1
- package/dist/components/menu/menu.props.d.mts.map +1 -1
- package/dist/components/menu/menu.props.d.ts +1 -1
- package/dist/components/menu/menu.props.d.ts.map +1 -1
- package/dist/components/menubar/Menubar.d.cts +1 -1
- package/dist/components/menubar/Menubar.d.mts +1 -1
- package/dist/components/menubar/Menubar.d.ts +1 -1
- package/dist/components/menubar/menubar.props.d.cts +6 -6
- package/dist/components/menubar/menubar.props.d.mts +6 -6
- package/dist/components/menubar/menubar.props.d.ts +6 -6
- package/dist/components/metric/metric.props.d.cts +7 -7
- package/dist/components/metric/metric.props.d.mts +7 -7
- package/dist/components/metric/metric.props.d.ts +7 -7
- package/dist/components/nativeSelect/nativeSelect.props.d.cts +6 -6
- package/dist/components/nativeSelect/nativeSelect.props.d.cts.map +1 -1
- package/dist/components/nativeSelect/nativeSelect.props.d.mts +6 -6
- package/dist/components/nativeSelect/nativeSelect.props.d.mts.map +1 -1
- package/dist/components/nativeSelect/nativeSelect.props.d.ts +6 -6
- package/dist/components/nativeSelect/nativeSelect.props.d.ts.map +1 -1
- package/dist/components/navigationMenu/NavigationMenu.d.cts +1 -1
- package/dist/components/navigationMenu/NavigationMenu.d.mts +1 -1
- package/dist/components/navigationMenu/NavigationMenu.d.ts +1 -1
- package/dist/components/navigationMenu/navigationMenu.props.d.cts +4 -4
- package/dist/components/navigationMenu/navigationMenu.props.d.mts +4 -4
- package/dist/components/navigationMenu/navigationMenu.props.d.ts +4 -4
- package/dist/components/notificationCenter/notificationCenter.props.d.cts +6 -6
- package/dist/components/notificationCenter/notificationCenter.props.d.mts +6 -6
- package/dist/components/notificationCenter/notificationCenter.props.d.ts +6 -6
- package/dist/components/numberInput/numberInput.props.d.cts +4 -4
- package/dist/components/numberInput/numberInput.props.d.mts +4 -4
- package/dist/components/numberInput/numberInput.props.d.ts +4 -4
- package/dist/components/pageContent/pageContent.props.d.cts +5 -5
- package/dist/components/pageContent/pageContent.props.d.cts.map +1 -1
- package/dist/components/pageContent/pageContent.props.d.mts +5 -5
- package/dist/components/pageContent/pageContent.props.d.mts.map +1 -1
- package/dist/components/pageContent/pageContent.props.d.ts +5 -5
- package/dist/components/pageContent/pageContent.props.d.ts.map +1 -1
- package/dist/components/pageHeader/pageHeader.props.d.cts +4 -4
- package/dist/components/pageHeader/pageHeader.props.d.mts +4 -4
- package/dist/components/pageHeader/pageHeader.props.d.ts +4 -4
- package/dist/components/pagination/Pagination.d.cts +15 -15
- package/dist/components/pagination/Pagination.d.mts +15 -15
- package/dist/components/pagination/Pagination.d.ts +15 -15
- package/dist/components/pagination/pagination.props.d.cts +7 -7
- package/dist/components/pagination/pagination.props.d.mts +7 -7
- package/dist/components/pagination/pagination.props.d.ts +7 -7
- package/dist/components/passwordInput/passwordInput.props.d.cts +4 -4
- package/dist/components/passwordInput/passwordInput.props.d.mts +4 -4
- package/dist/components/passwordInput/passwordInput.props.d.ts +4 -4
- package/dist/components/phoneInput/phoneInput.props.d.cts +4 -4
- package/dist/components/phoneInput/phoneInput.props.d.mts +4 -4
- package/dist/components/phoneInput/phoneInput.props.d.ts +4 -4
- package/dist/components/pills/pills.props.d.cts +6 -6
- package/dist/components/pills/pills.props.d.mts +6 -6
- package/dist/components/pills/pills.props.d.ts +6 -6
- package/dist/components/popover/Popover.d.cts +4 -4
- package/dist/components/popover/Popover.d.mts +4 -4
- package/dist/components/popover/Popover.d.ts +4 -4
- package/dist/components/popover/popover.props.d.cts +5 -5
- package/dist/components/popover/popover.props.d.cts.map +1 -1
- package/dist/components/popover/popover.props.d.mts +5 -5
- package/dist/components/popover/popover.props.d.mts.map +1 -1
- package/dist/components/popover/popover.props.d.ts +5 -5
- package/dist/components/popover/popover.props.d.ts.map +1 -1
- package/dist/components/progress/progress.props.d.cts +5 -5
- package/dist/components/progress/progress.props.d.mts +5 -5
- package/dist/components/progress/progress.props.d.ts +5 -5
- package/dist/components/qrCode/qrCode.props.d.cts +5 -5
- package/dist/components/qrCode/qrCode.props.d.cts.map +1 -1
- package/dist/components/qrCode/qrCode.props.d.mts +5 -5
- package/dist/components/qrCode/qrCode.props.d.mts.map +1 -1
- package/dist/components/qrCode/qrCode.props.d.ts +5 -5
- package/dist/components/qrCode/qrCode.props.d.ts.map +1 -1
- package/dist/components/radioCards/radioCards.props.d.cts +6 -6
- package/dist/components/radioCards/radioCards.props.d.cts.map +1 -1
- package/dist/components/radioCards/radioCards.props.d.mts +6 -6
- package/dist/components/radioCards/radioCards.props.d.mts.map +1 -1
- package/dist/components/radioCards/radioCards.props.d.ts +6 -6
- package/dist/components/radioCards/radioCards.props.d.ts.map +1 -1
- package/dist/components/radioGroup/radioGroup.props.d.cts +10 -10
- package/dist/components/radioGroup/radioGroup.props.d.mts +10 -10
- package/dist/components/radioGroup/radioGroup.props.d.ts +10 -10
- package/dist/components/rating/Rating.d.cts +1 -1
- package/dist/components/rating/Rating.d.cts.map +1 -1
- package/dist/components/rating/Rating.d.mts +1 -1
- package/dist/components/rating/Rating.d.mts.map +1 -1
- package/dist/components/rating/Rating.d.ts +1 -1
- package/dist/components/rating/Rating.d.ts.map +1 -1
- package/dist/components/rating/rating.props.d.cts +1 -1
- package/dist/components/rating/rating.props.d.cts.map +1 -1
- package/dist/components/rating/rating.props.d.mts +1 -1
- package/dist/components/rating/rating.props.d.mts.map +1 -1
- package/dist/components/rating/rating.props.d.ts +1 -1
- package/dist/components/rating/rating.props.d.ts.map +1 -1
- package/dist/components/resizable/Resizable.d.cts +225 -223
- package/dist/components/resizable/Resizable.d.cts.map +1 -1
- package/dist/components/resizable/Resizable.d.mts +225 -223
- package/dist/components/resizable/Resizable.d.mts.map +1 -1
- package/dist/components/resizable/Resizable.d.ts +225 -223
- package/dist/components/resizable/Resizable.d.ts.map +1 -1
- package/dist/components/resizable/resizable.props.d.cts +7 -7
- package/dist/components/resizable/resizable.props.d.mts +7 -7
- package/dist/components/resizable/resizable.props.d.ts +7 -7
- package/dist/components/richTextEditor/richTextEditor.props.d.cts +8 -8
- package/dist/components/richTextEditor/richTextEditor.props.d.mts +8 -8
- package/dist/components/richTextEditor/richTextEditor.props.d.ts +8 -8
- package/dist/components/scrollArea/scrollArea.props.d.cts +7 -7
- package/dist/components/scrollArea/scrollArea.props.d.mts +7 -7
- package/dist/components/scrollArea/scrollArea.props.d.ts +7 -7
- package/dist/components/searchBar/searchBar.props.d.cts +6 -6
- package/dist/components/searchBar/searchBar.props.d.mts +6 -6
- package/dist/components/searchBar/searchBar.props.d.ts +6 -6
- package/dist/components/section/Section.d.cts +54 -54
- package/dist/components/section/Section.d.mts +54 -54
- package/dist/components/section/Section.d.ts +54 -54
- package/dist/components/section/section.props.d.cts +1 -1
- package/dist/components/section/section.props.d.cts.map +1 -1
- package/dist/components/section/section.props.d.mts +1 -1
- package/dist/components/section/section.props.d.mts.map +1 -1
- package/dist/components/section/section.props.d.ts +1 -1
- package/dist/components/section/section.props.d.ts.map +1 -1
- package/dist/components/segmentedMeter/segmentedMeter.props.d.cts +5 -5
- package/dist/components/segmentedMeter/segmentedMeter.props.d.cts.map +1 -1
- package/dist/components/segmentedMeter/segmentedMeter.props.d.mts +5 -5
- package/dist/components/segmentedMeter/segmentedMeter.props.d.mts.map +1 -1
- package/dist/components/segmentedMeter/segmentedMeter.props.d.ts +5 -5
- package/dist/components/segmentedMeter/segmentedMeter.props.d.ts.map +1 -1
- package/dist/components/select/select.props.d.cts +11 -11
- package/dist/components/select/select.props.d.cts.map +1 -1
- package/dist/components/select/select.props.d.mts +11 -11
- package/dist/components/select/select.props.d.mts.map +1 -1
- package/dist/components/select/select.props.d.ts +11 -11
- package/dist/components/select/select.props.d.ts.map +1 -1
- package/dist/components/separator/Separator.d.cts +2 -2
- package/dist/components/separator/Separator.d.mts +2 -2
- package/dist/components/separator/Separator.d.ts +2 -2
- package/dist/components/separator/separator.props.d.cts +1 -1
- package/dist/components/separator/separator.props.d.cts.map +1 -1
- package/dist/components/separator/separator.props.d.mts +1 -1
- package/dist/components/separator/separator.props.d.mts.map +1 -1
- package/dist/components/separator/separator.props.d.ts +1 -1
- package/dist/components/separator/separator.props.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.d.cts +1 -1
- package/dist/components/sidebar/Sidebar.d.mts +1 -1
- package/dist/components/sidebar/Sidebar.d.ts +1 -1
- package/dist/components/sidebar/sidebar.props.d.cts +8 -8
- package/dist/components/sidebar/sidebar.props.d.cts.map +1 -1
- package/dist/components/sidebar/sidebar.props.d.mts +8 -8
- package/dist/components/sidebar/sidebar.props.d.mts.map +1 -1
- package/dist/components/sidebar/sidebar.props.d.ts +8 -8
- package/dist/components/sidebar/sidebar.props.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.props.d.cts +4 -4
- package/dist/components/skeleton/skeleton.props.d.mts +4 -4
- package/dist/components/skeleton/skeleton.props.d.ts +4 -4
- package/dist/components/slider/slider.props.d.cts +8 -8
- package/dist/components/slider/slider.props.d.mts +8 -8
- package/dist/components/slider/slider.props.d.ts +8 -8
- package/dist/components/slot/Slot.radix.d.cts +3 -1
- package/dist/components/slot/Slot.radix.d.cts.map +1 -1
- package/dist/components/slot/Slot.radix.d.mts +3 -1
- package/dist/components/slot/Slot.radix.d.mts.map +1 -1
- package/dist/components/slot/Slot.radix.d.ts +3 -1
- package/dist/components/slot/Slot.radix.d.ts.map +1 -1
- package/dist/components/spinner/spinner.props.d.cts +4 -4
- package/dist/components/spinner/spinner.props.d.mts +4 -4
- package/dist/components/spinner/spinner.props.d.ts +4 -4
- package/dist/components/statCard/statCard.props.d.cts +8 -8
- package/dist/components/statCard/statCard.props.d.mts +8 -8
- package/dist/components/statCard/statCard.props.d.ts +8 -8
- package/dist/components/status/status.props.d.cts +6 -6
- package/dist/components/status/status.props.d.cts.map +1 -1
- package/dist/components/status/status.props.d.mts +6 -6
- package/dist/components/status/status.props.d.mts.map +1 -1
- package/dist/components/status/status.props.d.ts +6 -6
- package/dist/components/status/status.props.d.ts.map +1 -1
- package/dist/components/stepper/stepper.props.d.cts +6 -6
- package/dist/components/stepper/stepper.props.d.mts +6 -6
- package/dist/components/stepper/stepper.props.d.ts +6 -6
- package/dist/components/switch/switch.props.d.cts +8 -8
- package/dist/components/switch/switch.props.d.mts +8 -8
- package/dist/components/switch/switch.props.d.ts +8 -8
- package/dist/components/tabNav/tabNav.props.d.cts +8 -8
- package/dist/components/tabNav/tabNav.props.d.cts.map +1 -1
- package/dist/components/tabNav/tabNav.props.d.mts +8 -8
- package/dist/components/tabNav/tabNav.props.d.mts.map +1 -1
- package/dist/components/tabNav/tabNav.props.d.ts +8 -8
- package/dist/components/tabNav/tabNav.props.d.ts.map +1 -1
- package/dist/components/table/table.props.d.cts +11 -11
- package/dist/components/table/table.props.d.mts +11 -11
- package/dist/components/table/table.props.d.ts +11 -11
- package/dist/components/tabs/tabs.props.d.cts +7 -7
- package/dist/components/tabs/tabs.props.d.cts.map +1 -1
- package/dist/components/tabs/tabs.props.d.mts +7 -7
- package/dist/components/tabs/tabs.props.d.mts.map +1 -1
- package/dist/components/tabs/tabs.props.d.ts +7 -7
- package/dist/components/tabs/tabs.props.d.ts.map +1 -1
- package/dist/components/tag/tag.props.d.cts +8 -8
- package/dist/components/tag/tag.props.d.mts +8 -8
- package/dist/components/tag/tag.props.d.ts +8 -8
- package/dist/components/tagsInput/tagsInput.props.d.cts +4 -4
- package/dist/components/tagsInput/tagsInput.props.d.mts +4 -4
- package/dist/components/tagsInput/tagsInput.props.d.ts +4 -4
- package/dist/components/text/text.props.d.cts +127 -127
- package/dist/components/text/text.props.d.mts +127 -127
- package/dist/components/text/text.props.d.ts +127 -127
- package/dist/components/text/typography.props.d.cts +1 -1
- package/dist/components/text/typography.props.d.mts +1 -1
- package/dist/components/text/typography.props.d.ts +1 -1
- package/dist/components/textArea/textArea.props.d.cts +4 -4
- package/dist/components/textArea/textArea.props.d.mts +4 -4
- package/dist/components/textArea/textArea.props.d.ts +4 -4
- package/dist/components/textAreaField/textAreaField.props.d.cts +4 -4
- package/dist/components/textAreaField/textAreaField.props.d.mts +4 -4
- package/dist/components/textAreaField/textAreaField.props.d.ts +4 -4
- package/dist/components/textField/textField.props.d.cts +4 -4
- package/dist/components/textField/textField.props.d.mts +4 -4
- package/dist/components/textField/textField.props.d.ts +4 -4
- package/dist/components/timePicker/timePicker.props.d.cts +5 -5
- package/dist/components/timePicker/timePicker.props.d.cts.map +1 -1
- package/dist/components/timePicker/timePicker.props.d.mts +5 -5
- package/dist/components/timePicker/timePicker.props.d.mts.map +1 -1
- package/dist/components/timePicker/timePicker.props.d.ts +5 -5
- package/dist/components/timePicker/timePicker.props.d.ts.map +1 -1
- package/dist/components/timeline/timeline.props.d.cts +6 -6
- package/dist/components/timeline/timeline.props.d.mts +6 -6
- package/dist/components/timeline/timeline.props.d.ts +6 -6
- package/dist/components/toast/toast.props.d.cts +1 -1
- package/dist/components/toast/toast.props.d.cts.map +1 -1
- package/dist/components/toast/toast.props.d.mts +1 -1
- package/dist/components/toast/toast.props.d.mts.map +1 -1
- package/dist/components/toast/toast.props.d.ts +1 -1
- package/dist/components/toast/toast.props.d.ts.map +1 -1
- package/dist/components/toggle/toggle.props.d.cts +8 -8
- package/dist/components/toggle/toggle.props.d.mts +8 -8
- package/dist/components/toggle/toggle.props.d.ts +8 -8
- package/dist/components/toggleGroup/toggleGroup.props.d.cts +10 -10
- package/dist/components/toggleGroup/toggleGroup.props.d.cts.map +1 -1
- package/dist/components/toggleGroup/toggleGroup.props.d.mts +10 -10
- package/dist/components/toggleGroup/toggleGroup.props.d.mts.map +1 -1
- package/dist/components/toggleGroup/toggleGroup.props.d.ts +10 -10
- package/dist/components/toggleGroup/toggleGroup.props.d.ts.map +1 -1
- package/dist/components/toggleTip/toggleTip.props.d.cts +4 -4
- package/dist/components/toggleTip/toggleTip.props.d.mts +4 -4
- package/dist/components/toggleTip/toggleTip.props.d.ts +4 -4
- package/dist/components/toolbar/Toolbar.d.cts +4 -4
- package/dist/components/toolbar/Toolbar.d.mts +4 -4
- package/dist/components/toolbar/Toolbar.d.ts +4 -4
- package/dist/components/toolbar/toolbar.props.d.cts +5 -5
- package/dist/components/toolbar/toolbar.props.d.cts.map +1 -1
- package/dist/components/toolbar/toolbar.props.d.mts +5 -5
- package/dist/components/toolbar/toolbar.props.d.mts.map +1 -1
- package/dist/components/toolbar/toolbar.props.d.ts +5 -5
- package/dist/components/toolbar/toolbar.props.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.props.d.cts +1 -1
- package/dist/components/tooltip/tooltip.props.d.cts.map +1 -1
- package/dist/components/tooltip/tooltip.props.d.mts +1 -1
- package/dist/components/tooltip/tooltip.props.d.mts.map +1 -1
- package/dist/components/tooltip/tooltip.props.d.ts +1 -1
- package/dist/components/tooltip/tooltip.props.d.ts.map +1 -1
- package/dist/components/treeView/treeView.props.d.cts +4 -4
- package/dist/components/treeView/treeView.props.d.mts +4 -4
- package/dist/components/treeView/treeView.props.d.ts +4 -4
- package/dist/docs/component-index.json +1 -1
- package/dist/docs/components/button.md +2 -2
- package/dist/foundations/Shared.d.cts +2 -2
- package/dist/foundations/Shared.d.mts +2 -2
- package/dist/foundations/Shared.d.ts +2 -2
- package/dist/foundations/telegram/theme-params.d.cts +15 -15
- package/dist/foundations/telegram/theme-params.d.cts.map +1 -1
- package/dist/foundations/telegram/theme-params.d.mts +15 -15
- package/dist/foundations/telegram/theme-params.d.mts.map +1 -1
- package/dist/foundations/telegram/theme-params.d.ts +15 -15
- package/dist/foundations/telegram/theme-params.d.ts.map +1 -1
- package/dist/foundations/telegram/viewport.d.cts +12 -12
- package/dist/foundations/telegram/viewport.d.cts.map +1 -1
- package/dist/foundations/telegram/viewport.d.mts +12 -12
- package/dist/foundations/telegram/viewport.d.mts.map +1 -1
- package/dist/foundations/telegram/viewport.d.ts +12 -12
- package/dist/foundations/telegram/viewport.d.ts.map +1 -1
- package/dist/layout/Inset.d.cts +54 -54
- package/dist/layout/Inset.d.mts +54 -54
- package/dist/layout/Inset.d.ts +54 -54
- package/dist/layout/breakpoints.generated.d.cts.map +1 -1
- package/dist/layout/breakpoints.generated.d.mts.map +1 -1
- package/dist/layout/breakpoints.generated.d.ts.map +1 -1
- package/dist/layout/inset.props.d.cts +4 -4
- package/dist/layout/inset.props.d.mts +4 -4
- package/dist/layout/inset.props.d.ts +4 -4
- package/dist/layout/layout.props.d.cts +176 -176
- package/dist/layout/layout.props.d.cts.map +1 -1
- package/dist/layout/layout.props.d.mts +176 -176
- package/dist/layout/layout.props.d.mts.map +1 -1
- package/dist/layout/layout.props.d.ts +176 -176
- package/dist/layout/layout.props.d.ts.map +1 -1
- package/dist/layout/responsive.props.d.cts +9 -9
- package/dist/layout/responsive.props.d.cts.map +1 -1
- package/dist/layout/responsive.props.d.mts +9 -9
- package/dist/layout/responsive.props.d.mts.map +1 -1
- package/dist/layout/responsive.props.d.ts +9 -9
- package/dist/layout/responsive.props.d.ts.map +1 -1
- package/dist/styles.css +11 -3
- package/dist/tokens.dtcg.json +1 -1
- package/package.json +60 -60
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const blockquotePropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
tone: {
|
|
3
7
|
type: "enum";
|
|
4
8
|
values: readonly ["default", "muted", "inverse"];
|
|
5
9
|
default: "default";
|
|
6
10
|
};
|
|
7
|
-
asChild: {
|
|
8
|
-
type: "boolean";
|
|
9
|
-
default: false;
|
|
10
|
-
};
|
|
11
11
|
};
|
|
12
12
|
export { blockquotePropDefs };
|
|
13
13
|
//# sourceMappingURL=blockquote.props.d.mts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const blockquotePropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
tone: {
|
|
3
7
|
type: "enum";
|
|
4
8
|
values: readonly ["default", "muted", "inverse"];
|
|
5
9
|
default: "default";
|
|
6
10
|
};
|
|
7
|
-
asChild: {
|
|
8
|
-
type: "boolean";
|
|
9
|
-
default: false;
|
|
10
|
-
};
|
|
11
11
|
};
|
|
12
12
|
export { blockquotePropDefs };
|
|
13
13
|
//# sourceMappingURL=blockquote.props.d.ts.map
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare const bottomDockPlacements: readonly [
|
|
2
|
-
declare const bottomDockLabelModes: readonly [
|
|
1
|
+
declare const bottomDockPlacements: readonly ['fixed', 'contained'];
|
|
2
|
+
declare const bottomDockLabelModes: readonly ['active', 'always', 'none'];
|
|
3
3
|
declare const bottomDockPropDefs: {
|
|
4
|
+
asChild: {
|
|
5
|
+
type: "boolean";
|
|
6
|
+
default: false;
|
|
7
|
+
};
|
|
4
8
|
placement: {
|
|
5
9
|
type: "enum";
|
|
6
10
|
values: readonly ["fixed", "contained"];
|
|
@@ -11,19 +15,15 @@ declare const bottomDockPropDefs: {
|
|
|
11
15
|
values: readonly ["active", "always", "none"];
|
|
12
16
|
default: "active";
|
|
13
17
|
};
|
|
18
|
+
};
|
|
19
|
+
declare const bottomDockItemPropDefs: {
|
|
14
20
|
asChild: {
|
|
15
21
|
type: "boolean";
|
|
16
22
|
default: false;
|
|
17
23
|
};
|
|
18
|
-
};
|
|
19
|
-
declare const bottomDockItemPropDefs: {
|
|
20
24
|
isActive: {
|
|
21
25
|
type: "boolean";
|
|
22
26
|
};
|
|
23
|
-
asChild: {
|
|
24
|
-
type: "boolean";
|
|
25
|
-
default: false;
|
|
26
|
-
};
|
|
27
27
|
};
|
|
28
28
|
export { bottomDockItemPropDefs, bottomDockLabelModes, bottomDockPlacements, bottomDockPropDefs };
|
|
29
29
|
//# sourceMappingURL=bottomDock.props.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottomDock.props.d.cts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"bottomDock.props.d.cts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,YAAI,OAAO,EAAE,WAAW,CAAU,CAAA;AAC5D,QAAA,MAAM,oBAAoB,YAAI,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;AAElE,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;CAgBvB,CAAA;AAED,QAAA,MAAM,sBAAsB;;;;;;;;CAQ3B,CAAA;AAED,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare const bottomDockPlacements: readonly [
|
|
2
|
-
declare const bottomDockLabelModes: readonly [
|
|
1
|
+
declare const bottomDockPlacements: readonly ['fixed', 'contained'];
|
|
2
|
+
declare const bottomDockLabelModes: readonly ['active', 'always', 'none'];
|
|
3
3
|
declare const bottomDockPropDefs: {
|
|
4
|
+
asChild: {
|
|
5
|
+
type: "boolean";
|
|
6
|
+
default: false;
|
|
7
|
+
};
|
|
4
8
|
placement: {
|
|
5
9
|
type: "enum";
|
|
6
10
|
values: readonly ["fixed", "contained"];
|
|
@@ -11,19 +15,15 @@ declare const bottomDockPropDefs: {
|
|
|
11
15
|
values: readonly ["active", "always", "none"];
|
|
12
16
|
default: "active";
|
|
13
17
|
};
|
|
18
|
+
};
|
|
19
|
+
declare const bottomDockItemPropDefs: {
|
|
14
20
|
asChild: {
|
|
15
21
|
type: "boolean";
|
|
16
22
|
default: false;
|
|
17
23
|
};
|
|
18
|
-
};
|
|
19
|
-
declare const bottomDockItemPropDefs: {
|
|
20
24
|
isActive: {
|
|
21
25
|
type: "boolean";
|
|
22
26
|
};
|
|
23
|
-
asChild: {
|
|
24
|
-
type: "boolean";
|
|
25
|
-
default: false;
|
|
26
|
-
};
|
|
27
27
|
};
|
|
28
28
|
export { bottomDockItemPropDefs, bottomDockLabelModes, bottomDockPlacements, bottomDockPropDefs };
|
|
29
29
|
//# sourceMappingURL=bottomDock.props.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottomDock.props.d.mts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"bottomDock.props.d.mts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,YAAI,OAAO,EAAE,WAAW,CAAU,CAAA;AAC5D,QAAA,MAAM,oBAAoB,YAAI,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;AAElE,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;CAgBvB,CAAA;AAED,QAAA,MAAM,sBAAsB;;;;;;;;CAQ3B,CAAA;AAED,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare const bottomDockPlacements: readonly [
|
|
2
|
-
declare const bottomDockLabelModes: readonly [
|
|
1
|
+
declare const bottomDockPlacements: readonly ['fixed', 'contained'];
|
|
2
|
+
declare const bottomDockLabelModes: readonly ['active', 'always', 'none'];
|
|
3
3
|
declare const bottomDockPropDefs: {
|
|
4
|
+
asChild: {
|
|
5
|
+
type: "boolean";
|
|
6
|
+
default: false;
|
|
7
|
+
};
|
|
4
8
|
placement: {
|
|
5
9
|
type: "enum";
|
|
6
10
|
values: readonly ["fixed", "contained"];
|
|
@@ -11,19 +15,15 @@ declare const bottomDockPropDefs: {
|
|
|
11
15
|
values: readonly ["active", "always", "none"];
|
|
12
16
|
default: "active";
|
|
13
17
|
};
|
|
18
|
+
};
|
|
19
|
+
declare const bottomDockItemPropDefs: {
|
|
14
20
|
asChild: {
|
|
15
21
|
type: "boolean";
|
|
16
22
|
default: false;
|
|
17
23
|
};
|
|
18
|
-
};
|
|
19
|
-
declare const bottomDockItemPropDefs: {
|
|
20
24
|
isActive: {
|
|
21
25
|
type: "boolean";
|
|
22
26
|
};
|
|
23
|
-
asChild: {
|
|
24
|
-
type: "boolean";
|
|
25
|
-
default: false;
|
|
26
|
-
};
|
|
27
27
|
};
|
|
28
28
|
export { bottomDockItemPropDefs, bottomDockLabelModes, bottomDockPlacements, bottomDockPropDefs };
|
|
29
29
|
//# sourceMappingURL=bottomDock.props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottomDock.props.d.ts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"bottomDock.props.d.ts","sourceRoot":"","sources":["../../../src/components/bottomDock/bottomDock.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,YAAI,OAAO,EAAE,WAAW,CAAU,CAAA;AAC5D,QAAA,MAAM,oBAAoB,YAAI,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;AAElE,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;CAgBvB,CAAA;AAED,QAAA,MAAM,sBAAsB;;;;;;;;CAQ3B,CAAA;AAED,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const breadcrumbPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
size: {
|
|
3
7
|
type: "enum";
|
|
4
8
|
values: readonly ["sm", "md", "lg"];
|
|
5
9
|
default: "md";
|
|
6
10
|
};
|
|
7
|
-
asChild: {
|
|
8
|
-
type: "boolean";
|
|
9
|
-
default: false;
|
|
10
|
-
};
|
|
11
11
|
};
|
|
12
12
|
declare const breadcrumbListPropDefs: {
|
|
13
13
|
asChild: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const breadcrumbPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
size: {
|
|
3
7
|
type: "enum";
|
|
4
8
|
values: readonly ["sm", "md", "lg"];
|
|
5
9
|
default: "md";
|
|
6
10
|
};
|
|
7
|
-
asChild: {
|
|
8
|
-
type: "boolean";
|
|
9
|
-
default: false;
|
|
10
|
-
};
|
|
11
11
|
};
|
|
12
12
|
declare const breadcrumbListPropDefs: {
|
|
13
13
|
asChild: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const breadcrumbPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
size: {
|
|
3
7
|
type: "enum";
|
|
4
8
|
values: readonly ["sm", "md", "lg"];
|
|
5
9
|
default: "md";
|
|
6
10
|
};
|
|
7
|
-
asChild: {
|
|
8
|
-
type: "boolean";
|
|
9
|
-
default: false;
|
|
10
|
-
};
|
|
11
11
|
};
|
|
12
12
|
declare const breadcrumbListPropDefs: {
|
|
13
13
|
asChild: {
|
|
@@ -39,6 +39,12 @@ var import_extractProps = require("../../_internal/helpers/extractProps");
|
|
|
39
39
|
var import_Spinner = require("../spinner/Spinner");
|
|
40
40
|
var import_button = require("./button.props");
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
function renderAsChildLabel(children) {
|
|
43
|
+
if (!React.isValidElement(children) || children.type === React.Fragment) {
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_slot.Slottable, { children });
|
|
45
|
+
}
|
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_slot.Slottable, { child: children, children: (slottable) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "dsx-button__label", children: slottable }) });
|
|
47
|
+
}
|
|
42
48
|
const Button = React.forwardRef((props, forwardedRef) => {
|
|
43
49
|
const {
|
|
44
50
|
asChild,
|
|
@@ -74,7 +80,7 @@ const Button = React.forwardRef((props, forwardedRef) => {
|
|
|
74
80
|
"data-variant": variant,
|
|
75
81
|
children: [
|
|
76
82
|
!asChild && loading ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { "aria-hidden": "true", className: "dsx-button__spinner", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Spinner.Spinner, { className: "dsx-button__spinner-indicator", size: spinnerSize }) }) : null,
|
|
77
|
-
asChild ?
|
|
83
|
+
asChild ? renderAsChildLabel(children) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "dsx-button__content", children: [
|
|
78
84
|
leadingIcon ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "dsx-button__icon", children: leadingIcon }) : null,
|
|
79
85
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "dsx-button__label", children }),
|
|
80
86
|
trailingIcon ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "dsx-button__icon", children: trailingIcon }) : null
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/button/Button.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react'\nimport classNames from 'classnames'\nimport { Slottable } from '@radix-ui/react-slot'\n\nimport { BaseButton } from '../../_internal/BaseButton'\nimport { extractProps } from '../../_internal/helpers/extractProps'\nimport { Spinner } from '../spinner/Spinner'\nimport { buttonPropDefs } from './button.props'\n\nimport type { GetPropDefTypes } from '../../_internal/props/propDef'\n\ntype ButtonElement = React.ComponentRef<'button'>\ntype ButtonOwnProps = GetPropDefTypes<typeof buttonPropDefs> & {\n leadingIcon?: React.ReactNode\n trailingIcon?: React.ReactNode\n}\n\ninterface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, ButtonOwnProps {}\n\nconst Button = React.forwardRef<ButtonElement, ButtonProps>((props, forwardedRef) => {\n const {\n asChild,\n children,\n className,\n color,\n highContrast = false,\n halo = false,\n leadingIcon,\n loading = false,\n radius = 'md',\n size = 'md',\n trailingIcon,\n type = 'button',\n variant = 'primary',\n ...buttonProps\n } = extractProps(props, buttonPropDefs)\n const spinnerSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <BaseButton\n {...buttonProps}\n ref={forwardedRef}\n asChild={asChild}\n loading={loading}\n type={asChild ? undefined : type}\n className={classNames('dsx-button', className)}\n data-accent-color={color}\n data-halo={halo || undefined}\n data-high-contrast={highContrast ? 'true' : undefined}\n data-radius={radius}\n data-size={size}\n data-variant={variant}\n >\n {!asChild && loading ? (\n <span aria-hidden=\"true\" className=\"dsx-button__spinner\">\n <Spinner className=\"dsx-button__spinner-indicator\" size={spinnerSize} />\n </span>\n ) : null}\n {asChild ? (\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,wBAAuB;AACvB,wBAA0B;AAE1B,wBAA2B;AAC3B,0BAA6B;AAC7B,qBAAwB;AACxB,oBAA+B;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react'\nimport classNames from 'classnames'\nimport { Slottable } from '@radix-ui/react-slot'\n\nimport { BaseButton } from '../../_internal/BaseButton'\nimport { extractProps } from '../../_internal/helpers/extractProps'\nimport { Spinner } from '../spinner/Spinner'\nimport { buttonPropDefs } from './button.props'\n\nimport type { GetPropDefTypes } from '../../_internal/props/propDef'\n\ntype ButtonElement = React.ComponentRef<'button'>\ntype ButtonOwnProps = GetPropDefTypes<typeof buttonPropDefs> & {\n leadingIcon?: React.ReactNode\n trailingIcon?: React.ReactNode\n}\n\ninterface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, ButtonOwnProps {}\n\n// asChild seam (slot 1.4.0 Slottable render-fn): a slotted host element carries\n// its children raw, so label text rules never reach it. A single supplied\n// element goes through the render-fn form, which wraps the host's own children\n// in `__label` \u2014 props and ref still land on the host via Slot. Fragments,\n// arrays and bare text keep the plain Slottable path exactly as before.\nfunction renderAsChildLabel(children: React.ReactNode): React.ReactNode {\n if (!React.isValidElement(children) || children.type === React.Fragment) {\n return <Slottable>{children}</Slottable>\n }\n return (\n <Slottable child={children}>\n {(slottable) => <span className=\"dsx-button__label\">{slottable}</span>}\n </Slottable>\n )\n}\n\nconst Button = React.forwardRef<ButtonElement, ButtonProps>((props, forwardedRef) => {\n const {\n asChild,\n children,\n className,\n color,\n highContrast = false,\n halo = false,\n leadingIcon,\n loading = false,\n radius = 'md',\n size = 'md',\n trailingIcon,\n type = 'button',\n variant = 'primary',\n ...buttonProps\n } = extractProps(props, buttonPropDefs)\n const spinnerSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <BaseButton\n {...buttonProps}\n ref={forwardedRef}\n asChild={asChild}\n loading={loading}\n type={asChild ? undefined : type}\n className={classNames('dsx-button', className)}\n data-accent-color={color}\n data-halo={halo || undefined}\n data-high-contrast={highContrast ? 'true' : undefined}\n data-radius={radius}\n data-size={size}\n data-variant={variant}\n >\n {!asChild && loading ? (\n <span aria-hidden=\"true\" className=\"dsx-button__spinner\">\n <Spinner className=\"dsx-button__spinner-indicator\" size={spinnerSize} />\n </span>\n ) : null}\n {asChild ? (\n renderAsChildLabel(children)\n ) : (\n <span className=\"dsx-button__content\">\n {leadingIcon ? <span className=\"dsx-button__icon\">{leadingIcon}</span> : null}\n <span className=\"dsx-button__label\">{children}</span>\n {trailingIcon ? <span className=\"dsx-button__icon\">{trailingIcon}</span> : null}\n </span>\n )}\n </BaseButton>\n )\n})\nButton.displayName = 'Button'\n\nexport { Button }\nexport type { ButtonOwnProps, ButtonProps }\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,wBAAuB;AACvB,wBAA0B;AAE1B,wBAA2B;AAC3B,0BAA6B;AAC7B,qBAAwB;AACxB,oBAA+B;AAmBpB;AAFX,SAAS,mBAAmB,UAA4C;AACtE,MAAI,CAAC,MAAM,eAAe,QAAQ,KAAK,SAAS,SAAS,MAAM,UAAU;AACvE,WAAO,4CAAC,+BAAW,UAAS;AAAA,EAC9B;AACA,SACE,4CAAC,+BAAU,OAAO,UACf,WAAC,cAAc,4CAAC,UAAK,WAAU,qBAAqB,qBAAU,GACjE;AAEJ;AAEA,MAAM,SAAS,MAAM,WAAuC,CAAC,OAAO,iBAAiB;AACnF,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,OAAO;AAAA,IACP;AAAA,IACA,UAAU;AAAA,IACV,SAAS;AAAA,IACT,OAAO;AAAA,IACP;AAAA,IACA,OAAO;AAAA,IACP,UAAU;AAAA,IACV,GAAG;AAAA,EACL,QAAI,kCAAa,OAAO,4BAAc;AACtC,QAAM,cAAc,SAAS,OAAO,OAAO;AAE3C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,MAAM,UAAU,SAAY;AAAA,MAC5B,eAAW,kBAAAA,SAAW,cAAc,SAAS;AAAA,MAC7C,qBAAmB;AAAA,MACnB,aAAW,QAAQ;AAAA,MACnB,sBAAoB,eAAe,SAAS;AAAA,MAC5C,eAAa;AAAA,MACb,aAAW;AAAA,MACX,gBAAc;AAAA,MAEb;AAAA,SAAC,WAAW,UACX,4CAAC,UAAK,eAAY,QAAO,WAAU,uBACjC,sDAAC,0BAAQ,WAAU,iCAAgC,MAAM,aAAa,GACxE,IACE;AAAA,QACH,UACC,mBAAmB,QAAQ,IAE3B,6CAAC,UAAK,WAAU,uBACb;AAAA,wBAAc,4CAAC,UAAK,WAAU,oBAAoB,uBAAY,IAAU;AAAA,UACzE,4CAAC,UAAK,WAAU,qBAAqB,UAAS;AAAA,UAC7C,eAAe,4CAAC,UAAK,WAAU,oBAAoB,wBAAa,IAAU;AAAA,WAC7E;AAAA;AAAA;AAAA,EAEJ;AAEJ,CAAC;AACD,OAAO,cAAc;",
|
|
6
6
|
"names": ["classNames"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.cts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;
|
|
1
|
+
{"version":3,"file":"Button.d.cts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;AAkBxG,QAAA,MAAM,MAAM,uFAkDV,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.mts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;
|
|
1
|
+
{"version":3,"file":"Button.d.mts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;AAkBxG,QAAA,MAAM,MAAM,uFAkDV,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAGpE,KAAK,cAAc,GAAG,eAAe,CAAC,OAAO,cAAc,CAAC,GAAG;IAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC/B,CAAA;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc;CAAG;AAkBxG,QAAA,MAAM,MAAM,uFAkDV,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -6,6 +6,12 @@ import { extractProps } from "../../_internal/helpers/extractProps.js";
|
|
|
6
6
|
import { Spinner } from "../spinner/Spinner.js";
|
|
7
7
|
import { buttonPropDefs } from "./button.props.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
function renderAsChildLabel(children) {
|
|
10
|
+
if (!React.isValidElement(children) || children.type === React.Fragment) {
|
|
11
|
+
return /* @__PURE__ */ jsx(Slottable, { children });
|
|
12
|
+
}
|
|
13
|
+
return /* @__PURE__ */ jsx(Slottable, { child: children, children: (slottable) => /* @__PURE__ */ jsx("span", { className: "dsx-button__label", children: slottable }) });
|
|
14
|
+
}
|
|
9
15
|
const Button = React.forwardRef((props, forwardedRef) => {
|
|
10
16
|
const {
|
|
11
17
|
asChild,
|
|
@@ -41,7 +47,7 @@ const Button = React.forwardRef((props, forwardedRef) => {
|
|
|
41
47
|
"data-variant": variant,
|
|
42
48
|
children: [
|
|
43
49
|
!asChild && loading ? /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "dsx-button__spinner", children: /* @__PURE__ */ jsx(Spinner, { className: "dsx-button__spinner-indicator", size: spinnerSize }) }) : null,
|
|
44
|
-
asChild ?
|
|
50
|
+
asChild ? renderAsChildLabel(children) : /* @__PURE__ */ jsxs("span", { className: "dsx-button__content", children: [
|
|
45
51
|
leadingIcon ? /* @__PURE__ */ jsx("span", { className: "dsx-button__icon", children: leadingIcon }) : null,
|
|
46
52
|
/* @__PURE__ */ jsx("span", { className: "dsx-button__label", children }),
|
|
47
53
|
trailingIcon ? /* @__PURE__ */ jsx("span", { className: "dsx-button__icon", children: trailingIcon }) : null
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/button/Button.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react'\nimport classNames from 'classnames'\nimport { Slottable } from '@radix-ui/react-slot'\n\nimport { BaseButton } from '../../_internal/BaseButton'\nimport { extractProps } from '../../_internal/helpers/extractProps'\nimport { Spinner } from '../spinner/Spinner'\nimport { buttonPropDefs } from './button.props'\n\nimport type { GetPropDefTypes } from '../../_internal/props/propDef'\n\ntype ButtonElement = React.ComponentRef<'button'>\ntype ButtonOwnProps = GetPropDefTypes<typeof buttonPropDefs> & {\n leadingIcon?: React.ReactNode\n trailingIcon?: React.ReactNode\n}\n\ninterface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, ButtonOwnProps {}\n\nconst Button = React.forwardRef<ButtonElement, ButtonProps>((props, forwardedRef) => {\n const {\n asChild,\n children,\n className,\n color,\n highContrast = false,\n halo = false,\n leadingIcon,\n loading = false,\n radius = 'md',\n size = 'md',\n trailingIcon,\n type = 'button',\n variant = 'primary',\n ...buttonProps\n } = extractProps(props, buttonPropDefs)\n const spinnerSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <BaseButton\n {...buttonProps}\n ref={forwardedRef}\n asChild={asChild}\n loading={loading}\n type={asChild ? undefined : type}\n className={classNames('dsx-button', className)}\n data-accent-color={color}\n data-halo={halo || undefined}\n data-high-contrast={highContrast ? 'true' : undefined}\n data-radius={radius}\n data-size={size}\n data-variant={variant}\n >\n {!asChild && loading ? (\n <span aria-hidden=\"true\" className=\"dsx-button__spinner\">\n <Spinner className=\"dsx-button__spinner-indicator\" size={spinnerSize} />\n </span>\n ) : null}\n {asChild ? (\n
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;AACvB,OAAO,gBAAgB;AACvB,SAAS,iBAAiB;AAE1B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,eAAe;AACxB,SAAS,sBAAsB;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react'\nimport classNames from 'classnames'\nimport { Slottable } from '@radix-ui/react-slot'\n\nimport { BaseButton } from '../../_internal/BaseButton'\nimport { extractProps } from '../../_internal/helpers/extractProps'\nimport { Spinner } from '../spinner/Spinner'\nimport { buttonPropDefs } from './button.props'\n\nimport type { GetPropDefTypes } from '../../_internal/props/propDef'\n\ntype ButtonElement = React.ComponentRef<'button'>\ntype ButtonOwnProps = GetPropDefTypes<typeof buttonPropDefs> & {\n leadingIcon?: React.ReactNode\n trailingIcon?: React.ReactNode\n}\n\ninterface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, ButtonOwnProps {}\n\n// asChild seam (slot 1.4.0 Slottable render-fn): a slotted host element carries\n// its children raw, so label text rules never reach it. A single supplied\n// element goes through the render-fn form, which wraps the host's own children\n// in `__label` \u2014 props and ref still land on the host via Slot. Fragments,\n// arrays and bare text keep the plain Slottable path exactly as before.\nfunction renderAsChildLabel(children: React.ReactNode): React.ReactNode {\n if (!React.isValidElement(children) || children.type === React.Fragment) {\n return <Slottable>{children}</Slottable>\n }\n return (\n <Slottable child={children}>\n {(slottable) => <span className=\"dsx-button__label\">{slottable}</span>}\n </Slottable>\n )\n}\n\nconst Button = React.forwardRef<ButtonElement, ButtonProps>((props, forwardedRef) => {\n const {\n asChild,\n children,\n className,\n color,\n highContrast = false,\n halo = false,\n leadingIcon,\n loading = false,\n radius = 'md',\n size = 'md',\n trailingIcon,\n type = 'button',\n variant = 'primary',\n ...buttonProps\n } = extractProps(props, buttonPropDefs)\n const spinnerSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <BaseButton\n {...buttonProps}\n ref={forwardedRef}\n asChild={asChild}\n loading={loading}\n type={asChild ? undefined : type}\n className={classNames('dsx-button', className)}\n data-accent-color={color}\n data-halo={halo || undefined}\n data-high-contrast={highContrast ? 'true' : undefined}\n data-radius={radius}\n data-size={size}\n data-variant={variant}\n >\n {!asChild && loading ? (\n <span aria-hidden=\"true\" className=\"dsx-button__spinner\">\n <Spinner className=\"dsx-button__spinner-indicator\" size={spinnerSize} />\n </span>\n ) : null}\n {asChild ? (\n renderAsChildLabel(children)\n ) : (\n <span className=\"dsx-button__content\">\n {leadingIcon ? <span className=\"dsx-button__icon\">{leadingIcon}</span> : null}\n <span className=\"dsx-button__label\">{children}</span>\n {trailingIcon ? <span className=\"dsx-button__icon\">{trailingIcon}</span> : null}\n </span>\n )}\n </BaseButton>\n )\n})\nButton.displayName = 'Button'\n\nexport { Button }\nexport type { ButtonOwnProps, ButtonProps }\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AACvB,OAAO,gBAAgB;AACvB,SAAS,iBAAiB;AAE1B,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,eAAe;AACxB,SAAS,sBAAsB;AAmBpB,cAmDH,YAnDG;AAFX,SAAS,mBAAmB,UAA4C;AACtE,MAAI,CAAC,MAAM,eAAe,QAAQ,KAAK,SAAS,SAAS,MAAM,UAAU;AACvE,WAAO,oBAAC,aAAW,UAAS;AAAA,EAC9B;AACA,SACE,oBAAC,aAAU,OAAO,UACf,WAAC,cAAc,oBAAC,UAAK,WAAU,qBAAqB,qBAAU,GACjE;AAEJ;AAEA,MAAM,SAAS,MAAM,WAAuC,CAAC,OAAO,iBAAiB;AACnF,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,OAAO;AAAA,IACP;AAAA,IACA,UAAU;AAAA,IACV,SAAS;AAAA,IACT,OAAO;AAAA,IACP;AAAA,IACA,OAAO;AAAA,IACP,UAAU;AAAA,IACV,GAAG;AAAA,EACL,IAAI,aAAa,OAAO,cAAc;AACtC,QAAM,cAAc,SAAS,OAAO,OAAO;AAE3C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,MAAM,UAAU,SAAY;AAAA,MAC5B,WAAW,WAAW,cAAc,SAAS;AAAA,MAC7C,qBAAmB;AAAA,MACnB,aAAW,QAAQ;AAAA,MACnB,sBAAoB,eAAe,SAAS;AAAA,MAC5C,eAAa;AAAA,MACb,aAAW;AAAA,MACX,gBAAc;AAAA,MAEb;AAAA,SAAC,WAAW,UACX,oBAAC,UAAK,eAAY,QAAO,WAAU,uBACjC,8BAAC,WAAQ,WAAU,iCAAgC,MAAM,aAAa,GACxE,IACE;AAAA,QACH,UACC,mBAAmB,QAAQ,IAE3B,qBAAC,UAAK,WAAU,uBACb;AAAA,wBAAc,oBAAC,UAAK,WAAU,oBAAoB,uBAAY,IAAU;AAAA,UACzE,oBAAC,UAAK,WAAU,qBAAqB,UAAS;AAAA,UAC7C,eAAe,oBAAC,UAAK,WAAU,oBAAoB,wBAAa,IAAU;AAAA,WAC7E;AAAA;AAAA;AAAA,EAEJ;AAEJ,CAAC;AACD,OAAO,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const buttonPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["primary", "secondary", "ghost", "destructive", "outline"];
|
|
@@ -27,14 +35,6 @@ declare const buttonPropDefs: {
|
|
|
27
35
|
type: "boolean";
|
|
28
36
|
default: false;
|
|
29
37
|
};
|
|
30
|
-
highContrast: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
default: false;
|
|
33
|
-
};
|
|
34
|
-
asChild: {
|
|
35
|
-
type: "boolean";
|
|
36
|
-
default: false;
|
|
37
|
-
};
|
|
38
38
|
};
|
|
39
39
|
export { buttonPropDefs };
|
|
40
40
|
//# sourceMappingURL=button.props.d.cts.map
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const buttonPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["primary", "secondary", "ghost", "destructive", "outline"];
|
|
@@ -27,14 +35,6 @@ declare const buttonPropDefs: {
|
|
|
27
35
|
type: "boolean";
|
|
28
36
|
default: false;
|
|
29
37
|
};
|
|
30
|
-
highContrast: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
default: false;
|
|
33
|
-
};
|
|
34
|
-
asChild: {
|
|
35
|
-
type: "boolean";
|
|
36
|
-
default: false;
|
|
37
|
-
};
|
|
38
38
|
};
|
|
39
39
|
export { buttonPropDefs };
|
|
40
40
|
//# sourceMappingURL=button.props.d.mts.map
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const buttonPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["primary", "secondary", "ghost", "destructive", "outline"];
|
|
@@ -27,14 +35,6 @@ declare const buttonPropDefs: {
|
|
|
27
35
|
type: "boolean";
|
|
28
36
|
default: false;
|
|
29
37
|
};
|
|
30
|
-
highContrast: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
default: false;
|
|
33
|
-
};
|
|
34
|
-
asChild: {
|
|
35
|
-
type: "boolean";
|
|
36
|
-
default: false;
|
|
37
|
-
};
|
|
38
38
|
};
|
|
39
39
|
export { buttonPropDefs };
|
|
40
40
|
//# sourceMappingURL=button.props.d.ts.map
|
|
@@ -321,9 +321,17 @@
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.dsx-button__label {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
/* Block, not flex: the label's text must wrap as block text so `text-wrap`
|
|
325
|
+
steers it (auth closeout 2026-10-08, Primer/Spectrum precedent — a flex
|
|
326
|
+
container's anonymous item ignores text-wrap). The label stays a flex
|
|
327
|
+
*item* of __content, so parent centering and icon siblings are untouched.
|
|
328
|
+
Narrow multi-line labels break without orphans (`pretty`); single-line
|
|
329
|
+
labels — nearly all Buttons — render byte-identical. Known limit
|
|
330
|
+
(Spectrum's lesson): element children composed inside the label don't get
|
|
331
|
+
top-aligned icons; `leadingIcon`/`trailingIcon` props bypass the label. */
|
|
332
|
+
display: block;
|
|
333
|
+
text-align: center;
|
|
334
|
+
text-wrap: pretty;
|
|
327
335
|
}
|
|
328
336
|
|
|
329
337
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
declare const calendarSizes: readonly [
|
|
1
|
+
declare const calendarSizes: readonly ['sm', 'md', 'lg'];
|
|
2
2
|
declare const calendarPropDefs: {
|
|
3
|
+
asChild: {
|
|
4
|
+
type: "boolean";
|
|
5
|
+
default: false;
|
|
6
|
+
};
|
|
3
7
|
size: {
|
|
4
8
|
type: "enum";
|
|
5
9
|
values: readonly ["sm", "md", "lg"];
|
|
@@ -10,10 +14,6 @@ declare const calendarPropDefs: {
|
|
|
10
14
|
values: readonly [];
|
|
11
15
|
default: undefined;
|
|
12
16
|
};
|
|
13
|
-
asChild: {
|
|
14
|
-
type: "boolean";
|
|
15
|
-
default: false;
|
|
16
|
-
};
|
|
17
17
|
};
|
|
18
18
|
export { calendarPropDefs, calendarSizes };
|
|
19
19
|
//# sourceMappingURL=calendar.props.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.props.d.cts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"calendar.props.d.cts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAA;AAEjD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;CAgBrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
declare const calendarSizes: readonly [
|
|
1
|
+
declare const calendarSizes: readonly ['sm', 'md', 'lg'];
|
|
2
2
|
declare const calendarPropDefs: {
|
|
3
|
+
asChild: {
|
|
4
|
+
type: "boolean";
|
|
5
|
+
default: false;
|
|
6
|
+
};
|
|
3
7
|
size: {
|
|
4
8
|
type: "enum";
|
|
5
9
|
values: readonly ["sm", "md", "lg"];
|
|
@@ -10,10 +14,6 @@ declare const calendarPropDefs: {
|
|
|
10
14
|
values: readonly [];
|
|
11
15
|
default: undefined;
|
|
12
16
|
};
|
|
13
|
-
asChild: {
|
|
14
|
-
type: "boolean";
|
|
15
|
-
default: false;
|
|
16
|
-
};
|
|
17
17
|
};
|
|
18
18
|
export { calendarPropDefs, calendarSizes };
|
|
19
19
|
//# sourceMappingURL=calendar.props.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.props.d.mts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"calendar.props.d.mts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAA;AAEjD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;CAgBrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
declare const calendarSizes: readonly [
|
|
1
|
+
declare const calendarSizes: readonly ['sm', 'md', 'lg'];
|
|
2
2
|
declare const calendarPropDefs: {
|
|
3
|
+
asChild: {
|
|
4
|
+
type: "boolean";
|
|
5
|
+
default: false;
|
|
6
|
+
};
|
|
3
7
|
size: {
|
|
4
8
|
type: "enum";
|
|
5
9
|
values: readonly ["sm", "md", "lg"];
|
|
@@ -10,10 +14,6 @@ declare const calendarPropDefs: {
|
|
|
10
14
|
values: readonly [];
|
|
11
15
|
default: undefined;
|
|
12
16
|
};
|
|
13
|
-
asChild: {
|
|
14
|
-
type: "boolean";
|
|
15
|
-
default: false;
|
|
16
|
-
};
|
|
17
17
|
};
|
|
18
18
|
export { calendarPropDefs, calendarSizes };
|
|
19
19
|
//# sourceMappingURL=calendar.props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.props.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"calendar.props.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.props.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAA;AAEjD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;CAgBrB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const calloutPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["soft", "surface", "outline"];
|
|
@@ -19,14 +27,6 @@ declare const calloutPropDefs: {
|
|
|
19
27
|
values: readonly ["info", "warning", "success", "danger"];
|
|
20
28
|
default: "info";
|
|
21
29
|
};
|
|
22
|
-
highContrast: {
|
|
23
|
-
type: "boolean";
|
|
24
|
-
default: false;
|
|
25
|
-
};
|
|
26
|
-
asChild: {
|
|
27
|
-
type: "boolean";
|
|
28
|
-
default: false;
|
|
29
|
-
};
|
|
30
30
|
};
|
|
31
31
|
declare const calloutIconPropDefs: {};
|
|
32
32
|
declare const calloutTextPropDefs: {};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const calloutPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["soft", "surface", "outline"];
|
|
@@ -19,14 +27,6 @@ declare const calloutPropDefs: {
|
|
|
19
27
|
values: readonly ["info", "warning", "success", "danger"];
|
|
20
28
|
default: "info";
|
|
21
29
|
};
|
|
22
|
-
highContrast: {
|
|
23
|
-
type: "boolean";
|
|
24
|
-
default: false;
|
|
25
|
-
};
|
|
26
|
-
asChild: {
|
|
27
|
-
type: "boolean";
|
|
28
|
-
default: false;
|
|
29
|
-
};
|
|
30
30
|
};
|
|
31
31
|
declare const calloutIconPropDefs: {};
|
|
32
32
|
declare const calloutTextPropDefs: {};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const calloutPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
highContrast: {
|
|
7
|
+
type: "boolean";
|
|
8
|
+
default: false;
|
|
9
|
+
};
|
|
2
10
|
variant: {
|
|
3
11
|
type: "enum";
|
|
4
12
|
values: readonly ["soft", "surface", "outline"];
|
|
@@ -19,14 +27,6 @@ declare const calloutPropDefs: {
|
|
|
19
27
|
values: readonly ["info", "warning", "success", "danger"];
|
|
20
28
|
default: "info";
|
|
21
29
|
};
|
|
22
|
-
highContrast: {
|
|
23
|
-
type: "boolean";
|
|
24
|
-
default: false;
|
|
25
|
-
};
|
|
26
|
-
asChild: {
|
|
27
|
-
type: "boolean";
|
|
28
|
-
default: false;
|
|
29
|
-
};
|
|
30
30
|
};
|
|
31
31
|
declare const calloutIconPropDefs: {};
|
|
32
32
|
declare const calloutTextPropDefs: {};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const cardPropDefs: {
|
|
2
|
+
asChild: {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
2
6
|
variant: {
|
|
3
7
|
type: "enum | string";
|
|
4
8
|
values: readonly ["default", "glass", "elevated", "filled"];
|
|
@@ -25,10 +29,6 @@ declare const cardPropDefs: {
|
|
|
25
29
|
type: "boolean";
|
|
26
30
|
default: true;
|
|
27
31
|
};
|
|
28
|
-
asChild: {
|
|
29
|
-
type: "boolean";
|
|
30
|
-
default: false;
|
|
31
|
-
};
|
|
32
32
|
};
|
|
33
33
|
declare const cardHeaderPropDefs: {
|
|
34
34
|
asChild: {
|