@usefragments/ui 1.7.0 → 2.0.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 +54 -66
- package/dist/assets/nav-glyph.cjs +139 -0
- package/dist/assets/nav-glyph.d.ts +28 -0
- package/dist/assets/nav-glyph.d.ts.map +1 -0
- package/dist/assets/nav-glyph.js +139 -0
- package/dist/assets/nav-glyph.module.scss.cjs +71 -0
- package/dist/assets/nav-glyph.module.scss.js +71 -0
- package/dist/assets/ui.css +4975 -4959
- package/dist/blocks/components/StatsCard.d.ts +1 -1
- package/dist/blocks/components/StatsCard.d.ts.map +1 -1
- package/dist/codeblock.cjs +23 -16
- package/dist/codeblock.js +16 -9
- package/dist/colorpicker.cjs +1 -0
- package/dist/colorpicker.js +1 -0
- package/dist/components/Accordion/Accordion.module.scss.cjs +8 -8
- package/dist/components/Accordion/Accordion.module.scss.js +8 -8
- package/dist/components/Alert/Alert.module.scss.cjs +21 -21
- package/dist/components/Alert/Alert.module.scss.js +21 -21
- package/dist/components/Alert/index.cjs +14 -8
- package/dist/components/Alert/index.d.ts +9 -9
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/index.js +14 -8
- package/dist/components/AppShell/AppShell.module.scss.cjs +14 -14
- package/dist/components/AppShell/AppShell.module.scss.js +14 -14
- package/dist/components/AppShell/index.cjs +2 -2
- package/dist/components/AppShell/index.js +2 -2
- package/dist/components/Avatar/Avatar.module.scss.cjs +14 -14
- package/dist/components/Avatar/Avatar.module.scss.js +14 -14
- package/dist/components/Badge/Badge.module.scss.cjs +33 -31
- package/dist/components/Badge/Badge.module.scss.js +33 -31
- package/dist/components/Badge/index.cjs +13 -3
- package/dist/components/Badge/index.d.ts +18 -13
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +13 -3
- package/dist/components/BentoGrid/BentoGrid.module.scss.cjs +14 -14
- package/dist/components/BentoGrid/BentoGrid.module.scss.js +14 -14
- package/dist/components/Box/Box.module.scss.cjs +152 -152
- package/dist/components/Box/Box.module.scss.js +152 -152
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs +11 -8
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.js +11 -8
- package/dist/components/Breadcrumbs/index.cjs +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/Button.module.scss.cjs +36 -27
- package/dist/components/Button/Button.module.scss.js +36 -27
- package/dist/components/Button/index.cjs +20 -4
- package/dist/components/Button/index.d.ts +18 -10
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +20 -4
- package/dist/components/ButtonGroup/ButtonGroup.module.scss.cjs +15 -15
- package/dist/components/ButtonGroup/ButtonGroup.module.scss.js +15 -15
- package/dist/components/Card/Card.module.scss.cjs +27 -34
- package/dist/components/Card/Card.module.scss.js +27 -34
- package/dist/components/Card/index.cjs +13 -8
- package/dist/components/Card/index.d.ts +23 -25
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/index.js +13 -8
- package/dist/components/Chart/Chart.module.scss.cjs +15 -15
- package/dist/components/Chart/Chart.module.scss.js +15 -15
- package/dist/components/Checkbox/Checkbox.module.scss.cjs +11 -11
- package/dist/components/Checkbox/Checkbox.module.scss.js +11 -11
- package/dist/components/Checkbox/index.cjs +2 -2
- package/dist/components/Checkbox/index.d.ts +4 -6
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/Chip/Chip.module.scss.cjs +19 -19
- package/dist/components/Chip/Chip.module.scss.js +19 -19
- package/dist/components/Chip/index.cjs +1 -2
- package/dist/components/Chip/index.d.ts +8 -3
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/index.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.module.scss.cjs +22 -22
- package/dist/components/CodeBlock/CodeBlock.module.scss.js +22 -22
- package/dist/components/CodeBlock/index.d.ts +3 -2
- package/dist/components/CodeBlock/index.d.ts.map +1 -1
- package/dist/components/Collapsible/Collapsible.module.scss.cjs +9 -9
- package/dist/components/Collapsible/Collapsible.module.scss.js +9 -9
- package/dist/components/ColorPicker/ColorPicker.module.scss.cjs +14 -14
- package/dist/components/ColorPicker/ColorPicker.module.scss.js +14 -14
- package/dist/components/ColorPicker/index.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.module.scss.cjs +21 -21
- package/dist/components/Combobox/Combobox.module.scss.js +21 -21
- package/dist/components/Combobox/index.cjs +9 -5
- package/dist/components/Combobox/index.d.ts.map +1 -1
- package/dist/components/Combobox/index.js +9 -5
- package/dist/components/Command/Command.module.scss.cjs +14 -11
- package/dist/components/Command/Command.module.scss.js +14 -11
- package/dist/components/Command/index.cjs +2 -1
- package/dist/components/Command/index.d.ts +6 -1
- package/dist/components/Command/index.d.ts.map +1 -1
- package/dist/components/Command/index.js +2 -1
- package/dist/components/ConversationList/ConversationList.module.scss.cjs +10 -10
- package/dist/components/ConversationList/ConversationList.module.scss.js +10 -10
- package/dist/components/ConversationList/index.cjs +2 -2
- package/dist/components/ConversationList/index.js +2 -2
- package/dist/components/DataTable/DataTable.module.scss.cjs +31 -28
- package/dist/components/DataTable/DataTable.module.scss.js +31 -28
- package/dist/components/DataTable/DataTable.virtual.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs +33 -33
- package/dist/components/DatePicker/DatePicker.module.scss.js +33 -33
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.module.scss.cjs +14 -14
- package/dist/components/Dialog/Dialog.module.scss.js +14 -14
- package/dist/components/Dialog/index.cjs +2 -2
- package/dist/components/Dialog/index.d.ts +5 -4
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Drawer/Drawer.module.scss.cjs +39 -39
- package/dist/components/Drawer/Drawer.module.scss.js +40 -40
- package/dist/components/Drawer/index.cjs +2 -2
- package/dist/components/Drawer/index.d.ts +5 -4
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/Editor/Editor.module.scss.cjs +17 -17
- package/dist/components/Editor/Editor.module.scss.js +17 -17
- package/dist/components/EmptyState/EmptyState.module.scss.cjs +11 -11
- package/dist/components/EmptyState/EmptyState.module.scss.js +11 -11
- package/dist/components/EmptyState/index.cjs +9 -4
- package/dist/components/EmptyState/index.d.ts +8 -5
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/EmptyState/index.js +9 -4
- package/dist/components/Field/Field.module.scss.cjs +5 -5
- package/dist/components/Field/Field.module.scss.js +5 -5
- package/dist/components/Fieldset/Fieldset.module.scss.cjs +3 -3
- package/dist/components/Fieldset/Fieldset.module.scss.js +3 -3
- package/dist/components/Grid/Grid.module.scss.cjs +54 -54
- package/dist/components/Grid/Grid.module.scss.js +54 -54
- package/dist/components/Header/Header.module.scss.cjs +33 -33
- package/dist/components/Header/Header.module.scss.js +33 -33
- package/dist/components/Icon/Icon.module.scss.cjs +30 -33
- package/dist/components/Icon/Icon.module.scss.js +30 -33
- package/dist/components/Icon/index.cjs +15 -14
- package/dist/components/Icon/index.d.ts +23 -12
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +15 -14
- package/dist/components/IconButton/IconButton.module.scss.cjs +12 -12
- package/dist/components/IconButton/IconButton.module.scss.js +12 -12
- package/dist/components/IconButton/index.d.ts +4 -4
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/Input/Input.module.scss.cjs +15 -21
- package/dist/components/Input/Input.module.scss.js +15 -21
- package/dist/components/Input/index.cjs +2 -14
- package/dist/components/Input/index.d.ts +0 -2
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js +2 -14
- package/dist/components/Link/Link.module.scss.cjs +24 -16
- package/dist/components/Link/Link.module.scss.js +24 -16
- package/dist/components/Link/index.cjs +13 -2
- package/dist/components/Link/index.d.ts +10 -3
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +13 -2
- package/dist/components/List/List.module.scss.cjs +23 -19
- package/dist/components/List/List.module.scss.js +23 -19
- package/dist/components/List/index.cjs +7 -7
- package/dist/components/List/index.d.ts +10 -7
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +7 -7
- package/dist/components/Listbox/Listbox.module.scss.cjs +8 -8
- package/dist/components/Listbox/Listbox.module.scss.js +8 -8
- package/dist/components/Loading/Loading.module.scss.cjs +30 -30
- package/dist/components/Loading/Loading.module.scss.js +30 -30
- package/dist/components/Loading/index.cjs +5 -5
- package/dist/components/Loading/index.d.ts +8 -7
- package/dist/components/Loading/index.d.ts.map +1 -1
- package/dist/components/Loading/index.js +5 -5
- package/dist/components/Markdown/Markdown.module.scss.cjs +1 -1
- package/dist/components/Markdown/Markdown.module.scss.js +1 -1
- package/dist/components/Menu/Menu.module.scss.cjs +14 -14
- package/dist/components/Menu/Menu.module.scss.js +14 -14
- package/dist/components/Message/Message.module.scss.cjs +20 -20
- package/dist/components/Message/Message.module.scss.js +20 -20
- package/dist/components/Message/index.cjs +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.js +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.cjs +29 -29
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.js +29 -29
- package/dist/components/Pagination/Pagination.module.scss.cjs +10 -10
- package/dist/components/Pagination/Pagination.module.scss.js +10 -10
- package/dist/components/Popover/Popover.module.scss.cjs +10 -10
- package/dist/components/Popover/Popover.module.scss.js +10 -10
- package/dist/components/Progress/Progress.module.scss.cjs +28 -25
- package/dist/components/Progress/Progress.module.scss.js +28 -25
- package/dist/components/Progress/index.cjs +21 -12
- package/dist/components/Progress/index.d.ts +10 -6
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +21 -12
- package/dist/components/Prompt/Prompt.module.scss.cjs +30 -30
- package/dist/components/Prompt/Prompt.module.scss.js +30 -30
- package/dist/components/Prompt/index.cjs +7 -7
- package/dist/components/Prompt/index.d.ts +11 -9
- package/dist/components/Prompt/index.d.ts.map +1 -1
- package/dist/components/Prompt/index.js +7 -7
- package/dist/components/RadioGroup/RadioGroup.module.scss.cjs +20 -17
- package/dist/components/RadioGroup/RadioGroup.module.scss.js +20 -17
- package/dist/components/RadioGroup/index.cjs +10 -5
- package/dist/components/RadioGroup/index.d.ts +11 -7
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +10 -5
- package/dist/components/ScrollArea/ScrollArea.module.scss.cjs +5 -5
- package/dist/components/ScrollArea/ScrollArea.module.scss.js +5 -5
- package/dist/components/Select/Select.module.scss.cjs +21 -21
- package/dist/components/Select/Select.module.scss.js +21 -21
- package/dist/components/Select/index.cjs +26 -20
- package/dist/components/Select/index.d.ts +5 -5
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +26 -20
- package/dist/components/Separator/Separator.module.scss.cjs +25 -19
- package/dist/components/Separator/Separator.module.scss.js +25 -19
- package/dist/components/Separator/index.cjs +10 -8
- package/dist/components/Separator/index.d.ts +4 -2
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/index.js +10 -8
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +43 -43
- package/dist/components/Sidebar/Sidebar.module.scss.js +43 -43
- package/dist/components/Sidebar/index.cjs +3 -3
- package/dist/components/Sidebar/index.js +3 -3
- package/dist/components/Skeleton/Skeleton.module.scss.cjs +46 -46
- package/dist/components/Skeleton/Skeleton.module.scss.js +46 -46
- package/dist/components/Skeleton/index.cjs +7 -7
- package/dist/components/Skeleton/index.d.ts +8 -7
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +7 -7
- package/dist/components/Slider/Slider.module.scss.cjs +12 -12
- package/dist/components/Slider/Slider.module.scss.js +12 -12
- package/dist/components/Switch/Switch.module.scss.cjs +9 -9
- package/dist/components/Switch/Switch.module.scss.js +9 -9
- package/dist/components/Table/Table.module.scss.cjs +15 -15
- package/dist/components/Table/Table.module.scss.js +15 -15
- package/dist/components/TableOfContents/TableOfContents.module.scss.cjs +15 -15
- package/dist/components/TableOfContents/TableOfContents.module.scss.js +15 -15
- package/dist/components/TableOfContents/index.cjs +1 -1
- package/dist/components/TableOfContents/index.js +1 -1
- package/dist/components/Tabs/Tabs.module.scss.cjs +18 -18
- package/dist/components/Tabs/Tabs.module.scss.js +18 -18
- package/dist/components/Tabs/index.cjs +5 -6
- package/dist/components/Tabs/index.d.ts +8 -6
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +5 -6
- package/dist/components/Text/Text.module.scss.cjs +105 -105
- package/dist/components/Text/Text.module.scss.js +105 -105
- package/dist/components/Text/index.cjs +5 -9
- package/dist/components/Text/index.d.ts +15 -11
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +5 -9
- package/dist/components/Textarea/Textarea.module.scss.cjs +22 -28
- package/dist/components/Textarea/Textarea.module.scss.js +22 -28
- package/dist/components/Textarea/index.cjs +3 -10
- package/dist/components/Textarea/index.d.ts +0 -2
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +3 -10
- package/dist/components/Theme/index.cjs +20 -4
- package/dist/components/Theme/index.d.ts +6 -12
- package/dist/components/Theme/index.d.ts.map +1 -1
- package/dist/components/Theme/index.js +20 -4
- package/dist/components/ThemeToggle/ThemeButton.cjs +51 -0
- package/dist/components/ThemeToggle/ThemeButton.d.ts +16 -0
- package/dist/components/ThemeToggle/ThemeButton.d.ts.map +1 -0
- package/dist/components/ThemeToggle/ThemeButton.js +34 -0
- package/dist/components/ThemeToggle/ThemeToggle.module.scss.cjs +6 -9
- package/dist/components/ThemeToggle/ThemeToggle.module.scss.js +6 -9
- package/dist/components/ThemeToggle/icons.cjs +48 -0
- package/dist/components/ThemeToggle/icons.d.ts +10 -0
- package/dist/components/ThemeToggle/icons.d.ts.map +1 -0
- package/dist/components/ThemeToggle/icons.js +48 -0
- package/dist/components/ThemeToggle/index.cjs +5 -74
- package/dist/components/ThemeToggle/index.d.ts +5 -8
- package/dist/components/ThemeToggle/index.d.ts.map +1 -1
- package/dist/components/ThemeToggle/index.js +3 -72
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.cjs +18 -15
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.js +18 -15
- package/dist/components/ThinkingIndicator/index.cjs +7 -8
- package/dist/components/ThinkingIndicator/index.d.ts +6 -5
- package/dist/components/ThinkingIndicator/index.d.ts.map +1 -1
- package/dist/components/ThinkingIndicator/index.js +7 -8
- package/dist/components/Toast/Toast.module.scss.cjs +28 -29
- package/dist/components/Toast/Toast.module.scss.js +29 -30
- package/dist/components/Toast/index.cjs +28 -30
- package/dist/components/Toast/index.d.ts +9 -8
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js +28 -30
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.cjs +21 -19
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.js +22 -20
- package/dist/components/ToggleGroup/index.cjs +4 -5
- package/dist/components/ToggleGroup/index.d.ts +7 -6
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +4 -5
- package/dist/components/Tooltip/Tooltip.module.scss.cjs +3 -3
- package/dist/components/Tooltip/Tooltip.module.scss.js +3 -3
- package/dist/components/VisuallyHidden/VisuallyHidden.module.scss.cjs +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.module.scss.js +1 -1
- package/dist/data-table-virtual.cjs +3 -2
- package/dist/data-table-virtual.js +3 -2
- package/dist/data-table.cjs +1 -1
- package/dist/data-table.js +1 -1
- package/dist/datepicker.cjs +23 -11
- package/dist/datepicker.js +23 -11
- package/dist/index.cjs +5 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/measurements/generated.cjs +37 -93
- package/dist/measurements/generated.d.ts +37 -92
- package/dist/measurements/generated.d.ts.map +1 -1
- package/dist/measurements/generated.js +37 -93
- package/dist/measurements/index.d.ts +1 -1
- package/dist/measurements/index.d.ts.map +1 -1
- package/dist/utils/seed-derivation.cjs +0 -1
- package/dist/utils/seed-derivation.d.ts +1 -3
- package/dist/utils/seed-derivation.d.ts.map +1 -1
- package/dist/utils/seed-derivation.js +0 -1
- package/dist/utils/theme-presets.cjs +5 -10
- package/dist/utils/theme-presets.d.ts +1 -2
- package/dist/utils/theme-presets.d.ts.map +1 -1
- package/dist/utils/theme-presets.js +5 -10
- package/fragments.json +1 -1
- package/package.json +5 -8
- package/src/assets/nav-glyph.module.scss +166 -0
- package/src/assets/nav-glyph.tsx +188 -0
- package/src/components/Accordion/Accordion.module.scss +5 -3
- package/src/components/Alert/Alert.contract.json +18 -18
- package/src/components/Alert/Alert.module.scss +50 -64
- package/src/components/Alert/index.tsx +24 -17
- package/src/components/AppShell/AppShell.contract.json +7 -7
- package/src/components/AppShell/AppShell.module.scss +49 -17
- package/src/components/AppShell/index.tsx +2 -2
- package/src/components/Avatar/Avatar.module.scss +0 -1
- package/src/components/Badge/Badge.contract.json +58 -22
- package/src/components/Badge/Badge.module.scss +72 -47
- package/src/components/Badge/index.tsx +34 -17
- package/src/components/BentoGrid/BentoGrid.module.scss +4 -8
- package/src/components/Box/Box.module.scss +7 -6
- package/src/components/Breadcrumbs/Breadcrumbs.module.scss +15 -5
- package/src/components/Breadcrumbs/index.tsx +5 -1
- package/src/components/Button/Button.module.scss +261 -186
- package/src/components/Button/index.tsx +41 -28
- package/src/components/ButtonGroup/ButtonGroup.contract.json +5 -5
- package/src/components/ButtonGroup/ButtonGroup.module.scss +8 -6
- package/src/components/Card/Card.consumer-fixture.module.scss +5 -2
- package/src/components/Card/Card.module.scss +73 -133
- package/src/components/Card/index.tsx +41 -36
- package/src/components/Chart/Chart.module.scss +6 -5
- package/src/components/Checkbox/Checkbox.contract.json +4 -3
- package/src/components/Checkbox/Checkbox.module.scss +16 -32
- package/src/components/Checkbox/index.tsx +6 -8
- package/src/components/Chip/Chip.contract.json +10 -10
- package/src/components/Chip/Chip.module.scss +23 -22
- package/src/components/Chip/index.tsx +10 -6
- package/src/components/CodeBlock/CodeBlock.module.scss +47 -70
- package/src/components/CodeBlock/index.tsx +23 -16
- package/src/components/Collapsible/Collapsible.module.scss +1 -7
- package/src/components/ColorPicker/ColorPicker.module.scss +20 -13
- package/src/components/ColorPicker/index.tsx +1 -0
- package/src/components/Combobox/Combobox.module.scss +16 -19
- package/src/components/Combobox/index.tsx +10 -1
- package/src/components/Command/Command.contract.json +7 -1
- package/src/components/Command/Command.module.scss +19 -21
- package/src/components/Command/index.tsx +7 -1
- package/src/components/ComponentDefaults/ComponentDefaults.contract.json +91 -0
- package/src/components/ConversationList/ConversationList.module.scss +2 -3
- package/src/components/ConversationList/index.tsx +2 -2
- package/src/components/DataTable/DataTable.module.scss +12 -9
- package/src/components/DataTable/DataTable.virtual.tsx +3 -2
- package/src/components/DataTable/index.tsx +1 -1
- package/src/components/DatePicker/DatePicker.module.scss +32 -42
- package/src/components/DatePicker/index.tsx +18 -7
- package/src/components/Dialog/Dialog.module.scss +23 -29
- package/src/components/Dialog/index.tsx +7 -5
- package/src/components/Drawer/Drawer.contract.json +6 -6
- package/src/components/Drawer/Drawer.module.scss +123 -64
- package/src/components/Drawer/index.tsx +7 -5
- package/src/components/Editor/Editor.contract.json +1 -1
- package/src/components/Editor/Editor.module.scss +26 -13
- package/src/components/EmptyState/EmptyState.contract.json +6 -6
- package/src/components/EmptyState/EmptyState.module.scss +31 -23
- package/src/components/EmptyState/index.tsx +17 -9
- package/src/components/Field/Field.module.scss +2 -1
- package/src/components/Fieldset/Fieldset.module.scss +5 -4
- package/src/components/Form/Form.contract.json +4 -4
- package/src/components/Grid/Grid.module.scss +2 -2
- package/src/components/Header/Header.contract.json +2 -2
- package/src/components/Header/Header.module.scss +24 -36
- package/src/components/Icon/Icon.contract.json +19 -23
- package/src/components/Icon/Icon.module.scss +13 -12
- package/src/components/Icon/index.tsx +31 -31
- package/src/components/IconButton/IconButton.contract.json +8 -8
- package/src/components/IconButton/IconButton.module.scss +13 -4
- package/src/components/IconButton/index.tsx +4 -4
- package/src/components/Input/Input.contract.json +0 -13
- package/src/components/Input/Input.module.scss +4 -54
- package/src/components/Input/index.tsx +2 -18
- package/src/components/Link/Link.contract.json +19 -11
- package/src/components/Link/Link.module.scss +24 -10
- package/src/components/Link/index.tsx +26 -5
- package/src/components/List/List.contract.json +11 -11
- package/src/components/List/List.module.scss +10 -5
- package/src/components/List/index.tsx +17 -13
- package/src/components/Listbox/Listbox.module.scss +14 -20
- package/src/components/Loading/Loading.contract.json +6 -6
- package/src/components/Loading/Loading.module.scss +29 -26
- package/src/components/Loading/index.tsx +13 -12
- package/src/components/Markdown/Markdown.module.scss +2 -1
- package/src/components/Menu/Menu.contract.json +5 -5
- package/src/components/Menu/Menu.module.scss +11 -10
- package/src/components/Message/Message.contract.json +5 -5
- package/src/components/Message/Message.module.scss +8 -6
- package/src/components/Message/index.tsx +2 -2
- package/src/components/NavigationMenu/NavigationMenu.module.scss +22 -67
- package/src/components/Pagination/Pagination.module.scss +7 -14
- package/src/components/Popover/Popover.contract.json +4 -4
- package/src/components/Popover/Popover.module.scss +24 -23
- package/src/components/Progress/Progress.contract.json +11 -11
- package/src/components/Progress/Progress.module.scss +13 -8
- package/src/components/Progress/index.tsx +34 -16
- package/src/components/Prompt/Prompt.contract.json +12 -12
- package/src/components/Prompt/Prompt.module.scss +40 -47
- package/src/components/Prompt/index.tsx +17 -15
- package/src/components/RadioGroup/RadioGroup.contract.json +6 -4
- package/src/components/RadioGroup/RadioGroup.module.scss +38 -32
- package/src/components/RadioGroup/index.tsx +23 -10
- package/src/components/ScrollArea/ScrollArea.module.scss +30 -33
- package/src/components/Select/Select.module.scss +19 -18
- package/src/components/Select/index.tsx +26 -24
- package/src/components/Separator/Separator.contract.json +10 -10
- package/src/components/Separator/Separator.module.scss +24 -40
- package/src/components/Separator/index.tsx +16 -11
- package/src/components/Sidebar/Sidebar.contract.json +1 -1
- package/src/components/Sidebar/Sidebar.module.scss +92 -95
- package/src/components/Sidebar/index.tsx +3 -3
- package/src/components/Skeleton/Skeleton.contract.json +9 -9
- package/src/components/Skeleton/Skeleton.module.scss +23 -16
- package/src/components/Skeleton/index.tsx +16 -15
- package/src/components/Slider/Slider.module.scss +6 -19
- package/src/components/Stack/Stack.contract.json +1 -1
- package/src/components/Stack/Stack.module.scss +13 -12
- package/src/components/Switch/Switch.module.scss +44 -35
- package/src/components/Table/Table.module.scss +9 -13
- package/src/components/TableOfContents/TableOfContents.module.scss +12 -18
- package/src/components/TableOfContents/index.tsx +1 -1
- package/src/components/Tabs/Tabs.contract.json +14 -14
- package/src/components/Tabs/Tabs.module.scss +27 -31
- package/src/components/Tabs/index.tsx +15 -12
- package/src/components/Text/Text.contract.json +36 -14
- package/src/components/Text/Text.module.scss +19 -20
- package/src/components/Text/index.tsx +23 -21
- package/src/components/Textarea/Textarea.contract.json +0 -13
- package/src/components/Textarea/Textarea.module.scss +24 -52
- package/src/components/Textarea/index.tsx +3 -14
- package/src/components/Theme/Theme.contract.json +9 -8
- package/src/components/Theme/index.tsx +39 -12
- package/src/components/ThemeToggle/ThemeButton.tsx +49 -0
- package/src/components/ThemeToggle/ThemeToggle.module.scss +21 -44
- package/src/components/ThemeToggle/icons.tsx +46 -0
- package/src/components/ThemeToggle/index.tsx +8 -90
- package/src/components/ThinkingIndicator/ThinkingIndicator.contract.json +11 -10
- package/src/components/ThinkingIndicator/ThinkingIndicator.module.scss +9 -7
- package/src/components/ThinkingIndicator/index.tsx +12 -14
- package/src/components/Toast/Toast.contract.json +29 -13
- package/src/components/Toast/Toast.module.scss +49 -104
- package/src/components/Toast/index.tsx +39 -34
- package/src/components/ToggleGroup/ToggleGroup.contract.json +13 -13
- package/src/components/ToggleGroup/ToggleGroup.module.scss +16 -46
- package/src/components/ToggleGroup/index.tsx +11 -11
- package/src/components/Tooltip/Tooltip.contract.json +3 -3
- package/src/components/Tooltip/Tooltip.module.scss +16 -10
- package/src/components/VisuallyHidden/VisuallyHidden.module.scss +4 -14
- package/src/index.ts +14 -10
- package/src/measurements/MeasurementTargets.module.scss +6 -7
- package/src/measurements/generated.ts +38 -96
- package/src/measurements/index.ts +0 -1
- package/src/measurements/measurements.json +37 -116
- package/src/recipes/_action.scss +4 -4
- package/src/recipes/_boolean-range.scss +9 -5
- package/src/recipes/_feedback.scss +17 -16
- package/src/recipes/_field.scss +28 -20
- package/src/recipes/_navigation.scss +84 -29
- package/src/recipes/_overlay.scss +143 -43
- package/src/recipes/_popup.scss +46 -36
- package/src/recipes/_prose.scss +35 -23
- package/src/recipes/_representation.scss +10 -9
- package/src/recipes/_segmented.scss +1 -1
- package/src/recipes/_table-chrome.scss +27 -16
- package/src/recipes/_target.scss +2 -4
- package/src/recipes/_typography.scss +10 -0
- package/src/styles/globals.scss +14 -9
- package/src/tokens/_component-properties.scss +19 -1
- package/src/tokens/_computed.scss +27 -33
- package/src/tokens/_measurements.catalog.generated.css +58 -45
- package/src/tokens/_measurements.generated.scss +107 -250
- package/src/tokens/_mixins.scss +42 -40
- package/src/tokens/_palettes.scss +1 -1
- package/src/tokens/_property-registrations.scss +9 -0
- package/src/tokens/_seeds.scss +1 -12
- package/src/tokens/_variables.scss +71 -59
- package/src/utils/seed-derivation.ts +1 -8
- package/src/utils/theme-presets.ts +5 -12
- package/dist/blocks/AccountSettings.block.d.ts +0 -3
- package/dist/blocks/AccountSettings.block.d.ts.map +0 -1
- package/dist/blocks/ActivityFeedSkeleton.block.d.ts +0 -3
- package/dist/blocks/ActivityFeedSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/BlogEditor.block.d.ts +0 -3
- package/dist/blocks/BlogEditor.block.d.ts.map +0 -1
- package/dist/blocks/ChatInterface.block.d.ts +0 -3
- package/dist/blocks/ChatInterface.block.d.ts.map +0 -1
- package/dist/blocks/ChatMessages.block.d.ts +0 -3
- package/dist/blocks/ChatMessages.block.d.ts.map +0 -1
- package/dist/blocks/CheckoutForm.block.d.ts +0 -3
- package/dist/blocks/CheckoutForm.block.d.ts.map +0 -1
- package/dist/blocks/CommandPalette.block.d.ts +0 -3
- package/dist/blocks/CommandPalette.block.d.ts.map +0 -1
- package/dist/blocks/ContactForm.block.d.ts +0 -3
- package/dist/blocks/ContactForm.block.d.ts.map +0 -1
- package/dist/blocks/DashboardPage.block.d.ts +0 -3
- package/dist/blocks/DashboardPage.block.d.ts.map +0 -1
- package/dist/blocks/DashboardSkeleton.block.d.ts +0 -3
- package/dist/blocks/DashboardSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/DataTable.block.d.ts +0 -3
- package/dist/blocks/DataTable.block.d.ts.map +0 -1
- package/dist/blocks/EmptyState.block.d.ts +0 -3
- package/dist/blocks/EmptyState.block.d.ts.map +0 -1
- package/dist/blocks/FAQSection.block.d.ts +0 -3
- package/dist/blocks/FAQSection.block.d.ts.map +0 -1
- package/dist/blocks/FeatureGrid.block.d.ts +0 -3
- package/dist/blocks/FeatureGrid.block.d.ts.map +0 -1
- package/dist/blocks/HeroSection.block.d.ts +0 -3
- package/dist/blocks/HeroSection.block.d.ts.map +0 -1
- package/dist/blocks/NavigationHeader.block.d.ts +0 -3
- package/dist/blocks/NavigationHeader.block.d.ts.map +0 -1
- package/dist/blocks/PaginatedTable.block.d.ts +0 -3
- package/dist/blocks/PaginatedTable.block.d.ts.map +0 -1
- package/dist/blocks/PricingComparison.block.d.ts +0 -3
- package/dist/blocks/PricingComparison.block.d.ts.map +0 -1
- package/dist/blocks/ProductCard.block.d.ts +0 -3
- package/dist/blocks/ProductCard.block.d.ts.map +0 -1
- package/dist/blocks/RegistrationForm.block.d.ts +0 -3
- package/dist/blocks/RegistrationForm.block.d.ts.map +0 -1
- package/dist/blocks/SettingsDrawer.block.d.ts +0 -3
- package/dist/blocks/SettingsDrawer.block.d.ts.map +0 -1
- package/dist/blocks/SettingsPanel.block.d.ts +0 -3
- package/dist/blocks/SettingsPanel.block.d.ts.map +0 -1
- package/dist/blocks/ShoppingCart.block.d.ts +0 -3
- package/dist/blocks/ShoppingCart.block.d.ts.map +0 -1
- package/dist/blocks/StatsCardSkeleton.block.d.ts +0 -3
- package/dist/blocks/StatsCardSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/TableSkeleton.block.d.ts +0 -3
- package/dist/blocks/TableSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/ThinkingStates.block.d.ts +0 -3
- package/dist/blocks/ThinkingStates.block.d.ts.map +0 -1
- package/dist/components/Toggle/index.d.ts +0 -3
- package/dist/components/Toggle/index.d.ts.map +0 -1
- package/src/components/Toggle/index.ts +0 -7
- package/src/tokens/_density.scss +0 -85
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const wrapper = "
|
|
4
|
-
const label = "
|
|
5
|
-
const helper = "
|
|
6
|
-
const helperError = "
|
|
7
|
-
const errorMessage = "
|
|
8
|
-
const trigger = "
|
|
9
|
-
const triggerSm = "
|
|
10
|
-
const triggerLg = "
|
|
11
|
-
const triggerGhost = "
|
|
12
|
-
const wrapperGhost = "
|
|
13
|
-
const triggerIcon = "
|
|
14
|
-
const value = "
|
|
15
|
-
const placeholder = "
|
|
16
|
-
const hint = "
|
|
17
|
-
const icon = "
|
|
18
|
-
const positioner = "
|
|
19
|
-
const popup = "
|
|
20
|
-
const item = "
|
|
21
|
-
const itemIndicator = "
|
|
22
|
-
const group = "
|
|
23
|
-
const groupLabel = "
|
|
3
|
+
const wrapper = "_wrapper_3iy7b_1";
|
|
4
|
+
const label = "_label_3iy7b_8";
|
|
5
|
+
const helper = "_helper_3iy7b_17";
|
|
6
|
+
const helperError = "_helperError_3iy7b_27";
|
|
7
|
+
const errorMessage = "_errorMessage_3iy7b_28";
|
|
8
|
+
const trigger = "_trigger_3iy7b_38";
|
|
9
|
+
const triggerSm = "_triggerSm_3iy7b_110";
|
|
10
|
+
const triggerLg = "_triggerLg_3iy7b_122";
|
|
11
|
+
const triggerGhost = "_triggerGhost_3iy7b_135";
|
|
12
|
+
const wrapperGhost = "_wrapperGhost_3iy7b_161";
|
|
13
|
+
const triggerIcon = "_triggerIcon_3iy7b_166";
|
|
14
|
+
const value = "_value_3iy7b_174";
|
|
15
|
+
const placeholder = "_placeholder_3iy7b_187";
|
|
16
|
+
const hint = "_hint_3iy7b_191";
|
|
17
|
+
const icon = "_icon_3iy7b_197";
|
|
18
|
+
const positioner = "_positioner_3iy7b_225";
|
|
19
|
+
const popup = "_popup_3iy7b_230";
|
|
20
|
+
const item = "_item_3iy7b_276";
|
|
21
|
+
const itemIndicator = "_itemIndicator_3iy7b_309";
|
|
22
|
+
const group = "_group_3iy7b_323";
|
|
23
|
+
const groupLabel = "_groupLabel_3iy7b_331";
|
|
24
24
|
const styles = {
|
|
25
25
|
wrapper,
|
|
26
26
|
label,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
const wrapper = "
|
|
2
|
-
const label = "
|
|
3
|
-
const helper = "
|
|
4
|
-
const helperError = "
|
|
5
|
-
const errorMessage = "
|
|
6
|
-
const trigger = "
|
|
7
|
-
const triggerSm = "
|
|
8
|
-
const triggerLg = "
|
|
9
|
-
const triggerGhost = "
|
|
10
|
-
const wrapperGhost = "
|
|
11
|
-
const triggerIcon = "
|
|
12
|
-
const value = "
|
|
13
|
-
const placeholder = "
|
|
14
|
-
const hint = "
|
|
15
|
-
const icon = "
|
|
16
|
-
const positioner = "
|
|
17
|
-
const popup = "
|
|
18
|
-
const item = "
|
|
19
|
-
const itemIndicator = "
|
|
20
|
-
const group = "
|
|
21
|
-
const groupLabel = "
|
|
1
|
+
const wrapper = "_wrapper_3iy7b_1";
|
|
2
|
+
const label = "_label_3iy7b_8";
|
|
3
|
+
const helper = "_helper_3iy7b_17";
|
|
4
|
+
const helperError = "_helperError_3iy7b_27";
|
|
5
|
+
const errorMessage = "_errorMessage_3iy7b_28";
|
|
6
|
+
const trigger = "_trigger_3iy7b_38";
|
|
7
|
+
const triggerSm = "_triggerSm_3iy7b_110";
|
|
8
|
+
const triggerLg = "_triggerLg_3iy7b_122";
|
|
9
|
+
const triggerGhost = "_triggerGhost_3iy7b_135";
|
|
10
|
+
const wrapperGhost = "_wrapperGhost_3iy7b_161";
|
|
11
|
+
const triggerIcon = "_triggerIcon_3iy7b_166";
|
|
12
|
+
const value = "_value_3iy7b_174";
|
|
13
|
+
const placeholder = "_placeholder_3iy7b_187";
|
|
14
|
+
const hint = "_hint_3iy7b_191";
|
|
15
|
+
const icon = "_icon_3iy7b_197";
|
|
16
|
+
const positioner = "_positioner_3iy7b_225";
|
|
17
|
+
const popup = "_popup_3iy7b_230";
|
|
18
|
+
const item = "_item_3iy7b_276";
|
|
19
|
+
const itemIndicator = "_itemIndicator_3iy7b_309";
|
|
20
|
+
const group = "_group_3iy7b_323";
|
|
21
|
+
const groupLabel = "_groupLabel_3iy7b_331";
|
|
22
22
|
const styles = {
|
|
23
23
|
wrapper,
|
|
24
24
|
label,
|
|
@@ -68,7 +68,7 @@ const SelectContext = React__namespace.createContext({
|
|
|
68
68
|
unregisterItem: () => {
|
|
69
69
|
},
|
|
70
70
|
size: "md",
|
|
71
|
-
variant: "
|
|
71
|
+
variant: "outline",
|
|
72
72
|
optionItems: null
|
|
73
73
|
});
|
|
74
74
|
function renderOptionLabel(option) {
|
|
@@ -113,7 +113,7 @@ const SelectRoot = React__namespace.forwardRef(function SelectRoot2({
|
|
|
113
113
|
helperText,
|
|
114
114
|
error,
|
|
115
115
|
size: sizeProp,
|
|
116
|
-
variant = "
|
|
116
|
+
variant = "outline",
|
|
117
117
|
className
|
|
118
118
|
}, ref) {
|
|
119
119
|
const size = index.useResolvedControlSize(sizeProp);
|
|
@@ -173,6 +173,11 @@ const SelectRoot = React__namespace.forwardRef(function SelectRoot2({
|
|
|
173
173
|
items.forEach((content, itemValue) => merged.set(itemValue, content));
|
|
174
174
|
return merged;
|
|
175
175
|
}, [declaredItems, items]);
|
|
176
|
+
const { helperId, errorId, hasError, errorMessage } = aria.useFormFieldIds("select", {
|
|
177
|
+
label,
|
|
178
|
+
helperText,
|
|
179
|
+
error
|
|
180
|
+
});
|
|
176
181
|
const contextValue = React__namespace.useMemo(
|
|
177
182
|
() => ({
|
|
178
183
|
placeholder,
|
|
@@ -182,7 +187,8 @@ const SelectRoot = React__namespace.forwardRef(function SelectRoot2({
|
|
|
182
187
|
unregisterItem,
|
|
183
188
|
size,
|
|
184
189
|
variant,
|
|
185
|
-
optionItems
|
|
190
|
+
optionItems,
|
|
191
|
+
invalid: hasError
|
|
186
192
|
}),
|
|
187
193
|
[
|
|
188
194
|
placeholder,
|
|
@@ -192,21 +198,13 @@ const SelectRoot = React__namespace.forwardRef(function SelectRoot2({
|
|
|
192
198
|
unregisterItem,
|
|
193
199
|
size,
|
|
194
200
|
variant,
|
|
195
|
-
optionItems
|
|
201
|
+
optionItems,
|
|
202
|
+
hasError
|
|
196
203
|
]
|
|
197
204
|
);
|
|
198
|
-
const
|
|
199
|
-
label,
|
|
200
|
-
helperText,
|
|
201
|
-
error
|
|
202
|
-
});
|
|
203
|
-
const wrapperClasses = [
|
|
204
|
-
Select_module.default.wrapper,
|
|
205
|
-
variant === "ghost" && Select_module.default.wrapperGhost,
|
|
206
|
-
className
|
|
207
|
-
].filter(Boolean).join(" ");
|
|
205
|
+
const wrapperClasses = [Select_module.default.wrapper, variant === "ghost" && Select_module.default.wrapperGhost, className].filter(Boolean).join(" ");
|
|
208
206
|
const helperClasses = [Select_module.default.helper, hasError && Select_module.default.helperError].filter(Boolean).join(" ");
|
|
209
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SelectContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: wrapperClasses, children: [
|
|
207
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SelectContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: wrapperClasses, "data-invalid": hasError || void 0, children: [
|
|
210
208
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
211
209
|
select.Select.Root,
|
|
212
210
|
{
|
|
@@ -255,11 +253,19 @@ function SelectTrigger({
|
|
|
255
253
|
].filter(Boolean).join(" ");
|
|
256
254
|
const selectedContent = context.value != null ? context.items.get(context.value) : null;
|
|
257
255
|
const displayContent = selectedContent ?? (placeholderText ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: Select_module.default.placeholder, children: placeholderText }) : null);
|
|
258
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
256
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
257
|
+
select.Select.Trigger,
|
|
258
|
+
{
|
|
259
|
+
...htmlProps,
|
|
260
|
+
className: classes,
|
|
261
|
+
"aria-invalid": context.invalid || void 0,
|
|
262
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
263
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: Select_module.default.triggerIcon, children: icon }),
|
|
264
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: Select_module.default.value, children: displayContent }),
|
|
265
|
+
/* @__PURE__ */ jsxRuntime.jsx(select.Select.Icon, { className: Select_module.default.icon, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, {}) })
|
|
266
|
+
] })
|
|
267
|
+
}
|
|
268
|
+
);
|
|
263
269
|
}
|
|
264
270
|
function SelectContent({
|
|
265
271
|
children,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type FormFieldProps } from "../../utils/aria";
|
|
3
3
|
export type SelectValue = string;
|
|
4
|
-
export type SelectVariant = "
|
|
4
|
+
export type SelectVariant = "outline" | "ghost";
|
|
5
5
|
export interface SelectOption {
|
|
6
6
|
value: SelectValue;
|
|
7
7
|
label: string;
|
|
@@ -50,10 +50,10 @@ export interface SelectProps extends FormFieldProps {
|
|
|
50
50
|
/** Size variant.
|
|
51
51
|
* @default "md" */
|
|
52
52
|
size?: "sm" | "md" | "lg";
|
|
53
|
-
/**
|
|
54
|
-
* control — for toolbars and dense rows, where a bordered
|
|
55
|
-
* form. Pair with `size="sm"`.
|
|
56
|
-
* @default "
|
|
53
|
+
/** Chrome. `outline` is the bordered field shell; `ghost` drops it for a
|
|
54
|
+
* compact, borderless control — for toolbars and dense rows, where a bordered
|
|
55
|
+
* field reads as a form. Pair with `size="sm"`.
|
|
56
|
+
* @default "outline" */
|
|
57
57
|
variant?: SelectVariant;
|
|
58
58
|
/** Wrapper class name */
|
|
59
59
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAiC,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -49,7 +49,7 @@ const SelectContext = React.createContext({
|
|
|
49
49
|
unregisterItem: () => {
|
|
50
50
|
},
|
|
51
51
|
size: "md",
|
|
52
|
-
variant: "
|
|
52
|
+
variant: "outline",
|
|
53
53
|
optionItems: null
|
|
54
54
|
});
|
|
55
55
|
function renderOptionLabel(option) {
|
|
@@ -94,7 +94,7 @@ const SelectRoot = React.forwardRef(function SelectRoot2({
|
|
|
94
94
|
helperText,
|
|
95
95
|
error,
|
|
96
96
|
size: sizeProp,
|
|
97
|
-
variant = "
|
|
97
|
+
variant = "outline",
|
|
98
98
|
className
|
|
99
99
|
}, ref) {
|
|
100
100
|
const size = useResolvedControlSize(sizeProp);
|
|
@@ -154,6 +154,11 @@ const SelectRoot = React.forwardRef(function SelectRoot2({
|
|
|
154
154
|
items.forEach((content, itemValue) => merged.set(itemValue, content));
|
|
155
155
|
return merged;
|
|
156
156
|
}, [declaredItems, items]);
|
|
157
|
+
const { helperId, errorId, hasError, errorMessage } = useFormFieldIds("select", {
|
|
158
|
+
label,
|
|
159
|
+
helperText,
|
|
160
|
+
error
|
|
161
|
+
});
|
|
157
162
|
const contextValue = React.useMemo(
|
|
158
163
|
() => ({
|
|
159
164
|
placeholder,
|
|
@@ -163,7 +168,8 @@ const SelectRoot = React.forwardRef(function SelectRoot2({
|
|
|
163
168
|
unregisterItem,
|
|
164
169
|
size,
|
|
165
170
|
variant,
|
|
166
|
-
optionItems
|
|
171
|
+
optionItems,
|
|
172
|
+
invalid: hasError
|
|
167
173
|
}),
|
|
168
174
|
[
|
|
169
175
|
placeholder,
|
|
@@ -173,21 +179,13 @@ const SelectRoot = React.forwardRef(function SelectRoot2({
|
|
|
173
179
|
unregisterItem,
|
|
174
180
|
size,
|
|
175
181
|
variant,
|
|
176
|
-
optionItems
|
|
182
|
+
optionItems,
|
|
183
|
+
hasError
|
|
177
184
|
]
|
|
178
185
|
);
|
|
179
|
-
const
|
|
180
|
-
label,
|
|
181
|
-
helperText,
|
|
182
|
-
error
|
|
183
|
-
});
|
|
184
|
-
const wrapperClasses = [
|
|
185
|
-
styles.wrapper,
|
|
186
|
-
variant === "ghost" && styles.wrapperGhost,
|
|
187
|
-
className
|
|
188
|
-
].filter(Boolean).join(" ");
|
|
186
|
+
const wrapperClasses = [styles.wrapper, variant === "ghost" && styles.wrapperGhost, className].filter(Boolean).join(" ");
|
|
189
187
|
const helperClasses = [styles.helper, hasError && styles.helperError].filter(Boolean).join(" ");
|
|
190
|
-
return /* @__PURE__ */ jsx(SelectContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs("div", { ref, className: wrapperClasses, children: [
|
|
188
|
+
return /* @__PURE__ */ jsx(SelectContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs("div", { ref, className: wrapperClasses, "data-invalid": hasError || void 0, children: [
|
|
191
189
|
/* @__PURE__ */ jsxs(
|
|
192
190
|
Select$1.Root,
|
|
193
191
|
{
|
|
@@ -236,11 +234,19 @@ function SelectTrigger({
|
|
|
236
234
|
].filter(Boolean).join(" ");
|
|
237
235
|
const selectedContent = context.value != null ? context.items.get(context.value) : null;
|
|
238
236
|
const displayContent = selectedContent ?? (placeholderText ? /* @__PURE__ */ jsx("span", { className: styles.placeholder, children: placeholderText }) : null);
|
|
239
|
-
return /* @__PURE__ */ jsx(
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
237
|
+
return /* @__PURE__ */ jsx(
|
|
238
|
+
Select$1.Trigger,
|
|
239
|
+
{
|
|
240
|
+
...htmlProps,
|
|
241
|
+
className: classes,
|
|
242
|
+
"aria-invalid": context.invalid || void 0,
|
|
243
|
+
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
244
|
+
icon && /* @__PURE__ */ jsx("span", { className: styles.triggerIcon, children: icon }),
|
|
245
|
+
/* @__PURE__ */ jsx("span", { className: styles.value, children: displayContent }),
|
|
246
|
+
/* @__PURE__ */ jsx(Select$1.Icon, { className: styles.icon, children: /* @__PURE__ */ jsx(ChevronDownIcon, {}) })
|
|
247
|
+
] })
|
|
248
|
+
}
|
|
249
|
+
);
|
|
244
250
|
}
|
|
245
251
|
function SelectContent({
|
|
246
252
|
children,
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const separator = "
|
|
4
|
-
const horizontal = "
|
|
5
|
-
const line = "
|
|
6
|
-
const vertical = "
|
|
7
|
-
const withLabel = "
|
|
8
|
-
const label = "
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
3
|
+
const separator = "_separator_10yvl_1";
|
|
4
|
+
const horizontal = "_horizontal_10yvl_6";
|
|
5
|
+
const line = "_line_10yvl_9";
|
|
6
|
+
const vertical = "_vertical_10yvl_16";
|
|
7
|
+
const withLabel = "_withLabel_10yvl_27";
|
|
8
|
+
const label = "_label_10yvl_40";
|
|
9
|
+
const gapNone = "_gapNone_10yvl_50";
|
|
10
|
+
const gapXs = "_gapXs_10yvl_54";
|
|
11
|
+
const gapSm = "_gapSm_10yvl_61";
|
|
12
|
+
const gapMd = "_gapMd_10yvl_68";
|
|
13
|
+
const gapLg = "_gapLg_10yvl_75";
|
|
14
|
+
const gapXl = "_gapXl_10yvl_82";
|
|
15
|
+
const soft = "_soft_10yvl_89";
|
|
14
16
|
const styles = {
|
|
15
17
|
separator,
|
|
16
18
|
horizontal,
|
|
@@ -18,21 +20,25 @@ const styles = {
|
|
|
18
20
|
vertical,
|
|
19
21
|
withLabel,
|
|
20
22
|
label,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
gapNone,
|
|
24
|
+
gapXs,
|
|
25
|
+
gapSm,
|
|
26
|
+
gapMd,
|
|
27
|
+
gapLg,
|
|
28
|
+
gapXl,
|
|
25
29
|
soft
|
|
26
30
|
};
|
|
27
31
|
exports.default = styles;
|
|
32
|
+
exports.gapLg = gapLg;
|
|
33
|
+
exports.gapMd = gapMd;
|
|
34
|
+
exports.gapNone = gapNone;
|
|
35
|
+
exports.gapSm = gapSm;
|
|
36
|
+
exports.gapXl = gapXl;
|
|
37
|
+
exports.gapXs = gapXs;
|
|
28
38
|
exports.horizontal = horizontal;
|
|
29
39
|
exports.label = label;
|
|
30
40
|
exports.line = line;
|
|
31
41
|
exports.separator = separator;
|
|
32
42
|
exports.soft = soft;
|
|
33
|
-
exports.spacingLg = spacingLg;
|
|
34
|
-
exports.spacingMd = spacingMd;
|
|
35
|
-
exports.spacingNone = spacingNone;
|
|
36
|
-
exports.spacingSm = spacingSm;
|
|
37
43
|
exports.vertical = vertical;
|
|
38
44
|
exports.withLabel = withLabel;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
const separator = "
|
|
2
|
-
const horizontal = "
|
|
3
|
-
const line = "
|
|
4
|
-
const vertical = "
|
|
5
|
-
const withLabel = "
|
|
6
|
-
const label = "
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
1
|
+
const separator = "_separator_10yvl_1";
|
|
2
|
+
const horizontal = "_horizontal_10yvl_6";
|
|
3
|
+
const line = "_line_10yvl_9";
|
|
4
|
+
const vertical = "_vertical_10yvl_16";
|
|
5
|
+
const withLabel = "_withLabel_10yvl_27";
|
|
6
|
+
const label = "_label_10yvl_40";
|
|
7
|
+
const gapNone = "_gapNone_10yvl_50";
|
|
8
|
+
const gapXs = "_gapXs_10yvl_54";
|
|
9
|
+
const gapSm = "_gapSm_10yvl_61";
|
|
10
|
+
const gapMd = "_gapMd_10yvl_68";
|
|
11
|
+
const gapLg = "_gapLg_10yvl_75";
|
|
12
|
+
const gapXl = "_gapXl_10yvl_82";
|
|
13
|
+
const soft = "_soft_10yvl_89";
|
|
12
14
|
const styles = {
|
|
13
15
|
separator,
|
|
14
16
|
horizontal,
|
|
@@ -16,23 +18,27 @@ const styles = {
|
|
|
16
18
|
vertical,
|
|
17
19
|
withLabel,
|
|
18
20
|
label,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
gapNone,
|
|
22
|
+
gapXs,
|
|
23
|
+
gapSm,
|
|
24
|
+
gapMd,
|
|
25
|
+
gapLg,
|
|
26
|
+
gapXl,
|
|
23
27
|
soft
|
|
24
28
|
};
|
|
25
29
|
export {
|
|
26
30
|
styles as default,
|
|
31
|
+
gapLg,
|
|
32
|
+
gapMd,
|
|
33
|
+
gapNone,
|
|
34
|
+
gapSm,
|
|
35
|
+
gapXl,
|
|
36
|
+
gapXs,
|
|
27
37
|
horizontal,
|
|
28
38
|
label,
|
|
29
39
|
line,
|
|
30
40
|
separator,
|
|
31
41
|
soft,
|
|
32
|
-
spacingLg,
|
|
33
|
-
spacingMd,
|
|
34
|
-
spacingNone,
|
|
35
|
-
spacingSm,
|
|
36
42
|
vertical,
|
|
37
43
|
withLabel
|
|
38
44
|
};
|
|
@@ -22,15 +22,17 @@ function _interopNamespaceDefault(e) {
|
|
|
22
22
|
return Object.freeze(n);
|
|
23
23
|
}
|
|
24
24
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
25
|
-
const
|
|
26
|
-
none: Separator_module.default.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
const GAP_CLASS = {
|
|
26
|
+
none: Separator_module.default.gapNone,
|
|
27
|
+
xs: Separator_module.default.gapXs,
|
|
28
|
+
sm: Separator_module.default.gapSm,
|
|
29
|
+
md: Separator_module.default.gapMd,
|
|
30
|
+
lg: Separator_module.default.gapLg,
|
|
31
|
+
xl: Separator_module.default.gapXl
|
|
30
32
|
};
|
|
31
33
|
const SeparatorRoot = React__namespace.forwardRef(function Separator2({
|
|
32
34
|
orientation = "horizontal",
|
|
33
|
-
|
|
35
|
+
gap = "none",
|
|
34
36
|
soft = false,
|
|
35
37
|
label,
|
|
36
38
|
className,
|
|
@@ -41,7 +43,7 @@ const SeparatorRoot = React__namespace.forwardRef(function Separator2({
|
|
|
41
43
|
const classes2 = [
|
|
42
44
|
Separator_module.default.separator,
|
|
43
45
|
Separator_module.default.withLabel,
|
|
44
|
-
|
|
46
|
+
GAP_CLASS[gap],
|
|
45
47
|
soft && Separator_module.default.soft,
|
|
46
48
|
className
|
|
47
49
|
].filter(Boolean).join(" ");
|
|
@@ -61,7 +63,7 @@ const SeparatorRoot = React__namespace.forwardRef(function Separator2({
|
|
|
61
63
|
const classes = [
|
|
62
64
|
Separator_module.default.separator,
|
|
63
65
|
orientation === "horizontal" ? Separator_module.default.horizontal : Separator_module.default.vertical,
|
|
64
|
-
|
|
66
|
+
GAP_CLASS[gap],
|
|
65
67
|
soft && Separator_module.default.soft,
|
|
66
68
|
className
|
|
67
69
|
].filter(Boolean).join(" ");
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
export type SeparatorGap = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
2
3
|
export interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3
4
|
/** Orientation of the separator */
|
|
4
5
|
orientation?: "horizontal" | "vertical";
|
|
5
|
-
/**
|
|
6
|
-
|
|
6
|
+
/** Breathing room around the rule
|
|
7
|
+
* @default "none" */
|
|
8
|
+
gap?: SeparatorGap;
|
|
7
9
|
/** Softer visual appearance */
|
|
8
10
|
soft?: boolean;
|
|
9
11
|
/** Optional label text (creates a labeled divider) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5F,mCAAmC;IACnC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErE,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5F,mCAAmC;IACnC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;yBACqB;IACrB,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAiFD,eAAO,MAAM,SAAS;;CAEpB,CAAC"}
|
|
@@ -3,15 +3,17 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
5
5
|
import styles from "./Separator.module.scss.js";
|
|
6
|
-
const
|
|
7
|
-
none: styles.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
const GAP_CLASS = {
|
|
7
|
+
none: styles.gapNone,
|
|
8
|
+
xs: styles.gapXs,
|
|
9
|
+
sm: styles.gapSm,
|
|
10
|
+
md: styles.gapMd,
|
|
11
|
+
lg: styles.gapLg,
|
|
12
|
+
xl: styles.gapXl
|
|
11
13
|
};
|
|
12
14
|
const SeparatorRoot = React.forwardRef(function Separator2({
|
|
13
15
|
orientation = "horizontal",
|
|
14
|
-
|
|
16
|
+
gap = "none",
|
|
15
17
|
soft = false,
|
|
16
18
|
label,
|
|
17
19
|
className,
|
|
@@ -22,7 +24,7 @@ const SeparatorRoot = React.forwardRef(function Separator2({
|
|
|
22
24
|
const classes2 = [
|
|
23
25
|
styles.separator,
|
|
24
26
|
styles.withLabel,
|
|
25
|
-
|
|
27
|
+
GAP_CLASS[gap],
|
|
26
28
|
soft && styles.soft,
|
|
27
29
|
className
|
|
28
30
|
].filter(Boolean).join(" ");
|
|
@@ -42,7 +44,7 @@ const SeparatorRoot = React.forwardRef(function Separator2({
|
|
|
42
44
|
const classes = [
|
|
43
45
|
styles.separator,
|
|
44
46
|
orientation === "horizontal" ? styles.horizontal : styles.vertical,
|
|
45
|
-
|
|
47
|
+
GAP_CLASS[gap],
|
|
46
48
|
soft && styles.soft,
|
|
47
49
|
className
|
|
48
50
|
].filter(Boolean).join(" ");
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "
|
|
4
|
-
const mobile = "
|
|
5
|
-
const positionRight = "
|
|
6
|
-
const collapsed = "
|
|
7
|
-
const header = "
|
|
8
|
-
const nav = "
|
|
9
|
-
const footer = "
|
|
10
|
-
const sectionLabel = "
|
|
11
|
-
const itemLabel = "
|
|
12
|
-
const itemBadge = "
|
|
13
|
-
const itemChevron = "
|
|
14
|
-
const item = "
|
|
15
|
-
const itemIcon = "
|
|
16
|
-
const collapseToggle = "
|
|
17
|
-
const collapsedNoIcons = "
|
|
18
|
-
const offcanvasCollapsed = "
|
|
19
|
-
const collapseToggleFloating = "
|
|
20
|
-
const rail = "
|
|
21
|
-
const navScrollArea = "
|
|
22
|
-
const section = "
|
|
23
|
-
const sectionHeader = "
|
|
24
|
-
const sectionTrigger = "
|
|
25
|
-
const sectionActionWrapper = "
|
|
26
|
-
const sectionAction = "
|
|
27
|
-
const sectionList = "
|
|
28
|
-
const submenu = "
|
|
29
|
-
const sectionCollapsible = "
|
|
30
|
-
const itemWrapper = "
|
|
31
|
-
const subItemWrapper = "
|
|
32
|
-
const submenuWrapper = "
|
|
33
|
-
const itemDisabled = "
|
|
34
|
-
const itemActive = "
|
|
35
|
-
const subItemDisabled = "
|
|
36
|
-
const itemMultiline = "
|
|
37
|
-
const itemExpanded = "
|
|
38
|
-
const subItem = "
|
|
39
|
-
const subItemActive = "
|
|
40
|
-
const trigger = "
|
|
41
|
-
const overlay = "
|
|
42
|
-
const railCollapsed = "
|
|
43
|
-
const menuSkeleton = "
|
|
44
|
-
const skeletonItem = "
|
|
45
|
-
const skeletonLabel = "
|
|
3
|
+
const root = "_root_12q6f_1";
|
|
4
|
+
const mobile = "_mobile_12q6f_37";
|
|
5
|
+
const positionRight = "_positionRight_12q6f_43";
|
|
6
|
+
const collapsed = "_collapsed_12q6f_48";
|
|
7
|
+
const header = "_header_12q6f_51";
|
|
8
|
+
const nav = "_nav_12q6f_52";
|
|
9
|
+
const footer = "_footer_12q6f_53";
|
|
10
|
+
const sectionLabel = "_sectionLabel_12q6f_60";
|
|
11
|
+
const itemLabel = "_itemLabel_12q6f_71";
|
|
12
|
+
const itemBadge = "_itemBadge_12q6f_72";
|
|
13
|
+
const itemChevron = "_itemChevron_12q6f_73";
|
|
14
|
+
const item = "_item_12q6f_71";
|
|
15
|
+
const itemIcon = "_itemIcon_12q6f_81";
|
|
16
|
+
const collapseToggle = "_collapseToggle_12q6f_84";
|
|
17
|
+
const collapsedNoIcons = "_collapsedNoIcons_12q6f_88";
|
|
18
|
+
const offcanvasCollapsed = "_offcanvasCollapsed_12q6f_91";
|
|
19
|
+
const collapseToggleFloating = "_collapseToggleFloating_12q6f_97";
|
|
20
|
+
const rail = "_rail_12q6f_111";
|
|
21
|
+
const navScrollArea = "_navScrollArea_12q6f_151";
|
|
22
|
+
const section = "_section_12q6f_60";
|
|
23
|
+
const sectionHeader = "_sectionHeader_12q6f_160";
|
|
24
|
+
const sectionTrigger = "_sectionTrigger_12q6f_185";
|
|
25
|
+
const sectionActionWrapper = "_sectionActionWrapper_12q6f_200";
|
|
26
|
+
const sectionAction = "_sectionAction_12q6f_200";
|
|
27
|
+
const sectionList = "_sectionList_12q6f_284";
|
|
28
|
+
const submenu = "_submenu_12q6f_285";
|
|
29
|
+
const sectionCollapsible = "_sectionCollapsible_12q6f_294";
|
|
30
|
+
const itemWrapper = "_itemWrapper_12q6f_336";
|
|
31
|
+
const subItemWrapper = "_subItemWrapper_12q6f_337";
|
|
32
|
+
const submenuWrapper = "_submenuWrapper_12q6f_338";
|
|
33
|
+
const itemDisabled = "_itemDisabled_12q6f_404";
|
|
34
|
+
const itemActive = "_itemActive_12q6f_413";
|
|
35
|
+
const subItemDisabled = "_subItemDisabled_12q6f_486";
|
|
36
|
+
const itemMultiline = "_itemMultiline_12q6f_536";
|
|
37
|
+
const itemExpanded = "_itemExpanded_12q6f_563";
|
|
38
|
+
const subItem = "_subItem_12q6f_337";
|
|
39
|
+
const subItemActive = "_subItemActive_12q6f_657";
|
|
40
|
+
const trigger = "_trigger_12q6f_675";
|
|
41
|
+
const overlay = "_overlay_12q6f_743";
|
|
42
|
+
const railCollapsed = "_railCollapsed_12q6f_892";
|
|
43
|
+
const menuSkeleton = "_menuSkeleton_12q6f_896";
|
|
44
|
+
const skeletonItem = "_skeletonItem_12q6f_903";
|
|
45
|
+
const skeletonLabel = "_skeletonLabel_12q6f_926";
|
|
46
46
|
const styles = {
|
|
47
47
|
root,
|
|
48
48
|
mobile,
|