@taiv/ui 1.14.1 → 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/dist/assets/assets.d.ts +12 -1
- package/dist/assets/assets.d.ts.map +1 -1
- package/dist/assets/assets.js +22 -16
- package/dist/assets/brand/taiv-favicon-dark.png +0 -0
- package/dist/assets/brand/taiv-favicon-light.png +0 -0
- package/dist/assets/brand/taiv-icon-black.svg +10 -0
- package/dist/assets/brand/taiv-icon-dark.svg +17 -0
- package/dist/assets/brand/taiv-icon-white.svg +17 -0
- package/dist/assets/brand/taiv-logo-black.svg +16 -0
- package/dist/assets/brand/taiv-logo-dark.svg +23 -0
- package/dist/assets/brand/taiv-logo-old.svg +1 -0
- package/dist/assets/brand/taiv-logo-purple.svg +16 -0
- package/dist/assets/brand/taiv-logo-white.svg +23 -0
- package/dist/assets/icons.d.ts +1 -1
- package/dist/assets/icons.d.ts.map +1 -1
- package/dist/assets/icons.js +57 -53
- package/dist/assets/index.d.ts +3 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets/index.js +2 -0
- package/dist/components/Data/BigCalendar/BigCalendar.d.ts +26 -0
- package/dist/components/Data/BigCalendar/BigCalendar.d.ts.map +1 -0
- package/dist/components/Data/BigCalendar/BigCalendar.js +54 -0
- package/dist/components/Data/BigCalendar/BigCalendar.stories.d.ts +8 -0
- package/dist/components/Data/BigCalendar/BigCalendar.stories.d.ts.map +1 -0
- package/dist/components/Data/BigCalendar/BigCalendar.stories.js +77 -0
- package/dist/components/Data/Calendar/Calendar.d.ts +102 -0
- package/dist/components/Data/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Data/Calendar/Calendar.js +671 -0
- package/dist/components/Data/Calendar/Calendar.stories.d.ts +10 -0
- package/dist/components/Data/Calendar/Calendar.stories.d.ts.map +1 -0
- package/dist/components/Data/Calendar/Calendar.stories.js +87 -0
- package/dist/components/Data/MediaPill/MediaPill.d.ts +27 -0
- package/dist/components/Data/MediaPill/MediaPill.d.ts.map +1 -0
- package/dist/components/Data/MediaPill/MediaPill.js +53 -0
- package/dist/components/Data/MediaPill/MediaPill.stories.d.ts +10 -0
- package/dist/components/Data/MediaPill/MediaPill.stories.d.ts.map +1 -0
- package/dist/components/Data/MediaPill/MediaPill.stories.js +51 -0
- package/dist/components/Info/Avatar/Avatar.d.ts +9 -0
- package/dist/components/Info/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Info/Avatar/Avatar.js +36 -0
- package/dist/components/Info/Avatar/Avatar.stories.d.ts +9 -0
- package/dist/components/Info/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/Info/Avatar/Avatar.stories.js +78 -0
- package/dist/components/Info/Badge/Badge.stories.d.ts.map +1 -1
- package/dist/components/Info/Badge/Badge.stories.js +21 -6
- package/dist/components/Info/Badge/sizes.d.ts +10 -10
- package/dist/components/Info/Badge/sizes.js +16 -16
- package/dist/components/Info/Badge/variants.d.ts +4 -4
- package/dist/components/Info/Badge/variants.d.ts.map +1 -1
- package/dist/components/Info/Badge/variants.js +26 -13
- package/dist/components/Info/Drawer/Drawer.d.ts +24 -0
- package/dist/components/Info/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Info/Drawer/Drawer.js +44 -0
- package/dist/components/Info/Drawer/Drawer.stories.d.ts +10 -0
- package/dist/components/Info/Drawer/Drawer.stories.d.ts.map +1 -0
- package/dist/components/Info/Drawer/Drawer.stories.js +47 -0
- package/dist/components/Info/HoverCard/HoverCard.d.ts +16 -0
- package/dist/components/Info/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/components/Info/HoverCard/HoverCard.js +26 -0
- package/dist/components/Info/HoverCard/HoverCard.stories.d.ts +11 -0
- package/dist/components/Info/HoverCard/HoverCard.stories.d.ts.map +1 -0
- package/dist/components/Info/HoverCard/HoverCard.stories.js +86 -0
- package/dist/components/Info/HoverCard/HoverCardMenuItem.d.ts +12 -0
- package/dist/components/Info/HoverCard/HoverCardMenuItem.d.ts.map +1 -0
- package/dist/components/Info/HoverCard/HoverCardMenuItem.js +22 -0
- package/dist/components/Info/Indicator/Indicator.d.ts +3 -0
- package/dist/components/Info/Indicator/Indicator.d.ts.map +1 -0
- package/dist/components/Info/Indicator/Indicator.js +1 -0
- package/dist/components/Info/Indicator/Indicator.stories.d.ts +11 -0
- package/dist/components/Info/Indicator/Indicator.stories.d.ts.map +1 -0
- package/dist/components/Info/Indicator/Indicator.stories.js +123 -0
- package/dist/components/Info/InfoCard/InfoCard.d.ts +2 -2
- package/dist/components/Info/InfoCard/InfoCard.d.ts.map +1 -1
- package/dist/components/Info/InfoCard/InfoCard.js +5 -5
- package/dist/components/Info/MobileDrawer/MobileDrawer.d.ts +30 -0
- package/dist/components/Info/MobileDrawer/MobileDrawer.d.ts.map +1 -0
- package/dist/components/Info/MobileDrawer/MobileDrawer.js +52 -0
- package/dist/components/Info/MobileDrawer/MobileDrawer.stories.d.ts +9 -0
- package/dist/components/Info/MobileDrawer/MobileDrawer.stories.d.ts.map +1 -0
- package/dist/components/Info/MobileDrawer/MobileDrawer.stories.js +38 -0
- package/dist/components/Info/Modals/FormModal/FormModal.d.ts +17 -1
- package/dist/components/Info/Modals/FormModal/FormModal.d.ts.map +1 -1
- package/dist/components/Info/Modals/FormModal/FormModal.js +30 -12
- package/dist/components/Info/Modals/FormModalV2/FormModalV2.d.ts +60 -0
- package/dist/components/Info/Modals/FormModalV2/FormModalV2.d.ts.map +1 -0
- package/dist/components/Info/Modals/FormModalV2/FormModalV2.js +96 -0
- package/dist/components/Info/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Info/Modals/Modal/Modal.js +9 -1
- package/dist/components/Info/Modals/StepperModal/StepperModal.d.ts +21 -0
- package/dist/components/Info/Modals/StepperModal/StepperModal.d.ts.map +1 -0
- package/dist/components/Info/Modals/StepperModal/StepperModal.js +50 -0
- package/dist/components/Info/Modals/StepperModal/StepperModal.stories.d.ts +10 -0
- package/dist/components/Info/Modals/StepperModal/StepperModal.stories.d.ts.map +1 -0
- package/dist/components/Info/Modals/StepperModal/StepperModal.stories.js +169 -0
- package/dist/components/Info/Modals/variants.d.ts +61 -41
- package/dist/components/Info/Modals/variants.d.ts.map +1 -1
- package/dist/components/Info/Modals/variants.js +58 -38
- package/dist/components/Info/Notifications/Notifications.stories.d.ts +1 -0
- package/dist/components/Info/Notifications/Notifications.stories.d.ts.map +1 -1
- package/dist/components/Info/Notifications/Notifications.stories.js +31 -0
- package/dist/components/Info/Notifications/variants.d.ts +25 -19
- package/dist/components/Info/Notifications/variants.d.ts.map +1 -1
- package/dist/components/Info/Notifications/variants.js +30 -24
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.d.ts +37 -0
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.d.ts.map +1 -0
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.js +17 -0
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.stories.d.ts +7 -0
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.stories.d.ts.map +1 -0
- package/dist/components/Info/ResponsiveDrawer/ResponsiveDrawer.stories.js +26 -0
- package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.d.ts +1 -1
- package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.d.ts.map +1 -1
- package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.js +9 -3
- package/dist/components/Info/Tooltips/Popover/Popover.d.ts +16 -0
- package/dist/components/Info/Tooltips/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Info/Tooltips/Popover/Popover.js +32 -0
- package/dist/components/Info/Tooltips/Tooltip/Tooltip.d.ts +5 -1
- package/dist/components/Info/Tooltips/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Info/Tooltips/Tooltip/Tooltip.js +10 -8
- package/dist/components/Inputs/Buttons/Button/Button.d.ts +3 -1
- package/dist/components/Inputs/Buttons/Button/Button.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/Button/Button.js +38 -5
- package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts +1 -0
- package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/Button/Button.stories.js +105 -79
- package/dist/components/Inputs/Buttons/IconButton/IconButton.d.ts +7 -2
- package/dist/components/Inputs/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/IconButton/IconButton.js +35 -11
- package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.d.ts +1 -0
- package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.js +100 -74
- package/dist/components/Inputs/Buttons/IconButton/sizes.d.ts +15 -0
- package/dist/components/Inputs/Buttons/IconButton/sizes.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/IconButton/sizes.js +3 -0
- package/dist/components/Inputs/Buttons/shared/variants.d.ts +399 -164
- package/dist/components/Inputs/Buttons/shared/variants.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/shared/variants.js +353 -143
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.d.ts +40 -0
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.d.ts.map +1 -0
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.js +139 -0
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.stories.d.ts +13 -0
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.stories.d.ts.map +1 -0
- package/dist/components/Inputs/ColorPickerTrigger/ColorPickerTrigger.stories.js +75 -0
- package/dist/components/Inputs/ColorSwatch/ColorSwatch.d.ts +27 -0
- package/dist/components/Inputs/ColorSwatch/ColorSwatch.d.ts.map +1 -0
- package/dist/components/Inputs/ColorSwatch/ColorSwatch.js +46 -0
- package/dist/components/Inputs/Controls/DaysOfWeek/DaysOfWeek.d.ts +32 -0
- package/dist/components/Inputs/Controls/DaysOfWeek/DaysOfWeek.d.ts.map +1 -0
- package/dist/components/Inputs/Controls/DaysOfWeek/DaysOfWeek.js +92 -0
- package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.d.ts +11 -8
- package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.js +20 -12
- package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts +25 -11
- package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/Toggle/Toggle.js +67 -20
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.d.ts +1 -0
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.js +86 -69
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.js +23 -7
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.d.ts +12 -0
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.d.ts.map +1 -0
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.js +87 -0
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.stories.d.ts +13 -0
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dates/DateTimePicker/DateTimePicker.stories.js +239 -0
- package/dist/components/Inputs/Dates/TimeInput/TimeInput.d.ts +19 -0
- package/dist/components/Inputs/Dates/TimeInput/TimeInput.d.ts.map +1 -0
- package/dist/components/Inputs/Dates/TimeInput/TimeInput.js +51 -0
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.js +8 -1
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.js +76 -57
- package/dist/components/Inputs/Dropdowns/Select/Select.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/Select/Select.js +5 -3
- package/dist/components/Inputs/Dropzone/Dropzone.d.ts +23 -0
- package/dist/components/Inputs/Dropzone/Dropzone.d.ts.map +1 -0
- package/dist/components/Inputs/Dropzone/Dropzone.js +44 -0
- package/dist/components/Inputs/Dropzone/Dropzone.stories.d.ts +12 -0
- package/dist/components/Inputs/Dropzone/Dropzone.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Dropzone/Dropzone.stories.js +114 -0
- package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.js +4 -1
- package/dist/components/Inputs/TextInputs/NumberInput/ResponsiveNumberInput.d.ts +46 -0
- package/dist/components/Inputs/TextInputs/NumberInput/ResponsiveNumberInput.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputs/NumberInput/ResponsiveNumberInput.js +60 -0
- package/dist/components/Layout/Accordion/Accordion.d.ts +16 -0
- package/dist/components/Layout/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Layout/Accordion/Accordion.js +63 -0
- package/dist/components/Layout/Accordion/Accordion.stories.d.ts +11 -0
- package/dist/components/Layout/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Layout/Accordion/Accordion.stories.js +148 -0
- package/dist/components/Layout/AutoGrid/AutoGrid.d.ts +20 -5
- package/dist/components/Layout/AutoGrid/AutoGrid.d.ts.map +1 -1
- package/dist/components/Layout/AutoGrid/AutoGrid.js +51 -3
- package/dist/components/Layout/AutoGrid/AutoGrid.stories.d.ts +1 -0
- package/dist/components/Layout/AutoGrid/AutoGrid.stories.d.ts.map +1 -1
- package/dist/components/Layout/AutoGrid/AutoGrid.stories.js +39 -29
- package/dist/components/Layout/BottomActionBar/BottomActionBar.d.ts +40 -0
- package/dist/components/Layout/BottomActionBar/BottomActionBar.d.ts.map +1 -0
- package/dist/components/Layout/BottomActionBar/BottomActionBar.js +79 -0
- package/dist/components/Layout/BottomActionBar/BottomActionBar.stories.d.ts +10 -0
- package/dist/components/Layout/BottomActionBar/BottomActionBar.stories.d.ts.map +1 -0
- package/dist/components/Layout/BottomActionBar/BottomActionBar.stories.js +102 -0
- package/dist/components/Layout/Card/Card.d.ts +1 -1
- package/dist/components/Layout/Card/Card.d.ts.map +1 -1
- package/dist/components/Layout/Container/Container.d.ts +3 -0
- package/dist/components/Layout/Container/Container.d.ts.map +1 -0
- package/dist/components/Layout/Container/Container.js +1 -0
- package/dist/components/Layout/Container/Container.stories.d.ts +8 -0
- package/dist/components/Layout/Container/Container.stories.d.ts.map +1 -0
- package/dist/components/Layout/Container/Container.stories.js +52 -0
- package/dist/components/Layout/DataState/DataState.d.ts +34 -0
- package/dist/components/Layout/DataState/DataState.d.ts.map +1 -0
- package/dist/components/Layout/DataState/DataState.js +22 -0
- package/dist/components/Layout/DataState/DataState.stories.d.ts +11 -0
- package/dist/components/Layout/DataState/DataState.stories.d.ts.map +1 -0
- package/dist/components/Layout/DataState/DataState.stories.js +38 -0
- package/dist/components/Layout/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Layout/Divider/Divider.js +4 -2
- package/dist/components/Layout/Group/Group.d.ts +1 -1
- package/dist/components/Layout/Group/Group.d.ts.map +1 -1
- package/dist/components/Layout/Loader/Loader.d.ts +1 -1
- package/dist/components/Layout/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Layout/Loader/Loader.js +3 -2
- package/dist/components/Layout/Navbar/Navbar.d.ts +15 -0
- package/dist/components/Layout/Navbar/Navbar.d.ts.map +1 -0
- package/dist/components/Layout/Navbar/Navbar.js +20 -0
- package/dist/components/Layout/Navbar/Navbar.stories.d.ts +9 -0
- package/dist/components/Layout/Navbar/Navbar.stories.d.ts.map +1 -0
- package/dist/components/Layout/Navbar/Navbar.stories.js +98 -0
- package/dist/components/Layout/Page/Page.d.ts +13 -0
- package/dist/components/Layout/Page/Page.d.ts.map +1 -0
- package/dist/components/Layout/Page/Page.js +13 -0
- package/dist/components/Layout/Pagination/Pagination.d.ts +23 -0
- package/dist/components/Layout/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Layout/Pagination/Pagination.js +53 -0
- package/dist/components/Layout/Pagination/Pagination.stories.d.ts +10 -0
- package/dist/components/Layout/Pagination/Pagination.stories.d.ts.map +1 -0
- package/dist/components/Layout/Pagination/Pagination.stories.js +76 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.d.ts +3 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.js +1 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.stories.d.ts +8 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.stories.d.ts.map +1 -0
- package/dist/components/Layout/ScrollArea/ScrollArea.stories.js +62 -0
- package/dist/components/Layout/Tabs/Tabs.d.ts +16 -5
- package/dist/components/Layout/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Layout/Tabs/Tabs.js +53 -18
- package/dist/components/Layout/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/Layout/Tabs/Tabs.stories.js +39 -39
- package/dist/components/Layout/VirtualGrid/VirtualGrid.d.ts +63 -0
- package/dist/components/Layout/VirtualGrid/VirtualGrid.d.ts.map +1 -0
- package/dist/components/Layout/VirtualGrid/VirtualGrid.js +159 -0
- package/dist/components/Misc/Burger/Burger.d.ts +6 -0
- package/dist/components/Misc/Burger/Burger.d.ts.map +1 -0
- package/dist/components/Misc/Burger/Burger.js +7 -0
- package/dist/components/Misc/Burger/Burger.stories.d.ts +10 -0
- package/dist/components/Misc/Burger/Burger.stories.d.ts.map +1 -0
- package/dist/components/Misc/Burger/Burger.stories.js +86 -0
- package/dist/components/Misc/Carousel/Carousel.d.ts +32 -0
- package/dist/components/Misc/Carousel/Carousel.d.ts.map +1 -0
- package/dist/components/Misc/Carousel/Carousel.js +16 -0
- package/dist/components/Misc/DragHandle/DragHandle.d.ts +19 -0
- package/dist/components/Misc/DragHandle/DragHandle.d.ts.map +1 -0
- package/dist/components/Misc/DragHandle/DragHandle.js +39 -0
- package/dist/components/Misc/DragHandle/DragHandle.stories.d.ts +9 -0
- package/dist/components/Misc/DragHandle/DragHandle.stories.d.ts.map +1 -0
- package/dist/components/Misc/DragHandle/DragHandle.stories.js +54 -0
- package/dist/components/Misc/FAB/FAB.d.ts +54 -0
- package/dist/components/Misc/FAB/FAB.d.ts.map +1 -0
- package/dist/components/Misc/FAB/FAB.js +53 -0
- package/dist/components/Misc/FAB/FAB.stories.d.ts +10 -0
- package/dist/components/Misc/FAB/FAB.stories.d.ts.map +1 -0
- package/dist/components/Misc/FAB/FAB.stories.js +100 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.d.ts +50 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.d.ts.map +1 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.js +40 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.stories.d.ts +9 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.stories.d.ts.map +1 -0
- package/dist/components/Misc/FloatingToolbar/FloatingToolbar.stories.js +53 -0
- package/dist/components/Misc/HoverAction/HoverAction.d.ts +50 -0
- package/dist/components/Misc/HoverAction/HoverAction.d.ts.map +1 -0
- package/dist/components/Misc/HoverAction/HoverAction.js +61 -0
- package/dist/components/Misc/HoverAction/HoverAction.stories.d.ts +12 -0
- package/dist/components/Misc/HoverAction/HoverAction.stories.d.ts.map +1 -0
- package/dist/components/Misc/HoverAction/HoverAction.stories.js +96 -0
- package/dist/components/Misc/IconBadge/IconBadge.d.ts.map +1 -1
- package/dist/components/Misc/IconBadge/IconBadge.js +8 -6
- package/dist/components/Misc/Image/Image.d.ts +3 -0
- package/dist/components/Misc/Image/Image.d.ts.map +1 -0
- package/dist/components/Misc/Image/Image.js +1 -0
- package/dist/components/Misc/Image/Image.stories.d.ts +11 -0
- package/dist/components/Misc/Image/Image.stories.d.ts.map +1 -0
- package/dist/components/Misc/Image/Image.stories.js +63 -0
- package/dist/components/Misc/Kbd/Kbd.d.ts +6 -0
- package/dist/components/Misc/Kbd/Kbd.d.ts.map +1 -0
- package/dist/components/Misc/Kbd/Kbd.js +16 -0
- package/dist/components/Misc/Kbd/Kbd.stories.d.ts +9 -0
- package/dist/components/Misc/Kbd/Kbd.stories.d.ts.map +1 -0
- package/dist/components/Misc/Kbd/Kbd.stories.js +52 -0
- package/dist/components/Misc/Menu/Menu.d.ts +17 -0
- package/dist/components/Misc/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Misc/Menu/Menu.js +52 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.d.ts +42 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.d.ts.map +1 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.js +110 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.stories.d.ts +11 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.stories.d.ts.map +1 -0
- package/dist/components/Misc/OverflowFade/OverflowFade.stories.js +112 -0
- package/dist/components/Misc/Picker/Picker.d.ts +62 -0
- package/dist/components/Misc/Picker/Picker.d.ts.map +1 -0
- package/dist/components/Misc/Picker/Picker.js +111 -0
- package/dist/components/Misc/Picker/Picker.stories.d.ts +14 -0
- package/dist/components/Misc/Picker/Picker.stories.d.ts.map +1 -0
- package/dist/components/Misc/Picker/Picker.stories.js +154 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.d.ts +38 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.d.ts.map +1 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.js +70 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.stories.d.ts +11 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.stories.d.ts.map +1 -0
- package/dist/components/Misc/SelectableObject/SelectableObject.stories.js +84 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.d.ts +26 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.d.ts.map +1 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.js +41 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.stories.d.ts +10 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.stories.d.ts.map +1 -0
- package/dist/components/Misc/SelectionToolbar/SelectionToolbar.stories.js +48 -0
- package/dist/components/Misc/Stepper/Step.stories.d.ts +118 -118
- package/dist/components/Misc/Stepper/variants.d.ts +1 -1
- package/dist/components/Misc/Timeline/Timeline.d.ts +18 -0
- package/dist/components/Misc/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Misc/Timeline/Timeline.js +38 -0
- package/dist/components/Misc/Timeline/Timeline.stories.d.ts +8 -0
- package/dist/components/Misc/Timeline/Timeline.stories.d.ts.map +1 -0
- package/dist/components/Misc/Timeline/Timeline.stories.js +54 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.d.ts +35 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.d.ts.map +1 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.js +112 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.stories.d.ts +11 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.stories.d.ts.map +1 -0
- package/dist/components/Typography/InlineEditableText/InlineEditableText.stories.js +48 -0
- package/dist/components/index.d.ts +149 -66
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +110 -67
- package/dist/constants/colors.d.ts +117 -91
- package/dist/constants/colors.d.ts.map +1 -1
- package/dist/constants/colors.js +56 -43
- package/dist/constants/font.d.ts +4 -4
- package/dist/constants/font.js +2 -2
- package/dist/hooks/index.d.ts +9 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +7 -1
- package/dist/hooks/useConfirmationModal.d.ts.map +1 -1
- package/dist/hooks/useConfirmationModal.js +20 -1
- package/dist/hooks/useDisclosure.d.ts +11 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.js +10 -0
- package/dist/hooks/useHeadroom.d.ts +18 -0
- package/dist/hooks/useHeadroom.d.ts.map +1 -0
- package/dist/hooks/useHeadroom.js +17 -0
- package/dist/hooks/useInfoModal.d.ts.map +1 -1
- package/dist/hooks/useInfoModal.js +13 -1
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -1
- package/dist/hooks/useMediaQuery.js +1 -0
- package/dist/hooks/useNotifications.d.ts +39 -7
- package/dist/hooks/useNotifications.d.ts.map +1 -1
- package/dist/hooks/useNotifications.js +108 -5
- package/dist/hooks/usePagination.d.ts +11 -0
- package/dist/hooks/usePagination.d.ts.map +1 -0
- package/dist/hooks/usePagination.js +2 -0
- package/dist/hooks/useScrollLock.d.ts +21 -0
- package/dist/hooks/useScrollLock.d.ts.map +1 -0
- package/dist/hooks/useScrollLock.js +20 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/styles/iosInputZoomFix.d.ts +31 -0
- package/dist/styles/iosInputZoomFix.d.ts.map +1 -0
- package/dist/styles/iosInputZoomFix.js +135 -0
- package/dist/utils/bytes.d.ts +10 -0
- package/dist/utils/bytes.d.ts.map +1 -0
- package/dist/utils/bytes.js +17 -0
- package/dist/utils/datetime.d.ts +18 -0
- package/dist/utils/datetime.d.ts.map +1 -0
- package/dist/utils/datetime.js +42 -0
- package/dist/utils/duration.d.ts +17 -0
- package/dist/utils/duration.d.ts.map +1 -0
- package/dist/utils/duration.js +30 -0
- package/dist/utils/index.d.ts +8 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +7 -2
- package/dist/utils/sort.d.ts +44 -0
- package/dist/utils/sort.d.ts.map +1 -0
- package/dist/utils/sort.js +53 -0
- package/dist/utils/string.d.ts +22 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/string.js +25 -0
- package/package.json +26 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { neutral, primary, white } from '../../../constants/colors';
|
|
4
|
+
import { spacing } from '../../../constants/spacing';
|
|
5
|
+
import { Group } from '../../Layout/Group/Group';
|
|
6
|
+
import { Stack } from '../../Layout/Stack/Stack';
|
|
7
|
+
import { Text } from '../../Typography/Text/Text';
|
|
8
|
+
import { SelectableObject } from './SelectableObject';
|
|
9
|
+
const meta = {
|
|
10
|
+
component: SelectableObject,
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
description: {
|
|
14
|
+
component: 'Selection chrome for canvas-like editors — animated marching-ants border + 4 corner resize handles wrapped around arbitrary children. Drag / resize math stays in the consumer; this component only renders the chrome.',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
layout: 'centered',
|
|
18
|
+
},
|
|
19
|
+
title: 'Components/Misc/SelectableObject',
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
const CANVAS = {
|
|
23
|
+
background: neutral[25],
|
|
24
|
+
border: `1px solid ${neutral[50]}`,
|
|
25
|
+
borderRadius: 8,
|
|
26
|
+
height: 260,
|
|
27
|
+
padding: spacing.xl,
|
|
28
|
+
position: 'relative',
|
|
29
|
+
width: 420,
|
|
30
|
+
};
|
|
31
|
+
export const TextObject = {
|
|
32
|
+
render: () => (_jsx("div", { style: CANVAS, children: _jsx(SelectableObject, { children: _jsx("div", { style: {
|
|
33
|
+
background: white,
|
|
34
|
+
border: `1px solid ${neutral[50]}`,
|
|
35
|
+
borderRadius: 6,
|
|
36
|
+
color: neutral[300],
|
|
37
|
+
fontSize: 28,
|
|
38
|
+
fontWeight: 600,
|
|
39
|
+
padding: `${spacing.sm} ${spacing.md}`,
|
|
40
|
+
}, children: "Heading text" }) }) })),
|
|
41
|
+
};
|
|
42
|
+
export const ImageObject = {
|
|
43
|
+
render: () => (_jsx("div", { style: CANVAS, children: _jsx(SelectableObject, { children: _jsx("div", { style: {
|
|
44
|
+
background: `linear-gradient(135deg, ${primary[100]}, ${primary[200]})`,
|
|
45
|
+
borderRadius: 6,
|
|
46
|
+
color: white,
|
|
47
|
+
display: 'flex',
|
|
48
|
+
fontSize: 12,
|
|
49
|
+
fontWeight: 500,
|
|
50
|
+
height: 140,
|
|
51
|
+
letterSpacing: 0.5,
|
|
52
|
+
placeContent: 'center',
|
|
53
|
+
placeItems: 'center',
|
|
54
|
+
textTransform: 'uppercase',
|
|
55
|
+
width: 200,
|
|
56
|
+
}, children: "Image" }) }) })),
|
|
57
|
+
};
|
|
58
|
+
export const ToggleSelection = {
|
|
59
|
+
render: () => {
|
|
60
|
+
const [selected, setSelected] = useState('one');
|
|
61
|
+
return (_jsxs(Stack, { spacing: spacing.sm, children: [_jsx(Text, { variant: 'subtle', children: "Click an object to select it." }), _jsx("div", { style: { ...CANVAS, width: 520 }, children: _jsx(Group, { spacing: spacing.xl, children: ['one', 'two'].map((id) => (_jsx(SelectableObject, { onSelect: () => setSelected(id), selected: selected === id, children: _jsxs("div", { style: {
|
|
62
|
+
background: white,
|
|
63
|
+
border: `1px solid ${neutral[50]}`,
|
|
64
|
+
borderRadius: 6,
|
|
65
|
+
padding: `${spacing.md} ${spacing.lg}`,
|
|
66
|
+
}, children: ["Object ", id] }) }, id))) }) })] }));
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
export const NoHandles = {
|
|
70
|
+
render: () => (_jsx("div", { style: CANVAS, children: _jsx(SelectableObject, { showHandles: false, children: _jsx("div", { style: {
|
|
71
|
+
background: white,
|
|
72
|
+
border: `1px solid ${neutral[50]}`,
|
|
73
|
+
borderRadius: 6,
|
|
74
|
+
padding: `${spacing.md} ${spacing.lg}`,
|
|
75
|
+
}, children: "Lightweight hover / focus chrome" }) }) })),
|
|
76
|
+
};
|
|
77
|
+
export const StaticBorder = {
|
|
78
|
+
render: () => (_jsx("div", { style: CANVAS, children: _jsx(SelectableObject, { animated: false, children: _jsx("div", { style: {
|
|
79
|
+
background: white,
|
|
80
|
+
border: `1px solid ${neutral[50]}`,
|
|
81
|
+
borderRadius: 6,
|
|
82
|
+
padding: `${spacing.md} ${spacing.lg}`,
|
|
83
|
+
}, children: "Dashed border, no animation" }) }) })),
|
|
84
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface SelectionToolbarProps {
|
|
3
|
+
/** Whether the toolbar is visible. Drives the transition. */
|
|
4
|
+
opened: boolean;
|
|
5
|
+
/** Number of currently-selected items. Rendered as `{count} selected`. */
|
|
6
|
+
count: number;
|
|
7
|
+
/** Right-aligned action buttons — typically `<Button />`s. */
|
|
8
|
+
actions: React.ReactNode;
|
|
9
|
+
/** Optional slot between count and actions (e.g. a `<Select />`). */
|
|
10
|
+
dropdownSlot?: React.ReactNode;
|
|
11
|
+
/** Fired when the dismiss (×) button is clicked. */
|
|
12
|
+
onDismiss: () => void;
|
|
13
|
+
/** Override the default `{count} selected` label. */
|
|
14
|
+
label?: (count: number) => React.ReactNode;
|
|
15
|
+
/** Fine-tune the bottom offset. Default `16px`. */
|
|
16
|
+
bottomOffset?: number;
|
|
17
|
+
/** Max-width cap on large viewports. Default `768px`. */
|
|
18
|
+
maxWidth?: number;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Floating bottom action bar shown while items are selected across Library /
|
|
22
|
+
* Playlists / Slides. Pinned above content, below modals. Single row that
|
|
23
|
+
* never wraps.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SelectionToolbar: ({ opened, count, actions, dropdownSlot, onDismiss, label, bottomOffset, maxWidth, }: SelectionToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=SelectionToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Misc/SelectionToolbar/SelectionToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,qBAAqB;IACpC,6DAA6D;IAC7D,MAAM,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,qEAAqE;IACrE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,oDAAoD;IACpD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,qDAAqD;IACrD,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3C,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,qFAS9B,qBAAqB,4CAmEvB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { IconX } from '@tabler/icons-react';
|
|
3
|
+
import { neutral, white } from '../../../constants/colors';
|
|
4
|
+
import { fontBase, fontSize } from '../../../constants/font';
|
|
5
|
+
import { spacing } from '../../../constants/spacing';
|
|
6
|
+
import { IconButton } from '../../Inputs/Buttons/IconButton/IconButton';
|
|
7
|
+
import { Group } from '../../Layout/Group/Group';
|
|
8
|
+
import { Transition } from '../Transition/Transition';
|
|
9
|
+
/**
|
|
10
|
+
* Floating bottom action bar shown while items are selected across Library /
|
|
11
|
+
* Playlists / Slides. Pinned above content, below modals. Single row that
|
|
12
|
+
* never wraps.
|
|
13
|
+
*/
|
|
14
|
+
export const SelectionToolbar = ({ opened, count, actions, dropdownSlot, onDismiss, label = (n) => `${n} selected`, bottomOffset = 16, maxWidth = 768, }) => {
|
|
15
|
+
return (_jsx(Transition, { duration: 200, mounted: opened, timingFunction: 'ease-out', transition: 'slide-up', children: (transitionStyles) => (_jsx("div", { style: {
|
|
16
|
+
bottom: bottomOffset,
|
|
17
|
+
left: '50%',
|
|
18
|
+
maxWidth: `min(${maxWidth}px, calc(100% - 2rem))`,
|
|
19
|
+
position: 'fixed',
|
|
20
|
+
transform: 'translateX(-50%)',
|
|
21
|
+
width: 'max-content',
|
|
22
|
+
zIndex: 30,
|
|
23
|
+
...transitionStyles,
|
|
24
|
+
}, children: _jsxs(Group, { noWrap: true, position: 'apart', spacing: spacing.md, style: {
|
|
25
|
+
backgroundColor: white,
|
|
26
|
+
border: `1px solid ${neutral[50]}`,
|
|
27
|
+
borderRadius: '12px',
|
|
28
|
+
boxShadow: '0 8px 24px rgba(0, 0, 0, 0.12)',
|
|
29
|
+
flexWrap: 'nowrap',
|
|
30
|
+
maxWidth: '100%',
|
|
31
|
+
padding: `${spacing.xs} ${spacing.sm}`,
|
|
32
|
+
whiteSpace: 'nowrap',
|
|
33
|
+
width: '100%',
|
|
34
|
+
}, children: [_jsxs(Group, { noWrap: true, spacing: spacing.sm, style: { flexShrink: 0 }, children: [_jsx(IconButton, { onClick: onDismiss, size: 'sm', styles: { root: { height: 28, width: 28 } }, variant: 'secondary', children: _jsx(IconX, {}) }), _jsx("span", { style: {
|
|
35
|
+
...fontBase,
|
|
36
|
+
...fontSize.sm,
|
|
37
|
+
color: neutral[300],
|
|
38
|
+
flexShrink: 0,
|
|
39
|
+
fontWeight: 600,
|
|
40
|
+
}, children: label(count) })] }), _jsxs(Group, { noWrap: true, spacing: spacing.xs, style: { flexShrink: 0 }, children: [dropdownSlot, actions] })] }) })) }));
|
|
41
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SelectionToolbar } from './SelectionToolbar';
|
|
3
|
+
declare const meta: Meta<typeof SelectionToolbar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const OneSelected: Story;
|
|
7
|
+
export declare const ThreeSelected: Story;
|
|
8
|
+
export declare const TwelveWithDropdown: Story;
|
|
9
|
+
export declare const Playground: Story;
|
|
10
|
+
//# sourceMappingURL=SelectionToolbar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Misc/SelectionToolbar/SelectionToolbar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAYvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAwBhC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAsBxB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { Button } from '../../Inputs/Buttons/Button/Button';
|
|
4
|
+
import { Select } from '../../Inputs/Dropdowns/Select/Select';
|
|
5
|
+
import { Stack } from '../../Layout/Stack/Stack';
|
|
6
|
+
import { Text } from '../../Typography/Text/Text';
|
|
7
|
+
import { SelectionToolbar } from './SelectionToolbar';
|
|
8
|
+
const meta = {
|
|
9
|
+
component: SelectionToolbar,
|
|
10
|
+
parameters: {
|
|
11
|
+
docs: {
|
|
12
|
+
description: {
|
|
13
|
+
component: 'Floating bottom toolbar that surfaces while items are selected. Pinned above page content and below modals (`z-index: 30`). Never wraps — all children should be shrink-0.',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
layout: 'fullscreen',
|
|
17
|
+
},
|
|
18
|
+
title: 'Components/Misc/SelectionToolbar',
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
export const OneSelected = {
|
|
22
|
+
render: () => {
|
|
23
|
+
const [opened, setOpened] = useState(true);
|
|
24
|
+
return (_jsx(SelectionToolbar, { actions: _jsx(Button, { size: 'sm', children: "Append to playlist" }), count: 1, onDismiss: () => setOpened(false), opened: opened }));
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
export const ThreeSelected = {
|
|
28
|
+
render: () => {
|
|
29
|
+
const [opened, setOpened] = useState(true);
|
|
30
|
+
return (_jsx(SelectionToolbar, { actions: _jsxs(_Fragment, { children: [_jsx(Button, { size: 'sm', variant: 'cancel', children: "Delete" }), _jsx(Button, { size: 'sm', children: "Append to playlist" })] }), count: 3, onDismiss: () => setOpened(false), opened: opened }));
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
export const TwelveWithDropdown = {
|
|
34
|
+
render: () => {
|
|
35
|
+
const [opened, setOpened] = useState(true);
|
|
36
|
+
const [target, setTarget] = useState('main');
|
|
37
|
+
return (_jsx(SelectionToolbar, { actions: _jsx(Button, { size: 'sm', children: "Append" }), count: 12, dropdownSlot: _jsx(Select, { data: [
|
|
38
|
+
{ label: 'Main playlist', value: 'main' },
|
|
39
|
+
{ label: 'Holiday playlist', value: 'holiday' },
|
|
40
|
+
], onChange: setTarget, size: 'sm', value: target }), onDismiss: () => setOpened(false), opened: opened }));
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
export const Playground = {
|
|
44
|
+
render: () => {
|
|
45
|
+
const [opened, setOpened] = useState(true);
|
|
46
|
+
return (_jsxs(Stack, { children: [_jsx(Text, { children: "Scroll content \u2014 toolbar stays pinned to the viewport bottom." }), Array.from({ length: 40 }, (_, i) => `row-${i + 1}`).map((key, i) => (_jsxs(Text, { variant: 'subtle', children: ["Row ", i + 1] }, key))), _jsx(SelectionToolbar, { actions: _jsx(Button, { size: 'sm', children: "Append to playlist" }), count: 4, onDismiss: () => setOpened(false), opened: opened })] }));
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -20,81 +20,83 @@ declare const meta: {
|
|
|
20
20
|
loading?: boolean | undefined;
|
|
21
21
|
allowStepSelect?: boolean | undefined;
|
|
22
22
|
completed?: boolean | undefined;
|
|
23
|
-
ref?: import("react").Ref<HTMLButtonElement> | undefined;
|
|
24
23
|
form?: string | undefined | undefined;
|
|
25
24
|
p?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
26
25
|
slot?: string | undefined | undefined;
|
|
27
26
|
style?: import("react").CSSProperties | undefined;
|
|
28
27
|
td?: import("@mantine/styles").SystemProp<import("csstype").Property.TextDecoration<string | number> | undefined>;
|
|
29
28
|
title?: string | undefined | undefined;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
36
|
-
formTarget?: string | undefined | undefined;
|
|
29
|
+
dir?: string | undefined | undefined;
|
|
30
|
+
tt?: import("@mantine/styles").SystemProp<import("csstype").Property.TextTransform | undefined>;
|
|
31
|
+
hidden?: boolean | undefined | undefined;
|
|
32
|
+
color?: import("@mantine/styles").MantineColor | undefined;
|
|
33
|
+
content?: string | undefined | undefined;
|
|
37
34
|
name?: string | undefined | undefined;
|
|
38
|
-
|
|
35
|
+
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
39
36
|
size?: import("@mantine/styles").MantineSize | undefined;
|
|
40
|
-
|
|
37
|
+
variant?: string | undefined;
|
|
38
|
+
styles?: import("@mantine/styles").Styles<"step" | "stepLoader" | "stepWrapper" | "verticalSeparator" | "verticalSeparatorActive" | "stepIcon" | "stepCompletedIcon" | "stepBody" | "stepLabel" | "stepDescription", Record<string, any>> | undefined;
|
|
41
39
|
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
46
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
47
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
48
|
-
accessKey?: string | undefined | undefined;
|
|
49
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
50
|
-
autoFocus?: boolean | undefined | undefined;
|
|
40
|
+
radius?: import("@mantine/styles").MantineNumberSize | undefined;
|
|
41
|
+
children?: import("react").ReactNode;
|
|
42
|
+
disabled?: boolean | undefined | undefined;
|
|
51
43
|
className?: string | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
sx?: (import("@mantine/styles").Sx | (import("@mantine/styles").Sx | undefined)[]) | undefined;
|
|
45
|
+
classNames?: Partial<Record<"step" | "stepLoader" | "stepWrapper" | "verticalSeparator" | "verticalSeparatorActive" | "stepIcon" | "stepCompletedIcon" | "stepBody" | "stepLabel" | "stepDescription", string>> | undefined;
|
|
46
|
+
unstyled?: boolean | undefined;
|
|
47
|
+
m?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
48
|
+
my?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
49
|
+
mx?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
50
|
+
mt?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
51
|
+
mb?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
52
|
+
ml?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
53
|
+
mr?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
54
|
+
py?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
55
|
+
px?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
56
|
+
pt?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
57
|
+
pb?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
58
|
+
pl?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
59
|
+
pr?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
60
|
+
bg?: import("@mantine/styles").SystemProp<import("@mantine/styles").MantineColor> | undefined;
|
|
61
|
+
c?: import("@mantine/styles").SystemProp<import("@mantine/styles").MantineColor> | undefined;
|
|
62
|
+
opacity?: import("@mantine/styles").SystemProp<import("csstype").Property.Opacity | undefined>;
|
|
63
|
+
ff?: import("@mantine/styles").SystemProp<import("csstype").Property.FontFamily | undefined>;
|
|
64
|
+
fz?: import("@mantine/styles").SystemProp<import("@mantine/styles").SpacingValue> | undefined;
|
|
65
|
+
fw?: import("@mantine/styles").SystemProp<import("csstype").Property.FontWeight | undefined>;
|
|
66
|
+
lts?: import("@mantine/styles").SystemProp<import("csstype").Property.LetterSpacing<string | number> | undefined>;
|
|
67
|
+
ta?: import("@mantine/styles").SystemProp<import("csstype").Property.TextAlign | undefined>;
|
|
68
|
+
lh?: import("@mantine/styles").SystemProp<import("csstype").Property.LineHeight<string | number> | undefined>;
|
|
69
|
+
fs?: import("@mantine/styles").SystemProp<import("csstype").Property.FontStyle | undefined>;
|
|
70
|
+
w?: import("@mantine/styles").SystemProp<import("csstype").Property.Width<string | number> | undefined>;
|
|
71
|
+
miw?: import("@mantine/styles").SystemProp<import("csstype").Property.MinWidth<string | number> | undefined>;
|
|
72
|
+
maw?: import("@mantine/styles").SystemProp<import("csstype").Property.MaxWidth<string | number> | undefined>;
|
|
73
|
+
h?: import("@mantine/styles").SystemProp<import("csstype").Property.Height<string | number> | undefined>;
|
|
74
|
+
mih?: import("@mantine/styles").SystemProp<import("csstype").Property.MinHeight<string | number> | undefined>;
|
|
75
|
+
mah?: import("@mantine/styles").SystemProp<import("csstype").Property.MaxHeight<string | number> | undefined>;
|
|
76
|
+
bgsz?: import("@mantine/styles").SystemProp<import("csstype").Property.BackgroundSize<string | number> | undefined>;
|
|
77
|
+
bgp?: import("@mantine/styles").SystemProp<import("csstype").Property.BackgroundPosition<string | number> | undefined>;
|
|
78
|
+
bgr?: import("@mantine/styles").SystemProp<import("csstype").Property.BackgroundRepeat | undefined>;
|
|
79
|
+
bga?: import("@mantine/styles").SystemProp<import("csstype").Property.BackgroundAttachment | undefined>;
|
|
80
|
+
pos?: import("@mantine/styles").SystemProp<import("csstype").Property.Position | undefined>;
|
|
81
|
+
top?: import("@mantine/styles").SystemProp<import("csstype").Property.Top<string | number> | undefined>;
|
|
82
|
+
left?: import("@mantine/styles").SystemProp<import("csstype").Property.Left<string | number> | undefined>;
|
|
83
|
+
bottom?: import("@mantine/styles").SystemProp<import("csstype").Property.Bottom<string | number> | undefined>;
|
|
84
|
+
right?: import("@mantine/styles").SystemProp<import("csstype").Property.Right<string | number> | undefined>;
|
|
85
|
+
inset?: import("@mantine/styles").SystemProp<import("csstype").Property.Inset<string | number> | undefined>;
|
|
86
|
+
display?: import("@mantine/styles").SystemProp<import("csstype").Property.Display | undefined>;
|
|
87
|
+
ref?: import("react").Ref<HTMLButtonElement> | undefined;
|
|
88
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
58
89
|
id?: string | undefined | undefined;
|
|
59
90
|
lang?: string | undefined | undefined;
|
|
60
|
-
nonce?: string | undefined | undefined;
|
|
61
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
62
|
-
tabIndex?: number | undefined | undefined;
|
|
63
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
64
|
-
radioGroup?: string | undefined | undefined;
|
|
65
91
|
role?: import("react").AriaRole | undefined;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
datatype?: string | undefined | undefined;
|
|
69
|
-
inlist?: any;
|
|
70
|
-
prefix?: string | undefined | undefined;
|
|
71
|
-
property?: string | undefined | undefined;
|
|
72
|
-
rel?: string | undefined | undefined;
|
|
73
|
-
resource?: string | undefined | undefined;
|
|
74
|
-
rev?: string | undefined | undefined;
|
|
75
|
-
typeof?: string | undefined | undefined;
|
|
76
|
-
vocab?: string | undefined | undefined;
|
|
77
|
-
autoCorrect?: string | undefined | undefined;
|
|
78
|
-
autoSave?: string | undefined | undefined;
|
|
79
|
-
color?: import("@mantine/styles").MantineColor | undefined;
|
|
80
|
-
itemProp?: string | undefined | undefined;
|
|
81
|
-
itemScope?: boolean | undefined | undefined;
|
|
82
|
-
itemType?: string | undefined | undefined;
|
|
83
|
-
itemID?: string | undefined | undefined;
|
|
84
|
-
itemRef?: string | undefined | undefined;
|
|
85
|
-
results?: number | undefined | undefined;
|
|
86
|
-
security?: string | undefined | undefined;
|
|
87
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
88
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
89
|
-
is?: string | undefined | undefined;
|
|
90
|
-
exportparts?: string | undefined | undefined;
|
|
91
|
-
part?: string | undefined | undefined;
|
|
92
|
+
tabIndex?: number | undefined | undefined;
|
|
93
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
92
94
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
93
|
-
"aria-atomic"?: (boolean | "
|
|
95
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
94
96
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
95
97
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
96
98
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
97
|
-
"aria-busy"?: (boolean | "
|
|
99
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
98
100
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
99
101
|
"aria-colcount"?: number | undefined | undefined;
|
|
100
102
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -105,44 +107,43 @@ declare const meta: {
|
|
|
105
107
|
"aria-describedby"?: string | undefined | undefined;
|
|
106
108
|
"aria-description"?: string | undefined | undefined;
|
|
107
109
|
"aria-details"?: string | undefined | undefined;
|
|
108
|
-
"aria-disabled"?: (boolean | "
|
|
110
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
109
111
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
110
112
|
"aria-errormessage"?: string | undefined | undefined;
|
|
111
|
-
"aria-expanded"?: (boolean | "
|
|
113
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
112
114
|
"aria-flowto"?: string | undefined | undefined;
|
|
113
|
-
"aria-grabbed"?: (boolean | "
|
|
115
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
114
116
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
115
|
-
"aria-hidden"?: (boolean | "
|
|
117
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
116
118
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
117
119
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
118
120
|
"aria-label"?: string | undefined | undefined;
|
|
119
121
|
"aria-labelledby"?: string | undefined | undefined;
|
|
120
122
|
"aria-level"?: number | undefined | undefined;
|
|
121
123
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
122
|
-
"aria-modal"?: (boolean | "
|
|
123
|
-
"aria-multiline"?: (boolean | "
|
|
124
|
-
"aria-multiselectable"?: (boolean | "
|
|
124
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
125
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
126
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
125
127
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
126
128
|
"aria-owns"?: string | undefined | undefined;
|
|
127
129
|
"aria-placeholder"?: string | undefined | undefined;
|
|
128
130
|
"aria-posinset"?: number | undefined | undefined;
|
|
129
131
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
130
|
-
"aria-readonly"?: (boolean | "
|
|
132
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
131
133
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
132
|
-
"aria-required"?: (boolean | "
|
|
134
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
133
135
|
"aria-roledescription"?: string | undefined | undefined;
|
|
134
136
|
"aria-rowcount"?: number | undefined | undefined;
|
|
135
137
|
"aria-rowindex"?: number | undefined | undefined;
|
|
136
138
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
137
139
|
"aria-rowspan"?: number | undefined | undefined;
|
|
138
|
-
"aria-selected"?: (boolean | "
|
|
140
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
139
141
|
"aria-setsize"?: number | undefined | undefined;
|
|
140
142
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
141
143
|
"aria-valuemax"?: number | undefined | undefined;
|
|
142
144
|
"aria-valuemin"?: number | undefined | undefined;
|
|
143
145
|
"aria-valuenow"?: number | undefined | undefined;
|
|
144
146
|
"aria-valuetext"?: string | undefined | undefined;
|
|
145
|
-
children?: import("react").ReactNode;
|
|
146
147
|
dangerouslySetInnerHTML?: {
|
|
147
148
|
__html: string | TrustedHTML;
|
|
148
149
|
} | undefined | undefined;
|
|
@@ -162,6 +163,7 @@ declare const meta: {
|
|
|
162
163
|
onFocusCapture?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
163
164
|
onBlur?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
164
165
|
onBlurCapture?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
|
|
166
|
+
onChange?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
|
|
165
167
|
onChangeCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
|
|
166
168
|
onBeforeInput?: import("react").InputEventHandler<HTMLButtonElement> | undefined;
|
|
167
169
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -229,7 +231,6 @@ declare const meta: {
|
|
|
229
231
|
onWaitingCapture?: import("react").ReactEventHandler<HTMLButtonElement> | undefined;
|
|
230
232
|
onAuxClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
231
233
|
onAuxClickCapture?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
232
|
-
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
233
234
|
onClickCapture?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
234
235
|
onContextMenu?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
235
236
|
onContextMenuCapture?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -305,55 +306,54 @@ declare const meta: {
|
|
|
305
306
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
306
307
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
307
308
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
309
|
+
key?: import("react").Key | null | undefined;
|
|
310
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
311
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
312
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
313
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
314
|
+
accessKey?: string | undefined | undefined;
|
|
315
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
316
|
+
autoFocus?: boolean | undefined | undefined;
|
|
317
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
318
|
+
contextMenu?: string | undefined | undefined;
|
|
319
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
320
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
321
|
+
nonce?: string | undefined | undefined;
|
|
322
|
+
placeholder?: string | undefined | undefined;
|
|
323
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
324
|
+
radioGroup?: string | undefined | undefined;
|
|
325
|
+
about?: string | undefined | undefined;
|
|
326
|
+
datatype?: string | undefined | undefined;
|
|
327
|
+
inlist?: any;
|
|
328
|
+
prefix?: string | undefined | undefined;
|
|
329
|
+
property?: string | undefined | undefined;
|
|
330
|
+
rel?: string | undefined | undefined;
|
|
331
|
+
resource?: string | undefined | undefined;
|
|
332
|
+
rev?: string | undefined | undefined;
|
|
333
|
+
typeof?: string | undefined | undefined;
|
|
334
|
+
vocab?: string | undefined | undefined;
|
|
335
|
+
autoCorrect?: string | undefined | undefined;
|
|
336
|
+
autoSave?: string | undefined | undefined;
|
|
337
|
+
itemProp?: string | undefined | undefined;
|
|
338
|
+
itemScope?: boolean | undefined | undefined;
|
|
339
|
+
itemType?: string | undefined | undefined;
|
|
340
|
+
itemID?: string | undefined | undefined;
|
|
341
|
+
itemRef?: string | undefined | undefined;
|
|
342
|
+
results?: number | undefined | undefined;
|
|
343
|
+
security?: string | undefined | undefined;
|
|
344
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
345
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
346
|
+
is?: string | undefined | undefined;
|
|
347
|
+
exportparts?: string | undefined | undefined;
|
|
348
|
+
part?: string | undefined | undefined;
|
|
349
|
+
formAction?: string | undefined | undefined;
|
|
350
|
+
formEncType?: string | undefined | undefined;
|
|
351
|
+
formMethod?: string | undefined | undefined;
|
|
352
|
+
formNoValidate?: boolean | undefined | undefined;
|
|
353
|
+
formTarget?: string | undefined | undefined;
|
|
354
|
+
value?: string | number | readonly string[] | undefined;
|
|
355
|
+
step?: number | undefined;
|
|
355
356
|
__staticSelector?: string | undefined;
|
|
356
|
-
orientation?: "vertical" | "horizontal" | undefined;
|
|
357
357
|
iconSize?: number | undefined;
|
|
358
358
|
state?: "stepInactive" | "stepProgress" | "stepCompleted" | undefined;
|
|
359
359
|
withIcon?: boolean | undefined;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimelineProps as MantineTimelineProps, TimelineItemProps as MantineTimelineItemProps } from '@mantine/core';
|
|
3
|
+
export interface TimelineProps extends Omit<MantineTimelineProps, 'radius'> {
|
|
4
|
+
/** Index of the active item (controls bullet/line highlight up to this index) */
|
|
5
|
+
active?: number;
|
|
6
|
+
/** Diameter of the bullet in px */
|
|
7
|
+
bulletSize?: number;
|
|
8
|
+
/** Width of the connecting line in px */
|
|
9
|
+
lineWidth?: number;
|
|
10
|
+
/** Children must be `Timeline.Item` elements */
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export interface TimelineItemProps extends MantineTimelineItemProps {
|
|
14
|
+
}
|
|
15
|
+
export declare const Timeline: (({ active, bulletSize, lineWidth, styles, children, ...props }: TimelineProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
16
|
+
Item: ({ children, ...props }: TimelineItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../src/components/Misc/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,aAAa,IAAI,oBAAoB,EACrC,iBAAiB,IAAI,wBAAwB,EAC9C,MAAM,eAAe,CAAC;AAIvB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;IACzE,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAmDD,MAAM,WAAW,iBAAkB,SAAQ,wBAAwB;CAAG;AAMtE,eAAO,MAAM,QAAQ,mEAhDlB,aAAa;mCA4CsB,iBAAiB;CAMrD,CAAC"}
|