@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
|
-
export declare const StyledLi: import("@stitches
|
|
2
|
+
export declare const StyledLi: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"li", {}, {
|
|
3
3
|
sm: string;
|
|
4
4
|
md: string;
|
|
5
5
|
lg: string;
|
|
@@ -7,7 +7,7 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
|
|
|
7
7
|
reducedMotion: string;
|
|
8
8
|
allowMotion: string;
|
|
9
9
|
hover: string;
|
|
10
|
-
}, import("@stitches
|
|
10
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
11
11
|
sm: string;
|
|
12
12
|
md: string;
|
|
13
13
|
lg: string;
|
|
@@ -47,6 +47,18 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
|
|
|
47
47
|
blue1000: any;
|
|
48
48
|
blue1100: any;
|
|
49
49
|
blue1200: any;
|
|
50
|
+
pink100: any;
|
|
51
|
+
pink200: any;
|
|
52
|
+
pink300: any;
|
|
53
|
+
pink400: any;
|
|
54
|
+
pink500: any;
|
|
55
|
+
pink600: any;
|
|
56
|
+
pink700: any;
|
|
57
|
+
pink800: any;
|
|
58
|
+
pink900: any;
|
|
59
|
+
pink1000: any;
|
|
60
|
+
pink1100: any;
|
|
61
|
+
pink1200: any;
|
|
50
62
|
purple100: any;
|
|
51
63
|
purple200: any;
|
|
52
64
|
purple300: any;
|
|
@@ -191,26 +203,11 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
|
|
|
191
203
|
marsh1000: any;
|
|
192
204
|
marsh1100: any;
|
|
193
205
|
marsh1200: any;
|
|
194
|
-
tonal50: any;
|
|
195
|
-
tonal100: any;
|
|
196
|
-
tonal200: any;
|
|
197
|
-
tonal300: any;
|
|
198
|
-
tonal400: any;
|
|
199
|
-
tonal500: any;
|
|
200
|
-
tonal600: any;
|
|
201
206
|
alpha100: any;
|
|
202
207
|
alpha150: any;
|
|
203
208
|
alpha200: any;
|
|
204
209
|
alpha250: any;
|
|
205
210
|
alpha600: any;
|
|
206
|
-
brandRed: any;
|
|
207
|
-
brandRedAccent: any;
|
|
208
|
-
brandGreen: any;
|
|
209
|
-
brandGreenAccent: any;
|
|
210
|
-
brandPurple: any;
|
|
211
|
-
brandPurpleAccent: any;
|
|
212
|
-
brandYellow: any;
|
|
213
|
-
brandYellowAccent: any;
|
|
214
211
|
infoLight: any;
|
|
215
212
|
info: any;
|
|
216
213
|
infoMid: any;
|
|
@@ -311,62 +308,62 @@ export declare const StyledLi: import("@stitches/react/types/styled-component").
|
|
|
311
308
|
"1-1": any;
|
|
312
309
|
"3-4": any;
|
|
313
310
|
};
|
|
314
|
-
}, import("@stitches
|
|
315
|
-
bg: (value: import("@stitches
|
|
316
|
-
background: import("@stitches
|
|
311
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
312
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
313
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
317
314
|
};
|
|
318
|
-
size: (value: string | number | import("@stitches
|
|
319
|
-
height: string | number | import("@stitches
|
|
320
|
-
width: string | number | import("@stitches
|
|
315
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
316
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
317
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
321
318
|
};
|
|
322
|
-
p: (value: string | number | import("@stitches
|
|
323
|
-
padding: string | number | import("@stitches
|
|
319
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
320
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
324
321
|
};
|
|
325
|
-
pt: (value: string | number | import("@stitches
|
|
326
|
-
paddingTop: string | number | import("@stitches
|
|
322
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
323
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
327
324
|
};
|
|
328
|
-
pr: (value: string | number | import("@stitches
|
|
329
|
-
paddingRight: string | number | import("@stitches
|
|
325
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
326
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
330
327
|
};
|
|
331
|
-
pb: (value: string | number | import("@stitches
|
|
332
|
-
paddingBottom: string | number | import("@stitches
|
|
328
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
329
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
333
330
|
};
|
|
334
|
-
pl: (value: string | number | import("@stitches
|
|
335
|
-
paddingLeft: string | number | import("@stitches
|
|
331
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
332
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
336
333
|
};
|
|
337
|
-
px: (value: string | number | import("@stitches
|
|
338
|
-
paddingLeft: string | number | import("@stitches
|
|
339
|
-
paddingRight: string | number | import("@stitches
|
|
334
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
335
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
336
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
340
337
|
};
|
|
341
|
-
py: (value: string | number | import("@stitches
|
|
342
|
-
paddingTop: string | number | import("@stitches
|
|
343
|
-
paddingBottom: string | number | import("@stitches
|
|
338
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
339
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
340
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
344
341
|
};
|
|
345
|
-
m: (value: string | number | import("@stitches
|
|
346
|
-
margin: string | number | import("@stitches
|
|
342
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
343
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
347
344
|
};
|
|
348
|
-
mt: (value: string | number | import("@stitches
|
|
349
|
-
marginTop: string | number | import("@stitches
|
|
345
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
346
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
350
347
|
};
|
|
351
|
-
mr: (value: string | number | import("@stitches
|
|
352
|
-
marginRight: string | number | import("@stitches
|
|
348
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
349
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
353
350
|
};
|
|
354
|
-
mb: (value: string | number | import("@stitches
|
|
355
|
-
marginBottom: string | number | import("@stitches
|
|
351
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
352
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
356
353
|
};
|
|
357
|
-
ml: (value: string | number | import("@stitches
|
|
358
|
-
marginLeft: string | number | import("@stitches
|
|
354
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
355
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
359
356
|
};
|
|
360
|
-
mx: (value: string | number | import("@stitches
|
|
361
|
-
marginLeft: string | number | import("@stitches
|
|
362
|
-
marginRight: string | number | import("@stitches
|
|
357
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
358
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
359
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
363
360
|
};
|
|
364
|
-
my: (value: string | number | import("@stitches
|
|
365
|
-
marginTop: string | number | import("@stitches
|
|
366
|
-
marginBottom: string | number | import("@stitches
|
|
361
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
362
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
363
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
367
364
|
};
|
|
368
365
|
}>>;
|
|
369
|
-
export declare const StyledList: import("@stitches
|
|
366
|
+
export declare const StyledList: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"ul", {
|
|
370
367
|
as?: "ol" | "ul" | undefined;
|
|
371
368
|
theme?: "primary" | undefined;
|
|
372
369
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | undefined;
|
|
@@ -379,7 +376,7 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
|
|
|
379
376
|
reducedMotion: string;
|
|
380
377
|
allowMotion: string;
|
|
381
378
|
hover: string;
|
|
382
|
-
}, import("@stitches
|
|
379
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
383
380
|
sm: string;
|
|
384
381
|
md: string;
|
|
385
382
|
lg: string;
|
|
@@ -419,6 +416,18 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
|
|
|
419
416
|
blue1000: any;
|
|
420
417
|
blue1100: any;
|
|
421
418
|
blue1200: any;
|
|
419
|
+
pink100: any;
|
|
420
|
+
pink200: any;
|
|
421
|
+
pink300: any;
|
|
422
|
+
pink400: any;
|
|
423
|
+
pink500: any;
|
|
424
|
+
pink600: any;
|
|
425
|
+
pink700: any;
|
|
426
|
+
pink800: any;
|
|
427
|
+
pink900: any;
|
|
428
|
+
pink1000: any;
|
|
429
|
+
pink1100: any;
|
|
430
|
+
pink1200: any;
|
|
422
431
|
purple100: any;
|
|
423
432
|
purple200: any;
|
|
424
433
|
purple300: any;
|
|
@@ -563,26 +572,11 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
|
|
|
563
572
|
marsh1000: any;
|
|
564
573
|
marsh1100: any;
|
|
565
574
|
marsh1200: any;
|
|
566
|
-
tonal50: any;
|
|
567
|
-
tonal100: any;
|
|
568
|
-
tonal200: any;
|
|
569
|
-
tonal300: any;
|
|
570
|
-
tonal400: any;
|
|
571
|
-
tonal500: any;
|
|
572
|
-
tonal600: any;
|
|
573
575
|
alpha100: any;
|
|
574
576
|
alpha150: any;
|
|
575
577
|
alpha200: any;
|
|
576
578
|
alpha250: any;
|
|
577
579
|
alpha600: any;
|
|
578
|
-
brandRed: any;
|
|
579
|
-
brandRedAccent: any;
|
|
580
|
-
brandGreen: any;
|
|
581
|
-
brandGreenAccent: any;
|
|
582
|
-
brandPurple: any;
|
|
583
|
-
brandPurpleAccent: any;
|
|
584
|
-
brandYellow: any;
|
|
585
|
-
brandYellowAccent: any;
|
|
586
580
|
infoLight: any;
|
|
587
581
|
info: any;
|
|
588
582
|
infoMid: any;
|
|
@@ -683,59 +677,59 @@ export declare const StyledList: import("@stitches/react/types/styled-component"
|
|
|
683
677
|
"1-1": any;
|
|
684
678
|
"3-4": any;
|
|
685
679
|
};
|
|
686
|
-
}, import("@stitches
|
|
687
|
-
bg: (value: import("@stitches
|
|
688
|
-
background: import("@stitches
|
|
680
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
681
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
682
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
689
683
|
};
|
|
690
|
-
size: (value: string | number | import("@stitches
|
|
691
|
-
height: string | number | import("@stitches
|
|
692
|
-
width: string | number | import("@stitches
|
|
684
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
685
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
686
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
693
687
|
};
|
|
694
|
-
p: (value: string | number | import("@stitches
|
|
695
|
-
padding: string | number | import("@stitches
|
|
688
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
689
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
696
690
|
};
|
|
697
|
-
pt: (value: string | number | import("@stitches
|
|
698
|
-
paddingTop: string | number | import("@stitches
|
|
691
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
692
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
699
693
|
};
|
|
700
|
-
pr: (value: string | number | import("@stitches
|
|
701
|
-
paddingRight: string | number | import("@stitches
|
|
694
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
695
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
702
696
|
};
|
|
703
|
-
pb: (value: string | number | import("@stitches
|
|
704
|
-
paddingBottom: string | number | import("@stitches
|
|
697
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
698
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
705
699
|
};
|
|
706
|
-
pl: (value: string | number | import("@stitches
|
|
707
|
-
paddingLeft: string | number | import("@stitches
|
|
700
|
+
pl: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
701
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
708
702
|
};
|
|
709
|
-
px: (value: string | number | import("@stitches
|
|
710
|
-
paddingLeft: string | number | import("@stitches
|
|
711
|
-
paddingRight: string | number | import("@stitches
|
|
703
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
704
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
705
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
712
706
|
};
|
|
713
|
-
py: (value: string | number | import("@stitches
|
|
714
|
-
paddingTop: string | number | import("@stitches
|
|
715
|
-
paddingBottom: string | number | import("@stitches
|
|
707
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
708
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
709
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
716
710
|
};
|
|
717
|
-
m: (value: string | number | import("@stitches
|
|
718
|
-
margin: string | number | import("@stitches
|
|
711
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
712
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
719
713
|
};
|
|
720
|
-
mt: (value: string | number | import("@stitches
|
|
721
|
-
marginTop: string | number | import("@stitches
|
|
714
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
715
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
722
716
|
};
|
|
723
|
-
mr: (value: string | number | import("@stitches
|
|
724
|
-
marginRight: string | number | import("@stitches
|
|
717
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
718
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
725
719
|
};
|
|
726
|
-
mb: (value: string | number | import("@stitches
|
|
727
|
-
marginBottom: string | number | import("@stitches
|
|
720
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
721
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
728
722
|
};
|
|
729
|
-
ml: (value: string | number | import("@stitches
|
|
730
|
-
marginLeft: string | number | import("@stitches
|
|
723
|
+
ml: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
724
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
731
725
|
};
|
|
732
|
-
mx: (value: string | number | import("@stitches
|
|
733
|
-
marginLeft: string | number | import("@stitches
|
|
734
|
-
marginRight: string | number | import("@stitches
|
|
726
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
727
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
728
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
735
729
|
};
|
|
736
|
-
my: (value: string | number | import("@stitches
|
|
737
|
-
marginTop: string | number | import("@stitches
|
|
738
|
-
marginBottom: string | number | import("@stitches
|
|
730
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
731
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
732
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
739
733
|
};
|
|
740
734
|
}>>;
|
|
741
735
|
declare type ListProps = React.ComponentProps<typeof StyledList> & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { CSS } from '../../stitches';
|
|
3
3
|
declare type LoaderProps = {
|
|
4
4
|
message?: string;
|
|
5
5
|
size?: 'sm' | 'md' | 'lg';
|
|
6
6
|
css?: CSS;
|
|
7
7
|
};
|
|
8
|
-
export declare const Loader: ({ css, message, size, ...props }: LoaderProps) => JSX.Element;
|
|
8
|
+
export declare const Loader: ({ css, message, size, ...props }: LoaderProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { CSS } from '../../stitches';
|
|
3
3
|
declare type HandleNode = (node: any) => JSX.Element | null;
|
|
4
4
|
declare type MarkdownContentProps = {
|
|
@@ -12,7 +12,7 @@ declare type MarkdownContentProps = {
|
|
|
12
12
|
css?: CSS;
|
|
13
13
|
};
|
|
14
14
|
export declare const MarkdownContent: {
|
|
15
|
-
({ content, customComponents, css }: MarkdownContentProps): JSX.Element;
|
|
15
|
+
({ content, customComponents, css }: MarkdownContentProps): React.JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
import type { Code } from 'mdast';
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
declare type MarkdownCodeProps = {
|
|
4
4
|
node: Code;
|
|
5
5
|
};
|
|
6
|
-
export declare const MarkdownCode: ({ node }: MarkdownCodeProps) => JSX.Element;
|
|
6
|
+
export declare const MarkdownCode: ({ node }: MarkdownCodeProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{styled as
|
|
1
|
+
import*as e from"react";import{styled as r}from"../../../stitches.js";import{Box as t}from"../../box/Box.js";const m=r(t,{bg:"$grey200",borderRadius:"$1",color:"$grey1000",fontFamily:"$mono",fontSize:"$sm",lineHeight:1.4,my:"$4",p:"$3"}),n=({node:o})=>e.createElement(m,{as:"pre"},o.value);export{n as MarkdownCode};
|
|
2
2
|
//# sourceMappingURL=MarkdownCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownCode.js","sources":["../../../../src/components/markdown-content/components/MarkdownCode.tsx"],"sourcesContent":["import { Code } from 'mdast'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Box } from '../../box/Box'\n\ntype MarkdownCodeProps = {\n node: Code\n}\n\nconst StyledMarkdownCode = styled(Box, {\n bg: '$
|
|
1
|
+
{"version":3,"file":"MarkdownCode.js","sources":["../../../../src/components/markdown-content/components/MarkdownCode.tsx"],"sourcesContent":["import type { Code } from 'mdast'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Box } from '../../box/Box'\n\ntype MarkdownCodeProps = {\n node: Code\n}\n\nconst StyledMarkdownCode = styled(Box, {\n bg: '$grey200',\n borderRadius: '$1',\n color: '$grey1000',\n fontFamily: '$mono',\n fontSize: '$sm',\n lineHeight: 1.4,\n my: '$4',\n p: '$3'\n})\n\nexport const MarkdownCode = ({ node }: MarkdownCodeProps) => (\n <StyledMarkdownCode as=\"pre\">{node.value}</StyledMarkdownCode>\n)\n"],"names":["StyledMarkdownCode","styled","Box","MarkdownCode","node","React"],"mappings":"6GAWA,MAAMA,EAAqBC,EAAOC,EAAK,CACrC,GAAI,WACJ,aAAc,KACd,MAAO,YACP,WAAY,QACZ,SAAU,MACV,WAAY,IACZ,GAAI,KACJ,EAAG,IACL,CAAC,EAEYC,EAAe,CAAC,CAAE,KAAAC,CAAK,IAClCC,EAAA,cAACL,EAAA,CAAmB,GAAG,KAAOI,EAAAA,EAAK,KAAM"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Content, Emphasis } from 'mdast';
|
|
1
|
+
import type { Content, Emphasis } from 'mdast';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare type MarkdownEmphasisProps = {
|
|
4
4
|
node: Emphasis;
|
|
5
5
|
handleNode: (node: Content) => React.ReactElement;
|
|
6
6
|
};
|
|
7
|
-
export declare const StyledMarkdownEmphasis: import("@stitches
|
|
7
|
+
export declare const StyledMarkdownEmphasis: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"em", {}, {
|
|
8
8
|
sm: string;
|
|
9
9
|
md: string;
|
|
10
10
|
lg: string;
|
|
@@ -12,7 +12,7 @@ export declare const StyledMarkdownEmphasis: import("@stitches/react/types/style
|
|
|
12
12
|
reducedMotion: string;
|
|
13
13
|
allowMotion: string;
|
|
14
14
|
hover: string;
|
|
15
|
-
}, import("@stitches
|
|
15
|
+
}, import("@atom-learning/stitches-react/types/css-util").CSS<{
|
|
16
16
|
sm: string;
|
|
17
17
|
md: string;
|
|
18
18
|
lg: string;
|
|
@@ -52,6 +52,18 @@ export declare const StyledMarkdownEmphasis: import("@stitches/react/types/style
|
|
|
52
52
|
blue1000: any;
|
|
53
53
|
blue1100: any;
|
|
54
54
|
blue1200: any;
|
|
55
|
+
pink100: any;
|
|
56
|
+
pink200: any;
|
|
57
|
+
pink300: any;
|
|
58
|
+
pink400: any;
|
|
59
|
+
pink500: any;
|
|
60
|
+
pink600: any;
|
|
61
|
+
pink700: any;
|
|
62
|
+
pink800: any;
|
|
63
|
+
pink900: any;
|
|
64
|
+
pink1000: any;
|
|
65
|
+
pink1100: any;
|
|
66
|
+
pink1200: any;
|
|
55
67
|
purple100: any;
|
|
56
68
|
purple200: any;
|
|
57
69
|
purple300: any;
|
|
@@ -196,26 +208,11 @@ export declare const StyledMarkdownEmphasis: import("@stitches/react/types/style
|
|
|
196
208
|
marsh1000: any;
|
|
197
209
|
marsh1100: any;
|
|
198
210
|
marsh1200: any;
|
|
199
|
-
tonal50: any;
|
|
200
|
-
tonal100: any;
|
|
201
|
-
tonal200: any;
|
|
202
|
-
tonal300: any;
|
|
203
|
-
tonal400: any;
|
|
204
|
-
tonal500: any;
|
|
205
|
-
tonal600: any;
|
|
206
211
|
alpha100: any;
|
|
207
212
|
alpha150: any;
|
|
208
213
|
alpha200: any;
|
|
209
214
|
alpha250: any;
|
|
210
215
|
alpha600: any;
|
|
211
|
-
brandRed: any;
|
|
212
|
-
brandRedAccent: any;
|
|
213
|
-
brandGreen: any;
|
|
214
|
-
brandGreenAccent: any;
|
|
215
|
-
brandPurple: any;
|
|
216
|
-
brandPurpleAccent: any;
|
|
217
|
-
brandYellow: any;
|
|
218
|
-
brandYellowAccent: any;
|
|
219
216
|
infoLight: any;
|
|
220
217
|
info: any;
|
|
221
218
|
infoMid: any;
|
|
@@ -316,60 +313,60 @@ export declare const StyledMarkdownEmphasis: import("@stitches/react/types/style
|
|
|
316
313
|
"1-1": any;
|
|
317
314
|
"3-4": any;
|
|
318
315
|
};
|
|
319
|
-
}, import("@stitches
|
|
320
|
-
bg: (value: import("@stitches
|
|
321
|
-
background: import("@stitches
|
|
316
|
+
}, import("@atom-learning/stitches-react/types/config").DefaultThemeMap, {
|
|
317
|
+
bg: (value: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">) => {
|
|
318
|
+
background: import("@atom-learning/stitches-react/types/css-util").WithPropertyValue<"background">;
|
|
322
319
|
};
|
|
323
|
-
size: (value: string | number | import("@stitches
|
|
324
|
-
height: string | number | import("@stitches
|
|
325
|
-
width: string | number | import("@stitches
|
|
320
|
+
size: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">) => {
|
|
321
|
+
height: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
322
|
+
width: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"size">;
|
|
326
323
|
};
|
|
327
|
-
p: (value: string | number | import("@stitches
|
|
328
|
-
padding: string | number | import("@stitches
|
|
324
|
+
p: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
325
|
+
padding: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
329
326
|
};
|
|
330
|
-
pt: (value: string | number | import("@stitches
|
|
331
|
-
paddingTop: string | number | import("@stitches
|
|
327
|
+
pt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
328
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
332
329
|
};
|
|
333
|
-
pr: (value: string | number | import("@stitches
|
|
334
|
-
paddingRight: string | number | import("@stitches
|
|
330
|
+
pr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
331
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
335
332
|
};
|
|
336
|
-
pb: (value: string | number | import("@stitches
|
|
337
|
-
paddingBottom: string | number | import("@stitches
|
|
333
|
+
pb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
334
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
338
335
|
};
|
|
339
|
-
pl: (value: string | number | import("@stitches
|
|
340
|
-
paddingLeft: string | number | import("@stitches
|
|
336
|
+
pl: (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">;
|
|
341
338
|
};
|
|
342
|
-
px: (value: string | number | import("@stitches
|
|
343
|
-
paddingLeft: string | number | import("@stitches
|
|
344
|
-
paddingRight: string | number | import("@stitches
|
|
339
|
+
px: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
340
|
+
paddingLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
341
|
+
paddingRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
345
342
|
};
|
|
346
|
-
py: (value: string | number | import("@stitches
|
|
347
|
-
paddingTop: string | number | import("@stitches
|
|
348
|
-
paddingBottom: string | number | import("@stitches
|
|
343
|
+
py: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
344
|
+
paddingTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
345
|
+
paddingBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
349
346
|
};
|
|
350
|
-
m: (value: string | number | import("@stitches
|
|
351
|
-
margin: string | number | import("@stitches
|
|
347
|
+
m: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
348
|
+
margin: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
352
349
|
};
|
|
353
|
-
mt: (value: string | number | import("@stitches
|
|
354
|
-
marginTop: string | number | import("@stitches
|
|
350
|
+
mt: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
351
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
355
352
|
};
|
|
356
|
-
mr: (value: string | number | import("@stitches
|
|
357
|
-
marginRight: string | number | import("@stitches
|
|
353
|
+
mr: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
354
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
358
355
|
};
|
|
359
|
-
mb: (value: string | number | import("@stitches
|
|
360
|
-
marginBottom: string | number | import("@stitches
|
|
356
|
+
mb: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
357
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
361
358
|
};
|
|
362
|
-
ml: (value: string | number | import("@stitches
|
|
363
|
-
marginLeft: string | number | import("@stitches
|
|
359
|
+
ml: (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">;
|
|
364
361
|
};
|
|
365
|
-
mx: (value: string | number | import("@stitches
|
|
366
|
-
marginLeft: string | number | import("@stitches
|
|
367
|
-
marginRight: string | number | import("@stitches
|
|
362
|
+
mx: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
363
|
+
marginLeft: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
364
|
+
marginRight: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
368
365
|
};
|
|
369
|
-
my: (value: string | number | import("@stitches
|
|
370
|
-
marginTop: string | number | import("@stitches
|
|
371
|
-
marginBottom: string | number | import("@stitches
|
|
366
|
+
my: (value: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">) => {
|
|
367
|
+
marginTop: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
368
|
+
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
372
369
|
};
|
|
373
370
|
}>>;
|
|
374
|
-
export declare const MarkdownEmphasis: ({ node, handleNode }: MarkdownEmphasisProps) => JSX.Element;
|
|
371
|
+
export declare const MarkdownEmphasis: ({ node, handleNode }: MarkdownEmphasisProps) => React.JSX.Element;
|
|
375
372
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEmphasis.js","sources":["../../../../src/components/markdown-content/components/MarkdownEmphasis.tsx"],"sourcesContent":["import { Content, Emphasis } from 'mdast'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\ntype MarkdownEmphasisProps = {\n node: Emphasis\n handleNode: (node: Content) => React.ReactElement\n}\n\nexport const StyledMarkdownEmphasis = styled('em', { fontStyle: 'italic' })\n\nexport const MarkdownEmphasis = ({\n node,\n handleNode\n}: MarkdownEmphasisProps) => (\n <StyledMarkdownEmphasis>\n {node.children?.map(handleNode)}\n </StyledMarkdownEmphasis>\n)\n"],"names":["StyledMarkdownEmphasis","styled","MarkdownEmphasis","node","handleNode","_a","React"],"mappings":"sEAUa,MAAAA,EAAyBC,EAAO,KAAM,CAAE,UAAW,QAAS,CAAC,EAE7DC,EAAmB,CAAC,CAC/B,KAAAC,EACA,WAAAC,CACF,IAA0B,CAf1B,IAAAC,EAgBE,OAAAC,EAAA,cAACN,EAAA,MACEK,EAAAF,EAAK,WAAL,KAAAE,OAAAA,EAAe,IAAID,CACtB,CAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"MarkdownEmphasis.js","sources":["../../../../src/components/markdown-content/components/MarkdownEmphasis.tsx"],"sourcesContent":["import type { Content, Emphasis } from 'mdast'\nimport * as React from 'react'\n\nimport { styled } from '~/stitches'\n\ntype MarkdownEmphasisProps = {\n node: Emphasis\n handleNode: (node: Content) => React.ReactElement\n}\n\nexport const StyledMarkdownEmphasis = styled('em', { fontStyle: 'italic' })\n\nexport const MarkdownEmphasis = ({\n node,\n handleNode\n}: MarkdownEmphasisProps) => (\n <StyledMarkdownEmphasis>\n {node.children?.map(handleNode)}\n </StyledMarkdownEmphasis>\n)\n"],"names":["StyledMarkdownEmphasis","styled","MarkdownEmphasis","node","handleNode","_a","React"],"mappings":"sEAUa,MAAAA,EAAyBC,EAAO,KAAM,CAAE,UAAW,QAAS,CAAC,EAE7DC,EAAmB,CAAC,CAC/B,KAAAC,EACA,WAAAC,CACF,IAA0B,CAf1B,IAAAC,EAgBE,OAAAC,EAAA,cAACN,EAAA,MACEK,EAAAF,EAAK,WAAL,KAAAE,OAAAA,EAAe,IAAID,CACtB,CAAA,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Content, Heading as HeadingType } from 'mdast';
|
|
1
|
+
import type { Content, Heading as HeadingType } from 'mdast';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare type MarkdownHeadingProps = {
|
|
4
4
|
node: HeadingType;
|
|
5
5
|
handleNode: (node: Content) => React.ReactElement;
|
|
6
6
|
};
|
|
7
|
-
export declare const MarkdownHeading: ({ node, handleNode, ...rest }: MarkdownHeadingProps) => JSX.Element;
|
|
7
|
+
export declare const MarkdownHeading: ({ node, handleNode, ...rest }: MarkdownHeadingProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as i from"react";import{Heading as
|
|
1
|
+
import*as i from"react";import{Heading as o}from"../../heading/Heading.js";const c=e=>{switch(e){case 1:return{size:"xl",as:"h1"};case 2:return{size:"lg",as:"h2"};case 3:return{size:"md",as:"h3"};case 4:return{size:"sm",as:"h4"};case 5:return{size:"xs",as:"h5"};default:return{size:"xs",as:"h6"}}},d=({node:e,handleNode:r,...a})=>{var s;const{as:t,size:n}=c(e.depth);return i.createElement(o,{as:t,size:n,...a},(s=e.children)==null?void 0:s.map(r))};export{d as MarkdownHeading};
|
|
2
2
|
//# sourceMappingURL=MarkdownHeading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownHeading.js","sources":["../../../../src/components/markdown-content/components/MarkdownHeading.tsx"],"sourcesContent":["import { Content, Heading as HeadingType } from 'mdast'\nimport * as React from 'react'\n\nimport { Heading, HeadingProps } from '../../heading/Heading'\n\ntype MarkdownHeadingProps = {\n node: HeadingType\n handleNode: (node: Content) => React.ReactElement\n}\n\nconst getHeadingProps = (depth: number): HeadingProps => {\n switch (depth) {\n case 1:\n return { size: 'xl', as: 'h1' }\n case 2:\n return { size: 'lg', as: 'h2' }\n case 3:\n return { size: 'md', as: 'h3' }\n case 4:\n return { size: 'sm', as: 'h4' }\n case 5:\n return { size: 'xs', as: 'h5' }\n default:\n return { size: 'xs', as: 'h6' }\n }\n}\n\nexport const MarkdownHeading = ({\n node,\n handleNode,\n ...rest\n}: MarkdownHeadingProps) => {\n const { as, size } = getHeadingProps(node.depth)\n\n return (\n <Heading as={as} size={size} {...rest}>\n {node.children?.map(handleNode)}\n </Heading>\n )\n}\n"],"names":["getHeadingProps","depth","MarkdownHeading","node","handleNode","rest","_a","as","size","React","Heading"],"mappings":"2EAUA,MAAMA,EAAmBC,GAAgC,CACvD,OAAQA,OAEJ,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAE9B,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAE9B,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAC3B,GACH,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,SAE9B,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,UAE9B,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,EAEpC,EAEaC,EAAkB,CAAC,CAC9B,KAAAC,EACA,WAAAC,KACGC,CACL,IAA4B,CA/B5B,IAAAC,EAgCE,KAAM,CAAE,GAAAC,EAAI,KAAAC,CAAK,EAAIR,EAAgBG,EAAK,KAAK,EAE/C,OACEM,EAAA,cAACC,EAAA,CAAQ,GAAIH,EAAI,KAAMC,EAAO,GAAGH,CAAAA,GAC9BC,EAAAH,EAAK,WAAL,KAAAG,OAAAA,EAAe,IAAIF,CAAAA,CACtB,CAEJ"}
|
|
1
|
+
{"version":3,"file":"MarkdownHeading.js","sources":["../../../../src/components/markdown-content/components/MarkdownHeading.tsx"],"sourcesContent":["import type { Content, Heading as HeadingType } from 'mdast'\nimport * as React from 'react'\n\nimport { Heading, HeadingProps } from '../../heading/Heading'\n\ntype MarkdownHeadingProps = {\n node: HeadingType\n handleNode: (node: Content) => React.ReactElement\n}\n\nconst getHeadingProps = (depth: number): HeadingProps => {\n switch (depth) {\n case 1:\n return { size: 'xl', as: 'h1' }\n case 2:\n return { size: 'lg', as: 'h2' }\n case 3:\n return { size: 'md', as: 'h3' }\n case 4:\n return { size: 'sm', as: 'h4' }\n case 5:\n return { size: 'xs', as: 'h5' }\n default:\n return { size: 'xs', as: 'h6' }\n }\n}\n\nexport const MarkdownHeading = ({\n node,\n handleNode,\n ...rest\n}: MarkdownHeadingProps) => {\n const { as, size } = getHeadingProps(node.depth)\n\n return (\n <Heading as={as} size={size} {...rest}>\n {node.children?.map(handleNode)}\n </Heading>\n )\n}\n"],"names":["getHeadingProps","depth","MarkdownHeading","node","handleNode","rest","_a","as","size","React","Heading"],"mappings":"2EAUA,MAAMA,EAAmBC,GAAgC,CACvD,OAAQA,OAEJ,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAE9B,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAE9B,GAAA,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,MAC3B,GACH,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,SAE9B,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,UAE9B,MAAO,CAAE,KAAM,KAAM,GAAI,IAAK,EAEpC,EAEaC,EAAkB,CAAC,CAC9B,KAAAC,EACA,WAAAC,KACGC,CACL,IAA4B,CA/B5B,IAAAC,EAgCE,KAAM,CAAE,GAAAC,EAAI,KAAAC,CAAK,EAAIR,EAAgBG,EAAK,KAAK,EAE/C,OACEM,EAAA,cAACC,EAAA,CAAQ,GAAIH,EAAI,KAAMC,EAAO,GAAGH,CAAAA,GAC9BC,EAAAH,EAAK,WAAL,KAAAG,OAAAA,EAAe,IAAIF,CAAAA,CACtB,CAEJ"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
import type { Image as ImageType } from 'mdast';
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { CSS } from '../../../stitches';
|
|
4
4
|
declare type MarkdownImageProps = {
|
|
5
5
|
node: ImageType;
|
|
6
6
|
css?: CSS;
|
|
7
7
|
};
|
|
8
|
-
export declare const MarkdownImage: ({ node, css }: MarkdownImageProps) => JSX.Element;
|
|
8
|
+
export declare const MarkdownImage: ({ node, css }: MarkdownImageProps) => React.JSX.Element;
|
|
9
9
|
export {};
|