@atom-learning/components 5.12.0 → 5.13.0-beta.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/components/accordion/Accordion.d.ts +2 -0
- package/dist/components/accordion/AccordionContent.d.ts +2 -0
- package/dist/components/accordion/AccordionContent.js +1 -1
- package/dist/components/accordion/AccordionItem.d.ts +2 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +2 -0
- package/dist/components/accordion/AccordionTrigger.js +1 -1
- package/dist/components/accordion/AccordionTrigger.js.map +1 -1
- package/dist/components/action-icon/ActionIcon.d.ts +3 -1
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +4 -0
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +2 -0
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/alert-dialog/AlertDialogContent.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +4 -0
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +17 -5
- package/dist/components/badge/BadgeIcon.d.ts +4 -0
- package/dist/components/badge/BadgeText.d.ts +4 -0
- package/dist/components/badge/BadgeText.js +1 -1
- package/dist/components/badge/BadgeText.js.map +1 -1
- package/dist/components/banner/Banner.d.ts +2 -2
- package/dist/components/banner/BannerContainer.d.ts +8 -4
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +108 -474
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +4 -0
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +6 -2
- package/dist/components/banner/banner-regular/BannerRegularImage.js +1 -1
- package/dist/components/banner/banner-regular/BannerRegularImage.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +124 -490
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +2 -0
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +8 -4
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +6 -2
- package/dist/components/banner/banner-slim/BannerSlimImage.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimImage.js.map +1 -1
- package/dist/components/box/Box.d.ts +2 -0
- package/dist/components/button/Button.d.ts +2 -0
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +2 -0
- package/dist/components/carousel/Carousel.d.ts +6 -0
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/carousel/Carousel.js.map +1 -1
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselArrows.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +2 -0
- package/dist/components/carousel/CarouselSlide.d.ts +2 -0
- package/dist/components/carousel/CarouselSlider.d.ts +2 -0
- package/dist/components/carousel/CarouselSlider.js +1 -1
- package/dist/components/carousel/CarouselSlider.js.map +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +2 -0
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +96 -90
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +463 -455
- package/dist/components/chip/Chip.d.ts +28 -14
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +11 -5
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +11 -5
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +10 -0
- package/dist/components/combobox/ComboboxInput.d.ts +2 -0
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +2 -0
- package/dist/components/combobox/ComboboxOption.d.ts +2 -0
- package/dist/components/combobox/ComboboxOption.js +1 -1
- package/dist/components/combobox/ComboboxOption.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +2 -0
- package/dist/components/combobox/ComboboxPopover.js +1 -1
- package/dist/components/combobox/ComboboxPopover.js.map +1 -1
- package/dist/components/create-password-field/CreatePasswordField.d.ts +1 -2
- package/dist/components/create-password-field/CreatePasswordField.js +1 -1
- package/dist/components/create-password-field/CreatePasswordField.js.map +1 -1
- package/dist/components/data-table/DataTable.d.ts +62 -32
- package/dist/components/data-table/DataTableHead.d.ts +3 -1
- package/dist/components/data-table/DataTableHead.js +1 -1
- package/dist/components/data-table/DataTableHead.js.map +1 -1
- package/dist/components/data-table/DataTableHeaderCell.d.ts +3 -1
- package/dist/components/data-table/DataTableHeaderCell.js +1 -1
- package/dist/components/data-table/DataTableHeaderCell.js.map +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +2 -0
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js.map +1 -1
- package/dist/components/data-table/DataTableTable.d.ts +2 -0
- package/dist/components/data-table/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +2 -0
- package/dist/components/date-input/DateInput.js +1 -1
- package/dist/components/date-input/DateInput.js.map +1 -1
- package/dist/components/dialog/Dialog.d.ts +12 -2
- package/dist/components/dialog/DialogBackground.d.ts +4 -0
- package/dist/components/dialog/DialogClose.d.ts +2 -0
- package/dist/components/dialog/DialogContent.d.ts +2 -0
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/dialog/DialogContent.js.map +1 -1
- package/dist/components/dismissible/index.d.ts +2 -2
- package/dist/components/dismissible-group/index.d.ts +3 -3
- package/dist/components/divider/Divider.d.ts +2 -0
- package/dist/components/drawer/Drawer.d.ts +8 -0
- package/dist/components/drawer/DrawerContent.d.ts +2 -0
- package/dist/components/drawer/DrawerContent.js +1 -1
- package/dist/components/drawer/DrawerContent.js.map +1 -1
- package/dist/components/drawer/DrawerFooter.d.ts +2 -0
- package/dist/components/drawer/DrawerFooter.js +1 -1
- package/dist/components/drawer/DrawerFooter.js.map +1 -1
- package/dist/components/drawer/DrawerHeader.d.ts +2 -0
- package/dist/components/drawer/DrawerHeader.js +1 -1
- package/dist/components/drawer/DrawerHeader.js.map +1 -1
- package/dist/components/drawer/DrawerMain.d.ts +2 -0
- package/dist/components/drawer/DrawerMain.js +1 -1
- package/dist/components/drawer/DrawerMain.js.map +1 -1
- package/dist/components/drawer/DrawerOverlay.d.ts +2 -0
- package/dist/components/drawer/DrawerTrigger.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +10 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuContent.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +4 -428
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.js.map +1 -1
- package/dist/components/empty-state/EmptyState.d.ts +18 -4
- package/dist/components/empty-state/EmptyStateBody.d.ts +4 -0
- package/dist/components/empty-state/EmptyStateImage.d.ts +4 -0
- package/dist/components/empty-state/EmptyStateTitle.d.ts +2 -0
- package/dist/components/field-wrapper/InlineFieldWrapper.js +1 -1
- package/dist/components/field-wrapper/InlineFieldWrapper.js.map +1 -1
- package/dist/components/flex/Flex.d.ts +6 -4
- package/dist/components/flex/Flex.js +1 -1
- package/dist/components/flex/Flex.js.map +1 -1
- package/dist/components/form/Form.d.ts +2 -0
- package/dist/components/grid/Grid.d.ts +3 -3
- package/dist/components/grid/Grid.js +1 -1
- package/dist/components/grid/Grid.js.map +1 -1
- package/dist/components/heading/Heading.d.ts +2 -0
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/icon/Icon.d.ts +2 -0
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/image/Image.d.ts +2 -0
- package/dist/components/inline-message/InlineMessage.config.d.ts +0 -2
- package/dist/components/inline-message/InlineMessage.config.js +1 -1
- package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +9 -6
- package/dist/components/inline-message/InlineMessage.js +1 -1
- package/dist/components/inline-message/InlineMessage.js.map +1 -1
- package/dist/components/input/Input.d.ts +10 -4
- package/dist/components/input/Input.js +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +4 -0
- package/dist/components/keyboard-shortcut/index.d.ts +8 -2
- package/dist/components/label/Label.d.ts +3 -1
- package/dist/components/link/Link.d.ts +2 -0
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/list/List.d.ts +4 -0
- package/dist/components/list/List.js +1 -1
- package/dist/components/list/List.js.map +1 -1
- package/dist/components/loader/Loader.js +1 -1
- package/dist/components/loader/Loader.js.map +1 -1
- package/dist/components/markdown-content/MarkdownContent.d.ts +8 -4
- package/dist/components/markdown-content/MarkdownContent.js +1 -1
- package/dist/components/markdown-content/MarkdownContent.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +2 -0
- package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownList.js.map +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +18 -0
- package/dist/components/navigation/NavigationMenu.js +1 -1
- package/dist/components/navigation/NavigationMenu.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +2 -0
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +4 -0
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +2 -0
- package/dist/components/navigation/NavigationMenuDropdownTrigger.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownTrigger.js.map +1 -1
- package/dist/components/navigation/NavigationMenuLink.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +189 -167
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.d.ts +7 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.styles.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +4 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +4 -0
- package/dist/components/number-input/NumberInput.js +1 -1
- package/dist/components/number-input/NumberInputStepper.d.ts +6 -2
- package/dist/components/number-input/NumberInputStepper.js +1 -1
- package/dist/components/number-input/NumberInputStepper.js.map +1 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +6 -2
- package/dist/components/pagination/PaginationPage.js +1 -1
- package/dist/components/pagination/PaginationPage.js.map +1 -1
- package/dist/components/pagination/PaginationPreviousButton.d.ts +6 -2
- package/dist/components/password-field/PasswordField.js.map +1 -1
- package/dist/components/password-input/PasswordInput.js +1 -1
- package/dist/components/password-input/PasswordInput.js.map +1 -1
- package/dist/components/popover/Popover.d.ts +4 -0
- package/dist/components/popover/PopoverContent.d.ts +2 -0
- package/dist/components/popover/PopoverContent.js +1 -1
- package/dist/components/popover/PopoverContent.js.map +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +2 -0
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/ProgressBar.js.map +1 -1
- package/dist/components/radio-button/RadioButton.d.ts +2 -0
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/radio-button/RadioButton.js.map +1 -1
- package/dist/components/radio-button/RadioButtonGroup.d.ts +2 -0
- package/dist/components/radio-button-field/RadioButtonField.d.ts +2 -0
- package/dist/components/radio-card/RadioCard.d.ts +2 -0
- package/dist/components/search-input/SearchInput.js +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +4 -0
- package/dist/components/section-message/SectionMessageLayout.js +1 -1
- package/dist/components/section-message/SectionMessageLayout.js.map +1 -1
- package/dist/components/segmented-control/SegmentedControl.d.ts +25 -9
- package/dist/components/segmented-control/SegmentedControlContent.d.ts +2 -0
- package/dist/components/segmented-control/SegmentedControlDescription.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlHeading.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlItem.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlItem.js +1 -1
- package/dist/components/segmented-control/SegmentedControlItem.js.map +1 -1
- package/dist/components/segmented-control/SegmentedControlItemList.js +1 -1
- package/dist/components/segmented-control/SegmentedControlItemList.js.map +1 -1
- package/dist/components/segmented-control/SegmentedControlRoot.d.ts +10 -0
- package/dist/components/select/Select.d.ts +2 -0
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/side-bar/SideBar.d.ts +17 -1
- package/dist/components/side-bar/SideBar.js +1 -1
- package/dist/components/side-bar/SideBar.js.map +1 -1
- package/dist/components/side-bar/SideBarComponents.d.ts +15 -1
- package/dist/components/slider/Slider.d.ts +376 -2
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +6 -2
- package/dist/components/sortable/Handle.js +1 -1
- package/dist/components/sortable/Handle.js.map +1 -1
- package/dist/components/sortable/SortableItem.d.ts +3 -1
- package/dist/components/sortable/SortableItem.js +1 -1
- package/dist/components/sortable/SortableItem.js.map +1 -1
- package/dist/components/sortable/index.d.ts +3 -3
- package/dist/components/spacer/Spacer.d.ts +2 -0
- package/dist/components/stepper/StepperStepBullet.d.ts +8 -4
- package/dist/components/stepper/StepperStepContainer.d.ts +8 -4
- package/dist/components/stepper/StepperStepContainer.js +1 -1
- package/dist/components/stepper/StepperStepContainer.js.map +1 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +5 -1
- package/dist/components/stepper/StepperSteps.js +1 -1
- package/dist/components/stepper/StepperSteps.js.map +1 -1
- package/dist/components/switch/Switch.d.ts +2 -0
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/table/Table.d.ts +17 -1
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableBody.d.ts +2 -0
- package/dist/components/table/TableBody.js +1 -1
- package/dist/components/table/TableBody.js.map +1 -1
- package/dist/components/table/TableCell.d.ts +2 -0
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableCell.js.map +1 -1
- package/dist/components/table/TableFooter.d.ts +2 -0
- package/dist/components/table/TableFooterCell.d.ts +2 -0
- package/dist/components/table/TableHeader.d.ts +3 -1
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +2 -0
- package/dist/components/table/TableHeaderCell.js +1 -1
- package/dist/components/table/TableHeaderCell.js.map +1 -1
- package/dist/components/table/TableRow.d.ts +4 -1
- package/dist/components/table/TableRow.js +1 -1
- package/dist/components/table/TableRow.js.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +8 -0
- package/dist/components/tabs/TabsContent.d.ts +2 -0
- package/dist/components/tabs/TabsTrigger.d.ts +2 -0
- package/dist/components/tabs/TabsTrigger.js +1 -1
- package/dist/components/tabs/TabsTrigger.js.map +1 -1
- package/dist/components/tabs/TabsTriggerList.d.ts +2 -0
- package/dist/components/text/Text.d.ts +2 -0
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +2 -0
- package/dist/components/tile/Tile.d.ts +2 -0
- package/dist/components/tile/TileGroup.d.ts +6 -4
- package/dist/components/tile-interactive/TileInteractive.d.ts +4 -0
- package/dist/components/tile-interactive/TileInteractive.js +1 -1
- package/dist/components/tile-interactive/TileInteractive.js.map +1 -1
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +6 -0
- package/dist/components/toast/Toast.d.ts +9 -23
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toast/ToastProvider.js +1 -1
- package/dist/components/toast/ToastProvider.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +4 -0
- package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +4 -0
- package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -0
- package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.js.map +1 -1
- package/dist/components/toggle-group/index.d.ts +19 -7
- package/dist/components/tooltip/Tooltip.d.ts +4 -0
- package/dist/components/tooltip/TooltipContent.d.ts +2 -0
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/tooltip/TooltipContent.js.map +1 -1
- package/dist/components/top-bar/TopBar.d.ts +12 -2
- package/dist/components/top-bar/TopBar.js +1 -1
- package/dist/components/top-bar/TopBar.js.map +1 -1
- package/dist/components/top-bar/TopBarBrand.d.ts +6 -0
- package/dist/components/tree/Tree.d.ts +367 -343
- package/dist/components/tree/TreeCollapsible.d.ts +2 -0
- package/dist/components/tree/TreeCollapsibleContent.d.ts +2 -0
- package/dist/components/tree/TreeCollapsibleTrigger.js +1 -1
- package/dist/components/tree/TreeCollapsibleTrigger.js.map +1 -1
- package/dist/components/tree/TreeIcon.d.ts +4 -0
- package/dist/components/tree/TreeItemContent.d.ts +7 -5
- package/dist/components/tree/TreeListItem.d.ts +7 -5
- package/dist/components/video/Video.d.ts +2 -0
- package/dist/components/video/Video.js +1 -1
- package/dist/components/video/Video.js.map +1 -1
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.d.ts +22 -0
- package/dist/utilities/index.d.ts +1 -2
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +3 -374
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.js +1 -1
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.js.map +1 -1
- package/dist/utilities/no-overflow-wrapper/index.d.ts +1 -1
- package/dist/utilities/style/backdrop-overlay.js +1 -1
- package/dist/utilities/style/backdrop-overlay.js.map +1 -1
- package/dist/utilities/style/index.d.ts +0 -2
- package/package.json +2 -2
- package/CHANGELOG.md +0 -227
- package/dist/components/drawer/Drawer.styles.d.ts +0 -4
- package/dist/components/drawer/Drawer.styles.js +0 -2
- package/dist/components/drawer/Drawer.styles.js.map +0 -1
- package/dist/constants/zIndices.d.ts +0 -6
- package/dist/constants/zIndices.js +0 -2
- package/dist/constants/zIndices.js.map +0 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +0 -22
- package/dist/utilities/create-theme-variants/createThemeVariants.js +0 -2
- package/dist/utilities/create-theme-variants/createThemeVariants.js.map +0 -1
- package/dist/utilities/create-theme-variants/index.d.ts +0 -1
- package/dist/utilities/style/disabledStyle.d.ts +0 -2
- package/dist/utilities/style/disabledStyle.js +0 -2
- package/dist/utilities/style/disabledStyle.js.map +0 -1
- package/dist/utilities/style/focus-visible-style-block.d.ts +0 -13
- package/dist/utilities/style/focus-visible-style-block.js +0 -2
- package/dist/utilities/style/focus-visible-style-block.js.map +0 -1
- package/dist/utilities/style/reset.d.ts +0 -13
- package/dist/utilities/style/reset.js +0 -2
- package/dist/utilities/style/reset.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { VariantProps } from '@atom-learning/stitches-react';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { SliderSteps } from './SliderSteps';
|
|
3
4
|
import { SliderValue } from './SliderValue';
|
|
4
|
-
declare const
|
|
5
|
+
declare const StyledTrack: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-slider").SliderTrackProps & React.RefAttributes<HTMLSpanElement>>, {
|
|
5
6
|
theme?: "light" | "tonal" | undefined;
|
|
6
7
|
}, {
|
|
7
8
|
sm: string;
|
|
@@ -27,6 +28,8 @@ declare const StyledSlider: import("@atom-learning/stitches-react/types/styled-c
|
|
|
27
28
|
textMinimal: string;
|
|
28
29
|
background: string;
|
|
29
30
|
backgroundAccent: string;
|
|
31
|
+
black: string;
|
|
32
|
+
white: string;
|
|
30
33
|
grey100: string;
|
|
31
34
|
grey200: string;
|
|
32
35
|
grey300: string;
|
|
@@ -372,7 +375,378 @@ declare const StyledSlider: import("@atom-learning/stitches-react/types/styled-c
|
|
|
372
375
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
373
376
|
};
|
|
374
377
|
}>>;
|
|
375
|
-
|
|
378
|
+
declare const StyledSlider: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-slider").SliderProps & React.RefAttributes<HTMLSpanElement>>, {}, {
|
|
379
|
+
sm: string;
|
|
380
|
+
md: string;
|
|
381
|
+
lg: string;
|
|
382
|
+
xl: string;
|
|
383
|
+
reducedMotion: string;
|
|
384
|
+
allowMotion: string;
|
|
385
|
+
hover: string;
|
|
386
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
387
|
+
sm: string;
|
|
388
|
+
md: string;
|
|
389
|
+
lg: string;
|
|
390
|
+
xl: string;
|
|
391
|
+
reducedMotion: string;
|
|
392
|
+
allowMotion: string;
|
|
393
|
+
hover: string;
|
|
394
|
+
}, {
|
|
395
|
+
colors: {
|
|
396
|
+
textBold: string;
|
|
397
|
+
textRegular: string;
|
|
398
|
+
textSubtle: string;
|
|
399
|
+
textMinimal: string;
|
|
400
|
+
background: string;
|
|
401
|
+
backgroundAccent: string;
|
|
402
|
+
black: string;
|
|
403
|
+
white: string;
|
|
404
|
+
grey100: string;
|
|
405
|
+
grey200: string;
|
|
406
|
+
grey300: string;
|
|
407
|
+
grey400: string;
|
|
408
|
+
grey500: string;
|
|
409
|
+
grey600: string;
|
|
410
|
+
grey700: string;
|
|
411
|
+
grey800: string;
|
|
412
|
+
grey900: string;
|
|
413
|
+
grey1000: string;
|
|
414
|
+
grey1100: string;
|
|
415
|
+
grey1200: string;
|
|
416
|
+
blue100: string;
|
|
417
|
+
blue200: string;
|
|
418
|
+
blue300: string;
|
|
419
|
+
blue400: string;
|
|
420
|
+
blue500: string;
|
|
421
|
+
blue600: string;
|
|
422
|
+
blue700: string;
|
|
423
|
+
blue800: string;
|
|
424
|
+
blue900: string;
|
|
425
|
+
blue1000: string;
|
|
426
|
+
blue1100: string;
|
|
427
|
+
blue1200: string;
|
|
428
|
+
pink100: string;
|
|
429
|
+
pink200: string;
|
|
430
|
+
pink300: string;
|
|
431
|
+
pink400: string;
|
|
432
|
+
pink500: string;
|
|
433
|
+
pink600: string;
|
|
434
|
+
pink700: string;
|
|
435
|
+
pink800: string;
|
|
436
|
+
pink900: string;
|
|
437
|
+
pink1000: string;
|
|
438
|
+
pink1100: string;
|
|
439
|
+
pink1200: string;
|
|
440
|
+
purple100: string;
|
|
441
|
+
purple200: string;
|
|
442
|
+
purple300: string;
|
|
443
|
+
purple400: string;
|
|
444
|
+
purple500: string;
|
|
445
|
+
purple600: string;
|
|
446
|
+
purple700: string;
|
|
447
|
+
purple800: string;
|
|
448
|
+
purple900: string;
|
|
449
|
+
purple1000: string;
|
|
450
|
+
purple1100: string;
|
|
451
|
+
purple1200: string;
|
|
452
|
+
cyan100: string;
|
|
453
|
+
cyan200: string;
|
|
454
|
+
cyan300: string;
|
|
455
|
+
cyan400: string;
|
|
456
|
+
cyan500: string;
|
|
457
|
+
cyan600: string;
|
|
458
|
+
cyan700: string;
|
|
459
|
+
cyan800: string;
|
|
460
|
+
cyan900: string;
|
|
461
|
+
cyan1000: string;
|
|
462
|
+
cyan1100: string;
|
|
463
|
+
cyan1200: string;
|
|
464
|
+
green100: string;
|
|
465
|
+
green200: string;
|
|
466
|
+
green300: string;
|
|
467
|
+
green400: string;
|
|
468
|
+
green500: string;
|
|
469
|
+
green600: string;
|
|
470
|
+
green700: string;
|
|
471
|
+
green800: string;
|
|
472
|
+
green900: string;
|
|
473
|
+
green1000: string;
|
|
474
|
+
green1100: string;
|
|
475
|
+
green1200: string;
|
|
476
|
+
magenta100: string;
|
|
477
|
+
magenta200: string;
|
|
478
|
+
magenta300: string;
|
|
479
|
+
magenta400: string;
|
|
480
|
+
magenta500: string;
|
|
481
|
+
magenta600: string;
|
|
482
|
+
magenta700: string;
|
|
483
|
+
magenta800: string;
|
|
484
|
+
magenta900: string;
|
|
485
|
+
magenta1000: string;
|
|
486
|
+
magenta1100: string;
|
|
487
|
+
magenta1200: string;
|
|
488
|
+
red100: string;
|
|
489
|
+
red200: string;
|
|
490
|
+
red300: string;
|
|
491
|
+
red400: string;
|
|
492
|
+
red500: string;
|
|
493
|
+
red600: string;
|
|
494
|
+
red700: string;
|
|
495
|
+
red800: string;
|
|
496
|
+
red900: string;
|
|
497
|
+
red1000: string;
|
|
498
|
+
red1100: string;
|
|
499
|
+
red1200: string;
|
|
500
|
+
teal100: string;
|
|
501
|
+
teal200: string;
|
|
502
|
+
teal300: string;
|
|
503
|
+
teal400: string;
|
|
504
|
+
teal500: string;
|
|
505
|
+
teal600: string;
|
|
506
|
+
teal700: string;
|
|
507
|
+
teal800: string;
|
|
508
|
+
teal900: string;
|
|
509
|
+
teal1000: string;
|
|
510
|
+
teal1100: string;
|
|
511
|
+
teal1200: string;
|
|
512
|
+
orange100: string;
|
|
513
|
+
orange200: string;
|
|
514
|
+
orange300: string;
|
|
515
|
+
orange400: string;
|
|
516
|
+
orange500: string;
|
|
517
|
+
orange600: string;
|
|
518
|
+
orange700: string;
|
|
519
|
+
orange800: string;
|
|
520
|
+
orange900: string;
|
|
521
|
+
orange1000: string;
|
|
522
|
+
orange1100: string;
|
|
523
|
+
orange1200: string;
|
|
524
|
+
yellow100: string;
|
|
525
|
+
yellow200: string;
|
|
526
|
+
yellow300: string;
|
|
527
|
+
yellow400: string;
|
|
528
|
+
yellow500: string;
|
|
529
|
+
yellow600: string;
|
|
530
|
+
yellow700: string;
|
|
531
|
+
yellow800: string;
|
|
532
|
+
yellow900: string;
|
|
533
|
+
yellow1000: string;
|
|
534
|
+
yellow1100: string;
|
|
535
|
+
yellow1200: string;
|
|
536
|
+
lime100: string;
|
|
537
|
+
lime200: string;
|
|
538
|
+
lime300: string;
|
|
539
|
+
lime400: string;
|
|
540
|
+
lime500: string;
|
|
541
|
+
lime600: string;
|
|
542
|
+
lime700: string;
|
|
543
|
+
lime800: string;
|
|
544
|
+
lime900: string;
|
|
545
|
+
lime1000: string;
|
|
546
|
+
lime1100: string;
|
|
547
|
+
lime1200: string;
|
|
548
|
+
lapis100: string;
|
|
549
|
+
lapis200: string;
|
|
550
|
+
lapis300: string;
|
|
551
|
+
lapis400: string;
|
|
552
|
+
lapis500: string;
|
|
553
|
+
lapis600: string;
|
|
554
|
+
lapis700: string;
|
|
555
|
+
lapis800: string;
|
|
556
|
+
lapis900: string;
|
|
557
|
+
lapis1000: string;
|
|
558
|
+
lapis1100: string;
|
|
559
|
+
lapis1200: string;
|
|
560
|
+
maroon100: string;
|
|
561
|
+
maroon200: string;
|
|
562
|
+
maroon300: string;
|
|
563
|
+
maroon400: string;
|
|
564
|
+
maroon500: string;
|
|
565
|
+
maroon600: string;
|
|
566
|
+
maroon700: string;
|
|
567
|
+
maroon800: string;
|
|
568
|
+
maroon900: string;
|
|
569
|
+
maroon1000: string;
|
|
570
|
+
maroon1100: string;
|
|
571
|
+
maroon1200: string;
|
|
572
|
+
marsh100: string;
|
|
573
|
+
marsh200: string;
|
|
574
|
+
marsh300: string;
|
|
575
|
+
marsh400: string;
|
|
576
|
+
marsh500: string;
|
|
577
|
+
marsh600: string;
|
|
578
|
+
marsh700: string;
|
|
579
|
+
marsh800: string;
|
|
580
|
+
marsh900: string;
|
|
581
|
+
marsh1000: string;
|
|
582
|
+
marsh1100: string;
|
|
583
|
+
marsh1200: string;
|
|
584
|
+
alpha100: string;
|
|
585
|
+
alpha150: string;
|
|
586
|
+
alpha200: string;
|
|
587
|
+
alpha250: string;
|
|
588
|
+
alpha600: string;
|
|
589
|
+
infoLight: string;
|
|
590
|
+
info: string;
|
|
591
|
+
infoMid: string;
|
|
592
|
+
infoDark: string;
|
|
593
|
+
successLight: string;
|
|
594
|
+
success: string;
|
|
595
|
+
successMid: string;
|
|
596
|
+
successDark: string;
|
|
597
|
+
dangerLight: string;
|
|
598
|
+
danger: string;
|
|
599
|
+
dangerMid: string;
|
|
600
|
+
dangerDark: string;
|
|
601
|
+
warningLight: string;
|
|
602
|
+
warning: string;
|
|
603
|
+
warningMid: string;
|
|
604
|
+
warningDark: string;
|
|
605
|
+
warningText: string;
|
|
606
|
+
subjectEnglish: string;
|
|
607
|
+
subjectMaths: string;
|
|
608
|
+
subjectScience: string;
|
|
609
|
+
subjectVerbalReasoning: string;
|
|
610
|
+
subjectNonVerbalReasoning: string;
|
|
611
|
+
subjectCreativeWriting: string;
|
|
612
|
+
subjectExamSkills: string;
|
|
613
|
+
subjectGcseEnglishLiterature: string;
|
|
614
|
+
subjectGcseMaths: string;
|
|
615
|
+
subjectGcseChemistry: string;
|
|
616
|
+
subjectGcsePhysics: string;
|
|
617
|
+
subjectGcseBiology: string;
|
|
618
|
+
glBlueLight: string;
|
|
619
|
+
glBluePrimary: string;
|
|
620
|
+
glBlueDark: string;
|
|
621
|
+
primary100: string;
|
|
622
|
+
primary200: string;
|
|
623
|
+
primary300: string;
|
|
624
|
+
primary400: string;
|
|
625
|
+
primary500: string;
|
|
626
|
+
primary600: string;
|
|
627
|
+
primary700: string;
|
|
628
|
+
primary800: string;
|
|
629
|
+
primary900: string;
|
|
630
|
+
primary1000: string;
|
|
631
|
+
primary1100: string;
|
|
632
|
+
primary1200: string;
|
|
633
|
+
};
|
|
634
|
+
space: {
|
|
635
|
+
"0": string;
|
|
636
|
+
"1": string;
|
|
637
|
+
"2": string;
|
|
638
|
+
"3": string;
|
|
639
|
+
"4": string;
|
|
640
|
+
"5": string;
|
|
641
|
+
"6": string;
|
|
642
|
+
"7": string;
|
|
643
|
+
"8": string;
|
|
644
|
+
"9": string;
|
|
645
|
+
"24": string;
|
|
646
|
+
};
|
|
647
|
+
fontSizes: {
|
|
648
|
+
xs: string;
|
|
649
|
+
sm: string;
|
|
650
|
+
md: string;
|
|
651
|
+
lg: string;
|
|
652
|
+
xl: string;
|
|
653
|
+
"2xl": string;
|
|
654
|
+
"3xl": string;
|
|
655
|
+
"4xl": string;
|
|
656
|
+
};
|
|
657
|
+
fonts: {
|
|
658
|
+
sans: string;
|
|
659
|
+
mono: string;
|
|
660
|
+
display: string;
|
|
661
|
+
body: string;
|
|
662
|
+
};
|
|
663
|
+
sizes: {
|
|
664
|
+
"0": string;
|
|
665
|
+
"1": string;
|
|
666
|
+
"2": string;
|
|
667
|
+
"3": string;
|
|
668
|
+
"4": string;
|
|
669
|
+
"5": string;
|
|
670
|
+
"6": string;
|
|
671
|
+
"7": string;
|
|
672
|
+
"8": string;
|
|
673
|
+
};
|
|
674
|
+
radii: {
|
|
675
|
+
"0": string;
|
|
676
|
+
"1": string;
|
|
677
|
+
"2": string;
|
|
678
|
+
"3": string;
|
|
679
|
+
round: string;
|
|
680
|
+
};
|
|
681
|
+
shadows: {
|
|
682
|
+
"0": string;
|
|
683
|
+
"1": string;
|
|
684
|
+
"2": string;
|
|
685
|
+
"3": string;
|
|
686
|
+
};
|
|
687
|
+
ratios: {
|
|
688
|
+
"16-9": string;
|
|
689
|
+
"3-2": string;
|
|
690
|
+
"4-3": string;
|
|
691
|
+
"1-1": string;
|
|
692
|
+
"3-4": string;
|
|
693
|
+
};
|
|
694
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
695
|
+
bg: (value: import("@atom-learning/stitches-react").PropertyValue<"background">) => {
|
|
696
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
697
|
+
};
|
|
698
|
+
size: (value: import("@atom-learning/stitches-react").ScaleValue<"size"> | number | string) => {
|
|
699
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
700
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
701
|
+
};
|
|
702
|
+
p: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
703
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
704
|
+
};
|
|
705
|
+
pt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
706
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
707
|
+
};
|
|
708
|
+
pr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
709
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
710
|
+
};
|
|
711
|
+
pb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
712
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
713
|
+
};
|
|
714
|
+
pl: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
715
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
716
|
+
};
|
|
717
|
+
px: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
718
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
719
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
720
|
+
};
|
|
721
|
+
py: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
722
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
723
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
724
|
+
};
|
|
725
|
+
m: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
726
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
727
|
+
};
|
|
728
|
+
mt: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
729
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
730
|
+
};
|
|
731
|
+
mr: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
732
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
733
|
+
};
|
|
734
|
+
mb: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
735
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
736
|
+
};
|
|
737
|
+
ml: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
738
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
739
|
+
};
|
|
740
|
+
mx: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
741
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
742
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
743
|
+
};
|
|
744
|
+
my: (value: import("@atom-learning/stitches-react").ScaleValue<"space"> | number | string) => {
|
|
745
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
746
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
747
|
+
};
|
|
748
|
+
}>>;
|
|
749
|
+
export type SliderProps = React.ComponentProps<typeof StyledSlider> & VariantProps<typeof StyledTrack>;
|
|
376
750
|
type SliderType = React.ForwardRefExoticComponent<SliderProps> & {
|
|
377
751
|
Value: typeof SliderValue;
|
|
378
752
|
Steps: typeof SliderSteps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Track as
|
|
1
|
+
import{Track as f,Root as h,Range as $,Thumb as b}from"@radix-ui/react-slider";import*as e from"react";import{styled as t}from"../../stitches.js";import{CSSWrapper as g}from"../../utilities/css-wrapper/CSSWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import{SliderSteps as y}from"./SliderSteps.js";import{SliderValue as v}from"./SliderValue.js";const x=t(f,{borderRadius:"$round",flexGrow:1,position:"relative",'&[data-orientation="horizontal"]':{height:"$space$1"},'&[data-orientation="vertical"]':{width:"$space$1"},variants:{theme:{light:{bg:"#fff"},tonal:{bg:"$grey600"}}}}),S=t(h,{alignItems:"center",display:"flex",position:"relative",touchAction:"none",userSelect:"none",cursor:"pointer",'&[data-orientation="horizontal"]':{height:"$1"},'&[data-orientation="vertical"]':{flexDirection:"column",width:"$1"},"&[disabled]":{opacity:.3,cursor:"not-allowed"}}),w=t($,{bg:"$primary800",borderRadius:"$round",height:"100%",position:"absolute","&[disabled]":{opacity:.3,cursor:"not-allowed"}}),R=t(b,{bg:"$primary900",borderRadius:"$round",display:"block",size:"$1","&:hover":{bg:"$primary1000"},"&:focus":{outline:"2px solid $primary900",outlineOffset:"2px"},"&[disabled]":{opacity:.3,cursor:"not-allowed"}}),r=e.forwardRef(({value:i,defaultValue:a,min:l=0,max:n=100,theme:d="tonal",css:m,children:s,...p},c)=>{const o=i||a;return e.createElement(g,{css:m},e.createElement(S,{defaultValue:a,value:i,min:l,max:n,ref:c,...p},e.createElement(x,{theme:d},e.createElement(w,null)),(o==null?void 0:o.length)&&o.map((E,u)=>e.createElement(R,{key:`thumb${u}`}))),s)});r.Value=v,r.Steps=y,r.displayName="Slider";export{r as Slider};
|
|
2
2
|
//# sourceMappingURL=Slider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.js","sources":["../../../src/components/slider/Slider.tsx"],"sourcesContent":["import { Range, Root, Thumb, Track } from '@radix-ui/react-slider'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { CSSWrapper
|
|
1
|
+
{"version":3,"file":"Slider.js","sources":["../../../src/components/slider/Slider.tsx"],"sourcesContent":["import type { VariantProps } from '@atom-learning/stitches-react'\nimport { Range, Root, Thumb, Track } from '@radix-ui/react-slider'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\nimport { CSSWrapper } from '~/utilities'\n\nimport { SliderSteps } from './SliderSteps'\nimport { SliderValue } from './SliderValue'\n\nconst StyledTrack = styled(Track, {\n borderRadius: '$round',\n flexGrow: 1,\n position: 'relative',\n '&[data-orientation=\"horizontal\"]': { height: '$space$1' },\n '&[data-orientation=\"vertical\"]': { width: '$space$1' },\n variants: {\n theme: {\n light: { bg: '#fff' },\n tonal: { bg: '$grey600' }\n }\n }\n})\n\nconst StyledSlider = styled(Root, {\n alignItems: 'center',\n display: 'flex',\n position: 'relative',\n touchAction: 'none',\n userSelect: 'none',\n cursor: 'pointer',\n '&[data-orientation=\"horizontal\"]': {\n height: '$1'\n },\n '&[data-orientation=\"vertical\"]': {\n flexDirection: 'column',\n width: '$1'\n },\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n }\n})\n\nconst StyledRange = styled(Range, {\n bg: '$primary800',\n borderRadius: '$round',\n height: '100%',\n position: 'absolute',\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n }\n})\n\nconst StyledThumb = styled(Thumb, {\n bg: '$primary900',\n borderRadius: '$round',\n display: 'block',\n size: '$1',\n '&:hover': {\n bg: '$primary1000'\n },\n '&:focus': {\n outline: '2px solid $primary900',\n outlineOffset: '2px'\n },\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed'\n }\n})\n\nexport type SliderProps = React.ComponentProps<typeof StyledSlider> &\n VariantProps<typeof StyledTrack>\n\ntype SliderType = React.ForwardRefExoticComponent<SliderProps> & {\n Value: typeof SliderValue\n Steps: typeof SliderSteps\n}\n\nexport const Slider: SliderType = React.forwardRef(\n (\n {\n value,\n defaultValue,\n min = 0,\n max = 100,\n theme = 'tonal',\n css,\n children,\n ...remainingProps\n },\n ref\n ) => {\n const values = value || defaultValue\n return (\n <CSSWrapper css={css}>\n <StyledSlider\n defaultValue={defaultValue}\n value={value}\n min={min}\n max={max}\n ref={ref}\n {...remainingProps}\n >\n <StyledTrack theme={theme}>\n <StyledRange />\n </StyledTrack>\n {values?.length &&\n values.map((_, i) => <StyledThumb key={`thumb${i}`} />)}\n </StyledSlider>\n {children}\n </CSSWrapper>\n )\n }\n) as SliderType\n\nSlider.Value = SliderValue\nSlider.Steps = SliderSteps\n\nSlider.displayName = 'Slider'\n"],"names":["StyledTrack","styled","Track","StyledSlider","Root","StyledRange","Range","StyledThumb","Thumb","Slider","React","value","defaultValue","min","max","theme","css","children","remainingProps","ref","values","CSSWrapper","_","i","SliderValue","SliderSteps"],"mappings":"6bAUA,MAAMA,EAAcC,EAAOC,EAAO,CAChC,aAAc,SACd,SAAU,EACV,SAAU,WACV,mCAAoC,CAAE,OAAQ,UAAW,EACzD,iCAAkC,CAAE,MAAO,UAAW,EACtD,SAAU,CACR,MAAO,CACL,MAAO,CAAE,GAAI,MAAO,EACpB,MAAO,CAAE,GAAI,UAAW,CAC1B,CACF,CACF,CAAC,EAEKC,EAAeF,EAAOG,EAAM,CAChC,WAAY,SACZ,QAAS,OACT,SAAU,WACV,YAAa,OACb,WAAY,OACZ,OAAQ,UACR,mCAAoC,CAClC,OAAQ,IACV,EACA,iCAAkC,CAChC,cAAe,SACf,MAAO,IACT,EACA,cAAe,CACb,QAAS,GACT,OAAQ,aACV,CACF,CAAC,EAEKC,EAAcJ,EAAOK,EAAO,CAChC,GAAI,cACJ,aAAc,SACd,OAAQ,OACR,SAAU,WACV,cAAe,CACb,QAAS,GACT,OAAQ,aACV,CACF,CAAC,EAEKC,EAAcN,EAAOO,EAAO,CAChC,GAAI,cACJ,aAAc,SACd,QAAS,QACT,KAAM,KACN,UAAW,CACT,GAAI,cACN,EACA,UAAW,CACT,QAAS,wBACT,cAAe,KACjB,EACA,cAAe,CACb,QAAS,GACT,OAAQ,aACV,CACF,CAAC,EAUYC,EAAqBC,EAAM,WACtC,CACE,CACE,MAAAC,EACA,aAAAC,EACA,IAAAC,EAAM,EACN,IAAAC,EAAM,IACN,MAAAC,EAAQ,QACR,IAAAC,EACA,SAAAC,KACGC,CACL,EACAC,IACG,CACH,MAAMC,EAAST,GAASC,EACxB,OACEF,EAAA,cAACW,EAAA,CAAW,IAAKL,CACfN,EAAAA,EAAA,cAACP,EAAA,CACC,aAAcS,EACd,MAAOD,EACP,IAAKE,EACL,IAAKC,EACL,IAAKK,EACJ,GAAGD,CAEJR,EAAAA,EAAA,cAACV,EAAA,CAAY,MAAOe,CAClBL,EAAAA,EAAA,cAACL,EAAA,IAAY,CACf,GACCe,GAAA,KAAAA,OAAAA,EAAQ,SACPA,EAAO,IAAI,CAACE,EAAGC,IAAMb,EAAA,cAACH,EAAA,CAAY,IAAK,QAAQgB,GAAK,CAAA,CAAE,CAC1D,EACCN,CACH,CAEJ,CACF,EAEAR,EAAO,MAAQe,EACff,EAAO,MAAQgB,EAEfhB,EAAO,YAAc"}
|
|
@@ -3,7 +3,7 @@ import { Icon } from '../icon';
|
|
|
3
3
|
export declare const StyledHandle: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
5
5
|
}, "appearance" | "size" | "css" | "theme" | "isRounded"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
6
|
-
theme?: "success" | "danger" | "warning" | "neutral" | "primary" |
|
|
6
|
+
theme?: "white" | "success" | "danger" | "warning" | "neutral" | "primary" | undefined;
|
|
7
7
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
9
9
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -32,6 +32,8 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
32
32
|
textMinimal: string;
|
|
33
33
|
background: string;
|
|
34
34
|
backgroundAccent: string;
|
|
35
|
+
black: string;
|
|
36
|
+
white: string;
|
|
35
37
|
grey100: string;
|
|
36
38
|
grey200: string;
|
|
37
39
|
grey300: string;
|
|
@@ -378,7 +380,7 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
378
380
|
};
|
|
379
381
|
}> | undefined;
|
|
380
382
|
}, "appearance" | "size" | "theme" | "label" | "children" | "as" | keyof import("../../types").NavigatorActions | "hasTooltip" | "tooltipSide" | "isRounded"> & import("@atom-learning/stitches-react/types/styled-component").TransformProps<{
|
|
381
|
-
theme?: "success" | "danger" | "warning" | "neutral" | "primary" |
|
|
383
|
+
theme?: "white" | "success" | "danger" | "warning" | "neutral" | "primary" | undefined;
|
|
382
384
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
383
385
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
384
386
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -420,6 +422,8 @@ export declare const StyledHandle: import("@atom-learning/stitches-react/types/s
|
|
|
420
422
|
textMinimal: string;
|
|
421
423
|
background: string;
|
|
422
424
|
backgroundAccent: string;
|
|
425
|
+
black: string;
|
|
426
|
+
white: string;
|
|
423
427
|
grey100: string;
|
|
424
428
|
grey200: string;
|
|
425
429
|
grey300: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{DragHandle as l}from"@atom-learning/icons";import*as r from"react";import{styled as s}from"../../stitches.js";import{ActionIcon as m}from"../action-icon/ActionIcon.js";import{Icon as p}from"../icon/Icon.js";const e=s(m,{color:"inherit !important",fill:"currentColor","&[disabled]":{opacity:.3,cursor:"not-allowed",
|
|
1
|
+
import{DragHandle as l}from"@atom-learning/icons";import*as r from"react";import{styled as s}from"../../stitches.js";import{ActionIcon as m}from"../action-icon/ActionIcon.js";import{Icon as p}from"../icon/Icon.js";const e=s(m,{color:"inherit !important",fill:"currentColor","&[disabled]":{opacity:.3,cursor:"not-allowed","& *":{pointerEvents:"none"}},variants:{isDragging:{true:{cursor:"grabbing"},false:{cursor:"grab"}}}}),o=r.forwardRef(({isDragging:a,size:i,...t},n)=>r.createElement(e,{ref:n,isDragging:a,appearance:"simple",hasTooltip:!1,size:i,...t},r.createElement(p,{is:l})));o.displayName="Handle";export{o as Handle,e as StyledHandle};
|
|
2
2
|
//# sourceMappingURL=Handle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Handle.js","sources":["../../../src/components/sortable/Handle.tsx"],"sourcesContent":["import { DragHandle } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport { styled } from '../../stitches'\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nexport const StyledHandle = styled(ActionIcon, {\n color: 'inherit !important',\n fill: 'currentColor',\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed',\n
|
|
1
|
+
{"version":3,"file":"Handle.js","sources":["../../../src/components/sortable/Handle.tsx"],"sourcesContent":["import { DragHandle } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport { styled } from '../../stitches'\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nexport const StyledHandle = styled(ActionIcon, {\n color: 'inherit !important',\n fill: 'currentColor',\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed',\n '& *': {\n pointerEvents: 'none'\n }\n },\n variants: {\n isDragging: {\n true: {\n cursor: 'grabbing'\n },\n false: {\n cursor: 'grab'\n }\n }\n }\n})\n\nexport type THandleProps = Omit<\n React.ComponentProps<typeof StyledHandle>,\n 'children'\n> &\n Pick<React.ComponentProps<typeof Icon>, 'size'>\n\nexport const Handle: React.ForwardRefExoticComponent<THandleProps> =\n React.forwardRef(({ isDragging, size, ...rest }, ref) => {\n return (\n <StyledHandle\n ref={ref}\n isDragging={isDragging}\n appearance=\"simple\"\n hasTooltip={false}\n size={size}\n {...rest}\n >\n <Icon is={DragHandle} />\n </StyledHandle>\n )\n })\n\nHandle.displayName = 'Handle'\n"],"names":["StyledHandle","styled","ActionIcon","Handle","React","isDragging","size","rest","ref","Icon","DragHandle"],"mappings":"sNAOO,MAAMA,EAAeC,EAAOC,EAAY,CAC7C,MAAO,qBACP,KAAM,eACN,cAAe,CACb,QAAS,GACT,OAAQ,cACR,MAAO,CACL,cAAe,MACjB,CACF,EACA,SAAU,CACR,WAAY,CACV,KAAM,CACJ,OAAQ,UACV,EACA,MAAO,CACL,OAAQ,MACV,CACF,CACF,CACF,CAAC,EAQYC,EACXC,EAAM,WAAW,CAAC,CAAE,WAAAC,EAAY,KAAAC,KAASC,CAAK,EAAGC,IAE7CJ,EAAA,cAACJ,GACC,IAAKQ,EACL,WAAYH,EACZ,WAAW,SACX,WAAY,GACZ,KAAMC,EACL,GAAGC,GAEJH,EAAA,cAACK,EAAA,CAAK,GAAIC,EAAY,CACxB,CAEH,EAEHP,EAAO,YAAc"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import type { UniqueIdentifier } from '@dnd-kit/core';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { CSS } from '../../stitches';
|
|
4
|
+
import { Box } from '../box';
|
|
4
5
|
export type TSortableItemProps = {
|
|
5
6
|
id: UniqueIdentifier;
|
|
6
7
|
asChild?: boolean;
|
|
7
8
|
isDragHandle?: boolean;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
css?: CSS;
|
|
11
|
+
style?: Pick<React.ComponentProps<typeof Box>, 'style'>;
|
|
10
12
|
};
|
|
11
13
|
export declare const SortableItem: {
|
|
12
|
-
({ id, asChild, css, isDragHandle, disabled, ...rest }: React.PropsWithChildren<TSortableItemProps>): React.JSX.Element;
|
|
14
|
+
({ id, asChild, css, style, isDragHandle, disabled, ...rest }: React.PropsWithChildren<TSortableItemProps>): React.JSX.Element;
|
|
13
15
|
displayName: string;
|
|
14
16
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useSortable as
|
|
1
|
+
import{useSortable as b}from"@dnd-kit/sortable";import{Slot as g}from"@radix-ui/react-slot";import*as f from"react";import{styled as x}from"../../stitches.js";import{Box as y}from"../box/Box.js";const u=x(g),s=({id:l,asChild:o=!1,css:n,style:i,isDragHandle:r=!1,disabled:t,...d})=>{const{transform:a,setNodeRef:c,isDragging:e,listeners:m,attributes:p}=b({id:l});return f.createElement(o?u:y,{ref:c,style:{...i,"--scale":1,"--translate-x":(a==null?void 0:a.x)||0,"--translate-y":(a==null?void 0:a.y)||0},css:{transform:"translateX(calc(var(--translate-x) * 1px)) translateY(calc(var(--translate-y) * 1px)) scale(var(--scale))",zIndex:e?5:void 0,"&[disabled]":{opacity:.3,cursor:"not-allowed","& *":{pointerEvents:"none"}},...r&&{cursor:e?"grabbing":"grab"},...n},"data-dragging":e,"data-disabled":t,...r&&!t?m:{},...r&&!t?p:{},...d})};s.displayName="SortableItem";export{s as SortableItem};
|
|
2
2
|
//# sourceMappingURL=SortableItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortableItem.js","sources":["../../../src/components/sortable/SortableItem.tsx"],"sourcesContent":["import type { UniqueIdentifier } from '@dnd-kit/core'\nimport { useSortable } from '@dnd-kit/sortable'\nimport { Slot } from '@radix-ui/react-slot'\nimport * as React from 'react'\n\nimport { CSS, styled } from '~/stitches'\n\nimport { Box } from '../box'\n\nexport type TSortableItemProps = {\n id: UniqueIdentifier\n asChild?: boolean\n isDragHandle?: boolean\n disabled?: boolean\n css?: CSS\n}\n\nconst StyledSlot = styled(Slot)\n\nexport const SortableItem = ({\n id,\n asChild = false,\n css,\n isDragHandle = false,\n disabled,\n ...rest\n}: React.PropsWithChildren<TSortableItemProps>) => {\n const { transform, setNodeRef, isDragging, listeners, attributes } =\n useSortable({ id })\n\n const Component = asChild ? StyledSlot : Box\n return (\n <Component\n ref={setNodeRef}\n
|
|
1
|
+
{"version":3,"file":"SortableItem.js","sources":["../../../src/components/sortable/SortableItem.tsx"],"sourcesContent":["import type { UniqueIdentifier } from '@dnd-kit/core'\nimport { useSortable } from '@dnd-kit/sortable'\nimport { Slot } from '@radix-ui/react-slot'\nimport * as React from 'react'\n\nimport { CSS, styled } from '~/stitches'\n\nimport { Box } from '../box'\n\nexport type TSortableItemProps = {\n id: UniqueIdentifier\n asChild?: boolean\n isDragHandle?: boolean\n disabled?: boolean\n css?: CSS\n style?: Pick<React.ComponentProps<typeof Box>, 'style'>\n}\n\nconst StyledSlot = styled(Slot)\n\nexport const SortableItem = ({\n id,\n asChild = false,\n css,\n style,\n isDragHandle = false,\n disabled,\n ...rest\n}: React.PropsWithChildren<TSortableItemProps>) => {\n const { transform, setNodeRef, isDragging, listeners, attributes } =\n useSortable({ id })\n\n const Component = asChild ? StyledSlot : Box\n return (\n <Component\n ref={setNodeRef}\n style={{\n ...style,\n '--scale': 1,\n '--translate-x': transform?.x || 0,\n '--translate-y': transform?.y || 0\n }}\n css={{\n transform:\n 'translateX(calc(var(--translate-x) * 1px)) translateY(calc(var(--translate-y) * 1px)) scale(var(--scale))',\n zIndex: isDragging ? 5 : undefined,\n '&[disabled]': {\n opacity: 0.3,\n cursor: 'not-allowed',\n '& *': { pointerEvents: 'none' }\n },\n ...(isDragHandle && { cursor: isDragging ? 'grabbing' : 'grab' }),\n ...css\n }}\n data-dragging={isDragging}\n data-disabled={disabled}\n {...(isDragHandle && !disabled ? listeners : {})}\n {...(isDragHandle && !disabled ? attributes : {})}\n {...rest}\n />\n )\n}\n\nSortableItem.displayName = 'SortableItem'\n"],"names":["StyledSlot","styled","Slot","SortableItem","id","asChild","css","style","isDragHandle","disabled","rest","transform","setNodeRef","isDragging","listeners","attributes","useSortable","React","Box"],"mappings":"mMAkBA,MAAMA,EAAaC,EAAOC,CAAI,EAEjBC,EAAe,CAAC,CAC3B,GAAAC,EACA,QAAAC,EAAU,GACV,IAAAC,EACA,MAAAC,EACA,aAAAC,EAAe,GACf,SAAAC,KACGC,CACL,IAAmD,CACjD,KAAM,CAAE,UAAAC,EAAW,WAAAC,EAAY,WAAAC,EAAY,UAAAC,EAAW,WAAAC,CAAW,EAC/DC,EAAY,CAAE,GAAAZ,CAAG,CAAC,EAGpB,OACEa,EAAA,cAFgBZ,EAAUL,EAAakB,EAEtC,CACC,IAAKN,EACL,MAAO,CACL,GAAGL,EACH,UAAW,EACX,iBAAiBI,GAAA,KAAA,OAAAA,EAAW,IAAK,EACjC,iBAAiBA,GAAA,KAAA,OAAAA,EAAW,IAAK,CACnC,EACA,IAAK,CACH,UACE,8GACF,OAAQE,EAAa,EAAI,OACzB,cAAe,CACb,QAAS,GACT,OAAQ,cACR,MAAO,CAAE,cAAe,MAAO,CACjC,EACA,GAAIL,GAAgB,CAAE,OAAQK,EAAa,WAAa,MAAO,EAC/D,GAAGP,CACL,EACA,gBAAeO,EACf,gBAAeJ,EACd,GAAID,GAAgB,CAACC,EAAWK,EAAY,CAAA,EAC5C,GAAIN,GAAgB,CAACC,EAAWM,EAAa,CAAA,EAC7C,GAAGL,CAAAA,CACN,CAEJ,EAEAP,EAAa,YAAc"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const Sortable: {
|
|
2
2
|
Root: {
|
|
3
|
-
({ sortableIds, onSortChange, children }:
|
|
4
|
-
sortableIds:
|
|
3
|
+
({ sortableIds, onSortChange, children }: React.PropsWithChildren<{
|
|
4
|
+
sortableIds: React.ReactText[];
|
|
5
5
|
onSortChange: (onSortChangeData: {
|
|
6
6
|
order: import("@dnd-kit/core").UniqueIdentifier[];
|
|
7
7
|
oldIndex: number;
|
|
@@ -11,7 +11,7 @@ export declare const Sortable: {
|
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
Item: {
|
|
14
|
-
({ id, asChild, css, isDragHandle, disabled, ...rest }:
|
|
14
|
+
({ id, asChild, css, style, isDragHandle, disabled, ...rest }: React.PropsWithChildren<import("./SortableItem").TSortableItemProps>): import("react").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
Handle: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const StepperStepBullet: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"div", {
|
|
2
|
-
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "
|
|
3
|
-
wrap?: "inherit" | "initial" | "revert" | "unset" | "
|
|
4
|
-
justify?: "left" | "right" | "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "
|
|
5
|
-
align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "
|
|
2
|
+
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "row-reverse" | "column" | "column-reverse" | "revert-layer" | undefined;
|
|
3
|
+
wrap?: "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
4
|
+
justify?: "left" | "right" | "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "normal" | "unsafe" | "safe" | "start" | "end" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
5
|
+
align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "normal" | "unsafe" | "safe" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "baseline" | "first baseline" | "last baseline" | undefined;
|
|
6
6
|
gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | undefined;
|
|
7
7
|
}, {
|
|
8
8
|
sm: string;
|
|
@@ -28,6 +28,8 @@ export declare const StepperStepBullet: import("@atom-learning/stitches-react/ty
|
|
|
28
28
|
textMinimal: string;
|
|
29
29
|
background: string;
|
|
30
30
|
backgroundAccent: string;
|
|
31
|
+
black: string;
|
|
32
|
+
white: string;
|
|
31
33
|
grey100: string;
|
|
32
34
|
grey200: string;
|
|
33
35
|
grey300: string;
|
|
@@ -398,6 +400,8 @@ export declare const StepperStepBullet: import("@atom-learning/stitches-react/ty
|
|
|
398
400
|
textMinimal: string;
|
|
399
401
|
background: string;
|
|
400
402
|
backgroundAccent: string;
|
|
403
|
+
black: string;
|
|
404
|
+
white: string;
|
|
401
405
|
grey100: string;
|
|
402
406
|
grey200: string;
|
|
403
407
|
grey300: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const StepperStepContainer: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"div", {
|
|
2
|
-
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "
|
|
3
|
-
wrap?: "inherit" | "initial" | "revert" | "unset" | "
|
|
4
|
-
justify?: "left" | "right" | "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "
|
|
5
|
-
align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "
|
|
2
|
+
direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "row-reverse" | "column" | "column-reverse" | "revert-layer" | undefined;
|
|
3
|
+
wrap?: "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
4
|
+
justify?: "left" | "right" | "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "normal" | "unsafe" | "safe" | "start" | "end" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
5
|
+
align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "revert-layer" | "normal" | "unsafe" | "safe" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "baseline" | "first baseline" | "last baseline" | undefined;
|
|
6
6
|
gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | undefined;
|
|
7
7
|
}, {
|
|
8
8
|
sm: string;
|
|
@@ -28,6 +28,8 @@ export declare const StepperStepContainer: import("@atom-learning/stitches-react
|
|
|
28
28
|
textMinimal: string;
|
|
29
29
|
background: string;
|
|
30
30
|
backgroundAccent: string;
|
|
31
|
+
black: string;
|
|
32
|
+
white: string;
|
|
31
33
|
grey100: string;
|
|
32
34
|
grey200: string;
|
|
33
35
|
grey300: string;
|
|
@@ -401,6 +403,8 @@ export declare const StepperStepContainer: import("@atom-learning/stitches-react
|
|
|
401
403
|
textMinimal: string;
|
|
402
404
|
background: string;
|
|
403
405
|
backgroundAccent: string;
|
|
406
|
+
black: string;
|
|
407
|
+
white: string;
|
|
404
408
|
grey100: string;
|
|
405
409
|
grey200: string;
|
|
406
410
|
grey300: string;
|