@amboss/design-system 1.16.1 → 1.16.2-canary2

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.
Files changed (105) hide show
  1. package/build/cjs/src/components/PictogramButton/PictogramButton.js +3 -2
  2. package/build/cjs/src/components/RoundButton/RoundButton.js +3 -2
  3. package/build/esm/src/components/PictogramButton/PictogramButton.js +3 -2
  4. package/build/esm/src/components/PictogramButton/PictogramButton.js.map +1 -1
  5. package/build/esm/src/components/RoundButton/RoundButton.js +3 -2
  6. package/build/esm/src/components/RoundButton/RoundButton.js.map +1 -1
  7. package/package.json +4 -2
  8. package/build/cjs/scss/themes/dark.scss +0 -111
  9. package/build/cjs/scss/themes/light.scss +0 -111
  10. package/build/esm/build-tokens/_breakpoints.json +0 -17
  11. package/build/esm/build-tokens/_colors.json +0 -918
  12. package/build/esm/build-tokens/_icon_sizes_map.json +0 -7
  13. package/build/esm/build-tokens/_sizes.json +0 -782
  14. package/build/esm/build-tokens/_subThemeType.d.ts +0 -1
  15. package/build/esm/build-tokens/_zindex.json +0 -17
  16. package/build/esm/build-tokens/assets/icons.json +0 -142
  17. package/build/esm/build-tokens/assets/icons16.json +0 -153
  18. package/build/esm/build-tokens/assets/logo.json +0 -3
  19. package/build/esm/build-tokens/visualConfig.d.ts +0 -767
  20. package/build/esm/scss/themes/dark.scss +0 -111
  21. package/build/esm/scss/themes/light.scss +0 -111
  22. package/build/esm/src/components/Badge/Badge.d.ts +0 -11
  23. package/build/esm/src/components/Box/Box.d.ts +0 -35
  24. package/build/esm/src/components/Button/Button.d.ts +0 -33
  25. package/build/esm/src/components/Callout/Callout.d.ts +0 -14
  26. package/build/esm/src/components/Card/Card.d.ts +0 -16
  27. package/build/esm/src/components/Card/CardBox.d.ts +0 -6
  28. package/build/esm/src/components/Card/CardHeader/CardHeader.d.ts +0 -12
  29. package/build/esm/src/components/Collapsible/Collapsible.d.ts +0 -15
  30. package/build/esm/src/components/Column/Columns.d.ts +0 -45
  31. package/build/esm/src/components/Container/Container.d.ts +0 -14
  32. package/build/esm/src/components/DataTable/DataTable.d.ts +0 -58
  33. package/build/esm/src/components/DataTable/TableBody.d.ts +0 -9
  34. package/build/esm/src/components/DataTable/TableCell.d.ts +0 -15
  35. package/build/esm/src/components/DataTable/TableHeader.d.ts +0 -9
  36. package/build/esm/src/components/DataTable/index.d.ts +0 -4
  37. package/build/esm/src/components/DataTable/types.d.ts +0 -15
  38. package/build/esm/src/components/DataTable/useDataTableSort.d.ts +0 -14
  39. package/build/esm/src/components/Divider/Divider.d.ts +0 -6
  40. package/build/esm/src/components/DropdownMenu/DropdownMenu.d.ts +0 -35
  41. package/build/esm/src/components/DropdownMenu/MenuItem.d.ts +0 -19
  42. package/build/esm/src/components/Form/Checkbox/Checkbox.d.ts +0 -26
  43. package/build/esm/src/components/Form/FormErrorMessages/FormErrorMessages.d.ts +0 -6
  44. package/build/esm/src/components/Form/FormField/FormField.d.ts +0 -15
  45. package/build/esm/src/components/Form/FormFieldGroup/FormFieldGroup.d.ts +0 -11
  46. package/build/esm/src/components/Form/FormLabelText/FormLabelText.d.ts +0 -7
  47. package/build/esm/src/components/Form/Input/Input.d.ts +0 -78
  48. package/build/esm/src/components/Form/Input/index.d.ts +0 -2
  49. package/build/esm/src/components/Form/PasswordInput/PasswordInput.d.ts +0 -76
  50. package/build/esm/src/components/Form/PasswordInput/index.d.ts +0 -2
  51. package/build/esm/src/components/Form/Radio/Radio.d.ts +0 -24
  52. package/build/esm/src/components/Form/RadioButton/RadioButton.d.ts +0 -17
  53. package/build/esm/src/components/Form/SegmentedControl/SegmentedControl.d.ts +0 -31
  54. package/build/esm/src/components/Form/SegmentedControl/SegmentedControlOption.d.ts +0 -8
  55. package/build/esm/src/components/Form/Select/Select.d.ts +0 -23
  56. package/build/esm/src/components/Form/Textarea/Textarea.d.ts +0 -48
  57. package/build/esm/src/components/Form/Toggle/Toggle.d.ts +0 -32
  58. package/build/esm/src/components/Form/ToggleButton/ToggleButton.d.ts +0 -26
  59. package/build/esm/src/components/Icon/Icon.d.ts +0 -22
  60. package/build/esm/src/components/Inline/Inline.d.ts +0 -30
  61. package/build/esm/src/components/Link/Link.d.ts +0 -14
  62. package/build/esm/src/components/LoadingSpinner/LoadingSpinner.d.ts +0 -11
  63. package/build/esm/src/components/Logo/Logo.d.ts +0 -8
  64. package/build/esm/src/components/MediaItem/MediaItem.d.ts +0 -14
  65. package/build/esm/src/components/MediaViewerBar/MediaViewerBar.d.ts +0 -7
  66. package/build/esm/src/components/Notification/ExpandedContent.d.ts +0 -2
  67. package/build/esm/src/components/Notification/Notification.d.ts +0 -16
  68. package/build/esm/src/components/Pagination/Pagination.d.ts +0 -17
  69. package/build/esm/src/components/Patterns/ButtonGroup/ButtonGroup.d.ts +0 -14
  70. package/build/esm/src/components/Patterns/Modal/Modal.d.ts +0 -28
  71. package/build/esm/src/components/PictogramButton/PictogramButton.d.ts +0 -15
  72. package/build/esm/src/components/Portal/Portal.d.ts +0 -7
  73. package/build/esm/src/components/ProgressBar/ProgressBar.d.ts +0 -15
  74. package/build/esm/src/components/RoundButton/RoundButton.d.ts +0 -12
  75. package/build/esm/src/components/SearchResult/SearchResult.d.ts +0 -39
  76. package/build/esm/src/components/SegmentedProgressBar/SegmentedProgressBar.d.ts +0 -28
  77. package/build/esm/src/components/SegmentedProgressBar/SegmentedProgressBarUtil.d.ts +0 -10
  78. package/build/esm/src/components/ShadowWebComponent/ShadowWebComponent.d.ts +0 -13
  79. package/build/esm/src/components/Stack/Stack.d.ts +0 -20
  80. package/build/esm/src/components/SubThemeProvider/SubThemeProvider.d.ts +0 -8
  81. package/build/esm/src/components/Tabs/Tabs.d.ts +0 -28
  82. package/build/esm/src/components/Tag/Tag.d.ts +0 -19
  83. package/build/esm/src/components/TagGroup/TagGroup.d.ts +0 -17
  84. package/build/esm/src/components/Tooltip/Tooltip.d.ts +0 -23
  85. package/build/esm/src/components/Tooltip/utils.d.ts +0 -11
  86. package/build/esm/src/components/Typography/Header/Header.d.ts +0 -36
  87. package/build/esm/src/components/Typography/StyledText/StyledText.d.ts +0 -11
  88. package/build/esm/src/components/Typography/Text/Text.d.ts +0 -21
  89. package/build/esm/src/components/Typography/TextClamped/TextClamped.d.ts +0 -10
  90. package/build/esm/src/components/VirtualScrollList/VirtualScrollList.d.ts +0 -11
  91. package/build/esm/src/components/VirtualScrollList/VirtualScrollListReducer.d.ts +0 -36
  92. package/build/esm/src/index.d.ts +0 -54
  93. package/build/esm/src/shared/ScreenReaderText.d.ts +0 -5
  94. package/build/esm/src/shared/flattenChildren.d.ts +0 -11
  95. package/build/esm/src/shared/informDeprecation.d.ts +0 -1
  96. package/build/esm/src/shared/mediaQueries.d.ts +0 -14
  97. package/build/esm/src/shared/replaceDeprecated.d.ts +0 -1
  98. package/build/esm/src/shared/useAutoPosition.d.ts +0 -5
  99. package/build/esm/src/shared/useDocument.d.ts +0 -1
  100. package/build/esm/src/shared/useHover.d.ts +0 -2
  101. package/build/esm/src/shared/useKeyboard.d.ts +0 -17
  102. package/build/esm/src/shared/useOnEscapePress.d.ts +0 -2
  103. package/build/esm/src/shared/useOutsideClick.d.ts +0 -11
  104. package/build/esm/src/shared/useWindow.d.ts +0 -1
  105. package/build/esm/src/types/index.d.ts +0 -57
@@ -1,57 +0,0 @@
1
- /// <reference types="react" />
2
- import { Literal, Union, Static } from "runtypes";
3
- export declare const LinkTextSizeRuntype: Union<[Literal<"xs">, Literal<"s">, Literal<"m">, Literal<"l">]>;
4
- export declare type LinkTextSize = Static<typeof LinkTextSizeRuntype>;
5
- export declare const TextSizeRuntype: Union<[Literal<"xs">, Literal<"s">, Literal<"m">]>;
6
- export declare type TextSize = Static<typeof TextSizeRuntype>;
7
- export declare const BorderRadiusRuntype: Union<[Literal<"xs">, Literal<"s">, Literal<"m">]>;
8
- export declare type BorderRadius = Static<typeof BorderRadiusRuntype>;
9
- export declare const TextAlignmentRuntype: Union<[Literal<"left">, Literal<"right">, Literal<"center">]>;
10
- export declare type TextAlignment = Static<typeof TextAlignmentRuntype>;
11
- export declare const HorizontalAlignmentRuntype: Union<[Literal<"left">, Literal<"right">, Literal<"center">, Literal<"spaceBetween">]>;
12
- export declare type HorizontalAlignment = Static<typeof HorizontalAlignmentRuntype>;
13
- export declare const VerticalAlignmentRuntype: Union<[Literal<"top">, Literal<"bottom">, Literal<"center">, Literal<"stretch">]>;
14
- export declare type VerticalAlignment = Static<typeof VerticalAlignmentRuntype>;
15
- export declare const SpaceSizesRuntype: Union<[Literal<"zero">, Literal<"xxs">, Literal<"xs">, Literal<"s">, Literal<"m">, Literal<"l">, Literal<"xl">, Literal<"xxl">]>;
16
- export declare type SpaceSizes = Static<typeof SpaceSizesRuntype>;
17
- export declare const ColumsSizesRuntype: Union<[Literal<1>, Literal<2>, Literal<3>, Literal<4>, Literal<5>, Literal<6>, Literal<7>, Literal<8>, Literal<9>, Literal<10>, Literal<11>, Literal<12>, Literal<"auto">, Literal<"narrow">, Literal<"fill">]>;
18
- export declare type ColumnSizes = Static<typeof ColumsSizesRuntype>;
19
- export declare const ColumnAlignmentRunType: Union<[Literal<"auto">, Literal<"start">, Literal<"center">, Literal<"end">]>;
20
- export declare type ColumnAlignment = Static<typeof ColumnAlignmentRunType>;
21
- export declare const OrderRuntype: Union<[Literal<"first">, Literal<"last">, Literal<"unset">]>;
22
- export declare type Order = Static<typeof OrderRuntype>;
23
- export declare const BaseVariationsRuntype: Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>;
24
- export declare const BaseColorsRuntype: Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"accent">]>;
25
- export declare type BaseVariations = Static<typeof BaseVariationsRuntype>;
26
- export declare type BaseColors = Static<typeof BaseColorsRuntype>;
27
- declare const TextColorsRuntype: Union<[Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"accent">]>, Literal<"info">, Literal<"error">, Literal<"warning">]>;
28
- export declare type TextColors = Static<typeof TextColorsRuntype>;
29
- declare const TextVariationsRuntype: Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"info">, Literal<"error">, Literal<"warning">]>;
30
- export declare type TextVariations = Static<typeof TextVariationsRuntype>;
31
- declare const IconsColorsRuntime: Union<[Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"accent">]>, Literal<"info">, Literal<"error">, Literal<"warning">, Literal<"inherit">, Literal<"brand">, Literal<"quaternary">]>;
32
- export declare type IconsColors = Static<typeof IconsColorsRuntime>;
33
- declare const IconsVariationsRuntype: Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"info">, Literal<"error">, Literal<"warning">, Literal<"inherit">, Literal<"brand">]>;
34
- export declare type IconsVariations = Static<typeof IconsVariationsRuntype>;
35
- declare const CalloutVariationsRuntype: Union<[Literal<"info">, Literal<"success">, Literal<"error">, Literal<"warning">]>;
36
- export declare type CalloutVariations = Static<typeof CalloutVariationsRuntype>;
37
- declare const LinkVariationsRuntype: Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>]>;
38
- export declare type LinkVariations = Static<typeof LinkVariationsRuntype>;
39
- declare const LinkColorsRuntype: Union<[Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"accent">]>]>;
40
- export declare type LinkColors = Static<typeof LinkColorsRuntype>;
41
- export declare type MQ<T> = [T, T?, T?];
42
- declare const ButtonSizeRuntype: Union<[Literal<"s">, Literal<"m">, Literal<"l">]>;
43
- export declare type ButtonSize = Static<typeof ButtonSizeRuntype>;
44
- export declare const HyphensRuntype: Union<[Literal<"auto">, Literal<"none">, Literal<"manual">]>;
45
- export declare type Hyphens = Static<typeof HyphensRuntype>;
46
- export declare const ToggleSizeRuntype: Union<[Literal<"s">, Literal<"m">]>;
47
- export declare type ToggleSize = Static<typeof ToggleSizeRuntype>;
48
- export declare type AsProp<C extends React.ElementType> = {
49
- as?: C;
50
- };
51
- declare type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
52
- export declare type PolymorphicComponentProps<C extends React.ElementType, Props> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
53
- export declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
54
- export declare type PolymorphicComponentPropsWithRef<C extends React.ElementType, Props> = PolymorphicComponentProps<C, Props> & {
55
- ref?: PolymorphicRef<C>;
56
- };
57
- export {};