@atom-learning/components 4.0.0-beta.1 → 4.0.0-beta.11
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/accordion/AccordionTrigger.js +1 -1
- package/dist/components/accordion/AccordionTrigger.js.map +1 -1
- 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/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- 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 +650 -683
- 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/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +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/DialogContent.js +1 -1
- package/dist/components/dialog/DialogContent.js.map +1 -1
- 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/index.d.ts +1 -0
- 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/Input.js +1 -1
- package/dist/components/input/Input.js.map +1 -1
- package/dist/components/input-field/InputField.d.ts +2 -2
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +760 -0
- package/dist/components/keyboard-shortcut/KeyboardShortcut.js +2 -0
- package/dist/components/keyboard-shortcut/KeyboardShortcut.js.map +1 -0
- package/dist/components/keyboard-shortcut/index.d.ts +1124 -0
- package/dist/components/keyboard-shortcut/index.js +2 -0
- package/dist/components/keyboard-shortcut/index.js.map +1 -0
- 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/NavigationMenu.styles.d.ts +1 -1
- package/dist/components/navigation/NavigationMenu.styles.js +1 -1
- package/dist/components/navigation/NavigationMenu.styles.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/NavigationMenuVertical.styles.d.ts +2 -2
- 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 +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/NavigationMenuVerticalText.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.js.map +1 -1
- 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/PaginationPopover.js +1 -1
- package/dist/components/pagination/PaginationPopover.js.map +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 +425 -451
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/Table.js.map +1 -1
- 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 +2 -4
- package/dist/components/table/TableStickyColumnsContainer.js +1 -1
- package/dist/components/table/TableStickyColumnsContainer.js.map +1 -1
- package/dist/components/table/useStickyColumnsCss.d.ts +1 -3
- package/dist/components/table/useStickyColumnsCss.js +1 -1
- package/dist/components/table/useStickyColumnsCss.js.map +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/TabsTrigger.js +1 -1
- package/dist/components/tabs/TabsTrigger.js.map +1 -1
- 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/index.js +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/dist/utilities/style/focus-visible-style-block.d.ts +2 -1
- package/dist/utilities/style/focus-visible-style-block.js +1 -1
- package/dist/utilities/style/focus-visible-style-block.js.map +1 -1
- package/package.json +27 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const StyledDialogContent: import("@stitches
|
|
2
|
+
declare const StyledDialogContent: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogContentProps & React.RefAttributes<HTMLDivElement>>, {
|
|
3
3
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | "fullscreen" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
sm: string;
|
|
@@ -9,7 +9,7 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
|
|
|
9
9
|
reducedMotion: string;
|
|
10
10
|
allowMotion: string;
|
|
11
11
|
hover: string;
|
|
12
|
-
}, import("@stitches
|
|
12
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
13
13
|
sm: string;
|
|
14
14
|
md: string;
|
|
15
15
|
lg: string;
|
|
@@ -49,6 +49,18 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
|
|
|
49
49
|
blue1000: any;
|
|
50
50
|
blue1100: any;
|
|
51
51
|
blue1200: any;
|
|
52
|
+
pink100: any;
|
|
53
|
+
pink200: any;
|
|
54
|
+
pink300: any;
|
|
55
|
+
pink400: any;
|
|
56
|
+
pink500: any;
|
|
57
|
+
pink600: any;
|
|
58
|
+
pink700: any;
|
|
59
|
+
pink800: any;
|
|
60
|
+
pink900: any;
|
|
61
|
+
pink1000: any;
|
|
62
|
+
pink1100: any;
|
|
63
|
+
pink1200: any;
|
|
52
64
|
purple100: any;
|
|
53
65
|
purple200: any;
|
|
54
66
|
purple300: any;
|
|
@@ -193,26 +205,11 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
|
|
|
193
205
|
marsh1000: any;
|
|
194
206
|
marsh1100: any;
|
|
195
207
|
marsh1200: any;
|
|
196
|
-
tonal50: any;
|
|
197
|
-
tonal100: any;
|
|
198
|
-
tonal200: any;
|
|
199
|
-
tonal300: any;
|
|
200
|
-
tonal400: any;
|
|
201
|
-
tonal500: any;
|
|
202
|
-
tonal600: any;
|
|
203
208
|
alpha100: any;
|
|
204
209
|
alpha150: any;
|
|
205
210
|
alpha200: any;
|
|
206
211
|
alpha250: any;
|
|
207
212
|
alpha600: any;
|
|
208
|
-
brandRed: any;
|
|
209
|
-
brandRedAccent: any;
|
|
210
|
-
brandGreen: any;
|
|
211
|
-
brandGreenAccent: any;
|
|
212
|
-
brandPurple: any;
|
|
213
|
-
brandPurpleAccent: any;
|
|
214
|
-
brandYellow: any;
|
|
215
|
-
brandYellowAccent: any;
|
|
216
213
|
infoLight: any;
|
|
217
214
|
info: any;
|
|
218
215
|
infoMid: any;
|
|
@@ -313,64 +310,64 @@ declare const StyledDialogContent: import("@stitches/react/types/styled-componen
|
|
|
313
310
|
"1-1": any;
|
|
314
311
|
"3-4": any;
|
|
315
312
|
};
|
|
316
|
-
}, import("@stitches
|
|
317
|
-
bg: (value: import("@stitches
|
|
318
|
-
background: import("@stitches
|
|
313
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
314
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
315
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
319
316
|
};
|
|
320
|
-
size: (value: string | number | import("@stitches
|
|
321
|
-
height: string | number | import("@stitches
|
|
322
|
-
width: string | number | import("@stitches
|
|
317
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
318
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
319
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
323
320
|
};
|
|
324
|
-
p: (value: string | number | import("@stitches
|
|
325
|
-
padding: string | number | import("@stitches
|
|
321
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
322
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
326
323
|
};
|
|
327
|
-
pt: (value: string | number | import("@stitches
|
|
328
|
-
paddingTop: string | number | import("@stitches
|
|
324
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
325
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
329
326
|
};
|
|
330
|
-
pr: (value: string | number | import("@stitches
|
|
331
|
-
paddingRight: string | number | import("@stitches
|
|
327
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
328
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
332
329
|
};
|
|
333
|
-
pb: (value: string | number | import("@stitches
|
|
334
|
-
paddingBottom: string | number | import("@stitches
|
|
330
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
331
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
335
332
|
};
|
|
336
|
-
pl: (value: string | number | import("@stitches
|
|
337
|
-
paddingLeft: string | number | import("@stitches
|
|
333
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
334
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
335
|
};
|
|
339
|
-
px: (value: string | number | import("@stitches
|
|
340
|
-
paddingLeft: string | number | import("@stitches
|
|
341
|
-
paddingRight: string | number | import("@stitches
|
|
336
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
337
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
342
339
|
};
|
|
343
|
-
py: (value: string | number | import("@stitches
|
|
344
|
-
paddingTop: string | number | import("@stitches
|
|
345
|
-
paddingBottom: string | number | import("@stitches
|
|
340
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
341
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
342
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
346
343
|
};
|
|
347
|
-
m: (value: string | number | import("@stitches
|
|
348
|
-
margin: string | number | import("@stitches
|
|
344
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
345
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
349
346
|
};
|
|
350
|
-
mt: (value: string | number | import("@stitches
|
|
351
|
-
marginTop: string | number | import("@stitches
|
|
347
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
348
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
352
349
|
};
|
|
353
|
-
mr: (value: string | number | import("@stitches
|
|
354
|
-
marginRight: string | number | import("@stitches
|
|
350
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
351
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
355
352
|
};
|
|
356
|
-
mb: (value: string | number | import("@stitches
|
|
357
|
-
marginBottom: string | number | import("@stitches
|
|
353
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
354
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
358
355
|
};
|
|
359
|
-
ml: (value: string | number | import("@stitches
|
|
360
|
-
marginLeft: string | number | import("@stitches
|
|
356
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
357
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
358
|
};
|
|
362
|
-
mx: (value: string | number | import("@stitches
|
|
363
|
-
marginLeft: string | number | import("@stitches
|
|
364
|
-
marginRight: string | number | import("@stitches
|
|
359
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
360
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
365
362
|
};
|
|
366
|
-
my: (value: string | number | import("@stitches
|
|
367
|
-
marginTop: string | number | import("@stitches
|
|
368
|
-
marginBottom: string | number | import("@stitches
|
|
363
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
364
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
365
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
369
366
|
};
|
|
370
367
|
}>>;
|
|
371
368
|
declare type DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {
|
|
372
369
|
closeDialogText?: string;
|
|
373
370
|
showCloseButton?: boolean;
|
|
374
371
|
};
|
|
375
|
-
export declare const DialogContent: ({ size, children, closeDialogText, showCloseButton, ...remainingProps }: DialogContentProps) => JSX.Element;
|
|
372
|
+
export declare const DialogContent: ({ size, children, closeDialogText, showCloseButton, ...remainingProps }: DialogContentProps) => React.JSX.Element;
|
|
376
373
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Close as
|
|
1
|
+
import{Close as g}from"@atom-learning/icons";import{Overlay as x,Content as f,Portal as v,Close as b}from"@radix-ui/react-dialog";import*as e from"react";import{DIALOG_Z_INDEX as w}from"../../constants/zIndices.js";import{keyframes as s,styled as l}from"../../stitches.js";import{backdropOverlay as $}from"../../utilities/style/backdrop-overlay.js";import{ActionIcon as z}from"../action-icon/ActionIcon.js";import{Icon as C}from"../icon/Icon.js";import{DialogBackground as n}from"./DialogBackground.js";const i="translate3d(-50%, -50%, 0)",m="translate3d(-50%, 50vh, 0)",d="modal_overlay",D=s({"0%":{transform:m},"100%":{transform:i}}),y=s({"0%":{transform:i},"100%":{transform:m}}),E=l(x,$),o={width:"auto",height:"auto",maxWidth:"auto",maxHeight:"auto","@supports (height: 100svh)":{height:"auto",maxHeight:"auto"}},I=l(f,{bg:"white",boxShadow:"$3",boxSizing:"border-box",left:"50%",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",p:"$5",position:"fixed",top:"50%",transform:i,zIndex:w,"&:focus":{outline:"none"},"@allowMotion":{'&[data-state="open"]':{animation:`${D} 550ms cubic-bezier(0.22, 1, 0.36, 1)`},'&[data-state="closed"]':{animation:`${y} 550ms cubic-bezier(0.22, 1, 0.36, 1)`}},variants:{size:{xs:{...o,borderRadius:"$1",width:"380px"},sm:{...o,borderRadius:"$1",width:"480px"},md:{...o,borderRadius:"$1",width:"600px"},lg:{...o,borderRadius:"$1",width:"800px"},xl:{...o,borderRadius:"$1",width:"1100px"},fullscreen:{width:"100vw",height:"100vh",maxWidth:"100vw",maxHeight:"100vh","@supports (height: 100svh)":{height:"100svh",maxHeight:"100svh"}}}}}),H=({size:h="sm",children:a,closeDialogText:p="Close dialog",showCloseButton:u=!0,...c})=>e.createElement(v,null,e.createElement(E,{id:d},e.Children.map(a,t=>(t==null?void 0:t.type)===n&&t),e.createElement(I,{size:h,"aria-label":"Dialog",onPointerDownOutside:t=>{const r=t.target;(r==null?void 0:r.id)!==d&&t.preventDefault()},...c},u&&e.createElement(z,{as:b,css:{position:"absolute",right:"$4",top:"$4",size:"$5"},label:p,hasTooltip:!1,size:"md",theme:"neutral"},e.createElement(C,{is:g})),e.Children.map(a,t=>(t==null?void 0:t.type)!==n&&t))));export{H as DialogContent};
|
|
2
2
|
//# sourceMappingURL=DialogContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.js","sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { DIALOG_Z_INDEX } from '~/constants/zIndices'\nimport { keyframes, styled } from '~/stitches'\nimport { backdropOverlay } from '~/utilities/style/backdrop-overlay'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst contentOnScreen = 'translate3d(-50%, -50%, 0)'\nconst contentOffScreen = 'translate3d(-50%, 50vh, 0)'\nconst modalOverlayId = 'modal_overlay'\n\nconst slideIn = keyframes({\n '0%': { transform: contentOffScreen },\n '100%': { transform: contentOnScreen }\n})\nconst slideOut = keyframes({\n '0%': { transform: contentOnScreen },\n '100%': { transform: contentOffScreen }\n})\n\nconst StyledDialogOverlay = styled(Overlay, backdropOverlay)\n\nconst StyledDialogContent = styled(Content, {\n bg: 'white',\n
|
|
1
|
+
{"version":3,"file":"DialogContent.js","sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { DIALOG_Z_INDEX } from '~/constants/zIndices'\nimport { keyframes, styled } from '~/stitches'\nimport { backdropOverlay } from '~/utilities/style/backdrop-overlay'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst contentOnScreen = 'translate3d(-50%, -50%, 0)'\nconst contentOffScreen = 'translate3d(-50%, 50vh, 0)'\nconst modalOverlayId = 'modal_overlay'\n\nconst slideIn = keyframes({\n '0%': { transform: contentOffScreen },\n '100%': { transform: contentOnScreen }\n})\nconst slideOut = keyframes({\n '0%': { transform: contentOnScreen },\n '100%': { transform: contentOffScreen }\n})\n\nconst StyledDialogOverlay = styled(Overlay, backdropOverlay)\n\nconst sizeReset = {\n width: 'auto',\n height: 'auto',\n maxWidth: 'auto',\n maxHeight: 'auto',\n '@supports (height: 100svh)': {\n height: 'auto',\n maxHeight: 'auto'\n }\n}\nconst StyledDialogContent = styled(Content, {\n bg: 'white',\n boxShadow: '$3',\n boxSizing: 'border-box',\n left: '50%',\n maxWidth: '90vw',\n maxHeight: '90vh',\n overflowY: 'auto',\n p: '$5',\n position: 'fixed',\n top: '50%',\n transform: contentOnScreen,\n zIndex: DIALOG_Z_INDEX,\n '&:focus': {\n outline: 'none'\n },\n '@allowMotion': {\n '&[data-state=\"open\"]': {\n animation: `${slideIn} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n },\n '&[data-state=\"closed\"]': {\n animation: `${slideOut} 550ms cubic-bezier(0.22, 1, 0.36, 1)`\n }\n },\n variants: {\n size: {\n xs: {\n ...sizeReset,\n borderRadius: '$1',\n width: '380px'\n },\n sm: {\n ...sizeReset,\n borderRadius: '$1',\n width: '480px'\n },\n md: {\n ...sizeReset,\n borderRadius: '$1',\n width: '600px'\n },\n lg: {\n ...sizeReset,\n borderRadius: '$1',\n width: '800px'\n },\n xl: {\n ...sizeReset,\n borderRadius: '$1',\n width: '1100px'\n },\n fullscreen: {\n width: '100vw',\n height: '100vh',\n maxWidth: '100vw',\n maxHeight: '100vh',\n '@supports (height: 100svh)': {\n height: '100svh',\n maxHeight: '100svh'\n }\n }\n }\n }\n})\n\ntype DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {\n closeDialogText?: string\n showCloseButton?: boolean\n}\n\nexport const DialogContent = ({\n size = 'sm',\n children,\n closeDialogText = 'Close dialog',\n showCloseButton = true,\n ...remainingProps\n}: DialogContentProps) => (\n <Portal>\n <StyledDialogOverlay id={modalOverlayId}>\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type === DialogBackground && child\n )}\n <StyledDialogContent\n size={size}\n aria-label=\"Dialog\"\n onPointerDownOutside={(event) => {\n const element = event.target as HTMLElement\n if (element?.id !== modalOverlayId) {\n event.preventDefault()\n }\n }}\n {...remainingProps}\n >\n {showCloseButton && (\n <ActionIcon\n as={Close}\n css={{ position: 'absolute', right: '$4', top: '$4', size: '$5' }}\n label={closeDialogText}\n hasTooltip={false}\n size=\"md\"\n theme=\"neutral\"\n >\n <Icon is={CloseIcon} />\n </ActionIcon>\n )}\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type !== DialogBackground && child\n )}\n </StyledDialogContent>\n </StyledDialogOverlay>\n </Portal>\n)\n"],"names":["contentOnScreen","contentOffScreen","modalOverlayId","slideIn","keyframes","slideOut","StyledDialogOverlay","styled","Overlay","backdropOverlay","sizeReset","StyledDialogContent","Content","DIALOG_Z_INDEX","DialogContent","size","children","closeDialogText","showCloseButton","remainingProps","React","Portal","child","DialogBackground","event","element","ActionIcon","Close","Icon","CloseIcon"],"mappings":"ufAYA,MAAMA,EAAkB,6BAClBC,EAAmB,6BACnBC,EAAiB,gBAEjBC,EAAUC,EAAU,CACxB,KAAM,CAAE,UAAWH,CAAiB,EACpC,OAAQ,CAAE,UAAWD,CAAgB,CACvC,CAAC,EACKK,EAAWD,EAAU,CACzB,KAAM,CAAE,UAAWJ,CAAgB,EACnC,OAAQ,CAAE,UAAWC,CAAiB,CACxC,CAAC,EAEKK,EAAsBC,EAAOC,EAASC,CAAe,EAErDC,EAAY,CAChB,MAAO,OACP,OAAQ,OACR,SAAU,OACV,UAAW,OACX,6BAA8B,CAC5B,OAAQ,OACR,UAAW,MACb,CACF,EACMC,EAAsBJ,EAAOK,EAAS,CAC1C,GAAI,QACJ,UAAW,KACX,UAAW,aACX,KAAM,MACN,SAAU,OACV,UAAW,OACX,UAAW,OACX,EAAG,KACH,SAAU,QACV,IAAK,MACL,UAAWZ,EACX,OAAQa,EACR,UAAW,CACT,QAAS,MACX,EACA,eAAgB,CACd,uBAAwB,CACtB,UAAW,GAAGV,wCAChB,EACA,yBAA0B,CACxB,UAAW,GAAGE,wCAChB,CACF,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CACF,GAAGK,EACH,aAAc,KACd,MAAO,OACT,EACA,GAAI,CACF,GAAGA,EACH,aAAc,KACd,MAAO,OACT,EACA,GAAI,CACF,GAAGA,EACH,aAAc,KACd,MAAO,OACT,EACA,GAAI,CACF,GAAGA,EACH,aAAc,KACd,MAAO,OACT,EACA,GAAI,CACF,GAAGA,EACH,aAAc,KACd,MAAO,QACT,EACA,WAAY,CACV,MAAO,QACP,OAAQ,QACR,SAAU,QACV,UAAW,QACX,6BAA8B,CAC5B,OAAQ,SACR,UAAW,QACb,CACF,CACF,CACF,CACF,CAAC,EAOYI,EAAgB,CAAC,CAC5B,KAAAC,EAAO,KACP,SAAAC,EACA,gBAAAC,EAAkB,eAClB,gBAAAC,EAAkB,MACfC,CACL,IACEC,EAAA,cAACC,EAAA,KACCD,EAAA,cAACd,EAAA,CAAoB,GAAIJ,GACtBkB,EAAM,SAAS,IACdJ,EACCM,IACCA,GAAA,KAAA,OAAAA,EAAO,QAASC,GAAoBD,CACxC,EACAF,EAAA,cAACT,EAAA,CACC,KAAMI,EACN,aAAW,SACX,qBAAuBS,GAAU,CAC/B,MAAMC,EAAUD,EAAM,QAClBC,GAAA,KAAAA,OAAAA,EAAS,MAAOvB,GAClBsB,EAAM,eAEV,CAAA,EACC,GAAGL,CAAAA,EAEHD,GACCE,EAAA,cAACM,EAAA,CACC,GAAIC,EACJ,IAAK,CAAE,SAAU,WAAY,MAAO,KAAM,IAAK,KAAM,KAAM,IAAK,EAChE,MAAOV,EACP,WAAY,GACZ,KAAK,KACL,MAAM,SAENG,EAAAA,EAAA,cAACQ,EAAA,CAAK,GAAIC,CAAAA,CAAW,CACvB,EAEDT,EAAM,SAAS,IACdJ,EACCM,IACCA,GAAA,YAAAA,EAAO,QAASC,GAAoBD,CACxC,CACF,CACF,CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Flex } from '../flex';
|
|
3
|
-
export declare const DialogFooter: ({ css, ...props }: React.ComponentProps<typeof Flex>) => JSX.Element;
|
|
3
|
+
export declare const DialogFooter: ({ css, ...props }: React.ComponentProps<typeof Flex>) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Heading } from '../heading';
|
|
3
|
-
export declare const DialogHeading: ({ css, ...props }: React.ComponentProps<typeof Heading>) => JSX.Element;
|
|
3
|
+
export declare const DialogHeading: ({ css, ...props }: React.ComponentProps<typeof Heading>) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as t from"react";import{Heading as i}from"../heading/Heading.js";const m=({css:o,...e})=>t.createElement(i,{size:"sm",css:{borderBottom:"1px solid $
|
|
1
|
+
import*as t from"react";import{Heading as i}from"../heading/Heading.js";const m=({css:o,...e})=>t.createElement(i,{size:"sm",css:{borderBottom:"1px solid $grey200",p:"0 $5 $5 $5",mb:"$5",mx:"-$5",boxSizing:"content-box",...o},...e});export{m as DialogHeading};
|
|
2
2
|
//# sourceMappingURL=DialogHeading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogHeading.js","sources":["../../../src/components/dialog/DialogHeading.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { Heading } from '../heading'\n\nexport const DialogHeading = ({\n css,\n ...props\n}: React.ComponentProps<typeof Heading>) => (\n <Heading\n size=\"sm\"\n css={{\n borderBottom: '1px solid $
|
|
1
|
+
{"version":3,"file":"DialogHeading.js","sources":["../../../src/components/dialog/DialogHeading.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { Heading } from '../heading'\n\nexport const DialogHeading = ({\n css,\n ...props\n}: React.ComponentProps<typeof Heading>) => (\n <Heading\n size=\"sm\"\n css={{\n borderBottom: '1px solid $grey200',\n p: `0 $5 $5 $5`,\n mb: '$5',\n mx: '-$5',\n boxSizing: 'content-box',\n ...css\n }}\n {...props}\n />\n)\n"],"names":["DialogHeading","css","props","React","Heading"],"mappings":"wEAIa,MAAAA,EAAgB,CAAC,CAC5B,IAAAC,KACGC,CACL,IACEC,EAAA,cAACC,EAAA,CACC,KAAK,KACL,IAAK,CACH,aAAc,qBACd,EAAG,aACH,GAAI,KACJ,GAAI,MACJ,UAAW,cACX,GAAGH,CACL,EACC,GAAGC,CACN,CAAA"}
|
|
@@ -11,11 +11,11 @@ export interface IDismissibleRootProps {
|
|
|
11
11
|
dismissed?: boolean;
|
|
12
12
|
onDismiss?: () => void;
|
|
13
13
|
}
|
|
14
|
-
export declare const DismissibleRootProvider: ({ dismissed: controlledIsDismissed, children, disabled, onDismiss }: React.PropsWithChildren<IDismissibleRootProps>) => JSX.Element;
|
|
14
|
+
export declare const DismissibleRootProvider: ({ dismissed: controlledIsDismissed, children, disabled, onDismiss }: React.PropsWithChildren<IDismissibleRootProps>) => React.JSX.Element;
|
|
15
15
|
export interface IDismissibleRootInternalProps {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const DismissibleRoot: {
|
|
19
|
-
({ disabled, dismissed, onDismiss, ...rest }: React.PropsWithChildren<IDismissibleRootInternalProps & IDismissibleRootProps>): JSX.Element;
|
|
19
|
+
({ disabled, dismissed, onDismiss, ...rest }: React.PropsWithChildren<IDismissibleRootInternalProps & IDismissibleRootProps>): React.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
@@ -2,4 +2,4 @@ import * as React from 'react';
|
|
|
2
2
|
export interface IDismissibleTriggerProps {
|
|
3
3
|
asChild?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const DismissibleTrigger: ({ asChild, ...rest }: React.PropsWithChildren<IDismissibleTriggerProps>) => JSX.Element;
|
|
5
|
+
export declare const DismissibleTrigger: ({ asChild, ...rest }: React.PropsWithChildren<IDismissibleTriggerProps>) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Dismissible: {
|
|
3
|
-
({ disabled, dismissed, onDismiss, ...rest }: import("react").PropsWithChildren<import("./DismissibleRoot").IDismissibleRootInternalProps & import("./DismissibleRoot").IDismissibleRootProps>): JSX.Element;
|
|
3
|
+
({ disabled, dismissed, onDismiss, ...rest }: import("react").PropsWithChildren<import("./DismissibleRoot").IDismissibleRootInternalProps & import("./DismissibleRoot").IDismissibleRootProps>): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
} & {
|
|
6
|
-
Trigger: ({ asChild, ...rest }: import("react").PropsWithChildren<import("./DismissibleTrigger").IDismissibleTriggerProps>) => JSX.Element;
|
|
6
|
+
Trigger: ({ asChild, ...rest }: import("react").PropsWithChildren<import("./DismissibleTrigger").IDismissibleTriggerProps>) => import("react").JSX.Element;
|
|
7
7
|
};
|
|
@@ -4,4 +4,4 @@ export declare type TDismissibleGroupItemProps = React.ComponentProps<typeof Dis
|
|
|
4
4
|
value: React.ReactText;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const DismissibleGroupItem: ({ children, value, disabled: itemDisabled, ...rest }: React.PropsWithChildren<TDismissibleGroupItemProps>) => JSX.Element;
|
|
7
|
+
export declare const DismissibleGroupItem: ({ children, value, disabled: itemDisabled, ...rest }: React.PropsWithChildren<TDismissibleGroupItemProps>) => React.JSX.Element;
|
|
@@ -8,11 +8,11 @@ export interface IDismissibleGroupProps {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
onDismiss: (value: React.ReactText) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const DismissibleGroupProvider: ({ children, disabled, onDismiss }: React.PropsWithChildren<IDismissibleGroupProps>) => JSX.Element;
|
|
11
|
+
export declare const DismissibleGroupProvider: ({ children, disabled, onDismiss }: React.PropsWithChildren<IDismissibleGroupProps>) => React.JSX.Element;
|
|
12
12
|
export interface IDismissibleGroupRootProps extends IDismissibleGroupProps {
|
|
13
13
|
as?: React.ElementType;
|
|
14
14
|
}
|
|
15
15
|
export declare const DismissibleGroupRoot: {
|
|
16
|
-
({ as: Component, disabled, onDismiss, ...rest }: React.PropsWithChildren<IDismissibleGroupRootProps>): JSX.Element;
|
|
16
|
+
({ as: Component, disabled, onDismiss, ...rest }: React.PropsWithChildren<IDismissibleGroupRootProps>): React.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const DismissibleGroup: {
|
|
3
|
-
({ as: Component, disabled, onDismiss, ...rest }: import("react").PropsWithChildren<import("./DismissibleGroupRoot").IDismissibleGroupRootProps>): JSX.Element;
|
|
3
|
+
({ as: Component, disabled, onDismiss, ...rest }: import("react").PropsWithChildren<import("./DismissibleGroupRoot").IDismissibleGroupRootProps>): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
} & {
|
|
6
|
-
Item: ({ children, value, disabled: itemDisabled, ...rest }: import("react").PropsWithChildren<import("./DismissibleGroupItem").TDismissibleGroupItemProps>) => JSX.Element;
|
|
7
|
-
Trigger: ({ asChild, ...rest }: import("react").PropsWithChildren<import("../../components/dismissible/DismissibleTrigger").IDismissibleTriggerProps>) => JSX.Element;
|
|
6
|
+
Item: ({ children, value, disabled: itemDisabled, ...rest }: import("react").PropsWithChildren<import("./DismissibleGroupItem").TDismissibleGroupItemProps>) => import("react").JSX.Element;
|
|
7
|
+
Trigger: ({ asChild, ...rest }: import("react").PropsWithChildren<import("../../components/dismissible/DismissibleTrigger").IDismissibleTriggerProps>) => import("react").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const StyledDivider: import("@stitches
|
|
2
|
+
export declare const StyledDivider: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"hr", {
|
|
3
3
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
sm: string;
|
|
@@ -9,7 +9,7 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
9
9
|
reducedMotion: string;
|
|
10
10
|
allowMotion: string;
|
|
11
11
|
hover: string;
|
|
12
|
-
}, import("@stitches
|
|
12
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
13
13
|
sm: string;
|
|
14
14
|
md: string;
|
|
15
15
|
lg: string;
|
|
@@ -49,6 +49,18 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
49
49
|
blue1000: any;
|
|
50
50
|
blue1100: any;
|
|
51
51
|
blue1200: any;
|
|
52
|
+
pink100: any;
|
|
53
|
+
pink200: any;
|
|
54
|
+
pink300: any;
|
|
55
|
+
pink400: any;
|
|
56
|
+
pink500: any;
|
|
57
|
+
pink600: any;
|
|
58
|
+
pink700: any;
|
|
59
|
+
pink800: any;
|
|
60
|
+
pink900: any;
|
|
61
|
+
pink1000: any;
|
|
62
|
+
pink1100: any;
|
|
63
|
+
pink1200: any;
|
|
52
64
|
purple100: any;
|
|
53
65
|
purple200: any;
|
|
54
66
|
purple300: any;
|
|
@@ -193,26 +205,11 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
193
205
|
marsh1000: any;
|
|
194
206
|
marsh1100: any;
|
|
195
207
|
marsh1200: any;
|
|
196
|
-
tonal50: any;
|
|
197
|
-
tonal100: any;
|
|
198
|
-
tonal200: any;
|
|
199
|
-
tonal300: any;
|
|
200
|
-
tonal400: any;
|
|
201
|
-
tonal500: any;
|
|
202
|
-
tonal600: any;
|
|
203
208
|
alpha100: any;
|
|
204
209
|
alpha150: any;
|
|
205
210
|
alpha200: any;
|
|
206
211
|
alpha250: any;
|
|
207
212
|
alpha600: any;
|
|
208
|
-
brandRed: any;
|
|
209
|
-
brandRedAccent: any;
|
|
210
|
-
brandGreen: any;
|
|
211
|
-
brandGreenAccent: any;
|
|
212
|
-
brandPurple: any;
|
|
213
|
-
brandPurpleAccent: any;
|
|
214
|
-
brandYellow: any;
|
|
215
|
-
brandYellowAccent: any;
|
|
216
213
|
infoLight: any;
|
|
217
214
|
info: any;
|
|
218
215
|
infoMid: any;
|
|
@@ -313,59 +310,59 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
313
310
|
"1-1": any;
|
|
314
311
|
"3-4": any;
|
|
315
312
|
};
|
|
316
|
-
}, import("@stitches
|
|
317
|
-
bg: (value: import("@stitches
|
|
318
|
-
background: import("@stitches
|
|
313
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
314
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
315
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
319
316
|
};
|
|
320
|
-
size: (value: string | number | import("@stitches
|
|
321
|
-
height: string | number | import("@stitches
|
|
322
|
-
width: string | number | import("@stitches
|
|
317
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
318
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
319
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
323
320
|
};
|
|
324
|
-
p: (value: string | number | import("@stitches
|
|
325
|
-
padding: string | number | import("@stitches
|
|
321
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
322
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
326
323
|
};
|
|
327
|
-
pt: (value: string | number | import("@stitches
|
|
328
|
-
paddingTop: string | number | import("@stitches
|
|
324
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
325
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
329
326
|
};
|
|
330
|
-
pr: (value: string | number | import("@stitches
|
|
331
|
-
paddingRight: string | number | import("@stitches
|
|
327
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
328
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
332
329
|
};
|
|
333
|
-
pb: (value: string | number | import("@stitches
|
|
334
|
-
paddingBottom: string | number | import("@stitches
|
|
330
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
331
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
335
332
|
};
|
|
336
|
-
pl: (value: string | number | import("@stitches
|
|
337
|
-
paddingLeft: string | number | import("@stitches
|
|
333
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
334
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
335
|
};
|
|
339
|
-
px: (value: string | number | import("@stitches
|
|
340
|
-
paddingLeft: string | number | import("@stitches
|
|
341
|
-
paddingRight: string | number | import("@stitches
|
|
336
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
337
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
342
339
|
};
|
|
343
|
-
py: (value: string | number | import("@stitches
|
|
344
|
-
paddingTop: string | number | import("@stitches
|
|
345
|
-
paddingBottom: string | number | import("@stitches
|
|
340
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
341
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
342
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
346
343
|
};
|
|
347
|
-
m: (value: string | number | import("@stitches
|
|
348
|
-
margin: string | number | import("@stitches
|
|
344
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
345
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
349
346
|
};
|
|
350
|
-
mt: (value: string | number | import("@stitches
|
|
351
|
-
marginTop: string | number | import("@stitches
|
|
347
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
348
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
352
349
|
};
|
|
353
|
-
mr: (value: string | number | import("@stitches
|
|
354
|
-
marginRight: string | number | import("@stitches
|
|
350
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
351
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
355
352
|
};
|
|
356
|
-
mb: (value: string | number | import("@stitches
|
|
357
|
-
marginBottom: string | number | import("@stitches
|
|
353
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
354
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
358
355
|
};
|
|
359
|
-
ml: (value: string | number | import("@stitches
|
|
360
|
-
marginLeft: string | number | import("@stitches
|
|
356
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
357
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
358
|
};
|
|
362
|
-
mx: (value: string | number | import("@stitches
|
|
363
|
-
marginLeft: string | number | import("@stitches
|
|
364
|
-
marginRight: string | number | import("@stitches
|
|
359
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
360
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
365
362
|
};
|
|
366
|
-
my: (value: string | number | import("@stitches
|
|
367
|
-
marginTop: string | number | import("@stitches
|
|
368
|
-
marginBottom: string | number | import("@stitches
|
|
363
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
364
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
365
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
369
366
|
};
|
|
370
367
|
}>>;
|
|
371
368
|
export declare const Divider: React.ForwardRefExoticComponent<React.ComponentProps<typeof StyledDivider>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import{styled as n}from"../../stitches.js";const
|
|
1
|
+
import t from"react";import{styled as n}from"../../stitches.js";const e=n("hr",{border:0,bg:"$grey200",variants:{orientation:{horizontal:{height:1,width:"100%"},vertical:{height:"100%",width:1,minHeight:"$3"}}}}),a=t.forwardRef(({orientation:i="horizontal",...r},o)=>t.createElement(e,{ref:o,orientation:i,...r}));export{a as Divider,e as StyledDivider};
|
|
2
2
|
//# sourceMappingURL=Divider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.js","sources":["../../../src/components/divider/Divider.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nexport const StyledDivider = styled('hr', {\n border: 0,\n bg: '$
|
|
1
|
+
{"version":3,"file":"Divider.js","sources":["../../../src/components/divider/Divider.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nexport const StyledDivider = styled('hr', {\n border: 0,\n bg: '$grey200',\n variants: {\n orientation: {\n horizontal: { height: 1, width: '100%' },\n vertical: { height: '100%', width: 1, minHeight: '$3' }\n }\n }\n})\n\nexport const Divider: React.ForwardRefExoticComponent<\n React.ComponentProps<typeof StyledDivider>\n> = React.forwardRef(({ orientation = 'horizontal', ...rest }, ref) => {\n return <StyledDivider ref={ref} orientation={orientation} {...rest} />\n})\n"],"names":["StyledDivider","styled","Divider","React","orientation","rest","ref"],"mappings":"gEAIO,MAAMA,EAAgBC,EAAO,KAAM,CACxC,OAAQ,EACR,GAAI,WACJ,SAAU,CACR,YAAa,CACX,WAAY,CAAE,OAAQ,EAAG,MAAO,MAAO,EACvC,SAAU,CAAE,OAAQ,OAAQ,MAAO,EAAG,UAAW,IAAK,CACxD,CACF,CACF,CAAC,EAEYC,EAETC,EAAM,WAAW,CAAC,CAAE,YAAAC,EAAc,gBAAiBC,CAAK,EAAGC,IACtDH,EAAA,cAACH,EAAA,CAAc,IAAKM,EAAK,YAAaF,EAAc,GAAGC,CAAAA,CAAM,CACrE"}
|