@norges-domstoler/dds-components 9.2.0-beta.0 → 9.2.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.
Files changed (216) hide show
  1. package/README.md +2 -1
  2. package/dist/assets/svg/bullets/jordskifterett_bullet1.svg.js +2 -2
  3. package/dist/cjs/components/Breadcrumbs/Breadcrumb.tokens.d.ts +2 -8
  4. package/dist/cjs/components/Button/Button.stories.d.ts +4 -4
  5. package/dist/cjs/components/Button/Button.styles.d.ts +1 -0
  6. package/dist/cjs/components/Button/Button.tokens.d.ts +294 -165
  7. package/dist/cjs/components/Card/Card.tokens.d.ts +17 -16
  8. package/dist/cjs/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -0
  9. package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +2 -2
  10. package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +1 -3
  11. package/dist/cjs/components/Chip/Chip.tokens.d.ts +8 -6
  12. package/dist/cjs/components/DescriptionList/DescriptionList.tokens.d.ts +6 -36
  13. package/dist/cjs/components/Divider/Divider.tokens.d.ts +11 -6
  14. package/dist/cjs/components/Drawer/Drawer.tokens.d.ts +3 -11
  15. package/dist/cjs/components/GlobalMessage/GlobalMessage.tokens.d.ts +24 -22
  16. package/dist/cjs/components/Grid/Grid.d.ts +8 -7
  17. package/dist/cjs/components/Grid/Grid.tokens.d.ts +5 -5
  18. package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +3 -2
  19. package/dist/cjs/components/InternalHeader/InternalHeader.tokens.d.ts +4 -9
  20. package/dist/cjs/components/List/List.d.ts +1 -1
  21. package/dist/cjs/components/List/List.tokens.d.ts +21 -9
  22. package/dist/cjs/components/LocalMessage/LocalMessage.tokens.d.ts +49 -53
  23. package/dist/cjs/components/Modal/Modal.tokens.d.ts +5 -6
  24. package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +4 -3
  25. package/dist/cjs/components/OverflowMenu/OverflowMenu.stories.d.ts +4 -3
  26. package/dist/cjs/components/OverflowMenu/OverflowMenu.tokens.d.ts +2 -8
  27. package/dist/cjs/components/OverflowMenu/OverflowMenu.types.d.ts +8 -6
  28. package/dist/cjs/components/Pagination/Pagination.tokens.d.ts +7 -8
  29. package/dist/cjs/components/Popover/Popover.tokens.d.ts +0 -1
  30. package/dist/cjs/components/ProgressTracker/ProgressTracker.tokens.d.ts +9 -6
  31. package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +4 -4
  32. package/dist/cjs/components/RadioButton/RadioButtonGroup.d.ts +2 -4
  33. package/dist/cjs/components/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
  34. package/dist/cjs/components/Search/Search.tokens.d.ts +5 -24
  35. package/dist/cjs/components/Select/Select.tokens.d.ts +14 -127
  36. package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +2 -2
  37. package/dist/cjs/components/SkipToContent/SkipToContent.stories.d.ts +1 -1
  38. package/dist/cjs/components/SkipToContent/SkipToContent.tokens.d.ts +5 -10
  39. package/dist/cjs/components/SplitButton/SplitButton.d.ts +11 -0
  40. package/dist/cjs/components/SplitButton/SplitButton.stories.d.ts +9 -0
  41. package/dist/cjs/components/SplitButton/index.d.ts +1 -0
  42. package/dist/cjs/components/Table/Table.tokens.d.ts +0 -19
  43. package/dist/cjs/components/Tabs/Tabs.tokens.d.ts +21 -22
  44. package/dist/cjs/components/Tag/Tag.d.ts +1 -1
  45. package/dist/cjs/components/Tag/Tag.tokens.d.ts +19 -14
  46. package/dist/cjs/components/TextInput/TextInput.tokens.d.ts +0 -3
  47. package/dist/cjs/components/ToggleBar/ToggleBar.tokens.d.ts +5 -32
  48. package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  49. package/dist/cjs/components/ToggleButton/ToggleButton.tokens.d.ts +23 -13
  50. package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +2 -2
  51. package/dist/cjs/components/Tooltip/Tooltip.styles.d.ts +4 -1
  52. package/dist/cjs/components/Tooltip/Tooltip.tokens.d.ts +1 -2
  53. package/dist/cjs/components/Typography/Typography.utils.d.ts +195 -1
  54. package/dist/cjs/helpers/Input/Input.tokens.d.ts +2 -68
  55. package/dist/cjs/helpers/Input/Input.types.d.ts +4 -0
  56. package/dist/cjs/helpers/SelectionControl/SelectionControl.styles.d.ts +5 -0
  57. package/dist/cjs/helpers/SelectionControl/SelectionControl.tokens.d.ts +11 -0
  58. package/dist/cjs/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -0
  59. package/dist/cjs/helpers/TextOverflowEllipsis/index.d.ts +1 -0
  60. package/dist/cjs/index.d.ts +1 -0
  61. package/dist/cjs/index.js +1475 -1823
  62. package/dist/cjs/utils/color.d.ts +1 -1
  63. package/dist/components/Breadcrumbs/Breadcrumb.tokens.d.ts +2 -8
  64. package/dist/components/Breadcrumbs/Breadcrumb.tokens.js +3 -4
  65. package/dist/components/Breadcrumbs/Breadcrumbs.js +3 -2
  66. package/dist/components/Button/Button.js +7 -4
  67. package/dist/components/Button/Button.stories.d.ts +4 -4
  68. package/dist/components/Button/Button.styles.d.ts +1 -0
  69. package/dist/components/Button/Button.styles.js +49 -24
  70. package/dist/components/Button/Button.tokens.d.ts +294 -165
  71. package/dist/components/Button/Button.tokens.js +232 -349
  72. package/dist/components/Card/Card.js +6 -5
  73. package/dist/components/Card/Card.tokens.d.ts +17 -16
  74. package/dist/components/Card/Card.tokens.js +26 -54
  75. package/dist/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -0
  76. package/dist/components/Card/CardAccordion/CardAccordion.tokens.js +37 -0
  77. package/dist/components/Card/CardAccordion/CardAccordionBody.js +4 -3
  78. package/dist/components/Card/CardAccordion/CardAccordionHeader.js +9 -6
  79. package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -2
  80. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -3
  81. package/dist/components/Checkbox/CheckboxGroup.js +3 -16
  82. package/dist/components/Chip/Chip.js +9 -9
  83. package/dist/components/Chip/Chip.tokens.d.ts +8 -6
  84. package/dist/components/Chip/Chip.tokens.js +8 -25
  85. package/dist/components/Chip/ChipGroup.js +1 -1
  86. package/dist/components/DescriptionList/DescriptionList.js +3 -2
  87. package/dist/components/DescriptionList/DescriptionList.tokens.d.ts +6 -36
  88. package/dist/components/DescriptionList/DescriptionList.tokens.js +7 -18
  89. package/dist/components/DescriptionList/DescriptionListDesc.js +3 -2
  90. package/dist/components/Divider/Divider.js +6 -6
  91. package/dist/components/Divider/Divider.tokens.d.ts +11 -6
  92. package/dist/components/Divider/Divider.tokens.js +16 -16
  93. package/dist/components/Drawer/Drawer.js +11 -4
  94. package/dist/components/Drawer/Drawer.tokens.d.ts +3 -11
  95. package/dist/components/Drawer/Drawer.tokens.js +10 -26
  96. package/dist/components/GlobalMessage/GlobalMessage.js +13 -10
  97. package/dist/components/GlobalMessage/GlobalMessage.tokens.d.ts +24 -22
  98. package/dist/components/GlobalMessage/GlobalMessage.tokens.js +45 -64
  99. package/dist/components/Grid/Grid.d.ts +8 -7
  100. package/dist/components/Grid/Grid.js +7 -5
  101. package/dist/components/Grid/Grid.tokens.d.ts +5 -5
  102. package/dist/components/Grid/Grid.tokens.js +5 -5
  103. package/dist/components/InternalHeader/InternalHeader.styles.d.ts +3 -2
  104. package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +4 -9
  105. package/dist/components/InternalHeader/InternalHeader.tokens.js +6 -6
  106. package/dist/components/InternalHeader/NavigationItem.js +3 -2
  107. package/dist/components/List/List.d.ts +1 -1
  108. package/dist/components/List/List.js +8 -7
  109. package/dist/components/List/List.tokens.d.ts +21 -9
  110. package/dist/components/List/List.tokens.js +26 -20
  111. package/dist/components/List/ListItem.js +2 -2
  112. package/dist/components/LocalMessage/LocalMessage.js +19 -15
  113. package/dist/components/LocalMessage/LocalMessage.tokens.d.ts +49 -53
  114. package/dist/components/LocalMessage/LocalMessage.tokens.js +94 -127
  115. package/dist/components/Modal/Modal.js +9 -5
  116. package/dist/components/Modal/Modal.tokens.d.ts +5 -6
  117. package/dist/components/Modal/Modal.tokens.js +11 -31
  118. package/dist/components/Modal/ModalActions.js +1 -1
  119. package/dist/components/OverflowMenu/OverflowMenu.d.ts +4 -3
  120. package/dist/components/OverflowMenu/OverflowMenu.js +12 -3
  121. package/dist/components/OverflowMenu/OverflowMenu.stories.d.ts +4 -3
  122. package/dist/components/OverflowMenu/OverflowMenu.tokens.d.ts +2 -8
  123. package/dist/components/OverflowMenu/OverflowMenu.tokens.js +5 -5
  124. package/dist/components/OverflowMenu/OverflowMenu.types.d.ts +8 -6
  125. package/dist/components/OverflowMenu/OverflowMenuGroup.js +1 -0
  126. package/dist/components/OverflowMenu/OverflowMenuItem.js +3 -2
  127. package/dist/components/Pagination/Pagination.js +13 -8
  128. package/dist/components/Pagination/Pagination.tokens.d.ts +7 -8
  129. package/dist/components/Pagination/Pagination.tokens.js +17 -16
  130. package/dist/components/Popover/Popover.tokens.d.ts +0 -1
  131. package/dist/components/Popover/Popover.tokens.js +0 -1
  132. package/dist/components/ProgressTracker/ProgressTracker.tokens.d.ts +9 -6
  133. package/dist/components/ProgressTracker/ProgressTracker.tokens.js +11 -9
  134. package/dist/components/ProgressTracker/ProgressTrackerItem.js +7 -6
  135. package/dist/components/RadioButton/RadioButton.stories.d.ts +4 -4
  136. package/dist/components/RadioButton/RadioButtonGroup.d.ts +2 -4
  137. package/dist/components/RadioButton/RadioButtonGroup.js +3 -15
  138. package/dist/components/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
  139. package/dist/components/Search/Search.js +3 -2
  140. package/dist/components/Search/Search.tokens.d.ts +5 -24
  141. package/dist/components/Search/Search.tokens.js +6 -5
  142. package/dist/components/Select/Select.js +5 -4
  143. package/dist/components/Select/Select.styles.js +13 -14
  144. package/dist/components/Select/Select.tokens.d.ts +14 -127
  145. package/dist/components/Select/Select.tokens.js +28 -36
  146. package/dist/components/SkipToContent/SkipToContent.d.ts +2 -2
  147. package/dist/components/SkipToContent/SkipToContent.js +7 -4
  148. package/dist/components/SkipToContent/SkipToContent.stories.d.ts +1 -1
  149. package/dist/components/SkipToContent/SkipToContent.tokens.d.ts +5 -10
  150. package/dist/components/SkipToContent/SkipToContent.tokens.js +14 -37
  151. package/dist/components/Spinner/Spinner.js +1 -2
  152. package/dist/components/SplitButton/SplitButton.d.ts +11 -0
  153. package/dist/components/SplitButton/SplitButton.js +62 -0
  154. package/dist/components/SplitButton/SplitButton.stories.d.ts +9 -0
  155. package/dist/components/SplitButton/index.d.ts +1 -0
  156. package/dist/components/Table/Row.js +2 -1
  157. package/dist/components/Table/Table.tokens.d.ts +0 -19
  158. package/dist/components/Table/Table.tokens.js +1 -8
  159. package/dist/components/Tabs/Tab.js +8 -5
  160. package/dist/components/Tabs/TabPanel.js +4 -3
  161. package/dist/components/Tabs/Tabs.tokens.d.ts +21 -22
  162. package/dist/components/Tabs/Tabs.tokens.js +31 -79
  163. package/dist/components/Tag/Tag.d.ts +1 -1
  164. package/dist/components/Tag/Tag.js +8 -21
  165. package/dist/components/Tag/Tag.tokens.d.ts +19 -14
  166. package/dist/components/Tag/Tag.tokens.js +14 -41
  167. package/dist/components/TextArea/TextArea.js +3 -2
  168. package/dist/components/TextInput/TextInput.tokens.d.ts +0 -3
  169. package/dist/components/TextInput/TextInput.tokens.js +0 -3
  170. package/dist/components/ToggleBar/ToggleBar.tokens.d.ts +5 -32
  171. package/dist/components/ToggleBar/ToggleBar.tokens.js +7 -5
  172. package/dist/components/ToggleBar/ToggleRadio.styles.js +3 -2
  173. package/dist/components/ToggleButton/ToggleButton.js +14 -8
  174. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  175. package/dist/components/ToggleButton/ToggleButton.tokens.d.ts +23 -13
  176. package/dist/components/ToggleButton/ToggleButton.tokens.js +26 -49
  177. package/dist/components/ToggleButton/ToggleButtonGroup.js +2 -2
  178. package/dist/components/Tooltip/Tooltip.js +6 -2
  179. package/dist/components/Tooltip/Tooltip.stories.d.ts +2 -2
  180. package/dist/components/Tooltip/Tooltip.styles.d.ts +4 -1
  181. package/dist/components/Tooltip/Tooltip.styles.js +15 -4
  182. package/dist/components/Tooltip/Tooltip.tokens.d.ts +1 -2
  183. package/dist/components/Tooltip/Tooltip.tokens.js +14 -24
  184. package/dist/components/Typography/Typography.utils.d.ts +195 -1
  185. package/dist/components/Typography/Typography.utils.js +7 -1
  186. package/dist/helpers/Input/Input.styles.js +3 -2
  187. package/dist/helpers/Input/Input.tokens.d.ts +2 -68
  188. package/dist/helpers/Input/Input.tokens.js +10 -46
  189. package/dist/helpers/Input/Input.types.d.ts +4 -0
  190. package/dist/helpers/SelectionControl/SelectionControl.styles.d.ts +5 -0
  191. package/dist/helpers/SelectionControl/SelectionControl.styles.js +15 -2
  192. package/dist/helpers/SelectionControl/SelectionControl.tokens.d.ts +11 -0
  193. package/dist/helpers/SelectionControl/SelectionControl.tokens.js +14 -1
  194. package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -0
  195. package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.js +12 -0
  196. package/dist/helpers/TextOverflowEllipsis/index.d.ts +1 -0
  197. package/dist/index.d.ts +1 -0
  198. package/dist/index.js +1 -0
  199. package/dist/utils/color.d.ts +1 -1
  200. package/package.json +1 -1
  201. package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.tokens.d.ts +0 -4
  202. package/dist/cjs/components/Card/CardAccordion/CardAccordionHeader.tokens.d.ts +0 -17
  203. package/dist/cjs/components/List/ListItem.tokens.d.ts +0 -5
  204. package/dist/cjs/components/RadioButton/RadioButtonGroup.tokens.d.ts +0 -19
  205. package/dist/cjs/components/Spinner/Spinner.tokens.d.ts +0 -6
  206. package/dist/components/Card/CardAccordion/CardAccordionBody.tokens.d.ts +0 -4
  207. package/dist/components/Card/CardAccordion/CardAccordionBody.tokens.js +0 -12
  208. package/dist/components/Card/CardAccordion/CardAccordionHeader.tokens.d.ts +0 -17
  209. package/dist/components/Card/CardAccordion/CardAccordionHeader.tokens.js +0 -38
  210. package/dist/components/Checkbox/CheckboxGroup.tokens.js +0 -20
  211. package/dist/components/List/ListItem.tokens.d.ts +0 -5
  212. package/dist/components/List/ListItem.tokens.js +0 -12
  213. package/dist/components/RadioButton/RadioButtonGroup.tokens.d.ts +0 -19
  214. package/dist/components/RadioButton/RadioButtonGroup.tokens.js +0 -32
  215. package/dist/components/Spinner/Spinner.tokens.d.ts +0 -6
  216. package/dist/components/Spinner/Spinner.tokens.js +0 -13
@@ -1,22 +1,32 @@
1
- import { CSSObject } from 'styled-components';
1
+ export declare const typographyType: import("../Typography").StaticTypographyType;
2
2
  export declare const toggleButtonTokens: {
3
- base: CSSObject;
4
- hover: {
5
- base: CSSObject;
6
- };
7
- focus: {
8
- base: CSSObject;
9
- };
10
- checked: {
11
- base: CSSObject;
3
+ toggleButton: {
4
+ border: string;
5
+ backgroundColor: string;
6
+ color: string;
7
+ gap: string;
8
+ borderRadius: string;
9
+ padding: string;
12
10
  hover: {
13
- base: CSSObject;
11
+ backgroundColor: string;
12
+ boxShadow: string;
13
+ borderColor: string;
14
+ };
15
+ checked: {
16
+ color: string;
17
+ hover: {
18
+ backgroundColor: string;
19
+ boxShadow: string;
20
+ borderColor: string;
21
+ };
22
+ borderColor: string;
23
+ backgroundColor: string;
14
24
  };
15
25
  };
16
26
  group: {
17
- base: CSSObject;
27
+ gap: string;
18
28
  };
19
29
  container: {
20
- base: CSSObject;
30
+ gap: string;
21
31
  };
22
32
  };
@@ -1,7 +1,7 @@
1
1
  import { TooltipProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver">, "id" | "className"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "style" | "children" | "onMouseLeave" | "onMouseOver">, "id" | "className"> & {
5
5
  text: string;
6
6
  placement?: import("../..").Placement | undefined;
7
7
  children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & import("react").RefAttributes<HTMLElement>;
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
13
13
  onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
14
14
  } & {
15
- htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver"> | undefined;
15
+ htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "style" | "children" | "onMouseLeave" | "onMouseOver"> | undefined;
16
16
  } & import("react").RefAttributes<HTMLDivElement>>;
17
17
  argTypes: {
18
18
  text: {
@@ -4,5 +4,8 @@ export declare const Container: import("styled-components").StyledComponent<"div
4
4
  declare type WrapperProps = {
5
5
  open: boolean;
6
6
  };
7
- export declare const TooltipWrapper: import("styled-components").StyledComponent<"div", any, WrapperProps, never>;
7
+ export declare const TooltipWrapper: import("styled-components").StyledComponent<"div", any, {
8
+ elevation?: (1 | 2 | 3 | 4) | undefined;
9
+ border?: ("light" | "dark") | undefined;
10
+ } & WrapperProps, never>;
8
11
  export {};
@@ -1,7 +1,6 @@
1
- import { CSSObject } from 'styled-components';
2
1
  export declare const tooltipTokens: {
3
2
  wrapper: {
4
- base: CSSObject;
3
+ padding: string;
5
4
  };
6
5
  svgArrow: {
7
6
  border: {
@@ -1,5 +1,199 @@
1
1
  import { ElementType } from 'react';
2
- import { TypographyType, TypographyHeadingType, InlineElement, TypographyInteractionStyling, StaticTypographyType } from './Typography/Typography.types';
2
+ import { TypographyType, TypographyHeadingType, InlineElement, TypographyInteractionStyling, StaticTypographyType, TypographyBodyType } from './Typography/Typography.types';
3
+ export declare const defaultTypographyType: TypographyBodyType;
4
+ export declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean) => {
5
+ lineHeight: any;
6
+ fontSize: string;
7
+ letterSpacing: any;
8
+ fontFamily: any;
9
+ fontWeight: any;
10
+ fontStyle: any;
11
+ color: string | undefined;
12
+ } | {
13
+ lineHeight: any;
14
+ fontSize: string;
15
+ letterSpacing: any;
16
+ fontFamily: any;
17
+ fontWeight: any;
18
+ fontStyle: any;
19
+ color: string | undefined;
20
+ } | {
21
+ lineHeight: any;
22
+ fontSize: string;
23
+ letterSpacing: any;
24
+ fontFamily: any;
25
+ fontWeight: any;
26
+ fontStyle: any;
27
+ color: string | undefined;
28
+ } | {
29
+ lineHeight: any;
30
+ fontSize: string;
31
+ letterSpacing: any;
32
+ fontFamily: any;
33
+ fontWeight: any;
34
+ fontStyle: any;
35
+ color: string | undefined;
36
+ } | {
37
+ lineHeight: any;
38
+ fontSize: string;
39
+ letterSpacing: any;
40
+ fontFamily: any;
41
+ fontWeight: any;
42
+ fontStyle: any;
43
+ color: string | undefined;
44
+ } | {
45
+ lineHeight: any;
46
+ fontSize: string;
47
+ letterSpacing: any;
48
+ fontFamily: any;
49
+ fontWeight: any;
50
+ fontStyle: any;
51
+ color: string | undefined;
52
+ } | {
53
+ lineHeight: any;
54
+ fontSize: string;
55
+ letterSpacing: any;
56
+ fontFamily: any;
57
+ fontWeight: any;
58
+ fontStyle: any;
59
+ color: string | undefined;
60
+ } | {
61
+ lineHeight: any;
62
+ fontSize: string;
63
+ letterSpacing: any;
64
+ fontFamily: any;
65
+ fontWeight: any;
66
+ fontStyle: any;
67
+ color: string | undefined;
68
+ } | {
69
+ lineHeight: any;
70
+ fontSize: string;
71
+ letterSpacing: any;
72
+ fontFamily: any;
73
+ fontWeight: any;
74
+ fontStyle: any;
75
+ color: string | undefined;
76
+ } | {
77
+ lineHeight: any;
78
+ fontSize: string;
79
+ letterSpacing: any;
80
+ fontFamily: any;
81
+ fontWeight: any;
82
+ fontStyle: any;
83
+ color: string | undefined;
84
+ } | {
85
+ lineHeight: any;
86
+ fontSize: string;
87
+ letterSpacing: any;
88
+ fontFamily: any;
89
+ fontWeight: any;
90
+ fontStyle: any;
91
+ color: string | undefined;
92
+ } | {
93
+ lineHeight: any;
94
+ fontSize: string;
95
+ letterSpacing: any;
96
+ fontFamily: any;
97
+ fontWeight: any;
98
+ fontStyle: any;
99
+ color: string | undefined;
100
+ } | {
101
+ lineHeight: any;
102
+ fontSize: string;
103
+ letterSpacing: any;
104
+ fontFamily: any;
105
+ fontWeight: any;
106
+ fontStyle: any;
107
+ color: string | undefined;
108
+ } | {
109
+ lineHeight: any;
110
+ fontSize: string;
111
+ letterSpacing: any;
112
+ fontFamily: any;
113
+ fontWeight: any;
114
+ fontStyle: any;
115
+ color: string | undefined;
116
+ } | {
117
+ lineHeight: any;
118
+ fontSize: string;
119
+ letterSpacing: any;
120
+ fontFamily: any;
121
+ fontWeight: any;
122
+ fontStyle: any;
123
+ color: string | undefined;
124
+ } | {
125
+ lineHeight: any;
126
+ fontSize: string;
127
+ letterSpacing: any;
128
+ fontFamily: any;
129
+ fontWeight: any;
130
+ fontStyle: any;
131
+ color: string | undefined;
132
+ } | {
133
+ lineHeight: any;
134
+ fontSize: string;
135
+ letterSpacing: any;
136
+ fontFamily: any;
137
+ fontWeight: any;
138
+ fontStyle: any;
139
+ color: string | undefined;
140
+ } | {
141
+ lineHeight: any;
142
+ fontSize: string;
143
+ letterSpacing: any;
144
+ fontFamily: any;
145
+ fontWeight: any;
146
+ fontStyle: any;
147
+ color: string | undefined;
148
+ } | {
149
+ lineHeight: any;
150
+ fontSize: string;
151
+ letterSpacing: any;
152
+ fontFamily: any;
153
+ fontWeight: any;
154
+ fontStyle: any;
155
+ color: string | undefined;
156
+ } | {
157
+ lineHeight: any;
158
+ fontSize: string;
159
+ letterSpacing: any;
160
+ fontFamily: any;
161
+ fontWeight: any;
162
+ fontStyle: any;
163
+ color: string | undefined;
164
+ } | {
165
+ lineHeight: any;
166
+ fontSize: string;
167
+ letterSpacing: any;
168
+ fontFamily: any;
169
+ fontWeight: any;
170
+ fontStyle: any;
171
+ color: string | undefined;
172
+ } | {
173
+ lineHeight: any;
174
+ fontSize: string;
175
+ letterSpacing: any;
176
+ fontFamily: any;
177
+ fontWeight: any;
178
+ fontStyle: any;
179
+ color: string | undefined;
180
+ } | {
181
+ lineHeight: any;
182
+ fontSize: string;
183
+ letterSpacing: any;
184
+ fontFamily: any;
185
+ fontWeight: any;
186
+ fontStyle: any;
187
+ color: string | undefined;
188
+ } | {
189
+ lineHeight: any;
190
+ fontSize: string;
191
+ letterSpacing: any;
192
+ fontFamily: any;
193
+ fontWeight: any;
194
+ fontStyle: any;
195
+ color: string | undefined;
196
+ };
3
197
  export declare const getElementType: (element: string) => ElementType;
4
198
  export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
5
199
  export declare const inlineElements: ElementType[];
@@ -1,4 +1,5 @@
1
- import { CSSObject } from 'styled-components';
1
+ import { InputTypographyTypes } from './Input.types';
2
+ export declare const inputTypographyTypes: InputTypographyTypes;
2
3
  export declare const inputTokens: {
3
4
  input: {
4
5
  base: {
@@ -19,83 +20,16 @@ export declare const inputTokens: {
19
20
  sizes: {
20
21
  medium: {
21
22
  padding: string;
22
- font: {
23
- lineHeight: any;
24
- fontSize: string;
25
- letterSpacing: any;
26
- fontFamily: any;
27
- fontWeight: any;
28
- fontStyle: any;
29
- };
30
23
  };
31
24
  small: {
32
25
  padding: string;
33
- font: {
34
- lineHeight: any;
35
- fontSize: string;
36
- letterSpacing: any;
37
- fontFamily: any;
38
- fontWeight: any;
39
- fontStyle: any;
40
- };
41
26
  };
42
27
  tiny: {
43
28
  padding: string;
44
- font: {
45
- lineHeight: any;
46
- fontSize: string;
47
- letterSpacing: any;
48
- fontFamily: any;
49
- fontWeight: any;
50
- fontStyle: any;
51
- };
52
29
  };
53
30
  };
54
31
  };
55
32
  container: {
56
33
  gap: string;
57
34
  };
58
- general: {
59
- input: {
60
- borderRadius: string;
61
- borderWidth: string;
62
- borderColor: string;
63
- textColor: string;
64
- hover: {
65
- backgroundColor: string;
66
- borderColor: string;
67
- borderWidth: string;
68
- };
69
- focus: {
70
- borderColor: string;
71
- borderWidth: string;
72
- };
73
- };
74
- label: {
75
- hover: {
76
- textColor: string;
77
- };
78
- focus: {
79
- textColor: string;
80
- };
81
- };
82
- };
83
- hasLabel: {
84
- base: CSSObject;
85
- };
86
- noLabel: {
87
- base: CSSObject;
88
- };
89
- label: {
90
- base: CSSObject;
91
- hover: {
92
- base: CSSObject;
93
- };
94
- focus: {
95
- base: CSSObject;
96
- };
97
- disabled: {
98
- base: CSSObject;
99
- };
100
- };
101
35
  };
@@ -1,5 +1,6 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
2
  import { Property } from 'csstype';
3
+ import { StaticTypographyType } from '../../components/Typography';
3
4
  export declare type CommonInputProps = {
4
5
  /**Ledetekst for input. */
5
6
  label?: string;
@@ -19,3 +20,6 @@ export declare type StyledCommonInputProps = Pick<InputProps, 'readOnly' | 'disa
19
20
  hasErrorMessage: boolean;
20
21
  };
21
22
  export declare type StyledInputProps = StyledCommonInputProps & Pick<InputProps, 'componentSize'>;
23
+ export declare type InputTypographyTypes = {
24
+ [k in InputSize]: StaticTypographyType;
25
+ };
@@ -1,3 +1,4 @@
1
+ import { Direction } from '../../types';
1
2
  declare type SelectionControlType = 'radio' | 'checkbox';
2
3
  declare type CustomSelectionControlProps = {
3
4
  controlType?: SelectionControlType;
@@ -12,4 +13,8 @@ declare type ContainerProps = {
12
13
  controlType: SelectionControlType;
13
14
  };
14
15
  export declare const Container: import("styled-components").StyledComponent<"label", any, ContainerProps, never>;
16
+ export declare const OuterGroupContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
17
+ export declare const GroupContainer: import("styled-components").StyledComponent<"div", any, {
18
+ direction: Direction;
19
+ }, never>;
15
20
  export {};
@@ -80,4 +80,15 @@ export declare const selectionControlTokens: {
80
80
  padding: string;
81
81
  };
82
82
  };
83
+ groupContainer: {
84
+ row: {
85
+ gap: string;
86
+ };
87
+ column: {
88
+ gap: string;
89
+ };
90
+ };
91
+ outerGroupContainer: {
92
+ gap: string;
93
+ };
83
94
  };
@@ -0,0 +1,2 @@
1
+ export declare const TextOverflowEllipsisWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export declare const TextOverflowEllipsisInner: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -0,0 +1 @@
1
+ export * from './TextOverflowEllipsis';
@@ -40,3 +40,4 @@ export * from './components/Grid';
40
40
  export * from './components/ProgressTracker';
41
41
  export * from './hooks';
42
42
  export * from './components/TextArea';
43
+ export * from './components/SplitButton';