@atom-learning/components 5.12.1 → 5.13.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/Accordion.d.ts +2 -0
- package/dist/components/accordion/AccordionContent.d.ts +2 -0
- package/dist/components/accordion/AccordionItem.d.ts +2 -0
- package/dist/components/accordion/AccordionTrigger.d.ts +2 -0
- package/dist/components/action-icon/ActionIcon.d.ts +3 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +4 -0
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +2 -0
- package/dist/components/avatar/Avatar.d.ts +4 -0
- package/dist/components/badge/Badge.d.ts +13 -1
- package/dist/components/badge/BadgeIcon.d.ts +4 -0
- package/dist/components/badge/BadgeText.d.ts +4 -0
- package/dist/components/banner/Banner.d.ts +2 -2
- package/dist/components/banner/BannerContainer.d.ts +4 -0
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +108 -474
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +4 -0
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +6 -2
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +108 -474
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +2 -0
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +4 -0
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +6 -2
- package/dist/components/box/Box.d.ts +2 -0
- package/dist/components/button/Button.d.ts +2 -0
- package/dist/components/calendar/Day.d.ts +2 -0
- package/dist/components/carousel/Carousel.d.ts +6 -0
- package/dist/components/carousel/CarouselPagination.d.ts +2 -0
- package/dist/components/carousel/CarouselSlide.d.ts +2 -0
- package/dist/components/carousel/CarouselSlider.d.ts +2 -0
- package/dist/components/checkbox/Checkbox.d.ts +2 -0
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +96 -90
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +352 -344
- package/dist/components/chip/Chip.d.ts +14 -0
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +6 -0
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +6 -0
- package/dist/components/combobox/Combobox.d.ts +10 -0
- package/dist/components/combobox/ComboboxInput.d.ts +2 -0
- package/dist/components/combobox/ComboboxList.d.ts +2 -0
- package/dist/components/combobox/ComboboxOption.d.ts +2 -0
- package/dist/components/combobox/ComboboxPopover.d.ts +2 -0
- package/dist/components/data-table/DataTable.d.ts +56 -26
- package/dist/components/data-table/DataTableHead.d.ts +3 -1
- package/dist/components/data-table/DataTableHead.js +1 -1
- package/dist/components/data-table/DataTableHead.js.map +1 -1
- package/dist/components/data-table/DataTableHeaderCell.d.ts +3 -1
- package/dist/components/data-table/DataTableHeaderCell.js +1 -1
- package/dist/components/data-table/DataTableHeaderCell.js.map +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +2 -0
- package/dist/components/data-table/DataTableRow.js +1 -1
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js.map +1 -1
- package/dist/components/data-table/DataTableTable.d.ts +2 -0
- package/dist/components/data-table/DataTableTable.js +1 -1
- package/dist/components/data-table/DataTableTable.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +2 -0
- package/dist/components/dialog/Dialog.d.ts +12 -2
- package/dist/components/dialog/DialogBackground.d.ts +4 -0
- package/dist/components/dialog/DialogClose.d.ts +2 -0
- package/dist/components/dialog/DialogContent.d.ts +2 -0
- package/dist/components/dismissible/index.d.ts +2 -2
- package/dist/components/dismissible-group/index.d.ts +3 -3
- package/dist/components/divider/Divider.d.ts +2 -0
- package/dist/components/drawer/Drawer.d.ts +8 -0
- package/dist/components/drawer/DrawerContent.d.ts +2 -0
- package/dist/components/drawer/DrawerFooter.d.ts +2 -0
- package/dist/components/drawer/DrawerHeader.d.ts +2 -0
- package/dist/components/drawer/DrawerMain.d.ts +2 -0
- package/dist/components/drawer/DrawerOverlay.d.ts +2 -0
- package/dist/components/drawer/DrawerTrigger.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +10 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +2 -0
- package/dist/components/empty-state/EmptyState.d.ts +14 -0
- package/dist/components/empty-state/EmptyStateBody.d.ts +4 -0
- package/dist/components/empty-state/EmptyStateImage.d.ts +4 -0
- package/dist/components/empty-state/EmptyStateTitle.d.ts +2 -0
- package/dist/components/flex/Flex.d.ts +2 -0
- package/dist/components/form/Form.d.ts +2 -0
- package/dist/components/grid/Grid.d.ts +2 -0
- package/dist/components/heading/Heading.d.ts +2 -0
- package/dist/components/icon/Icon.d.ts +2 -0
- package/dist/components/image/Image.d.ts +2 -0
- package/dist/components/inline-message/InlineMessage.d.ts +4 -0
- package/dist/components/input/Input.d.ts +6 -0
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +4 -0
- package/dist/components/keyboard-shortcut/index.d.ts +8 -2
- package/dist/components/label/Label.d.ts +2 -0
- package/dist/components/link/Link.d.ts +2 -0
- package/dist/components/list/List.d.ts +4 -0
- package/dist/components/markdown-content/MarkdownContent.d.ts +4 -0
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +2 -0
- package/dist/components/navigation/NavigationMenu.d.ts +18 -0
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +2 -0
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +4 -0
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +2 -0
- package/dist/components/navigation/NavigationMenuLink.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +184 -162
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +4 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +2 -0
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +4 -0
- package/dist/components/number-input/NumberInputStepper.d.ts +6 -2
- package/dist/components/pagination/PaginationNextButton.d.ts +6 -2
- package/dist/components/pagination/PaginationPreviousButton.d.ts +6 -2
- package/dist/components/popover/Popover.d.ts +4 -0
- package/dist/components/popover/PopoverContent.d.ts +2 -0
- package/dist/components/progress-bar/ProgressBar.d.ts +2 -0
- package/dist/components/radio-button/RadioButton.d.ts +2 -0
- package/dist/components/radio-button/RadioButtonGroup.d.ts +2 -0
- package/dist/components/radio-button-field/RadioButtonField.d.ts +2 -0
- package/dist/components/radio-card/RadioCard.d.ts +2 -0
- package/dist/components/section-message/SectionMessage.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControl.d.ts +25 -9
- package/dist/components/segmented-control/SegmentedControlContent.d.ts +2 -0
- package/dist/components/segmented-control/SegmentedControlDescription.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlHeading.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlItem.d.ts +4 -0
- package/dist/components/segmented-control/SegmentedControlRoot.d.ts +10 -0
- package/dist/components/select/Select.d.ts +2 -0
- package/dist/components/side-bar/SideBar.d.ts +16 -0
- package/dist/components/side-bar/SideBarComponents.d.ts +15 -1
- package/dist/components/slider/Slider.d.ts +4 -0
- package/dist/components/sortable/Handle.d.ts +6 -2
- package/dist/components/sortable/index.d.ts +3 -3
- package/dist/components/spacer/Spacer.d.ts +2 -0
- package/dist/components/stepper/StepperStepBullet.d.ts +4 -0
- package/dist/components/stepper/StepperStepContainer.d.ts +4 -0
- package/dist/components/stepper/StepperStepLabel.d.ts +5 -1
- package/dist/components/switch/Switch.d.ts +2 -0
- package/dist/components/table/Table.d.ts +17 -1
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableBody.d.ts +2 -0
- package/dist/components/table/TableCell.d.ts +2 -0
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableCell.js.map +1 -1
- package/dist/components/table/TableFooter.d.ts +2 -0
- package/dist/components/table/TableFooterCell.d.ts +2 -0
- package/dist/components/table/TableHeader.d.ts +3 -1
- package/dist/components/table/TableHeaderCell.d.ts +2 -0
- package/dist/components/table/TableHeaderCell.js +1 -1
- package/dist/components/table/TableHeaderCell.js.map +1 -1
- package/dist/components/table/TableRow.d.ts +2 -0
- package/dist/components/tabs/Tabs.d.ts +8 -0
- package/dist/components/tabs/TabsContent.d.ts +2 -0
- package/dist/components/tabs/TabsTrigger.d.ts +2 -0
- package/dist/components/tabs/TabsTriggerList.d.ts +2 -0
- package/dist/components/text/Text.d.ts +2 -0
- package/dist/components/textarea/Textarea.d.ts +2 -0
- package/dist/components/tile/Tile.d.ts +2 -0
- package/dist/components/tile/TileGroup.d.ts +2 -0
- package/dist/components/tile-interactive/TileInteractive.d.ts +4 -0
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +6 -0
- package/dist/components/toast/Toast.d.ts +4 -0
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +4 -0
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +4 -0
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -0
- package/dist/components/toggle-group/index.d.ts +14 -2
- package/dist/components/tooltip/Tooltip.d.ts +4 -0
- package/dist/components/tooltip/TooltipContent.d.ts +2 -0
- package/dist/components/top-bar/TopBar.d.ts +12 -2
- package/dist/components/top-bar/TopBarBrand.d.ts +6 -0
- package/dist/components/tree/Tree.d.ts +267 -243
- package/dist/components/tree/TreeCollapsible.d.ts +2 -0
- package/dist/components/tree/TreeCollapsibleContent.d.ts +2 -0
- package/dist/components/tree/TreeIcon.d.ts +4 -0
- package/dist/components/tree/TreeItemContent.d.ts +2 -0
- package/dist/components/tree/TreeListItem.d.ts +2 -0
- package/dist/components/video/Video.d.ts +2 -0
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/stitches.d.ts +22 -0
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +2 -0
- package/package.json +2 -2
- package/CHANGELOG.md +0 -221
|
@@ -4,7 +4,7 @@ import { NavigatorActions } from '../../types';
|
|
|
4
4
|
import { Override } from '../../utilities';
|
|
5
5
|
import type { TOptionalTooltipWrapperProps } from '../../utilities/optional-tooltip-wrapper';
|
|
6
6
|
declare const StyledButton: import("@atom-learning/stitches-react/types/styled-component").StyledComponent<"button", {
|
|
7
|
-
theme?: "
|
|
7
|
+
theme?: "white" | "success" | "danger" | "warning" | "neutral" | "primary" | undefined;
|
|
8
8
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
9
9
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
10
10
|
isRounded?: boolean | "true" | undefined;
|
|
@@ -32,6 +32,8 @@ declare const StyledButton: import("@atom-learning/stitches-react/types/styled-c
|
|
|
32
32
|
textMinimal: string;
|
|
33
33
|
background: string;
|
|
34
34
|
backgroundAccent: string;
|
|
35
|
+
black: string;
|
|
36
|
+
white: string;
|
|
35
37
|
grey100: string;
|
|
36
38
|
grey200: string;
|
|
37
39
|
grey300: string;
|
|
@@ -23,6 +23,8 @@ export declare const AlertDialog: import("@atom-learning/stitches-react/types/st
|
|
|
23
23
|
textMinimal: string;
|
|
24
24
|
background: string;
|
|
25
25
|
backgroundAccent: string;
|
|
26
|
+
black: string;
|
|
27
|
+
white: string;
|
|
26
28
|
grey100: string;
|
|
27
29
|
grey200: string;
|
|
28
30
|
grey300: string;
|
|
@@ -398,6 +400,8 @@ export declare const AlertDialog: import("@atom-learning/stitches-react/types/st
|
|
|
398
400
|
textMinimal: string;
|
|
399
401
|
background: string;
|
|
400
402
|
backgroundAccent: string;
|
|
403
|
+
black: string;
|
|
404
|
+
white: string;
|
|
401
405
|
grey100: string;
|
|
402
406
|
grey200: string;
|
|
403
407
|
grey300: string;
|
|
@@ -25,6 +25,8 @@ declare const StyledDiv: import("@atom-learning/stitches-react/types/styled-comp
|
|
|
25
25
|
textMinimal: string;
|
|
26
26
|
background: string;
|
|
27
27
|
backgroundAccent: string;
|
|
28
|
+
black: string;
|
|
29
|
+
white: string;
|
|
28
30
|
grey100: string;
|
|
29
31
|
grey200: string;
|
|
30
32
|
grey300: string;
|
|
@@ -396,6 +398,8 @@ declare const StyledButton: import("@atom-learning/stitches-react/types/styled-c
|
|
|
396
398
|
textMinimal: string;
|
|
397
399
|
background: string;
|
|
398
400
|
backgroundAccent: string;
|
|
401
|
+
black: string;
|
|
402
|
+
white: string;
|
|
399
403
|
grey100: string;
|
|
400
404
|
grey200: string;
|
|
401
405
|
grey300: string;
|
|
@@ -31,6 +31,8 @@ declare const StyledBadge: import("@atom-learning/stitches-react/types/styled-co
|
|
|
31
31
|
textMinimal: string;
|
|
32
32
|
background: string;
|
|
33
33
|
backgroundAccent: string;
|
|
34
|
+
black: string;
|
|
35
|
+
white: string;
|
|
34
36
|
grey100: string;
|
|
35
37
|
grey200: string;
|
|
36
38
|
grey300: string;
|
|
@@ -376,7 +378,7 @@ declare const StyledBadge: import("@atom-learning/stitches-react/types/styled-co
|
|
|
376
378
|
marginBottom: string | number | import("@atom-learning/stitches-react/types/css-util").WithScaleValue<"space">;
|
|
377
379
|
};
|
|
378
380
|
}>>, {
|
|
379
|
-
emphasis?: "
|
|
381
|
+
emphasis?: "white" | "bold" | "subtle" | undefined;
|
|
380
382
|
size?: "xs" | "sm" | "md" | undefined;
|
|
381
383
|
isClickable?: boolean | "true" | undefined;
|
|
382
384
|
highlighted?: boolean | "true" | undefined;
|
|
@@ -404,6 +406,8 @@ declare const StyledBadge: import("@atom-learning/stitches-react/types/styled-co
|
|
|
404
406
|
textMinimal: string;
|
|
405
407
|
background: string;
|
|
406
408
|
backgroundAccent: string;
|
|
409
|
+
black: string;
|
|
410
|
+
white: string;
|
|
407
411
|
grey100: string;
|
|
408
412
|
grey200: string;
|
|
409
413
|
grey300: string;
|
|
@@ -783,6 +787,8 @@ export declare const Badge: React.ForwardRefExoticComponent<TBadgeProps> & {
|
|
|
783
787
|
textMinimal: string;
|
|
784
788
|
background: string;
|
|
785
789
|
backgroundAccent: string;
|
|
790
|
+
black: string;
|
|
791
|
+
white: string;
|
|
786
792
|
grey100: string;
|
|
787
793
|
grey200: string;
|
|
788
794
|
grey300: string;
|
|
@@ -1155,6 +1161,8 @@ export declare const Badge: React.ForwardRefExoticComponent<TBadgeProps> & {
|
|
|
1155
1161
|
textMinimal: string;
|
|
1156
1162
|
background: string;
|
|
1157
1163
|
backgroundAccent: string;
|
|
1164
|
+
black: string;
|
|
1165
|
+
white: string;
|
|
1158
1166
|
grey100: string;
|
|
1159
1167
|
grey200: string;
|
|
1160
1168
|
grey300: string;
|
|
@@ -1532,6 +1540,8 @@ export declare const Badge: React.ForwardRefExoticComponent<TBadgeProps> & {
|
|
|
1532
1540
|
textMinimal: string;
|
|
1533
1541
|
background: string;
|
|
1534
1542
|
backgroundAccent: string;
|
|
1543
|
+
black: string;
|
|
1544
|
+
white: string;
|
|
1535
1545
|
grey100: string;
|
|
1536
1546
|
grey200: string;
|
|
1537
1547
|
grey300: string;
|
|
@@ -1906,6 +1916,8 @@ export declare const Badge: React.ForwardRefExoticComponent<TBadgeProps> & {
|
|
|
1906
1916
|
textMinimal: string;
|
|
1907
1917
|
background: string;
|
|
1908
1918
|
backgroundAccent: string;
|
|
1919
|
+
black: string;
|
|
1920
|
+
white: string;
|
|
1909
1921
|
grey100: string;
|
|
1910
1922
|
grey200: string;
|
|
1911
1923
|
grey300: string;
|
|
@@ -28,6 +28,8 @@ declare const StyledBadgeIcon: import("@atom-learning/stitches-react/types/style
|
|
|
28
28
|
textMinimal: string;
|
|
29
29
|
background: string;
|
|
30
30
|
backgroundAccent: string;
|
|
31
|
+
black: string;
|
|
32
|
+
white: string;
|
|
31
33
|
grey100: string;
|
|
32
34
|
grey200: string;
|
|
33
35
|
grey300: string;
|
|
@@ -400,6 +402,8 @@ declare const StyledBadgeIcon: import("@atom-learning/stitches-react/types/style
|
|
|
400
402
|
textMinimal: string;
|
|
401
403
|
background: string;
|
|
402
404
|
backgroundAccent: string;
|
|
405
|
+
black: string;
|
|
406
|
+
white: string;
|
|
403
407
|
grey100: string;
|
|
404
408
|
grey200: string;
|
|
405
409
|
grey300: string;
|
|
@@ -31,6 +31,8 @@ declare const StyledBadgeText: import("@atom-learning/stitches-react/types/style
|
|
|
31
31
|
textMinimal: string;
|
|
32
32
|
background: string;
|
|
33
33
|
backgroundAccent: string;
|
|
34
|
+
black: string;
|
|
35
|
+
white: string;
|
|
34
36
|
grey100: string;
|
|
35
37
|
grey200: string;
|
|
36
38
|
grey300: string;
|
|
@@ -404,6 +406,8 @@ declare const StyledBadgeText: import("@atom-learning/stitches-react/types/style
|
|
|
404
406
|
textMinimal: string;
|
|
405
407
|
background: string;
|
|
406
408
|
backgroundAccent: string;
|
|
409
|
+
black: string;
|
|
410
|
+
white: string;
|
|
407
411
|
grey100: string;
|
|
408
412
|
grey200: string;
|
|
409
413
|
grey300: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Banner: {
|
|
2
|
-
({ emphasis, size, children }:
|
|
2
|
+
({ emphasis, size, children }: React.PropsWithChildren<import("./BannerContext").TBannerProviderProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
|
-
Dismiss: ({ asChild, ...rest }:
|
|
5
|
+
Dismiss: ({ asChild, ...rest }: React.PropsWithChildren<import("../dismissible/DismissibleTrigger").IDismissibleTriggerProps>) => import("react").JSX.Element;
|
|
6
6
|
};
|
|
@@ -31,6 +31,8 @@ declare const StyledBannerContainer: import("@atom-learning/stitches-react/types
|
|
|
31
31
|
textMinimal: string;
|
|
32
32
|
background: string;
|
|
33
33
|
backgroundAccent: string;
|
|
34
|
+
black: string;
|
|
35
|
+
white: string;
|
|
34
36
|
grey100: string;
|
|
35
37
|
grey200: string;
|
|
36
38
|
grey300: string;
|
|
@@ -402,6 +404,8 @@ declare const StyledBannerContainer: import("@atom-learning/stitches-react/types
|
|
|
402
404
|
textMinimal: string;
|
|
403
405
|
background: string;
|
|
404
406
|
backgroundAccent: string;
|
|
407
|
+
black: string;
|
|
408
|
+
white: string;
|
|
405
409
|
grey100: string;
|
|
406
410
|
grey200: string;
|
|
407
411
|
grey300: string;
|