@cognitap/radiant 0.0.74 → 0.0.76
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/CHANGELOG.md +8 -0
- package/dist/library/charts/Charts.d.ts +1 -1
- package/dist/library/charts/Charts.d.ts.map +1 -1
- package/dist/library/charts/Charts.js +3 -3
- package/dist/library/charts/Charts.js.map +1 -1
- package/dist/library/{Accordion.d.ts → components/Accordion/Accordion.d.ts} +4 -4
- package/dist/library/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/library/{Accordion.js → components/Accordion/Accordion.js} +6 -6
- package/dist/library/components/Accordion/Accordion.js.map +1 -0
- package/dist/library/{Alert.d.ts → components/Alert/Alert.d.ts} +3 -3
- package/dist/library/components/Alert/Alert.d.ts.map +1 -0
- package/dist/library/{Alert.js → components/Alert/Alert.js} +4 -4
- package/dist/library/components/Alert/Alert.js.map +1 -0
- package/dist/library/{AlertDialog.d.ts → components/AlertDialog/AlertDialog.d.ts} +1 -1
- package/dist/library/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/dist/library/{AlertDialog.js → components/AlertDialog/AlertDialog.js} +3 -3
- package/dist/library/components/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/library/{AppShell.d.ts → components/AppShell/AppShell.d.ts} +6 -6
- package/dist/library/components/AppShell/AppShell.d.ts.map +1 -0
- package/dist/library/{AppShell.js → components/AppShell/AppShell.js} +13 -12
- package/dist/library/components/AppShell/AppShell.js.map +1 -0
- package/dist/library/{AspectRatio.d.ts → components/AspectRatio/AspectRatio.d.ts} +1 -1
- package/dist/library/components/AspectRatio/AspectRatio.d.ts.map +1 -0
- package/dist/library/{AspectRatio.js → components/AspectRatio/AspectRatio.js} +2 -2
- package/dist/library/components/AspectRatio/AspectRatio.js.map +1 -0
- package/dist/library/{Autocomplete.d.ts → components/Autocomplete/Autocomplete.d.ts} +3 -3
- package/dist/library/components/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/library/{Autocomplete.js → components/Autocomplete/Autocomplete.js} +2 -2
- package/dist/library/components/Autocomplete/Autocomplete.js.map +1 -0
- package/dist/library/{Avatar.d.ts → components/Avatar/Avatar.d.ts} +2 -2
- package/dist/library/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/library/{Avatar.js → components/Avatar/Avatar.js} +2 -2
- package/dist/library/components/Avatar/Avatar.js.map +1 -0
- package/dist/library/{Badge.d.ts → components/Badge/Badge.d.ts} +2 -2
- package/dist/library/components/Badge/Badge.d.ts.map +1 -0
- package/dist/library/{Badge.js → components/Badge/Badge.js} +3 -3
- package/dist/library/components/Badge/Badge.js.map +1 -0
- package/dist/library/{Breadcrumb.d.ts → components/Breadcrumb/Breadcrumb.d.ts} +2 -2
- package/dist/library/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/library/{Breadcrumb.js → components/Breadcrumb/Breadcrumb.js} +4 -4
- package/dist/library/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/library/{Button.d.ts → components/Button/Button.d.ts} +4 -4
- package/dist/library/components/Button/Button.d.ts.map +1 -0
- package/dist/library/{Button.js → components/Button/Button.js} +8 -8
- package/dist/library/components/Button/Button.js.map +1 -0
- package/dist/library/{ButtonGroup.d.ts → components/ButtonGroup/ButtonGroup.d.ts} +2 -2
- package/dist/library/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/library/{ButtonGroup.js → components/ButtonGroup/ButtonGroup.js} +2 -2
- package/dist/library/components/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/library/{Card.d.ts → components/Card/Card.d.ts} +2 -2
- package/dist/library/components/Card/Card.d.ts.map +1 -0
- package/dist/library/{Card.js → components/Card/Card.js} +3 -3
- package/dist/library/components/Card/Card.js.map +1 -0
- package/dist/library/{Carousel.d.ts → components/Carousel/Carousel.d.ts} +5 -5
- package/dist/library/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/library/{Carousel.js → components/Carousel/Carousel.js} +6 -6
- package/dist/library/components/Carousel/Carousel.js.map +1 -0
- package/dist/library/{Checkbox.d.ts → components/Checkbox/Checkbox.d.ts} +3 -3
- package/dist/library/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/library/{Checkbox.js → components/Checkbox/Checkbox.js} +5 -5
- package/dist/library/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/library/{CheckboxGroup.d.ts → components/CheckboxGroup/CheckboxGroup.d.ts} +4 -4
- package/dist/library/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/library/{CheckboxGroup.js → components/CheckboxGroup/CheckboxGroup.js} +6 -6
- package/dist/library/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/library/{CodeBlock.d.ts → components/CodeBlock/CodeBlock.d.ts} +5 -5
- package/dist/library/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/library/{CodeBlock.js → components/CodeBlock/CodeBlock.js} +6 -6
- package/dist/library/components/CodeBlock/CodeBlock.js.map +1 -0
- package/dist/library/{Collapsible.d.ts → components/Collapsible/Collapsible.d.ts} +2 -2
- package/dist/library/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/library/{Collapsible.js → components/Collapsible/Collapsible.js} +5 -5
- package/dist/library/components/Collapsible/Collapsible.js.map +1 -0
- package/dist/library/{Combobox.d.ts → components/Combobox/Combobox.d.ts} +6 -6
- package/dist/library/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/library/{Combobox.js → components/Combobox/Combobox.js} +13 -13
- package/dist/library/components/Combobox/Combobox.js.map +1 -0
- package/dist/library/components/Combobox/comboboxStyles.d.ts.map +1 -0
- package/dist/library/{comboboxStyles.js → components/Combobox/comboboxStyles.js} +1 -1
- package/dist/library/components/Combobox/comboboxStyles.js.map +1 -0
- package/dist/library/{Command.d.ts → components/Command/Command.d.ts} +6 -6
- package/dist/library/components/Command/Command.d.ts.map +1 -0
- package/dist/library/{Command.js → components/Command/Command.js} +8 -8
- package/dist/library/components/Command/Command.js.map +1 -0
- package/dist/library/{ContextMenu.d.ts → components/ContextMenu/ContextMenu.d.ts} +3 -3
- package/dist/library/components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/library/{ContextMenu.js → components/ContextMenu/ContextMenu.js} +6 -6
- package/dist/library/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/library/{Dialog.d.ts → components/Dialog/Dialog.d.ts} +4 -4
- package/dist/library/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/library/{Dialog.js → components/Dialog/Dialog.js} +8 -8
- package/dist/library/components/Dialog/Dialog.js.map +1 -0
- package/dist/library/{Drawer.d.ts → components/Drawer/Drawer.d.ts} +7 -7
- package/dist/library/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/library/{Drawer.js → components/Drawer/Drawer.js} +9 -9
- package/dist/library/components/Drawer/Drawer.js.map +1 -0
- package/dist/library/{EmptyState.d.ts → components/EmptyState/EmptyState.d.ts} +3 -3
- package/dist/library/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/library/{EmptyState.js → components/EmptyState/EmptyState.js} +4 -4
- package/dist/library/components/EmptyState/EmptyState.js.map +1 -0
- package/dist/library/{Field.d.ts → components/Field/Field.d.ts} +2 -2
- package/dist/library/components/Field/Field.d.ts.map +1 -0
- package/dist/library/{Field.js → components/Field/Field.js} +2 -2
- package/dist/library/components/Field/Field.js.map +1 -0
- package/dist/library/{Fieldset.d.ts → components/Fieldset/Fieldset.d.ts} +2 -2
- package/dist/library/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/dist/library/{Fieldset.js → components/Fieldset/Fieldset.js} +3 -3
- package/dist/library/components/Fieldset/Fieldset.js.map +1 -0
- package/dist/library/{FileInput.d.ts → components/FileInput/FileInput.d.ts} +2 -2
- package/dist/library/components/FileInput/FileInput.d.ts.map +1 -0
- package/dist/library/{FileInput.js → components/FileInput/FileInput.js} +5 -5
- package/dist/library/components/FileInput/FileInput.js.map +1 -0
- package/dist/library/{Form.d.ts → components/Form/Form.d.ts} +6 -6
- package/dist/library/components/Form/Form.d.ts.map +1 -0
- package/dist/library/{Form.js → components/Form/Form.js} +7 -7
- package/dist/library/components/Form/Form.js.map +1 -0
- package/dist/library/{HoverCard.d.ts → components/HoverCard/HoverCard.d.ts} +2 -2
- package/dist/library/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/library/{HoverCard.js → components/HoverCard/HoverCard.js} +7 -7
- package/dist/library/components/HoverCard/HoverCard.js.map +1 -0
- package/dist/library/{InlineCode.d.ts → components/InlineCode/InlineCode.d.ts} +1 -1
- package/dist/library/components/InlineCode/InlineCode.d.ts.map +1 -0
- package/dist/library/{InlineCode.js → components/InlineCode/InlineCode.js} +2 -2
- package/dist/library/components/InlineCode/InlineCode.js.map +1 -0
- package/dist/library/{Input.d.ts → components/Input/Input.d.ts} +3 -3
- package/dist/library/components/Input/Input.d.ts.map +1 -0
- package/dist/library/{Input.js → components/Input/Input.js} +4 -4
- package/dist/library/components/Input/Input.js.map +1 -0
- package/dist/library/{InputGroup.d.ts → components/InputGroup/InputGroup.d.ts} +4 -4
- package/dist/library/components/InputGroup/InputGroup.d.ts.map +1 -0
- package/dist/library/{InputGroup.js → components/InputGroup/InputGroup.js} +5 -5
- package/dist/library/components/InputGroup/InputGroup.js.map +1 -0
- package/dist/library/{Kbd.d.ts → components/Kbd/Kbd.d.ts} +1 -1
- package/dist/library/components/Kbd/Kbd.d.ts.map +1 -0
- package/dist/library/{Kbd.js → components/Kbd/Kbd.js} +2 -2
- package/dist/library/components/Kbd/Kbd.js.map +1 -0
- package/dist/library/{Link.d.ts → components/Link/Link.d.ts} +2 -2
- package/dist/library/components/Link/Link.d.ts.map +1 -0
- package/dist/library/{Link.js → components/Link/Link.js} +2 -2
- package/dist/library/components/Link/Link.js.map +1 -0
- package/dist/library/{Menu.d.ts → components/Menu/Menu.d.ts} +7 -7
- package/dist/library/components/Menu/Menu.d.ts.map +1 -0
- package/dist/library/{Menu.js → components/Menu/Menu.js} +9 -9
- package/dist/library/components/Menu/Menu.js.map +1 -0
- package/dist/library/{Menubar.d.ts → components/Menubar/Menubar.d.ts} +5 -5
- package/dist/library/components/Menubar/Menubar.d.ts.map +1 -0
- package/dist/library/{Menubar.js → components/Menubar/Menubar.js} +8 -8
- package/dist/library/components/Menubar/Menubar.js.map +1 -0
- package/dist/library/{Meter.d.ts → components/Meter/Meter.d.ts} +1 -1
- package/dist/library/components/Meter/Meter.d.ts.map +1 -0
- package/dist/library/{Meter.js → components/Meter/Meter.js} +2 -2
- package/dist/library/components/Meter/Meter.js.map +1 -0
- package/dist/library/{MultiSelect.d.ts → components/MultiSelect/MultiSelect.d.ts} +2 -2
- package/dist/library/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/library/{MultiSelect.js → components/MultiSelect/MultiSelect.js} +1 -1
- package/dist/library/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/library/{NativeSelect.d.ts → components/NativeSelect/NativeSelect.d.ts} +3 -3
- package/dist/library/components/NativeSelect/NativeSelect.d.ts.map +1 -0
- package/dist/library/{NativeSelect.js → components/NativeSelect/NativeSelect.js} +5 -5
- package/dist/library/components/NativeSelect/NativeSelect.js.map +1 -0
- package/dist/library/{NavLink.d.ts → components/NavLink/NavLink.d.ts} +3 -3
- package/dist/library/components/NavLink/NavLink.d.ts.map +1 -0
- package/dist/library/{NavLink.js → components/NavLink/NavLink.js} +5 -5
- package/dist/library/components/NavLink/NavLink.js.map +1 -0
- package/dist/library/{NavigationMenu.d.ts → components/NavigationMenu/NavigationMenu.d.ts} +7 -7
- package/dist/library/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
- package/dist/library/{NavigationMenu.js → components/NavigationMenu/NavigationMenu.js} +11 -11
- package/dist/library/components/NavigationMenu/NavigationMenu.js.map +1 -0
- package/dist/library/{NumberField.d.ts → components/NumberField/NumberField.d.ts} +6 -6
- package/dist/library/components/NumberField/NumberField.d.ts.map +1 -0
- package/dist/library/{NumberField.js → components/NumberField/NumberField.js} +9 -9
- package/dist/library/components/NumberField/NumberField.js.map +1 -0
- package/dist/library/{OTPField.d.ts → components/OTPField/OTPField.d.ts} +4 -4
- package/dist/library/components/OTPField/OTPField.d.ts.map +1 -0
- package/dist/library/{OTPField.js → components/OTPField/OTPField.js} +6 -6
- package/dist/library/components/OTPField/OTPField.js.map +1 -0
- package/dist/library/{Pagination.d.ts → components/Pagination/Pagination.d.ts} +4 -4
- package/dist/library/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/library/{Pagination.js → components/Pagination/Pagination.js} +5 -5
- package/dist/library/components/Pagination/Pagination.js.map +1 -0
- package/dist/library/{PasswordInput.d.ts → components/PasswordInput/PasswordInput.d.ts} +4 -4
- package/dist/library/components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/library/{PasswordInput.js → components/PasswordInput/PasswordInput.js} +8 -8
- package/dist/library/components/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/library/{Popover.d.ts → components/Popover/Popover.d.ts} +6 -6
- package/dist/library/components/Popover/Popover.d.ts.map +1 -0
- package/dist/library/{Popover.js → components/Popover/Popover.js} +8 -8
- package/dist/library/components/Popover/Popover.js.map +1 -0
- package/dist/library/{Progress.d.ts → components/Progress/Progress.d.ts} +1 -1
- package/dist/library/components/Progress/Progress.d.ts.map +1 -0
- package/dist/library/{Progress.js → components/Progress/Progress.js} +2 -2
- package/dist/library/components/Progress/Progress.js.map +1 -0
- package/dist/library/{RadioGroup.d.ts → components/RadioGroup/RadioGroup.d.ts} +4 -4
- package/dist/library/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/library/{RadioGroup.js → components/RadioGroup/RadioGroup.js} +6 -6
- package/dist/library/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/library/{Resizable.d.ts → components/Resizable/Resizable.d.ts} +7 -7
- package/dist/library/components/Resizable/Resizable.d.ts.map +1 -0
- package/dist/library/{Resizable.js → components/Resizable/Resizable.js} +8 -8
- package/dist/library/components/Resizable/Resizable.js.map +1 -0
- package/dist/library/{ScrollArea.d.ts → components/ScrollArea/ScrollArea.d.ts} +3 -3
- package/dist/library/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/library/{ScrollArea.js → components/ScrollArea/ScrollArea.js} +4 -4
- package/dist/library/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/library/{Select.d.ts → components/Select/Select.d.ts} +5 -5
- package/dist/library/components/Select/Select.d.ts.map +1 -0
- package/dist/library/{Select.js → components/Select/Select.js} +8 -8
- package/dist/library/components/Select/Select.js.map +1 -0
- package/dist/library/components/Select/selectStyles.d.ts.map +1 -0
- package/dist/library/{selectStyles.js → components/Select/selectStyles.js} +1 -1
- package/dist/library/components/Select/selectStyles.js.map +1 -0
- package/dist/library/{Separator.d.ts → components/Separator/Separator.d.ts} +2 -2
- package/dist/library/components/Separator/Separator.d.ts.map +1 -0
- package/dist/library/{Separator.js → components/Separator/Separator.js} +2 -2
- package/dist/library/components/Separator/Separator.js.map +1 -0
- package/dist/library/{Skeleton.d.ts → components/Skeleton/Skeleton.d.ts} +1 -1
- package/dist/library/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/library/{Skeleton.js → components/Skeleton/Skeleton.js} +3 -3
- package/dist/library/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/library/{Slider.d.ts → components/Slider/Slider.d.ts} +3 -3
- package/dist/library/components/Slider/Slider.d.ts.map +1 -0
- package/dist/library/{Slider.js → components/Slider/Slider.js} +4 -4
- package/dist/library/components/Slider/Slider.js.map +1 -0
- package/dist/library/{Spinner.d.ts → components/Spinner/Spinner.d.ts} +2 -2
- package/dist/library/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/library/{Spinner.js → components/Spinner/Spinner.js} +3 -3
- package/dist/library/components/Spinner/Spinner.js.map +1 -0
- package/dist/library/{Switch.d.ts → components/Switch/Switch.d.ts} +3 -3
- package/dist/library/components/Switch/Switch.d.ts.map +1 -0
- package/dist/library/{Switch.js → components/Switch/Switch.js} +6 -6
- package/dist/library/components/Switch/Switch.js.map +1 -0
- package/dist/library/{Table.d.ts → components/Table/Table.d.ts} +2 -2
- package/dist/library/components/Table/Table.d.ts.map +1 -0
- package/dist/library/{Table.js → components/Table/Table.js} +4 -4
- package/dist/library/components/Table/Table.js.map +1 -0
- package/dist/library/{Tabs.d.ts → components/Tabs/Tabs.d.ts} +4 -4
- package/dist/library/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/library/{Tabs.js → components/Tabs/Tabs.js} +7 -7
- package/dist/library/components/Tabs/Tabs.js.map +1 -0
- package/dist/library/{Tag.d.ts → components/Tag/Tag.d.ts} +2 -2
- package/dist/library/components/Tag/Tag.d.ts.map +1 -0
- package/dist/library/{Tag.js → components/Tag/Tag.js} +6 -6
- package/dist/library/components/Tag/Tag.js.map +1 -0
- package/dist/library/{TagsInput.d.ts → components/TagsInput/TagsInput.d.ts} +4 -4
- package/dist/library/components/TagsInput/TagsInput.d.ts.map +1 -0
- package/dist/library/{TagsInput.js → components/TagsInput/TagsInput.js} +11 -11
- package/dist/library/components/TagsInput/TagsInput.js.map +1 -0
- package/dist/library/{Textarea.d.ts → components/Textarea/Textarea.d.ts} +3 -3
- package/dist/library/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/library/{Textarea.js → components/Textarea/Textarea.js} +4 -4
- package/dist/library/components/Textarea/Textarea.js.map +1 -0
- package/dist/library/{ThemeScope.d.ts → components/ThemeScope/ThemeScope.d.ts} +1 -1
- package/dist/library/components/ThemeScope/ThemeScope.d.ts.map +1 -0
- package/dist/library/{ThemeScope.js → components/ThemeScope/ThemeScope.js} +4 -4
- package/dist/library/components/ThemeScope/ThemeScope.js.map +1 -0
- package/dist/library/{Toast.d.ts → components/Toast/Toast.d.ts} +5 -5
- package/dist/library/components/Toast/Toast.d.ts.map +1 -0
- package/dist/library/{Toast.js → components/Toast/Toast.js} +10 -10
- package/dist/library/components/Toast/Toast.js.map +1 -0
- package/dist/library/{ToggleGroup.d.ts → components/ToggleGroup/ToggleGroup.d.ts} +6 -6
- package/dist/library/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/dist/library/{ToggleGroup.js → components/ToggleGroup/ToggleGroup.js} +9 -9
- package/dist/library/components/ToggleGroup/ToggleGroup.js.map +1 -0
- package/dist/library/{Toolbar.d.ts → components/Toolbar/Toolbar.d.ts} +3 -3
- package/dist/library/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/library/{Toolbar.js → components/Toolbar/Toolbar.js} +5 -5
- package/dist/library/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/library/{Tooltip.d.ts → components/Tooltip/Tooltip.d.ts} +4 -4
- package/dist/library/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/library/{Tooltip.js → components/Tooltip/Tooltip.js} +9 -9
- package/dist/library/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/library/components/shared/actionStyles.d.ts.map +1 -0
- package/dist/library/components/shared/actionStyles.js.map +1 -0
- package/dist/library/{composedLink.d.ts → components/shared/composedLink.d.ts} +1 -1
- package/dist/library/components/shared/composedLink.d.ts.map +1 -0
- package/dist/library/{composedLink.js → components/shared/composedLink.js} +2 -2
- package/dist/library/components/shared/composedLink.js.map +1 -0
- package/dist/library/components/shared/controlStyles.d.ts.map +1 -0
- package/dist/library/components/shared/controlStyles.js.map +1 -0
- package/dist/library/components/shared/scrollbarStyles.d.ts +2 -0
- package/dist/library/components/shared/scrollbarStyles.d.ts.map +1 -0
- package/dist/library/components/shared/scrollbarStyles.js +4 -0
- package/dist/library/components/shared/scrollbarStyles.js.map +1 -0
- package/dist/library/index.d.ts +122 -122
- package/dist/library/index.d.ts.map +1 -1
- package/dist/library/index.js +67 -67
- package/dist/library/index.js.map +1 -1
- package/dist/library/motion/MotionLink.d.ts +1 -1
- package/dist/library/motion/MotionLink.d.ts.map +1 -1
- package/dist/library/motion/MotionLink.js +1 -1
- package/dist/library/motion/MotionLink.js.map +1 -1
- package/dist/library/presentation.d.ts +1 -1
- package/dist/library/presentation.d.ts.map +1 -1
- package/dist/library/styles.css +1 -1
- package/docs/architecture.md +2 -2
- package/docs/motion.md +1 -1
- package/package.json +1 -1
- package/src/charts/Charts.tsx +3 -3
- package/src/{Accordion.tsx → components/Accordion/Accordion.tsx} +14 -9
- package/src/{Alert.tsx → components/Alert/Alert.tsx} +6 -6
- package/src/{AlertDialog.tsx → components/AlertDialog/AlertDialog.tsx} +3 -3
- package/src/{AppShell.tsx → components/AppShell/AppShell.tsx} +18 -15
- package/src/{AspectRatio.tsx → components/AspectRatio/AspectRatio.tsx} +3 -3
- package/src/{Autocomplete.tsx → components/Autocomplete/Autocomplete.tsx} +4 -4
- package/src/{Avatar.tsx → components/Avatar/Avatar.tsx} +4 -4
- package/src/{Badge.tsx → components/Badge/Badge.tsx} +5 -5
- package/src/{Breadcrumb.tsx → components/Breadcrumb/Breadcrumb.tsx} +5 -5
- package/src/{Button.tsx → components/Button/Button.tsx} +12 -12
- package/src/{ButtonGroup.tsx → components/ButtonGroup/ButtonGroup.tsx} +4 -4
- package/src/{Card.tsx → components/Card/Card.tsx} +4 -4
- package/src/{Carousel.tsx → components/Carousel/Carousel.tsx} +9 -9
- package/src/{Checkbox.tsx → components/Checkbox/Checkbox.tsx} +7 -7
- package/src/{CheckboxGroup.tsx → components/CheckboxGroup/CheckboxGroup.tsx} +7 -7
- package/src/{CodeBlock.tsx → components/CodeBlock/CodeBlock.tsx} +9 -9
- package/src/{Collapsible.tsx → components/Collapsible/Collapsible.tsx} +7 -7
- package/src/{Combobox.tsx → components/Combobox/Combobox.tsx} +22 -17
- package/src/{comboboxStyles.ts → components/Combobox/comboboxStyles.ts} +1 -1
- package/src/{Command.tsx → components/Command/Command.tsx} +11 -11
- package/src/{ContextMenu.tsx → components/ContextMenu/ContextMenu.tsx} +7 -7
- package/src/{Dialog.tsx → components/Dialog/Dialog.tsx} +11 -11
- package/src/{Drawer.tsx → components/Drawer/Drawer.tsx} +12 -12
- package/src/{EmptyState.tsx → components/EmptyState/EmptyState.tsx} +6 -6
- package/src/{Field.tsx → components/Field/Field.tsx} +4 -4
- package/src/{Fieldset.tsx → components/Fieldset/Fieldset.tsx} +4 -4
- package/src/{FileInput.tsx → components/FileInput/FileInput.tsx} +7 -7
- package/src/{Form.tsx → components/Form/Form.tsx} +11 -11
- package/src/{HoverCard.tsx → components/HoverCard/HoverCard.tsx} +7 -7
- package/src/{InlineCode.tsx → components/InlineCode/InlineCode.tsx} +3 -3
- package/src/{Input.tsx → components/Input/Input.tsx} +6 -6
- package/src/{InputGroup.tsx → components/InputGroup/InputGroup.tsx} +7 -7
- package/src/{Kbd.tsx → components/Kbd/Kbd.tsx} +3 -3
- package/src/{Link.tsx → components/Link/Link.tsx} +4 -4
- package/src/{Menu.tsx → components/Menu/Menu.tsx} +14 -14
- package/src/{Menubar.tsx → components/Menubar/Menubar.tsx} +11 -11
- package/src/{Meter.tsx → components/Meter/Meter.tsx} +3 -3
- package/src/{MultiSelect.tsx → components/MultiSelect/MultiSelect.tsx} +2 -2
- package/src/{NativeSelect.tsx → components/NativeSelect/NativeSelect.tsx} +7 -7
- package/src/{NavLink.tsx → components/NavLink/NavLink.tsx} +6 -6
- package/src/{NavigationMenu.tsx → components/NavigationMenu/NavigationMenu.tsx} +15 -15
- package/src/{NumberField.tsx → components/NumberField/NumberField.tsx} +14 -14
- package/src/{OTPField.tsx → components/OTPField/OTPField.tsx} +8 -8
- package/src/{Pagination.tsx → components/Pagination/Pagination.tsx} +7 -7
- package/src/{PasswordInput.tsx → components/PasswordInput/PasswordInput.tsx} +11 -11
- package/src/{Popover.tsx → components/Popover/Popover.tsx} +13 -13
- package/src/{Progress.tsx → components/Progress/Progress.tsx} +3 -3
- package/src/{RadioGroup.tsx → components/RadioGroup/RadioGroup.tsx} +9 -9
- package/src/{Resizable.tsx → components/Resizable/Resizable.tsx} +12 -12
- package/src/{ScrollArea.tsx → components/ScrollArea/ScrollArea.tsx} +6 -6
- package/src/{Select.tsx → components/Select/Select.tsx} +12 -12
- package/src/{selectStyles.ts → components/Select/selectStyles.ts} +1 -1
- package/src/{Separator.tsx → components/Separator/Separator.tsx} +4 -4
- package/src/{Skeleton.tsx → components/Skeleton/Skeleton.tsx} +4 -4
- package/src/{Slider.tsx → components/Slider/Slider.tsx} +6 -6
- package/src/{Spinner.tsx → components/Spinner/Spinner.tsx} +5 -5
- package/src/{Switch.tsx → components/Switch/Switch.tsx} +8 -8
- package/src/{Table.tsx → components/Table/Table.tsx} +5 -5
- package/src/{Tabs.tsx → components/Tabs/Tabs.tsx} +10 -10
- package/src/{Tag.tsx → components/Tag/Tag.tsx} +7 -7
- package/src/{TagsInput.tsx → components/TagsInput/TagsInput.tsx} +14 -14
- package/src/{Textarea.tsx → components/Textarea/Textarea.tsx} +6 -6
- package/src/{ThemeScope.tsx → components/ThemeScope/ThemeScope.tsx} +5 -5
- package/src/{Toast.tsx → components/Toast/Toast.tsx} +13 -13
- package/src/{ToggleGroup.tsx → components/ToggleGroup/ToggleGroup.tsx} +17 -12
- package/src/{Toolbar.tsx → components/Toolbar/Toolbar.tsx} +7 -7
- package/src/{Tooltip.tsx → components/Tooltip/Tooltip.tsx} +12 -12
- package/src/{composedLink.tsx → components/shared/composedLink.tsx} +2 -2
- package/src/components/shared/scrollbarStyles.ts +4 -0
- package/src/index.ts +169 -123
- package/src/motion/MotionLink.tsx +1 -1
- package/src/presentation.ts +1 -1
- package/dist/library/Accordion.d.ts.map +0 -1
- package/dist/library/Accordion.js.map +0 -1
- package/dist/library/Alert.d.ts.map +0 -1
- package/dist/library/Alert.js.map +0 -1
- package/dist/library/AlertDialog.d.ts.map +0 -1
- package/dist/library/AlertDialog.js.map +0 -1
- package/dist/library/AppShell.d.ts.map +0 -1
- package/dist/library/AppShell.js.map +0 -1
- package/dist/library/AspectRatio.d.ts.map +0 -1
- package/dist/library/AspectRatio.js.map +0 -1
- package/dist/library/Autocomplete.d.ts.map +0 -1
- package/dist/library/Autocomplete.js.map +0 -1
- package/dist/library/Avatar.d.ts.map +0 -1
- package/dist/library/Avatar.js.map +0 -1
- package/dist/library/Badge.d.ts.map +0 -1
- package/dist/library/Badge.js.map +0 -1
- package/dist/library/Breadcrumb.d.ts.map +0 -1
- package/dist/library/Breadcrumb.js.map +0 -1
- package/dist/library/Button.d.ts.map +0 -1
- package/dist/library/Button.js.map +0 -1
- package/dist/library/ButtonGroup.d.ts.map +0 -1
- package/dist/library/ButtonGroup.js.map +0 -1
- package/dist/library/Card.d.ts.map +0 -1
- package/dist/library/Card.js.map +0 -1
- package/dist/library/Carousel.d.ts.map +0 -1
- package/dist/library/Carousel.js.map +0 -1
- package/dist/library/Checkbox.d.ts.map +0 -1
- package/dist/library/Checkbox.js.map +0 -1
- package/dist/library/CheckboxGroup.d.ts.map +0 -1
- package/dist/library/CheckboxGroup.js.map +0 -1
- package/dist/library/CodeBlock.d.ts.map +0 -1
- package/dist/library/CodeBlock.js.map +0 -1
- package/dist/library/Collapsible.d.ts.map +0 -1
- package/dist/library/Collapsible.js.map +0 -1
- package/dist/library/Combobox.d.ts.map +0 -1
- package/dist/library/Combobox.js.map +0 -1
- package/dist/library/Command.d.ts.map +0 -1
- package/dist/library/Command.js.map +0 -1
- package/dist/library/ContextMenu.d.ts.map +0 -1
- package/dist/library/ContextMenu.js.map +0 -1
- package/dist/library/Dialog.d.ts.map +0 -1
- package/dist/library/Dialog.js.map +0 -1
- package/dist/library/Drawer.d.ts.map +0 -1
- package/dist/library/Drawer.js.map +0 -1
- package/dist/library/EmptyState.d.ts.map +0 -1
- package/dist/library/EmptyState.js.map +0 -1
- package/dist/library/Field.d.ts.map +0 -1
- package/dist/library/Field.js.map +0 -1
- package/dist/library/Fieldset.d.ts.map +0 -1
- package/dist/library/Fieldset.js.map +0 -1
- package/dist/library/FileInput.d.ts.map +0 -1
- package/dist/library/FileInput.js.map +0 -1
- package/dist/library/Form.d.ts.map +0 -1
- package/dist/library/Form.js.map +0 -1
- package/dist/library/HoverCard.d.ts.map +0 -1
- package/dist/library/HoverCard.js.map +0 -1
- package/dist/library/InlineCode.d.ts.map +0 -1
- package/dist/library/InlineCode.js.map +0 -1
- package/dist/library/Input.d.ts.map +0 -1
- package/dist/library/Input.js.map +0 -1
- package/dist/library/InputGroup.d.ts.map +0 -1
- package/dist/library/InputGroup.js.map +0 -1
- package/dist/library/Kbd.d.ts.map +0 -1
- package/dist/library/Kbd.js.map +0 -1
- package/dist/library/Link.d.ts.map +0 -1
- package/dist/library/Link.js.map +0 -1
- package/dist/library/Menu.d.ts.map +0 -1
- package/dist/library/Menu.js.map +0 -1
- package/dist/library/Menubar.d.ts.map +0 -1
- package/dist/library/Menubar.js.map +0 -1
- package/dist/library/Meter.d.ts.map +0 -1
- package/dist/library/Meter.js.map +0 -1
- package/dist/library/MultiSelect.d.ts.map +0 -1
- package/dist/library/MultiSelect.js.map +0 -1
- package/dist/library/NativeSelect.d.ts.map +0 -1
- package/dist/library/NativeSelect.js.map +0 -1
- package/dist/library/NavLink.d.ts.map +0 -1
- package/dist/library/NavLink.js.map +0 -1
- package/dist/library/NavigationMenu.d.ts.map +0 -1
- package/dist/library/NavigationMenu.js.map +0 -1
- package/dist/library/NumberField.d.ts.map +0 -1
- package/dist/library/NumberField.js.map +0 -1
- package/dist/library/OTPField.d.ts.map +0 -1
- package/dist/library/OTPField.js.map +0 -1
- package/dist/library/Pagination.d.ts.map +0 -1
- package/dist/library/Pagination.js.map +0 -1
- package/dist/library/PasswordInput.d.ts.map +0 -1
- package/dist/library/PasswordInput.js.map +0 -1
- package/dist/library/Popover.d.ts.map +0 -1
- package/dist/library/Popover.js.map +0 -1
- package/dist/library/Progress.d.ts.map +0 -1
- package/dist/library/Progress.js.map +0 -1
- package/dist/library/RadioGroup.d.ts.map +0 -1
- package/dist/library/RadioGroup.js.map +0 -1
- package/dist/library/Resizable.d.ts.map +0 -1
- package/dist/library/Resizable.js.map +0 -1
- package/dist/library/ScrollArea.d.ts.map +0 -1
- package/dist/library/ScrollArea.js.map +0 -1
- package/dist/library/Select.d.ts.map +0 -1
- package/dist/library/Select.js.map +0 -1
- package/dist/library/Separator.d.ts.map +0 -1
- package/dist/library/Separator.js.map +0 -1
- package/dist/library/Skeleton.d.ts.map +0 -1
- package/dist/library/Skeleton.js.map +0 -1
- package/dist/library/Slider.d.ts.map +0 -1
- package/dist/library/Slider.js.map +0 -1
- package/dist/library/Spinner.d.ts.map +0 -1
- package/dist/library/Spinner.js.map +0 -1
- package/dist/library/Switch.d.ts.map +0 -1
- package/dist/library/Switch.js.map +0 -1
- package/dist/library/Table.d.ts.map +0 -1
- package/dist/library/Table.js.map +0 -1
- package/dist/library/Tabs.d.ts.map +0 -1
- package/dist/library/Tabs.js.map +0 -1
- package/dist/library/Tag.d.ts.map +0 -1
- package/dist/library/Tag.js.map +0 -1
- package/dist/library/TagsInput.d.ts.map +0 -1
- package/dist/library/TagsInput.js.map +0 -1
- package/dist/library/Textarea.d.ts.map +0 -1
- package/dist/library/Textarea.js.map +0 -1
- package/dist/library/ThemeScope.d.ts.map +0 -1
- package/dist/library/ThemeScope.js.map +0 -1
- package/dist/library/Toast.d.ts.map +0 -1
- package/dist/library/Toast.js.map +0 -1
- package/dist/library/ToggleGroup.d.ts.map +0 -1
- package/dist/library/ToggleGroup.js.map +0 -1
- package/dist/library/Toolbar.d.ts.map +0 -1
- package/dist/library/Toolbar.js.map +0 -1
- package/dist/library/Tooltip.d.ts.map +0 -1
- package/dist/library/Tooltip.js.map +0 -1
- package/dist/library/actionStyles.d.ts.map +0 -1
- package/dist/library/actionStyles.js.map +0 -1
- package/dist/library/comboboxStyles.d.ts.map +0 -1
- package/dist/library/comboboxStyles.js.map +0 -1
- package/dist/library/composedLink.d.ts.map +0 -1
- package/dist/library/composedLink.js.map +0 -1
- package/dist/library/controlStyles.d.ts.map +0 -1
- package/dist/library/controlStyles.js.map +0 -1
- package/dist/library/selectStyles.d.ts.map +0 -1
- package/dist/library/selectStyles.js.map +0 -1
- /package/dist/library/{comboboxStyles.d.ts → components/Combobox/comboboxStyles.d.ts} +0 -0
- /package/dist/library/{selectStyles.d.ts → components/Select/selectStyles.d.ts} +0 -0
- /package/dist/library/{actionStyles.d.ts → components/shared/actionStyles.d.ts} +0 -0
- /package/dist/library/{actionStyles.js → components/shared/actionStyles.js} +0 -0
- /package/dist/library/{controlStyles.d.ts → components/shared/controlStyles.d.ts} +0 -0
- /package/dist/library/{controlStyles.js → components/shared/controlStyles.js} +0 -0
- /package/src/{actionStyles.ts → components/shared/actionStyles.ts} +0 -0
- /package/src/{controlStyles.ts → components/shared/controlStyles.ts} +0 -0
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
} from 'react'
|
|
12
12
|
import type { ChangeEvent, ComponentProps, ReactNode } from 'react'
|
|
13
13
|
import { cva } from 'class-variance-authority'
|
|
14
|
-
import { cn } from '
|
|
15
|
-
import { joinIds } from '
|
|
16
|
-
import { useComposedRefs } from '
|
|
17
|
-
import { useNativeOwner, type ValueOwner, type CheckedOwner } from '
|
|
18
|
-
import { controlBorderClass, controlMetrics, indicatorPressClass } from '
|
|
19
|
-
import { Field, useFieldControl } from '
|
|
20
|
-
import type { FieldProps } from '
|
|
21
|
-
import type { ThemeStyle } from '
|
|
22
|
-
import type { ControlSize, ControlParts, PartStyle } from '
|
|
14
|
+
import { cn } from '../../cn.js'
|
|
15
|
+
import { joinIds } from '../../internal/ids.js'
|
|
16
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
17
|
+
import { useNativeOwner, type ValueOwner, type CheckedOwner } from '../../react/useNativeOwner.js'
|
|
18
|
+
import { controlBorderClass, controlMetrics, indicatorPressClass } from '../shared/controlStyles.js'
|
|
19
|
+
import { Field, useFieldControl } from '../Field/Field.js'
|
|
20
|
+
import type { FieldProps } from '../Field/Field.js'
|
|
21
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
22
|
+
import type { ControlSize, ControlParts, PartStyle } from '../../presentation.js'
|
|
23
23
|
|
|
24
24
|
const radioVariants = cva([
|
|
25
25
|
controlBorderClass,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
useCallback,
|
|
12
12
|
type ComponentProps
|
|
13
13
|
} from 'react'
|
|
14
|
-
import { SeparatorRoot, type SeparatorProps } from '
|
|
15
|
-
import { cn } from '
|
|
16
|
-
import { joinIds } from '
|
|
17
|
-
import { requireAccessibleName, type AccessibleName } from '
|
|
14
|
+
import { SeparatorRoot, type SeparatorProps } from '../Separator/Separator.js'
|
|
15
|
+
import { cn } from '../../cn.js'
|
|
16
|
+
import { joinIds } from '../../internal/ids.js'
|
|
17
|
+
import { requireAccessibleName, type AccessibleName } from '../../internal/accessibleName.js'
|
|
18
18
|
import {
|
|
19
19
|
checkResizableItems,
|
|
20
20
|
checkResizableValue,
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
resizePanel,
|
|
25
25
|
sameResizableValue,
|
|
26
26
|
type ResizableItem
|
|
27
|
-
} from '
|
|
28
|
-
import { addDecimal } from '
|
|
29
|
-
import { useControllableState } from '
|
|
30
|
-
import { useComposedRefs } from '
|
|
31
|
-
import type { ValueOwner } from '
|
|
32
|
-
import type { Orientation } from '
|
|
33
|
-
import type { ThemeStyle } from '
|
|
34
|
-
export type { ResizableItem } from '
|
|
27
|
+
} from '../../internal/resizable.js'
|
|
28
|
+
import { addDecimal } from '../../internal/decimal.js'
|
|
29
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
30
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
31
|
+
import type { ValueOwner } from '../../react/useNativeOwner.js'
|
|
32
|
+
import type { Orientation } from '../../presentation.js'
|
|
33
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
34
|
+
export type { ResizableItem } from '../../internal/resizable.js'
|
|
35
35
|
|
|
36
36
|
type LayoutOwner = ValueOwner<number[]> & ({ value: number[] } | { defaultValue: number[] })
|
|
37
37
|
export type ResizableProps = Omit<
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
type ComponentProps,
|
|
13
13
|
type PointerEvent
|
|
14
14
|
} from 'react'
|
|
15
|
-
import { requireAccessibleName, type AccessibleName } from '
|
|
16
|
-
import { cn } from '
|
|
17
|
-
import { joinIds } from '
|
|
18
|
-
import { useComposedRefs } from '
|
|
19
|
-
import type { Orientation, PartStyle } from '
|
|
20
|
-
import type { ThemeStyle } from '
|
|
15
|
+
import { requireAccessibleName, type AccessibleName } from '../../internal/accessibleName.js'
|
|
16
|
+
import { cn } from '../../cn.js'
|
|
17
|
+
import { joinIds } from '../../internal/ids.js'
|
|
18
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
19
|
+
import type { Orientation, PartStyle } from '../../presentation.js'
|
|
20
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
21
21
|
|
|
22
22
|
export type ScrollAreaOrientation = Orientation | 'both'
|
|
23
23
|
export type ScrollAreaVisibility = 'hover' | 'scroll' | 'always'
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
} from 'react'
|
|
14
14
|
import type { ComponentProps, ReactNode, RefObject } from 'react'
|
|
15
15
|
import { createPortal } from 'react-dom'
|
|
16
|
-
import { Button, type ButtonProps, type ButtonRenderProps } from '
|
|
17
|
-
import { useField, useFieldControl } from '
|
|
18
|
-
import type { DistributiveOmit } from '
|
|
19
|
-
import { cn } from '
|
|
20
|
-
import { controlMetrics, itemGroupLabelClass } from '
|
|
21
|
-
import { matchSelectText, moveSelectFocus, positionSelect } from '
|
|
22
|
-
import { useComposedRefs } from '
|
|
23
|
-
import { useControllableState } from '
|
|
24
|
-
import { useTransitionHost } from '
|
|
25
|
-
import type { StateOwner, ValueOwner } from '
|
|
26
|
-
import type { ControlSize } from '
|
|
27
|
-
import type { ThemeStyle } from '
|
|
16
|
+
import { Button, type ButtonProps, type ButtonRenderProps } from '../Button/Button.js'
|
|
17
|
+
import { useField, useFieldControl } from '../Field/Field.js'
|
|
18
|
+
import type { DistributiveOmit } from '../../internal/types.js'
|
|
19
|
+
import { cn } from '../../cn.js'
|
|
20
|
+
import { controlMetrics, itemGroupLabelClass } from '../shared/controlStyles.js'
|
|
21
|
+
import { matchSelectText, moveSelectFocus, positionSelect } from '../../internal/select.js'
|
|
22
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
23
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
24
|
+
import { useTransitionHost } from '../../motion/host.js'
|
|
25
|
+
import type { StateOwner, ValueOwner } from '../../react/useNativeOwner.js'
|
|
26
|
+
import type { ControlSize } from '../../presentation.js'
|
|
27
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
28
28
|
import { selectContentClass, selectItemClass, selectTriggerClass } from './selectStyles.js'
|
|
29
29
|
|
|
30
30
|
export type SelectOption = { value: string; disabled?: boolean } & (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react'
|
|
2
|
-
import { cn } from '
|
|
3
|
-
import { joinIds } from '
|
|
4
|
-
import type { Orientation } from '
|
|
5
|
-
import type { ThemeStyle } from '
|
|
2
|
+
import { cn } from '../../cn.js'
|
|
3
|
+
import { joinIds } from '../../internal/ids.js'
|
|
4
|
+
import type { Orientation } from '../../presentation.js'
|
|
5
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
6
6
|
|
|
7
7
|
export type SeparatorProps = Omit<
|
|
8
8
|
ComponentProps<'hr'>,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useContext, type ComponentProps } from 'react'
|
|
4
|
-
import { cn } from '
|
|
5
|
-
import { joinIds } from '
|
|
6
|
-
import { MotionProfileContext } from '
|
|
7
|
-
import type { ThemeStyle } from '
|
|
4
|
+
import { cn } from '../../cn.js'
|
|
5
|
+
import { joinIds } from '../../internal/ids.js'
|
|
6
|
+
import { MotionProfileContext } from '../../motion/context.js'
|
|
7
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
8
8
|
|
|
9
9
|
export type SkeletonProps = Omit<
|
|
10
10
|
ComponentProps<'span'>,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import type { ComponentProps } from 'react'
|
|
4
|
-
import { cn } from '
|
|
5
|
-
import { useFieldControl } from '
|
|
6
|
-
import { controlBorderClass, controlMetrics } from '
|
|
7
|
-
import { useNativeOwner, type ValueOwner } from '
|
|
8
|
-
import type { ThemeStyle } from '
|
|
9
|
-
import type { ControlSize, Orientation } from '
|
|
4
|
+
import { cn } from '../../cn.js'
|
|
5
|
+
import { useFieldControl } from '../Field/Field.js'
|
|
6
|
+
import { controlBorderClass, controlMetrics } from '../shared/controlStyles.js'
|
|
7
|
+
import { useNativeOwner, type ValueOwner } from '../../react/useNativeOwner.js'
|
|
8
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
9
|
+
import type { ControlSize, Orientation } from '../../presentation.js'
|
|
10
10
|
|
|
11
11
|
const sliderClass = [
|
|
12
12
|
controlBorderClass,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useContext, type ComponentProps } from 'react'
|
|
4
|
-
import { cn } from '
|
|
5
|
-
import { joinIds } from '
|
|
6
|
-
import { MotionProfileContext } from '
|
|
7
|
-
import type { ControlSize, PartStyle } from '
|
|
8
|
-
import type { ThemeStyle } from '
|
|
4
|
+
import { cn } from '../../cn.js'
|
|
5
|
+
import { joinIds } from '../../internal/ids.js'
|
|
6
|
+
import { MotionProfileContext } from '../../motion/context.js'
|
|
7
|
+
import type { ControlSize, PartStyle } from '../../presentation.js'
|
|
8
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
9
9
|
|
|
10
10
|
export type SpinnerProps = Omit<
|
|
11
11
|
ComponentProps<'svg'>,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import { useCallback, useLayoutEffect, useRef, type ComponentProps, type ReactNode } from 'react'
|
|
4
4
|
import { cva } from 'class-variance-authority'
|
|
5
|
-
import { cn } from '
|
|
6
|
-
import { useSwitchDrag } from '
|
|
7
|
-
import { useComposedRefs } from '
|
|
8
|
-
import { useNativeOwner, type CheckedOwner } from '
|
|
9
|
-
import { controlBorderClass, controlMetrics } from '
|
|
10
|
-
import { useFieldControl } from '
|
|
11
|
-
import type { ThemeStyle } from '
|
|
12
|
-
import type { ControlSize, ControlParts } from '
|
|
5
|
+
import { cn } from '../../cn.js'
|
|
6
|
+
import { useSwitchDrag } from '../../react/useSwitchDrag.js'
|
|
7
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
8
|
+
import { useNativeOwner, type CheckedOwner } from '../../react/useNativeOwner.js'
|
|
9
|
+
import { controlBorderClass, controlMetrics } from '../shared/controlStyles.js'
|
|
10
|
+
import { useFieldControl } from '../Field/Field.js'
|
|
11
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
12
|
+
import type { ControlSize, ControlParts } from '../../presentation.js'
|
|
13
13
|
|
|
14
14
|
const switchVariants = cva([
|
|
15
15
|
controlBorderClass,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react'
|
|
2
|
-
import { cn } from '
|
|
3
|
-
import { requireAccessibleName, type AccessibleName } from '
|
|
4
|
-
import { joinIds } from '
|
|
5
|
-
import type { ThemeStyle } from '
|
|
2
|
+
import { cn } from '../../cn.js'
|
|
3
|
+
import { requireAccessibleName, type AccessibleName } from '../../internal/accessibleName.js'
|
|
4
|
+
import { joinIds } from '../../internal/ids.js'
|
|
5
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
6
6
|
type Part<
|
|
7
7
|
Host extends 'table' | 'caption' | 'thead' | 'tbody' | 'tfoot' | 'tr' | 'th' | 'td' | 'section'
|
|
8
8
|
> = Omit<ComponentProps<Host>, 'role' | 'style'> & { style?: ThemeStyle; 'data-slot'?: string }
|
|
@@ -85,7 +85,7 @@ export function TableRow({ className, ...props }: TableRowProps) {
|
|
|
85
85
|
{...nativeProps}
|
|
86
86
|
data-slot={joinIds('table-row', props['data-slot'])}
|
|
87
87
|
className={cn(
|
|
88
|
-
'border-b-[length:var(--rad-table-border-width,var(--rad-surface-border-width,1px))] [border-style:var(--rad-surface-border-style,solid)] border-[var(--rad-table-border-color,var(--rad-color-border))] forced-colors:border-[CanvasText]',
|
|
88
|
+
'border-0 border-b-[length:var(--rad-table-border-width,var(--rad-surface-border-width,1px))] [border-style:var(--rad-surface-border-style,solid)] border-[var(--rad-table-border-color,var(--rad-color-border))] forced-colors:border-[CanvasText]',
|
|
89
89
|
className
|
|
90
90
|
)}
|
|
91
91
|
/>
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
useRef,
|
|
9
9
|
type ComponentProps
|
|
10
10
|
} from 'react'
|
|
11
|
-
import { Button, type ButtonProps, type ButtonRenderProps } from '
|
|
12
|
-
import { cn } from '
|
|
13
|
-
import { controlMetrics } from '
|
|
14
|
-
import { composeAction } from '
|
|
15
|
-
import { joinIds } from '
|
|
16
|
-
import { useComposedRefs } from '
|
|
17
|
-
import { useControllableState } from '
|
|
18
|
-
import type { ControlSize, Orientation } from '
|
|
19
|
-
import type { ValueOwner } from '
|
|
20
|
-
import type { ThemeStyle } from '
|
|
11
|
+
import { Button, type ButtonProps, type ButtonRenderProps } from '../Button/Button.js'
|
|
12
|
+
import { cn } from '../../cn.js'
|
|
13
|
+
import { controlMetrics } from '../shared/controlStyles.js'
|
|
14
|
+
import { composeAction } from '../../internal/events.js'
|
|
15
|
+
import { joinIds } from '../../internal/ids.js'
|
|
16
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
17
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
18
|
+
import type { ControlSize, Orientation } from '../../presentation.js'
|
|
19
|
+
import type { ValueOwner } from '../../react/useNativeOwner.js'
|
|
20
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
21
21
|
|
|
22
22
|
const rootClass =
|
|
23
23
|
'grid min-w-0 gap-[var(--rad-tabs-gap,var(--rad-spacing-group-gap,0.75rem))] data-[orientation=vertical]:grid-cols-[max-content_minmax(0,1fr)] data-[orientation=vertical]:items-start'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { inlineActionClass } from '
|
|
3
|
+
import { inlineActionClass } from '../shared/actionStyles.js'
|
|
4
4
|
import type { MouseEvent, ReactNode } from 'react'
|
|
5
|
-
import { Badge, type BadgeProps } from '
|
|
6
|
-
import { Button } from '
|
|
7
|
-
import { cn } from '
|
|
8
|
-
import { joinIds } from '
|
|
9
|
-
import { requireAccessibleName } from '
|
|
10
|
-
import type { PartStyle } from '
|
|
5
|
+
import { Badge, type BadgeProps } from '../Badge/Badge.js'
|
|
6
|
+
import { Button } from '../Button/Button.js'
|
|
7
|
+
import { cn } from '../../cn.js'
|
|
8
|
+
import { joinIds } from '../../internal/ids.js'
|
|
9
|
+
import { requireAccessibleName } from '../../internal/accessibleName.js'
|
|
10
|
+
import type { PartStyle } from '../../presentation.js'
|
|
11
11
|
|
|
12
12
|
export type TagProps = Omit<BadgeProps, 'decorative' | 'children'> & {
|
|
13
13
|
children: ReactNode
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
3
|
import { useId, useLayoutEffect, useRef, useState } from 'react'
|
|
4
|
-
import { InputRoot, type InputProps } from '
|
|
5
|
-
import { Tag } from '
|
|
6
|
-
import { useFieldControl } from '
|
|
7
|
-
import { cn } from '
|
|
8
|
-
import { controlBorderClass, controlMetrics } from '
|
|
9
|
-
import { joinIds } from '
|
|
10
|
-
import { sameSelection } from '
|
|
11
|
-
import { splitTags, tagSeparators, validateTags } from '
|
|
12
|
-
import type { DistributiveOmit } from '
|
|
13
|
-
import { useControllableState } from '
|
|
14
|
-
import { useComposedRefs } from '
|
|
15
|
-
import { useArrayFormBridge } from '
|
|
16
|
-
import type { ValueOwner } from '
|
|
17
|
-
import type { PartStyle } from '
|
|
4
|
+
import { InputRoot, type InputProps } from '../Input/Input.js'
|
|
5
|
+
import { Tag } from '../Tag/Tag.js'
|
|
6
|
+
import { useFieldControl } from '../Field/Field.js'
|
|
7
|
+
import { cn } from '../../cn.js'
|
|
8
|
+
import { controlBorderClass, controlMetrics } from '../shared/controlStyles.js'
|
|
9
|
+
import { joinIds } from '../../internal/ids.js'
|
|
10
|
+
import { sameSelection } from '../../internal/selection.js'
|
|
11
|
+
import { splitTags, tagSeparators, validateTags } from '../../internal/tags.js'
|
|
12
|
+
import type { DistributiveOmit } from '../../internal/types.js'
|
|
13
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
14
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
15
|
+
import { useArrayFormBridge } from '../../react/useArrayFormBridge.js'
|
|
16
|
+
import type { ValueOwner } from '../../react/useNativeOwner.js'
|
|
17
|
+
import type { PartStyle } from '../../presentation.js'
|
|
18
18
|
|
|
19
19
|
export type TagsInputProps = DistributiveOmit<
|
|
20
20
|
InputProps,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import type { ComponentProps } from 'react'
|
|
4
4
|
import { cva } from 'class-variance-authority'
|
|
5
|
-
import { cn } from '
|
|
6
|
-
import { controlBorderClass, controlMetrics } from '
|
|
7
|
-
import { useNativeOwner, type ValueOwner } from '
|
|
8
|
-
import type { ThemeStyle } from '
|
|
9
|
-
import type { ControlSize } from '
|
|
10
|
-
import { useFieldControl } from '
|
|
5
|
+
import { cn } from '../../cn.js'
|
|
6
|
+
import { controlBorderClass, controlMetrics } from '../shared/controlStyles.js'
|
|
7
|
+
import { useNativeOwner, type ValueOwner } from '../../react/useNativeOwner.js'
|
|
8
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
9
|
+
import type { ControlSize } from '../../presentation.js'
|
|
10
|
+
import { useFieldControl } from '../Field/Field.js'
|
|
11
11
|
|
|
12
12
|
const textareaVariants = cva([
|
|
13
13
|
controlBorderClass,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { MotionProfileContext } from '
|
|
3
|
+
import { MotionProfileContext } from '../../motion/context.js'
|
|
4
4
|
|
|
5
5
|
import { createContext, useContext } from 'react'
|
|
6
6
|
import type { ComponentProps } from 'react'
|
|
7
|
-
import { cn } from '
|
|
8
|
-
import { defaultTheme } from '
|
|
9
|
-
import { modeStyle } from '
|
|
10
|
-
import type { Theme, ThemeMode, ThemeStyle } from '
|
|
7
|
+
import { cn } from '../../cn.js'
|
|
8
|
+
import { defaultTheme } from '../../themes/default.js'
|
|
9
|
+
import { modeStyle } from '../../themes/tokens.js'
|
|
10
|
+
import type { Theme, ThemeMode, ThemeStyle } from '../../themes/defineTheme.js'
|
|
11
11
|
|
|
12
12
|
type ScopeState = { theme: Theme; overrides: ThemeStyle }
|
|
13
13
|
const ThemeContext = createContext<ScopeState | null>(null)
|
|
@@ -19,19 +19,19 @@ import {
|
|
|
19
19
|
type AlertAnnouncement,
|
|
20
20
|
type AlertTitleProps,
|
|
21
21
|
type AlertDescriptionProps
|
|
22
|
-
} from '
|
|
23
|
-
import { Button, type ButtonProps, type ButtonRenderProps } from '
|
|
24
|
-
import { cn } from '
|
|
25
|
-
import { joinIds } from '
|
|
26
|
-
import type { WithoutToggle } from '
|
|
27
|
-
import { composeAction } from '
|
|
28
|
-
import { validateToastDuration } from '
|
|
29
|
-
import { useControllableState } from '
|
|
30
|
-
import type { StateOwner } from '
|
|
31
|
-
import { useComposedRefs } from '
|
|
32
|
-
import { useToastTimer } from '
|
|
33
|
-
import { useTransitionHost } from '
|
|
34
|
-
import type { ThemeStyle } from '
|
|
22
|
+
} from '../Alert/Alert.js'
|
|
23
|
+
import { Button, type ButtonProps, type ButtonRenderProps } from '../Button/Button.js'
|
|
24
|
+
import { cn } from '../../cn.js'
|
|
25
|
+
import { joinIds } from '../../internal/ids.js'
|
|
26
|
+
import type { WithoutToggle } from '../../internal/types.js'
|
|
27
|
+
import { composeAction } from '../../internal/events.js'
|
|
28
|
+
import { validateToastDuration } from '../../internal/toast.js'
|
|
29
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
30
|
+
import type { StateOwner } from '../../react/useNativeOwner.js'
|
|
31
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
32
|
+
import { useToastTimer } from '../../react/useToastTimer.js'
|
|
33
|
+
import { useTransitionHost } from '../../motion/host.js'
|
|
34
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
35
35
|
|
|
36
36
|
export type ToastProviderProps = { duration?: number; children?: ReactNode }
|
|
37
37
|
export type ToastAnnouncement = AlertAnnouncement
|
|
@@ -9,18 +9,23 @@ import {
|
|
|
9
9
|
useState,
|
|
10
10
|
type ComponentProps
|
|
11
11
|
} from 'react'
|
|
12
|
-
import { Button, type ButtonProps, type ButtonRenderProps } from '
|
|
13
|
-
import { requireAccessibleName, type AccessibleName } from '
|
|
14
|
-
import { cn } from '
|
|
15
|
-
import { joinIds } from '
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
import
|
|
12
|
+
import { Button, type ButtonProps, type ButtonRenderProps } from '../Button/Button.js'
|
|
13
|
+
import { requireAccessibleName, type AccessibleName } from '../../internal/accessibleName.js'
|
|
14
|
+
import { cn } from '../../cn.js'
|
|
15
|
+
import { joinIds } from '../../internal/ids.js'
|
|
16
|
+
import {
|
|
17
|
+
isItemOpen,
|
|
18
|
+
nextSelection,
|
|
19
|
+
sameSelection,
|
|
20
|
+
type Selection
|
|
21
|
+
} from '../../internal/selection.js'
|
|
22
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
23
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
24
|
+
import type { ValueOwner } from '../../react/useNativeOwner.js'
|
|
25
|
+
import { CompositeFocusContext, useRovingFocus } from '../../react/useRovingFocus.js'
|
|
26
|
+
import { useTransitionHost } from '../../motion/host.js'
|
|
27
|
+
import type { ControlSize, Orientation, PartStyle } from '../../presentation.js'
|
|
28
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
24
29
|
|
|
25
30
|
export type ToggleGroupVariant = 'buttons' | 'segmented'
|
|
26
31
|
export type ToggleGroupValue = Selection
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { useRef, type ComponentProps } from 'react'
|
|
3
|
-
import { cn } from '
|
|
4
|
-
import { joinIds } from '
|
|
5
|
-
import { requireAccessibleName, type AccessibleName } from '
|
|
6
|
-
import { useComposedRefs } from '
|
|
7
|
-
import { CompositeFocusContext, useRovingFocus } from '
|
|
8
|
-
import type { Orientation } from '
|
|
9
|
-
import type { ThemeStyle } from '
|
|
3
|
+
import { cn } from '../../cn.js'
|
|
4
|
+
import { joinIds } from '../../internal/ids.js'
|
|
5
|
+
import { requireAccessibleName, type AccessibleName } from '../../internal/accessibleName.js'
|
|
6
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
7
|
+
import { CompositeFocusContext, useRovingFocus } from '../../react/useRovingFocus.js'
|
|
8
|
+
import type { Orientation } from '../../presentation.js'
|
|
9
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
10
10
|
|
|
11
11
|
export type ToolbarProps = Omit<
|
|
12
12
|
ComponentProps<'div'>,
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
type RefObject
|
|
12
12
|
} from 'react'
|
|
13
13
|
import { createPortal } from 'react-dom'
|
|
14
|
-
import { Button, type ButtonProps, type ButtonRenderProps } from '
|
|
15
|
-
import { cn } from '
|
|
16
|
-
import { joinIds } from '
|
|
17
|
-
import { composeAction } from '
|
|
18
|
-
import type { PopoverSide, PopoverAlign } from '
|
|
19
|
-
import { useControllableState } from '
|
|
20
|
-
import { useComposedRefs } from '
|
|
21
|
-
import type { StateOwner } from '
|
|
22
|
-
import { useHoverSurface } from '
|
|
23
|
-
import { usePopoverSurface } from '
|
|
24
|
-
import { useTransitionHost } from '
|
|
25
|
-
import type { ThemeStyle } from '
|
|
14
|
+
import { Button, type ButtonProps, type ButtonRenderProps } from '../Button/Button.js'
|
|
15
|
+
import { cn } from '../../cn.js'
|
|
16
|
+
import { joinIds } from '../../internal/ids.js'
|
|
17
|
+
import { composeAction } from '../../internal/events.js'
|
|
18
|
+
import type { PopoverSide, PopoverAlign } from '../../internal/popover.js'
|
|
19
|
+
import { useControllableState } from '../../react/useControllableState.js'
|
|
20
|
+
import { useComposedRefs } from '../../react/useComposedRefs.js'
|
|
21
|
+
import type { StateOwner } from '../../react/useNativeOwner.js'
|
|
22
|
+
import { useHoverSurface } from '../../react/useHoverSurface.js'
|
|
23
|
+
import { usePopoverSurface } from '../../react/usePopoverSurface.js'
|
|
24
|
+
import { useTransitionHost } from '../../motion/host.js'
|
|
25
|
+
import type { ThemeStyle } from '../../themes/defineTheme.js'
|
|
26
26
|
|
|
27
27
|
export type TooltipProps = StateOwner<'open', boolean> & {
|
|
28
28
|
onOpenChange?: (open: boolean) => void
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement } from 'react'
|
|
2
|
-
import { Link, type LinkProps, type LinkRenderProps } from '
|
|
3
|
-
import { joinIds } from '
|
|
2
|
+
import { Link, type LinkProps, type LinkRenderProps } from '../Link/Link.js'
|
|
3
|
+
import { joinIds } from '../../internal/ids.js'
|
|
4
4
|
export type ComposedLinkRenderProps = Omit<LinkRenderProps, 'data-slot' | 'href'> & {
|
|
5
5
|
'data-slot': string
|
|
6
6
|
href: string
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Native scroll containers draw ScrollArea's thumb on a clear track, like an overlay bar.
|
|
2
|
+
// Forced colors ignore scrollbar-color, so system scrollbars return there.
|
|
3
|
+
export const scrollbarClass =
|
|
4
|
+
'[scrollbar-color:color-mix(in_oklch,var(--rad-scroll-area-thumb-color,var(--rad-color-muted-foreground,oklch(0.45_0.01_286)))_45%,transparent)_transparent]'
|