@atom-learning/components 4.0.0-beta.1 → 4.0.0-beta.10
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 +52 -55
- package/dist/components/accordion/AccordionContent.d.ts +53 -56
- package/dist/components/accordion/AccordionItem.d.ts +52 -55
- package/dist/components/accordion/AccordionTrigger.d.ts +105 -111
- package/dist/components/action-icon/ActionIcon.d.ts +53 -56
- 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 +105 -111
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +53 -56
- package/dist/components/alert-dialog/alert-context/AlertContext.d.ts +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialog.d.ts +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.d.ts +2 -2
- package/dist/components/avatar/Avatar.d.ts +164 -173
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/avatar/AvatarIcon.d.ts +2 -2
- package/dist/components/avatar/AvatarImage.d.ts +2 -2
- package/dist/components/avatar/AvatarInitial.d.ts +2 -2
- package/dist/components/avatar/AvatarInitial.js +1 -1
- package/dist/components/avatar/AvatarInitial.js.map +1 -1
- package/dist/components/avatar/AvatarPlaceholder.d.ts +2 -2
- package/dist/components/badge/Badge.context.d.ts +1 -1
- package/dist/components/badge/Badge.d.ts +316 -332
- package/dist/components/badge/BadgeIcon.d.ts +105 -111
- package/dist/components/badge/BadgeText.d.ts +106 -110
- package/dist/components/badge/stitches.badge.colorscheme.config.d.ts +27 -16
- package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
- package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
- package/dist/components/banner/Banner.d.ts +2 -2
- package/dist/components/banner/BannerContainer.d.ts +103 -109
- package/dist/components/banner/BannerContext.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +487 -505
- package/dist/components/banner/banner-regular/BannerRegularActions.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularButton.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContainer.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +104 -110
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +106 -112
- package/dist/components/banner/banner-regular/BannerRegularHeading.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularImage.d.ts +1 -1
- package/dist/components/banner/banner-regular/BannerRegularText.d.ts +1 -1
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +432 -447
- package/dist/components/banner/banner-slim/BannerSlimActions.d.ts +1 -1
- package/dist/components/banner/banner-slim/BannerSlimButton.d.ts +1 -1
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +52 -55
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +104 -110
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +105 -111
- package/dist/components/banner/banner-slim/BannerSlimImage.d.ts +1 -1
- package/dist/components/banner/banner-slim/BannerSlimText.d.ts +1 -1
- package/dist/components/banner/banner-slim/BannerSlimText.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimText.js.map +1 -1
- package/dist/components/box/Box.d.ts +52 -55
- package/dist/components/button/Button.d.ts +53 -56
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +52 -55
- package/dist/components/calendar/Day.js +1 -1
- package/dist/components/calendar/Day.js.map +1 -1
- package/dist/components/carousel/Carousel.d.ts +213 -225
- package/dist/components/carousel/CarouselArrows.d.ts +3 -3
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselArrows.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +52 -55
- package/dist/components/carousel/CarouselPagination.js +1 -1
- package/dist/components/carousel/CarouselPagination.js.map +1 -1
- package/dist/components/carousel/CarouselSlide.d.ts +53 -56
- package/dist/components/carousel/CarouselSlider.d.ts +52 -55
- package/dist/components/checkbox/Checkbox.d.ts +52 -55
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-field/CheckboxField.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +211 -216
- package/dist/components/checkbox-group/context/CheckboxGroupChecked.context.d.ts +1 -1
- package/dist/components/checkbox-group/context/CheckboxGroupMounted.context.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +422 -416
- package/dist/components/chip/Chip.d.ts +369 -390
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +212 -224
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js.map +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +212 -224
- 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 +261 -276
- package/dist/components/combobox/ComboboxInput.d.ts +52 -55
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +52 -55
- package/dist/components/combobox/ComboboxOption.d.ts +52 -55
- package/dist/components/combobox/ComboboxOption.js +1 -1
- package/dist/components/combobox/ComboboxOption.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +52 -55
- 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 -1
- package/dist/components/data-table/DataTable.d.ts +649 -682
- package/dist/components/data-table/DataTableBody.d.ts +1 -1
- package/dist/components/data-table/DataTableBulkActions.d.ts +3 -3
- package/dist/components/data-table/DataTableDataCell.d.ts +2 -2
- package/dist/components/data-table/DataTableEmptyState.d.ts +1 -1
- package/dist/components/data-table/DataTableGlobalFilter.d.ts +1 -1
- package/dist/components/data-table/DataTableHead.d.ts +1 -1
- package/dist/components/data-table/DataTableHeaderCell.d.ts +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +54 -57
- package/dist/components/data-table/DataTableMetaData.d.ts +4 -9
- package/dist/components/data-table/DataTableMetaData.js +1 -1
- package/dist/components/data-table/DataTableMetaData.js.map +1 -1
- package/dist/components/data-table/DataTableRow.d.ts +1 -1
- package/dist/components/data-table/DataTableSelectAllRowsCheckbox.d.ts +2 -2
- package/dist/components/data-table/DataTableTable.d.ts +1 -1
- package/dist/components/data-table/drag-and-drop/DragAndDropTable.d.ts +2 -2
- package/dist/components/data-table/drag-and-drop/DragAndDropTableBody.d.ts +1 -1
- package/dist/components/data-table/drag-and-drop/DragAndDropTableRow.d.ts +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +53 -56
- package/dist/components/date-field/DateField.d.ts +2 -2
- package/dist/components/dialog/Dialog.d.ts +368 -389
- package/dist/components/dialog/DialogBackground.d.ts +103 -109
- package/dist/components/dialog/DialogClose.d.ts +52 -55
- package/dist/components/dialog/DialogContent.d.ts +53 -56
- package/dist/components/dialog/DialogFooter.d.ts +1 -1
- package/dist/components/dialog/DialogHeading.d.ts +1 -1
- package/dist/components/dialog/DialogHeading.js +1 -1
- package/dist/components/dialog/DialogHeading.js.map +1 -1
- package/dist/components/dismissible/DismissibleRoot.d.ts +2 -2
- package/dist/components/dismissible/DismissibleTrigger.d.ts +1 -1
- package/dist/components/dismissible/index.d.ts +2 -2
- package/dist/components/dismissible-group/DismissibleGroupItem.d.ts +1 -1
- package/dist/components/dismissible-group/DismissibleGroupRoot.d.ts +2 -2
- package/dist/components/dismissible-group/index.d.ts +3 -3
- package/dist/components/divider/Divider.d.ts +52 -55
- package/dist/components/divider/Divider.js +1 -1
- package/dist/components/divider/Divider.js.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +316 -334
- package/dist/components/drawer/DrawerClose.d.ts +1 -1
- package/dist/components/drawer/DrawerContent.d.ts +53 -56
- package/dist/components/drawer/DrawerFooter.d.ts +52 -55
- package/dist/components/drawer/DrawerHeader.d.ts +52 -55
- package/dist/components/drawer/DrawerMain.d.ts +52 -55
- package/dist/components/drawer/DrawerOverlay.d.ts +52 -55
- package/dist/components/drawer/DrawerTrigger.d.ts +52 -55
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +313 -331
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +52 -55
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +480 -483
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +53 -56
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +52 -55
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +52 -55
- package/dist/components/empty-state/EmptyState.context.d.ts +1 -1
- package/dist/components/empty-state/EmptyState.d.ts +373 -392
- package/dist/components/empty-state/EmptyStateBody.d.ts +107 -111
- package/dist/components/empty-state/EmptyStateBody.js +1 -1
- package/dist/components/empty-state/EmptyStateBody.js.map +1 -1
- package/dist/components/empty-state/EmptyStateImage.d.ts +108 -114
- package/dist/components/empty-state/EmptyStateTitle.d.ts +53 -56
- package/dist/components/empty-state/EmptyStateTitle.js +1 -1
- package/dist/components/empty-state/EmptyStateTitle.js.map +1 -1
- package/dist/components/field-wrapper/FieldDescription.d.ts +1 -1
- package/dist/components/field-wrapper/FieldDescription.js +1 -1
- package/dist/components/field-wrapper/FieldDescription.js.map +1 -1
- package/dist/components/field-wrapper/FieldWrapper.d.ts +1 -1
- package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
- package/dist/components/file-input/FileInput.d.ts +1 -1
- package/dist/components/flex/Flex.d.ts +52 -55
- package/dist/components/form/Form.d.ts +53 -56
- package/dist/components/grid/Grid.d.ts +53 -56
- package/dist/components/heading/Heading.d.ts +52 -55
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.d.ts +52 -55
- package/dist/components/image/Image.d.ts +53 -56
- 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 +104 -110
- package/dist/components/input/Input.d.ts +155 -164
- package/dist/components/input-field/InputField.d.ts +2 -2
- package/dist/components/label/Label.d.ts +53 -56
- package/dist/components/label/Label.js +1 -1
- package/dist/components/label/Label.js.map +1 -1
- package/dist/components/link/Link.d.ts +52 -55
- package/dist/components/list/List.d.ts +104 -110
- package/dist/components/loader/Loader.d.ts +2 -2
- package/dist/components/markdown-content/MarkdownContent.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownCode.d.ts +3 -3
- package/dist/components/markdown-content/components/MarkdownCode.js +1 -1
- package/dist/components/markdown-content/components/MarkdownCode.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +54 -57
- package/dist/components/markdown-content/components/MarkdownEmphasis.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownHeading.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownHeading.js +1 -1
- package/dist/components/markdown-content/components/MarkdownHeading.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownImage.d.ts +3 -3
- package/dist/components/markdown-content/components/MarkdownImage.js +1 -1
- package/dist/components/markdown-content/components/MarkdownImage.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownInlineCode.d.ts +3 -3
- package/dist/components/markdown-content/components/MarkdownInlineCode.js +1 -1
- package/dist/components/markdown-content/components/MarkdownInlineCode.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownLink.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownLink.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownList.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownList.js +1 -1
- package/dist/components/markdown-content/components/MarkdownList.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownListItem.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownListItem.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownParagraph.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownParagraph.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownStrong.d.ts +2 -2
- package/dist/components/markdown-content/components/MarkdownStrong.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownText.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownText.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownThematicBreak.d.ts +2 -2
- package/dist/components/navigation/NavigationMenu.d.ts +369 -388
- package/dist/components/navigation/NavigationMenu.js +1 -1
- package/dist/components/navigation/NavigationMenu.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdown.d.ts +1 -1
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +53 -56
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +106 -110
- package/dist/components/navigation/NavigationMenuDropdownItem.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownItem.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +52 -55
- package/dist/components/navigation/NavigationMenuLink.d.ts +52 -55
- package/dist/components/navigation/stitches.navigationMenu.colorscheme.config.d.ts +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +686 -707
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +52 -55
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +53 -56
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +104 -110
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +52 -55
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +53 -56
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +52 -55
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +106 -110
- package/dist/components/navigation-menu-vertical/stitches.navigationMenuVertical.colorscheme.config.d.ts +1 -1
- package/dist/components/notification-badge/NotificationBadge.d.ts +1 -1
- package/dist/components/number-input/NumberInputStepper.js +1 -1
- package/dist/components/number-input/NumberInputStepper.js.map +1 -1
- package/dist/components/number-input-field/NumberInputField.d.ts +2 -2
- package/dist/components/pagination/Pagination.d.ts +2 -2
- package/dist/components/pagination/PaginationNextButton.d.ts +106 -112
- package/dist/components/pagination/PaginationPage.d.ts +2 -2
- package/dist/components/pagination/PaginationPopover.d.ts +1 -1
- package/dist/components/pagination/PaginationPreviousButton.d.ts +106 -112
- package/dist/components/pagination/pagination-context/PaginationContext.d.ts +1 -1
- package/dist/components/password-field/PasswordField.d.ts +1 -1
- package/dist/components/popover/Popover.d.ts +105 -111
- package/dist/components/popover/PopoverContent.d.ts +53 -56
- package/dist/components/progress-bar/ProgressBar.d.ts +53 -56
- 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 +53 -56
- 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 +52 -55
- package/dist/components/radio-button-field/RadioButtonField.d.ts +54 -57
- package/dist/components/radio-button-field/RadioField.d.ts +1 -1
- package/dist/components/radio-card/RadioCard.d.ts +53 -56
- package/dist/components/radio-card/RadioCard.js +1 -1
- package/dist/components/radio-card/RadioCard.js.map +1 -1
- package/dist/components/radio-card/RadioCardGroup.d.ts +2 -2
- package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
- package/dist/components/search-field/SearchField.d.ts +2 -2
- package/dist/components/search-input/SearchInput.js +1 -1
- package/dist/components/search-input/SearchInput.js.map +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +377 -394
- package/dist/components/section-message/SectionMessageTitle.d.ts +1 -1
- package/dist/components/section-message/SectionMessageTitle.js +1 -1
- package/dist/components/section-message/SectionMessageTitle.js.map +1 -1
- package/dist/components/select/Select.d.ts +52 -55
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select-field/SelectField.d.ts +2 -2
- package/dist/components/side-bar/SideBar.d.ts +422 -444
- package/dist/components/side-bar/SideBarComponents.d.ts +369 -388
- package/dist/components/slider/Slider.d.ts +52 -55
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/slider/SliderSteps.d.ts +2 -2
- package/dist/components/slider/SliderSteps.js +1 -1
- package/dist/components/slider/SliderSteps.js.map +1 -1
- package/dist/components/slider/SliderValue.d.ts +2 -2
- package/dist/components/slider/SliderValue.js +1 -1
- package/dist/components/slider/SliderValue.js.map +1 -1
- package/dist/components/slider-field/SliderField.d.ts +2 -2
- package/dist/components/sortable/Handle.d.ts +105 -111
- package/dist/components/sortable/SortableHandle.d.ts +1 -1
- package/dist/components/sortable/SortableItem.d.ts +2 -2
- package/dist/components/sortable/SortableItem.js +1 -1
- package/dist/components/sortable/SortableItem.js.map +1 -1
- package/dist/components/sortable/SortableRoot.d.ts +1 -1
- package/dist/components/sortable/index.d.ts +3 -3
- package/dist/components/spacer/Spacer.d.ts +364 -1
- package/dist/components/spacer/Spacer.js +1 -1
- package/dist/components/spacer/Spacer.js.map +1 -1
- package/dist/components/stack-content/StackContent.d.ts +52 -55
- package/dist/components/stepper/Stepper.d.ts +112 -118
- package/dist/components/stepper/StepperStepBack.d.ts +1 -1
- package/dist/components/stepper/StepperStepBullet.d.ts +103 -109
- package/dist/components/stepper/StepperStepBullet.js +1 -1
- package/dist/components/stepper/StepperStepBullet.js.map +1 -1
- package/dist/components/stepper/StepperStepContainer.d.ts +103 -109
- package/dist/components/stepper/StepperStepContainer.js +1 -1
- package/dist/components/stepper/StepperStepContainer.js.map +1 -1
- package/dist/components/stepper/StepperStepForward.d.ts +1 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +106 -110
- package/dist/components/stepper/StepperStepLabel.js +1 -1
- package/dist/components/stepper/StepperStepLabel.js.map +1 -1
- package/dist/components/stepper/StepperSteps.d.ts +2 -2
- package/dist/components/stepper/stepper-context/StepperContext.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +53 -56
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/table/Table.d.ts +423 -447
- package/dist/components/table/TableBody.d.ts +53 -56
- package/dist/components/table/TableBody.js +1 -1
- package/dist/components/table/TableBody.js.map +1 -1
- package/dist/components/table/TableCell.d.ts +52 -55
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableCell.js.map +1 -1
- package/dist/components/table/TableFooter.d.ts +52 -55
- package/dist/components/table/TableFooterCell.d.ts +52 -55
- package/dist/components/table/TableFooterCell.js +1 -1
- package/dist/components/table/TableFooterCell.js.map +1 -1
- package/dist/components/table/TableHeader.d.ts +53 -56
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +52 -55
- package/dist/components/table/TableRow.d.ts +52 -55
- package/dist/components/table/TableStickyColumnsContainer.d.ts +1 -1
- package/dist/components/tabs/Tabs.d.ts +210 -222
- package/dist/components/tabs/TabsContent.d.ts +52 -55
- package/dist/components/tabs/TabsTrigger.d.ts +53 -56
- package/dist/components/tabs/TabsTriggerList.d.ts +105 -111
- package/dist/components/text/Text.d.ts +54 -55
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +52 -55
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/textarea-field/TextareaField.d.ts +2 -2
- package/dist/components/tile/Tile.d.ts +52 -55
- package/dist/components/tile/TileGroup.d.ts +52 -55
- package/dist/components/tile-interactive/TileInteractive.d.ts +104 -110
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +157 -166
- package/dist/components/toast/Toast.d.ts +156 -165
- package/dist/components/toast/ToastProvider.d.ts +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +103 -109
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +104 -110
- 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 +52 -55
- package/dist/components/toggle-group/index.d.ts +313 -331
- package/dist/components/tooltip/Tooltip.d.ts +106 -112
- package/dist/components/tooltip/TooltipContent.d.ts +53 -56
- 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 +638 -287
- 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 +160 -176
- package/dist/components/top-bar/TopBarBrand.js +1 -1
- package/dist/components/top-bar/TopBarBrand.js.map +1 -1
- package/dist/components/top-bar/stitches.topBar.colorscheme.config.d.ts +1 -1
- package/dist/components/tree/Tree.d.ts +793 -812
- package/dist/components/tree/TreeCollapsible.d.ts +53 -56
- package/dist/components/tree/TreeCollapsibleContent.d.ts +52 -55
- package/dist/components/tree/TreeCollapsibleTrigger.d.ts +1 -1
- package/dist/components/tree/TreeIcon.d.ts +104 -110
- package/dist/components/tree/TreeItemContent.d.ts +54 -57
- package/dist/components/tree/TreeListItem.d.ts +54 -57
- package/dist/components/video/Video.d.ts +52 -55
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +52 -55
- package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +14 -0
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -1
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/stitches.d.ts +604 -637
- package/dist/stitches.js +1 -1
- package/dist/stitches.js.map +1 -1
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +276 -279
- package/dist/utilities/hooks/useResizeObserver.js.map +1 -1
- package/dist/utilities/hooks/useScrollPosition.js +1 -1
- package/dist/utilities/hooks/useScrollPosition.js.map +1 -1
- package/dist/utilities/hooks/useWindowScrollPosition.js +1 -1
- package/dist/utilities/hooks/useWindowScrollPosition.js.map +1 -1
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +103 -109
- package/dist/utilities/optional-tooltip-wrapper/OptionalTooltipWrapper.d.ts +1 -1
- package/dist/utilities/optional-visually-hidden-wrapper/OptionalVisuallyHiddenWrapper.d.ts +1 -1
- package/package.json +26 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResizeObserver.js","sources":["../../../src/utilities/hooks/useResizeObserver.ts"],"sourcesContent":["import * as React from 'react'\nimport { debounce } from 'throttle-debounce'\n\ntype TUseResizeObserverOptions = {\n elements: (HTMLElement | undefined | null)[]\n onResize: (entries: ResizeObserverEntry[]) => void\n delay?: number\n}\n\ntype TUseResizeObserverOutput = ResizeObserver | null\n\nconst createResizeObserver = (callback: () => void) => {\n try {\n return new ResizeObserver(callback)\n } catch {\n return null\n }\n}\n\nexport const useResizeObserver = ({\n delay = 500,\n elements,\n onResize\n}: TUseResizeObserverOptions): TUseResizeObserverOutput => {\n const observer = React.useMemo(\n () => createResizeObserver(debounce(delay, onResize)),\n [delay, onResize]\n )\n\n React.useEffect(() => {\n elements.forEach((element) => {\n if (element) {\n observer?.observe(element)\n }\n })\n\n return () => {\n elements.forEach((element) => element && observer?.unobserve(element))\n }\n }, [observer, elements])\n\n return observer\n}\n"],"names":["createResizeObserver","callback","useResizeObserver","delay","elements","onResize","observer","React","debounce","element"],"mappings":"qEAWA,MAAMA,
|
|
1
|
+
{"version":3,"file":"useResizeObserver.js","sources":["../../../src/utilities/hooks/useResizeObserver.ts"],"sourcesContent":["import * as React from 'react'\nimport { debounce } from 'throttle-debounce'\n\ntype TUseResizeObserverOptions = {\n elements: (HTMLElement | undefined | null)[]\n onResize: (entries: ResizeObserverEntry[]) => void\n delay?: number\n}\n\ntype TUseResizeObserverOutput = ResizeObserver | null\n\nconst createResizeObserver = (\n callback: (entries: ResizeObserverEntry[]) => void\n) => {\n try {\n return new ResizeObserver(callback)\n } catch {\n return null\n }\n}\n\nexport const useResizeObserver = ({\n delay = 500,\n elements,\n onResize\n}: TUseResizeObserverOptions): TUseResizeObserverOutput => {\n const observer = React.useMemo(\n () => createResizeObserver(debounce(delay, onResize)),\n [delay, onResize]\n )\n\n React.useEffect(() => {\n elements.forEach((element) => {\n if (element) {\n observer?.observe(element)\n }\n })\n\n return () => {\n elements.forEach((element) => element && observer?.unobserve(element))\n }\n }, [observer, elements])\n\n return observer\n}\n"],"names":["createResizeObserver","callback","useResizeObserver","delay","elements","onResize","observer","React","debounce","element"],"mappings":"qEAWA,MAAMA,EACJC,GACG,CACH,GAAI,CACF,OAAO,IAAI,eAAeA,CAAQ,CACpC,OACE,OAAO,IACT,CACF,EAEaC,EAAoB,CAAC,CAChC,MAAAC,EAAQ,IACR,SAAAC,EACA,SAAAC,CACF,IAA2D,CACzD,MAAMC,EAAWC,EAAM,QACrB,IAAMP,EAAqBQ,EAASL,EAAOE,CAAQ,CAAC,EACpD,CAACF,EAAOE,CAAQ,CAClB,EAEA,OAAAE,EAAM,UAAU,KACdH,EAAS,QAASK,GAAY,CACxBA,IACFH,GAAA,MAAAA,EAAU,QAAQG,CAEtB,EAAA,CAAC,EAEM,IAAM,CACXL,EAAS,QAASK,GAAYA,IAAWH,GAAA,KAAA,OAAAA,EAAU,UAAUG,CAAAA,EAAQ,CACvE,GACC,CAACH,EAAUF,CAAQ,CAAC,EAEhBE,CACT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as c,useMemo as u,useEffect as f}from"react";import{
|
|
1
|
+
import{useState as c,useMemo as u,useEffect as f}from"react";import{debounce as d,throttle as i}from"throttle-debounce";const m=({element:e,delay:t=500,delayMethod:r="throttle"})=>{const[n,s]=c({left:0,top:0}),o=u(()=>r==="debounce"?d:i,[r]);return f(()=>{if(!e)return;const l=o(t,()=>{s({left:e.scrollLeft,top:e.scrollTop})});return e.addEventListener("scroll",l),()=>{e.removeEventListener("scroll",l)}},[e,o,t]),n};export{m as useScrollPosition};
|
|
2
2
|
//# sourceMappingURL=useScrollPosition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollPosition.js","sources":["../../../src/utilities/hooks/useScrollPosition.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { debounce, throttle } from 'throttle-debounce'\n\ntype TUseScrollPositionOptions = {\n element?: HTMLElement | null\n delay?: number\n delayMethod?: 'throttle' | 'debounce'\n}\n\ntype TUseScrollPositionOutput = {\n left: number\n top: number\n}\n\nexport const useScrollPosition = ({\n element,\n delay = 500,\n delayMethod = 'throttle'\n}: TUseScrollPositionOptions): TUseScrollPositionOutput => {\n const [scrollPosition, setScrollPosition] = useState({ left: 0, top: 0 })\n\n const delayMethodFn = useMemo(
|
|
1
|
+
{"version":3,"file":"useScrollPosition.js","sources":["../../../src/utilities/hooks/useScrollPosition.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { debounce, throttle } from 'throttle-debounce'\n\ntype TUseScrollPositionOptions = {\n element?: HTMLElement | null\n delay?: number\n delayMethod?: 'throttle' | 'debounce'\n}\n\ntype TUseScrollPositionOutput = {\n left: number\n top: number\n}\n\nexport const useScrollPosition = ({\n element,\n delay = 500,\n delayMethod = 'throttle'\n}: TUseScrollPositionOptions): TUseScrollPositionOutput => {\n const [scrollPosition, setScrollPosition] = useState({ left: 0, top: 0 })\n\n const delayMethodFn = useMemo(\n () => (delayMethod === 'debounce' ? debounce : throttle),\n [delayMethod]\n )\n\n useEffect(() => {\n if (!element) return\n\n const handleScroll = delayMethodFn(delay, () => {\n setScrollPosition({ left: element.scrollLeft, top: element.scrollTop })\n })\n\n element.addEventListener('scroll', handleScroll)\n\n return () => {\n element.removeEventListener('scroll', handleScroll)\n }\n }, [element, delayMethodFn, delay])\n\n return scrollPosition\n}\n"],"names":["useScrollPosition","element","delay","delayMethod","scrollPosition","setScrollPosition","useState","delayMethodFn","useMemo","debounce","throttle","useEffect","handleScroll"],"mappings":"8HAcaA,EAAoB,CAAC,CAChC,QAAAC,EACA,MAAAC,EAAQ,IACR,YAAAC,EAAc,UAChB,IAA2D,CACzD,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAS,CAAE,KAAM,EAAG,IAAK,CAAE,CAAC,EAElEC,EAAgBC,EACpB,IAAOL,IAAgB,WAAaM,EAAWC,EAC/C,CAACP,CAAW,CACd,EAEA,OAAAQ,EAAU,IAAM,CACd,GAAI,CAACV,EAAS,OAEd,MAAMW,EAAeL,EAAcL,EAAO,IAAM,CAC9CG,EAAkB,CAAE,KAAMJ,EAAQ,WAAY,IAAKA,EAAQ,SAAU,CAAC,CACxE,CAAC,EAED,OAAAA,EAAQ,iBAAiB,SAAUW,CAAY,EAExC,IAAM,CACXX,EAAQ,oBAAoB,SAAUW,CAAY,CACpD,CACF,EAAG,CAACX,EAASM,EAAeL,CAAK,CAAC,EAE3BE,CACT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as
|
|
1
|
+
import{useState as s,useMemo as d,useEffect as i}from"react";import{debounce as c,throttle as w}from"throttle-debounce";const u=({delay:e=500,delayMethod:o="throttle"}={})=>{const[n,l]=s({x:0,y:0}),t=d(()=>o==="debounce"?c:w,[o]);return i(()=>{const r=t(e,()=>{l({x:window.scrollX,y:window.scrollY})});return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[t,e]),n};export{u as useWindowScrollPosition};
|
|
2
2
|
//# sourceMappingURL=useWindowScrollPosition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowScrollPosition.js","sources":["../../../src/utilities/hooks/useWindowScrollPosition.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { debounce, throttle } from 'throttle-debounce'\n\ntype TUseWindowScrollPositionOptions = {\n delay?: number\n delayMethod?: 'throttle' | 'debounce'\n}\n\ntype TUseWindowScrollPositionOutput = {\n x: number\n y: number\n}\n\nexport const useWindowScrollPosition = ({\n delay = 500,\n delayMethod = 'throttle'\n}: TUseWindowScrollPositionOptions = {}): TUseWindowScrollPositionOutput => {\n const [scrollPosition, setScrollPosition] = useState({ x: 0, y: 0 })\n\n const delayMethodFn = useMemo(
|
|
1
|
+
{"version":3,"file":"useWindowScrollPosition.js","sources":["../../../src/utilities/hooks/useWindowScrollPosition.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { debounce, throttle } from 'throttle-debounce'\n\ntype TUseWindowScrollPositionOptions = {\n delay?: number\n delayMethod?: 'throttle' | 'debounce'\n}\n\ntype TUseWindowScrollPositionOutput = {\n x: number\n y: number\n}\n\nexport const useWindowScrollPosition = ({\n delay = 500,\n delayMethod = 'throttle'\n}: TUseWindowScrollPositionOptions = {}): TUseWindowScrollPositionOutput => {\n const [scrollPosition, setScrollPosition] = useState({ x: 0, y: 0 })\n\n const delayMethodFn = useMemo(\n () => (delayMethod === 'debounce' ? debounce : throttle),\n [delayMethod]\n )\n\n useEffect(() => {\n const handleScroll = delayMethodFn(delay, () => {\n setScrollPosition({ x: window.scrollX, y: window.scrollY })\n })\n\n window.addEventListener('scroll', handleScroll)\n\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }, [delayMethodFn, delay])\n\n return scrollPosition\n}\n"],"names":["useWindowScrollPosition","delay","delayMethod","scrollPosition","setScrollPosition","useState","delayMethodFn","useMemo","debounce","throttle","useEffect","handleScroll"],"mappings":"8HAaaA,EAA0B,CAAC,CACtC,MAAAC,EAAQ,IACR,YAAAC,EAAc,UAChB,EAAqC,KAAuC,CAC1E,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAS,CAAE,EAAG,EAAG,EAAG,CAAE,CAAC,EAE7DC,EAAgBC,EACpB,IAAOL,IAAgB,WAAaM,EAAWC,EAC/C,CAACP,CAAW,CACd,EAEA,OAAAQ,EAAU,IAAM,CACd,MAAMC,EAAeL,EAAcL,EAAO,IAAM,CAC9CG,EAAkB,CAAE,EAAG,OAAO,QAAS,EAAG,OAAO,OAAQ,CAAC,CAC5D,CAAC,EAED,cAAO,iBAAiB,SAAUO,CAAY,EAEvC,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAY,CACnD,CACF,EAAG,CAACL,EAAeL,CAAK,CAAC,EAElBE,CACT"}
|
|
@@ -3,7 +3,7 @@ export declare const noOverflowStyleBlock: () => {
|
|
|
3
3
|
borderRadius: string;
|
|
4
4
|
overflow: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const NoOverflowWrapper: import("@stitches
|
|
6
|
+
export declare const NoOverflowWrapper: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"div", {}, {
|
|
7
7
|
sm: string;
|
|
8
8
|
md: string;
|
|
9
9
|
lg: string;
|
|
@@ -11,7 +11,7 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
11
11
|
reducedMotion: string;
|
|
12
12
|
allowMotion: string;
|
|
13
13
|
hover: string;
|
|
14
|
-
}, import("@stitches
|
|
14
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
15
15
|
sm: string;
|
|
16
16
|
md: string;
|
|
17
17
|
lg: string;
|
|
@@ -51,6 +51,18 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
51
51
|
blue1000: any;
|
|
52
52
|
blue1100: any;
|
|
53
53
|
blue1200: any;
|
|
54
|
+
pink100: any;
|
|
55
|
+
pink200: any;
|
|
56
|
+
pink300: any;
|
|
57
|
+
pink400: any;
|
|
58
|
+
pink500: any;
|
|
59
|
+
pink600: any;
|
|
60
|
+
pink700: any;
|
|
61
|
+
pink800: any;
|
|
62
|
+
pink900: any;
|
|
63
|
+
pink1000: any;
|
|
64
|
+
pink1100: any;
|
|
65
|
+
pink1200: any;
|
|
54
66
|
purple100: any;
|
|
55
67
|
purple200: any;
|
|
56
68
|
purple300: any;
|
|
@@ -195,26 +207,11 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
195
207
|
marsh1000: any;
|
|
196
208
|
marsh1100: any;
|
|
197
209
|
marsh1200: any;
|
|
198
|
-
tonal50: any;
|
|
199
|
-
tonal100: any;
|
|
200
|
-
tonal200: any;
|
|
201
|
-
tonal300: any;
|
|
202
|
-
tonal400: any;
|
|
203
|
-
tonal500: any;
|
|
204
|
-
tonal600: any;
|
|
205
210
|
alpha100: any;
|
|
206
211
|
alpha150: any;
|
|
207
212
|
alpha200: any;
|
|
208
213
|
alpha250: any;
|
|
209
214
|
alpha600: any;
|
|
210
|
-
brandRed: any;
|
|
211
|
-
brandRedAccent: any;
|
|
212
|
-
brandGreen: any;
|
|
213
|
-
brandGreenAccent: any;
|
|
214
|
-
brandPurple: any;
|
|
215
|
-
brandPurpleAccent: any;
|
|
216
|
-
brandYellow: any;
|
|
217
|
-
brandYellowAccent: any;
|
|
218
215
|
infoLight: any;
|
|
219
216
|
info: any;
|
|
220
217
|
infoMid: any;
|
|
@@ -315,59 +312,59 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
315
312
|
"1-1": any;
|
|
316
313
|
"3-4": any;
|
|
317
314
|
};
|
|
318
|
-
}, import("@stitches
|
|
319
|
-
bg: (value: import("@stitches
|
|
320
|
-
background: import("@stitches
|
|
315
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
316
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
317
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
321
318
|
};
|
|
322
|
-
size: (value: string | number | import("@stitches
|
|
323
|
-
height: string | number | import("@stitches
|
|
324
|
-
width: string | number | import("@stitches
|
|
319
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
320
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
321
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
325
322
|
};
|
|
326
|
-
p: (value: string | number | import("@stitches
|
|
327
|
-
padding: string | number | import("@stitches
|
|
323
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
324
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
328
325
|
};
|
|
329
|
-
pt: (value: string | number | import("@stitches
|
|
330
|
-
paddingTop: string | number | import("@stitches
|
|
326
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
327
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
331
328
|
};
|
|
332
|
-
pr: (value: string | number | import("@stitches
|
|
333
|
-
paddingRight: string | number | import("@stitches
|
|
329
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
330
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
334
331
|
};
|
|
335
|
-
pb: (value: string | number | import("@stitches
|
|
336
|
-
paddingBottom: string | number | import("@stitches
|
|
332
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
333
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
337
334
|
};
|
|
338
|
-
pl: (value: string | number | import("@stitches
|
|
339
|
-
paddingLeft: string | number | import("@stitches
|
|
335
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
336
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
340
337
|
};
|
|
341
|
-
px: (value: string | number | import("@stitches
|
|
342
|
-
paddingLeft: string | number | import("@stitches
|
|
343
|
-
paddingRight: string | number | import("@stitches
|
|
338
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
339
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
340
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
344
341
|
};
|
|
345
|
-
py: (value: string | number | import("@stitches
|
|
346
|
-
paddingTop: string | number | import("@stitches
|
|
347
|
-
paddingBottom: string | number | import("@stitches
|
|
342
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
343
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
344
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
348
345
|
};
|
|
349
|
-
m: (value: string | number | import("@stitches
|
|
350
|
-
margin: string | number | import("@stitches
|
|
346
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
347
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
351
348
|
};
|
|
352
|
-
mt: (value: string | number | import("@stitches
|
|
353
|
-
marginTop: string | number | import("@stitches
|
|
349
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
350
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
354
351
|
};
|
|
355
|
-
mr: (value: string | number | import("@stitches
|
|
356
|
-
marginRight: string | number | import("@stitches
|
|
352
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
353
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
357
354
|
};
|
|
358
|
-
mb: (value: string | number | import("@stitches
|
|
359
|
-
marginBottom: string | number | import("@stitches
|
|
355
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
356
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
360
357
|
};
|
|
361
|
-
ml: (value: string | number | import("@stitches
|
|
362
|
-
marginLeft: string | number | import("@stitches
|
|
358
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
359
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
363
360
|
};
|
|
364
|
-
mx: (value: string | number | import("@stitches
|
|
365
|
-
marginLeft: string | number | import("@stitches
|
|
366
|
-
marginRight: string | number | import("@stitches
|
|
361
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
362
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
363
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
367
364
|
};
|
|
368
|
-
my: (value: string | number | import("@stitches
|
|
369
|
-
marginTop: string | number | import("@stitches
|
|
370
|
-
marginBottom: string | number | import("@stitches
|
|
365
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
366
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
367
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
371
368
|
};
|
|
372
369
|
}>>, {}, {
|
|
373
370
|
sm: string;
|
|
@@ -377,7 +374,7 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
377
374
|
reducedMotion: string;
|
|
378
375
|
allowMotion: string;
|
|
379
376
|
hover: string;
|
|
380
|
-
}, import("@stitches
|
|
377
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
381
378
|
sm: string;
|
|
382
379
|
md: string;
|
|
383
380
|
lg: string;
|
|
@@ -417,6 +414,18 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
417
414
|
blue1000: any;
|
|
418
415
|
blue1100: any;
|
|
419
416
|
blue1200: any;
|
|
417
|
+
pink100: any;
|
|
418
|
+
pink200: any;
|
|
419
|
+
pink300: any;
|
|
420
|
+
pink400: any;
|
|
421
|
+
pink500: any;
|
|
422
|
+
pink600: any;
|
|
423
|
+
pink700: any;
|
|
424
|
+
pink800: any;
|
|
425
|
+
pink900: any;
|
|
426
|
+
pink1000: any;
|
|
427
|
+
pink1100: any;
|
|
428
|
+
pink1200: any;
|
|
420
429
|
purple100: any;
|
|
421
430
|
purple200: any;
|
|
422
431
|
purple300: any;
|
|
@@ -561,26 +570,11 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
561
570
|
marsh1000: any;
|
|
562
571
|
marsh1100: any;
|
|
563
572
|
marsh1200: any;
|
|
564
|
-
tonal50: any;
|
|
565
|
-
tonal100: any;
|
|
566
|
-
tonal200: any;
|
|
567
|
-
tonal300: any;
|
|
568
|
-
tonal400: any;
|
|
569
|
-
tonal500: any;
|
|
570
|
-
tonal600: any;
|
|
571
573
|
alpha100: any;
|
|
572
574
|
alpha150: any;
|
|
573
575
|
alpha200: any;
|
|
574
576
|
alpha250: any;
|
|
575
577
|
alpha600: any;
|
|
576
|
-
brandRed: any;
|
|
577
|
-
brandRedAccent: any;
|
|
578
|
-
brandGreen: any;
|
|
579
|
-
brandGreenAccent: any;
|
|
580
|
-
brandPurple: any;
|
|
581
|
-
brandPurpleAccent: any;
|
|
582
|
-
brandYellow: any;
|
|
583
|
-
brandYellowAccent: any;
|
|
584
578
|
infoLight: any;
|
|
585
579
|
info: any;
|
|
586
580
|
infoMid: any;
|
|
@@ -681,58 +675,58 @@ export declare const NoOverflowWrapper: import("@stitches/react/types/styled-com
|
|
|
681
675
|
"1-1": any;
|
|
682
676
|
"3-4": any;
|
|
683
677
|
};
|
|
684
|
-
}, import("@stitches
|
|
685
|
-
bg: (value: import("@stitches
|
|
686
|
-
background: import("@stitches
|
|
678
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
679
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
680
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
687
681
|
};
|
|
688
|
-
size: (value: string | number | import("@stitches
|
|
689
|
-
height: string | number | import("@stitches
|
|
690
|
-
width: string | number | import("@stitches
|
|
682
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
683
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
684
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
691
685
|
};
|
|
692
|
-
p: (value: string | number | import("@stitches
|
|
693
|
-
padding: string | number | import("@stitches
|
|
686
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
687
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
694
688
|
};
|
|
695
|
-
pt: (value: string | number | import("@stitches
|
|
696
|
-
paddingTop: string | number | import("@stitches
|
|
689
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
690
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
697
691
|
};
|
|
698
|
-
pr: (value: string | number | import("@stitches
|
|
699
|
-
paddingRight: string | number | import("@stitches
|
|
692
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
693
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
700
694
|
};
|
|
701
|
-
pb: (value: string | number | import("@stitches
|
|
702
|
-
paddingBottom: string | number | import("@stitches
|
|
695
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
696
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
703
697
|
};
|
|
704
|
-
pl: (value: string | number | import("@stitches
|
|
705
|
-
paddingLeft: string | number | import("@stitches
|
|
698
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
699
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
706
700
|
};
|
|
707
|
-
px: (value: string | number | import("@stitches
|
|
708
|
-
paddingLeft: string | number | import("@stitches
|
|
709
|
-
paddingRight: string | number | import("@stitches
|
|
701
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
702
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
703
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
710
704
|
};
|
|
711
|
-
py: (value: string | number | import("@stitches
|
|
712
|
-
paddingTop: string | number | import("@stitches
|
|
713
|
-
paddingBottom: string | number | import("@stitches
|
|
705
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
706
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
707
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
714
708
|
};
|
|
715
|
-
m: (value: string | number | import("@stitches
|
|
716
|
-
margin: string | number | import("@stitches
|
|
709
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
710
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
717
711
|
};
|
|
718
|
-
mt: (value: string | number | import("@stitches
|
|
719
|
-
marginTop: string | number | import("@stitches
|
|
712
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
713
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
720
714
|
};
|
|
721
|
-
mr: (value: string | number | import("@stitches
|
|
722
|
-
marginRight: string | number | import("@stitches
|
|
715
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
716
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
723
717
|
};
|
|
724
|
-
mb: (value: string | number | import("@stitches
|
|
725
|
-
marginBottom: string | number | import("@stitches
|
|
718
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
719
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
726
720
|
};
|
|
727
|
-
ml: (value: string | number | import("@stitches
|
|
728
|
-
marginLeft: string | number | import("@stitches
|
|
721
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
722
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
729
723
|
};
|
|
730
|
-
mx: (value: string | number | import("@stitches
|
|
731
|
-
marginLeft: string | number | import("@stitches
|
|
732
|
-
marginRight: string | number | import("@stitches
|
|
724
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
725
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
726
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
733
727
|
};
|
|
734
|
-
my: (value: string | number | import("@stitches
|
|
735
|
-
marginTop: string | number | import("@stitches
|
|
736
|
-
marginBottom: string | number | import("@stitches
|
|
728
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
729
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
730
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
737
731
|
};
|
|
738
732
|
}>>;
|
|
@@ -6,6 +6,6 @@ export declare type TOptionalTooltipWrapperProps = {
|
|
|
6
6
|
tooltipSide?: React.ComponentProps<typeof Tooltip.Content>['side'];
|
|
7
7
|
};
|
|
8
8
|
export declare const OptionalTooltipWrapper: {
|
|
9
|
-
({ hasTooltip, label, tooltipSide, children }: React.PropsWithChildren<TOptionalTooltipWrapperProps>): JSX.Element;
|
|
9
|
+
({ hasTooltip, label, tooltipSide, children }: React.PropsWithChildren<TOptionalTooltipWrapperProps>): React.JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
|
-
"version": "4.0.0-beta.
|
|
7
|
+
"version": "4.0.0-beta.10",
|
|
8
8
|
"description": "",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"build:proptypes": "node ./scripts/generate-component-props.mjs",
|
|
18
18
|
"start:sandbox": "vite -c ./sandbox/vite.config.js",
|
|
19
19
|
"add-component": "node ./scripts/add-component.mjs",
|
|
20
|
-
"prepublishOnly": "run
|
|
20
|
+
"prepublishOnly": "yarn run clean && yarn run build:lib && yarn run build:types && yarn run build:proptypes",
|
|
21
21
|
"clean": "del ./dist/",
|
|
22
22
|
"format": "prettier 'src/**/*.{js,ts,tsx}' --write",
|
|
23
23
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --fix",
|
|
24
24
|
"test": "jest --coverage",
|
|
25
25
|
"test:watch": "jest --watch",
|
|
26
26
|
"test:ci": "jest --silent --ci",
|
|
27
|
-
"validate": "run-p validate:**",
|
|
27
|
+
"validate": "run-p 'validate:**'",
|
|
28
28
|
"validate:linting": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
|
|
29
29
|
"validate:size": "yarn build:lib && size-limit",
|
|
30
30
|
"validate:types": "tsc --noEmit",
|
|
@@ -60,23 +60,28 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@atom-learning/icons": "1.20.0",
|
|
62
62
|
"@atom-learning/jest-stitches": "1.0.10",
|
|
63
|
-
"@atom-learning/theme": "4.0.0-beta.
|
|
63
|
+
"@atom-learning/theme": "4.0.0-beta.7",
|
|
64
64
|
"@commitlint/cli": "^11.0.0",
|
|
65
65
|
"@commitlint/config-conventional": "^11.0.0",
|
|
66
|
-
"@radix-ui/react-id": "0.1
|
|
66
|
+
"@radix-ui/react-id": "1.0.1",
|
|
67
67
|
"@rollup/plugin-alias": "^3.1.9",
|
|
68
68
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
69
69
|
"@rollup/plugin-node-resolve": "^11.2.0",
|
|
70
|
-
"@semantic-release/changelog": "^
|
|
71
|
-
"@semantic-release/
|
|
72
|
-
"@semantic-release/release-notes-generator": "^9.0.2",
|
|
70
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
71
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
73
72
|
"@size-limit/preset-small-lib": "^7.0.5",
|
|
73
|
+
"@testing-library/dom": "^7.28.1",
|
|
74
74
|
"@testing-library/jest-dom": "^5.11.9",
|
|
75
75
|
"@testing-library/react": "^11.2.3",
|
|
76
76
|
"@testing-library/react-hooks": "^7.0.2",
|
|
77
77
|
"@testing-library/user-event": "^12.8.1",
|
|
78
78
|
"@types/jest": "^26.0.20",
|
|
79
79
|
"@types/jest-axe": "^3.5.1",
|
|
80
|
+
"@types/mdast": "^3.0.0",
|
|
81
|
+
"@types/node": "20.6.0",
|
|
82
|
+
"@types/prop-types": "^15",
|
|
83
|
+
"@types/react": "17.0.80",
|
|
84
|
+
"@types/react-dom": "^17.0.11",
|
|
80
85
|
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
|
81
86
|
"@typescript-eslint/parser": "^4.29.1",
|
|
82
87
|
"@vitejs/plugin-react-refresh": "^1.3.3",
|
|
@@ -104,18 +109,21 @@
|
|
|
104
109
|
"npm-run-all": "^4.1.5",
|
|
105
110
|
"prettier": "^2.2.1",
|
|
106
111
|
"prompts": "^2.4.0",
|
|
112
|
+
"react": "17.0.2",
|
|
113
|
+
"react-dom": "17.0.2",
|
|
107
114
|
"rollup": "^2.39.0",
|
|
108
115
|
"rollup-plugin-esbuild": "^4.8.2",
|
|
109
116
|
"rollup-plugin-json": "^4.0.0",
|
|
110
117
|
"rollup-plugin-summary": "^1.3.0",
|
|
111
118
|
"rollup-plugin-terser": "^7.0.2",
|
|
112
119
|
"rollup-plugin-visualizer": "^4.2.2",
|
|
113
|
-
"semantic-release": "^
|
|
114
|
-
"semantic-release-slack-bot": "^
|
|
120
|
+
"semantic-release": "^24.1.0",
|
|
121
|
+
"semantic-release-slack-bot": "^4.0.2",
|
|
122
|
+
"semantic-release-yarn": "^3.0.2",
|
|
115
123
|
"size-limit": "^7.0.5",
|
|
116
124
|
"stitches-reset": "^1.0.0",
|
|
117
125
|
"tsc-alias": "^1.3.5",
|
|
118
|
-
"typescript": "4.2.
|
|
126
|
+
"typescript": "4.2.3",
|
|
119
127
|
"vite": "^2.2.4",
|
|
120
128
|
"yargs": "^16.2.0"
|
|
121
129
|
},
|
|
@@ -126,7 +134,7 @@
|
|
|
126
134
|
"react-dom": "^17 || ^18 || ^19"
|
|
127
135
|
},
|
|
128
136
|
"dependencies": {
|
|
129
|
-
"@atom-learning/
|
|
137
|
+
"@atom-learning/stitches-react": "^1.4.1",
|
|
130
138
|
"@dnd-kit/core": "^6.0.5",
|
|
131
139
|
"@dnd-kit/modifiers": "^6.0.0",
|
|
132
140
|
"@dnd-kit/sortable": "^7.0.1",
|
|
@@ -150,9 +158,7 @@
|
|
|
150
158
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
151
159
|
"@radix-ui/react-visually-hidden": "^1.0.3",
|
|
152
160
|
"@reach/combobox": "^0.16.1",
|
|
153
|
-
"@stitches/react": "1.3.1-1",
|
|
154
161
|
"@tanstack/react-table": "^8.5.11",
|
|
155
|
-
"@types/react": "^17.0.30",
|
|
156
162
|
"color2k": "^2.0.0",
|
|
157
163
|
"dayjs": "^1.10.7",
|
|
158
164
|
"dayzed": "^3.2.2",
|
|
@@ -161,6 +167,7 @@
|
|
|
161
167
|
"mdast-util-directive": "1.0.1",
|
|
162
168
|
"mdast-util-from-markdown": "0.8.5",
|
|
163
169
|
"micromark-extension-directive": "1.4.0",
|
|
170
|
+
"prop-types": "^15.8.1",
|
|
164
171
|
"pure-react-carousel": "^1.27.6",
|
|
165
172
|
"react-aria": "^3.29.1",
|
|
166
173
|
"react-docgen-typescript": "2.1.0",
|
|
@@ -201,7 +208,7 @@
|
|
|
201
208
|
"@semantic-release/commit-analyzer",
|
|
202
209
|
"@semantic-release/release-notes-generator",
|
|
203
210
|
"@semantic-release/changelog",
|
|
204
|
-
"
|
|
211
|
+
"semantic-release-yarn",
|
|
205
212
|
[
|
|
206
213
|
"semantic-release-slack-bot",
|
|
207
214
|
{
|
|
@@ -216,5 +223,9 @@
|
|
|
216
223
|
}
|
|
217
224
|
]
|
|
218
225
|
]
|
|
226
|
+
},
|
|
227
|
+
"publishConfig": {
|
|
228
|
+
"registry": "https://registry.npmjs.org/",
|
|
229
|
+
"access": "public"
|
|
219
230
|
}
|
|
220
231
|
}
|