@norges-domstoler/dds-components 0.0.2 → 0.0.6

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 (89) hide show
  1. package/README.md +61 -15
  2. package/dist/components/Breadcrumbs/Breadcrumb.d.ts +4 -0
  3. package/dist/components/Breadcrumbs/Breadcrumb.tokens.d.ts +7 -0
  4. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +7 -0
  5. package/dist/components/Breadcrumbs/index.d.ts +2 -0
  6. package/dist/components/Button/Button.d.ts +35 -0
  7. package/dist/components/Button/Button.tokens.d.ts +192 -0
  8. package/dist/components/Button/index.d.ts +1 -0
  9. package/dist/components/Checkbox/Checkbox.d.ts +6 -2
  10. package/dist/components/Checkbox/Checkbox.tokens.d.ts +66 -0
  11. package/dist/components/Checkbox/CheckboxGroup.d.ts +14 -0
  12. package/dist/components/Checkbox/CheckboxGroup.tokens.d.ts +5 -0
  13. package/dist/components/Checkbox/index.d.ts +1 -0
  14. package/dist/components/CheckboxTest/CheckboxTest.d.ts +15 -0
  15. package/dist/components/{Checkbox/checkboxTokens.d.ts → CheckboxTest/checkboxTestTokens.d.ts} +0 -0
  16. package/dist/components/CheckboxTest/index.d.ts +1 -0
  17. package/dist/components/DescriptionList/DescriptionList.d.ts +8 -0
  18. package/dist/components/DescriptionList/DescriptionListDesc.d.ts +9 -0
  19. package/dist/components/DescriptionList/DescriptionListDesc.tokens.d.ts +7 -0
  20. package/dist/components/DescriptionList/DescriptionListGroup.d.ts +8 -0
  21. package/dist/components/DescriptionList/DescriptionListGroup.tokens.d.ts +4 -0
  22. package/dist/components/DescriptionList/DescriptionListTerm.d.ts +3 -0
  23. package/dist/components/DescriptionList/DescriptionListTerm.tokens.d.ts +13 -0
  24. package/dist/components/DescriptionList/index.d.ts +4 -0
  25. package/dist/components/Divider/Divider.d.ts +8 -0
  26. package/dist/components/Divider/Divider.tokens.d.ts +8 -0
  27. package/dist/components/Divider/index.d.ts +1 -0
  28. package/dist/components/GlobalMessage/GlobalMessage.d.ts +12 -0
  29. package/dist/components/GlobalMessage/GlobalMessage.tokens.d.ts +47 -0
  30. package/dist/components/GlobalMessage/index.d.ts +1 -0
  31. package/dist/components/List/List.d.ts +12 -0
  32. package/dist/components/List/List.tokens.d.ts +16 -0
  33. package/dist/components/List/ListItem.d.ts +3 -0
  34. package/dist/components/List/ListItem.tokens.d.ts +5 -0
  35. package/dist/components/List/index.d.ts +2 -0
  36. package/dist/components/LocalMessage/LocalMessage.d.ts +18 -0
  37. package/dist/components/LocalMessage/LocalMessage.tokens.d.ts +87 -0
  38. package/dist/components/LocalMessage/index.d.ts +1 -0
  39. package/dist/components/Pagination/Pagination.d.ts +29 -0
  40. package/dist/components/Pagination/Pagination.tokens.d.ts +15 -0
  41. package/dist/components/Pagination/index.d.ts +1 -0
  42. package/dist/components/Pagination/paginationGenerator.d.ts +1 -0
  43. package/dist/components/RadioButton/RadioButton.d.ts +15 -0
  44. package/dist/components/RadioButton/RadioButton.tokens.d.ts +44 -0
  45. package/dist/components/RadioButton/RadioButtonGroup.d.ts +20 -0
  46. package/dist/components/RadioButton/RadioButtonGroup.tokens.d.ts +5 -0
  47. package/dist/components/RadioButton/RadioButtonGroupContext.d.ts +12 -0
  48. package/dist/components/RadioButton/index.d.ts +2 -0
  49. package/dist/components/Search/Search.d.ts +21 -0
  50. package/dist/components/Search/Search.tokens.d.ts +23 -0
  51. package/dist/components/Search/index.d.ts +1 -0
  52. package/dist/components/Select/Select.d.ts +15 -0
  53. package/dist/components/Select/Select.tokens.d.ts +86 -0
  54. package/dist/components/Select/index.d.ts +1 -0
  55. package/dist/components/Spinner/Spinner.d.ts +7 -0
  56. package/dist/components/Spinner/Spinner.tokens.d.ts +6 -0
  57. package/dist/components/Spinner/index.d.ts +1 -0
  58. package/dist/components/Table/Body.d.ts +3 -0
  59. package/dist/components/Table/Cell.d.ts +8 -0
  60. package/dist/components/Table/Cell.tokens.d.ts +28 -0
  61. package/dist/components/Table/Foot.d.ts +3 -0
  62. package/dist/components/Table/Head.d.ts +3 -0
  63. package/dist/components/Table/Row.d.ts +15 -0
  64. package/dist/components/Table/Row.tokens.d.ts +29 -0
  65. package/dist/components/Table/SortCell.d.ts +10 -0
  66. package/dist/components/Table/Table.d.ts +10 -0
  67. package/dist/components/Table/index.d.ts +7 -0
  68. package/dist/components/Table/tableData.d.ts +17 -0
  69. package/dist/components/TextInput/CharCounter.d.ts +6 -0
  70. package/dist/components/TextInput/CharCounter.tokens.d.ts +4 -0
  71. package/dist/components/TextInput/TextInput.d.ts +20 -0
  72. package/dist/components/TextInput/TextInput.tokens.d.ts +100 -0
  73. package/dist/components/TextInput/index.d.ts +1 -0
  74. package/dist/components/Typography/Typography.d.ts +23 -0
  75. package/dist/components/Typography/Typography.tokens.d.ts +224 -0
  76. package/dist/components/Typography/Typography.types.d.ts +7 -0
  77. package/dist/components/Typography/index.d.ts +2 -0
  78. package/dist/helpers/IconWrapper/IconWrapper.d.ts +13 -0
  79. package/dist/helpers/IconWrapper/index.d.ts +1 -0
  80. package/dist/helpers/InputMessage/InputMessage.d.ts +9 -0
  81. package/dist/helpers/InputMessage/InputMessage.tokens.d.ts +15 -0
  82. package/dist/helpers/RequiredMarker.d.ts +2 -0
  83. package/dist/helpers/functions.d.ts +2 -0
  84. package/dist/helpers/inputFieldStylingBase.d.ts +1 -0
  85. package/dist/helpers/scrollbarStyling.d.ts +2 -0
  86. package/dist/index.d.ts +17 -0
  87. package/dist/index.es.js +28429 -236
  88. package/dist/index.js +28488 -242
  89. package/package.json +102 -89
package/README.md CHANGED
@@ -1,15 +1,61 @@
1
- # Components
2
-
3
- UI komponenter til bruk i Domstolenes løsninger.
4
-
5
- ## Installasjon
6
-
7
- innholdet kommer snart
8
-
9
- ## Bruk
10
-
11
- innholdet kommer snart
12
-
13
- ## Komponenter
14
-
15
- innholdet kommer snart
1
+ # @norges-domstoler/dds-components
2
+
3
+ [![Version](https://img.shields.io/npm/v/@norges-domstoler/dds-components)](https://www.npmjs.com/package/@norges-domstoler/dds-components)
4
+
5
+ _biblioteket er under arbeid_
6
+
7
+ React UI komponenter til bruk i Domstolenes tjenester.
8
+
9
+ Sjekk ut [Domstolenes designsystem Elsa](https://design.domstol.no/) og [Storybook](https://domstolene.github.io/designsystem) for mer dokumentasjon og demoer.
10
+
11
+ ## Installasjon
12
+
13
+ ```sh
14
+ npm install @norges-domstoler/dds-components
15
+ ```
16
+
17
+ ## Bruk
18
+
19
+ ```js
20
+ import * as React from 'react';
21
+ import { render } from 'react-dom';
22
+ import { Button, TextInput } from '@norges-domstoler/dds-components';
23
+
24
+ const App = () => (
25
+ <>
26
+ <TextInput label="Input" />
27
+ <Button label="Primary" />
28
+ <Button purpose="secondary" appearance="ghost" label="Secondary" />
29
+ </>
30
+ );
31
+
32
+ render(<App />, document.getElementById('root'));
33
+ ```
34
+
35
+ ## Komponenter
36
+
37
+ Sjekk [komponentstatus](https://design.domstol.no/987b33f71/p/438035-komponenter/b/160db9) for oppdatert status.
38
+
39
+ Tilgjengelige komponenter:
40
+
41
+ - Breadcrumbs
42
+ - Button
43
+ - Checkbox
44
+ - DescriptionList
45
+ - Divider
46
+ - GlobalMessage
47
+ - IconWrapper
48
+ - List
49
+ - LocalMessage
50
+ - Pagination
51
+ - RadioButton
52
+ - Search
53
+ - Select
54
+ - Spinner
55
+ - Table
56
+ - TextInput
57
+ - Typography
58
+
59
+ ## For bidragsytere
60
+
61
+ Sjekk ut [guiden for bidragsytere](https://design.domstol.no/987b33f71/p/34c962-bidra/b/3611d5).
@@ -0,0 +1,4 @@
1
+ import { AnchorHTMLAttributes } from 'react';
2
+ import { TypographyProps } from '../Typography';
3
+ export declare type BreadcrumbProps = {} & (TypographyProps & AnchorHTMLAttributes<HTMLAnchorElement>);
4
+ export declare const Breadcrumb: import("react").ForwardRefExoticComponent<BreadcrumbProps & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,7 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const breadcrumbTokens: {
3
+ icon: {
4
+ base: CSSObject;
5
+ size: string;
6
+ };
7
+ };
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type BreadcrumbsProps = {
3
+ smallScreen?: boolean;
4
+ } & HTMLAttributes<HTMLElement>;
5
+ export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<{
6
+ smallScreen?: boolean | undefined;
7
+ } & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,2 @@
1
+ export * from './Breadcrumb';
2
+ export * from './Breadcrumbs';
@@ -0,0 +1,35 @@
1
+ import React, { ButtonHTMLAttributes } from 'react';
2
+ import { SvgIconTypeMap } from '@material-ui/core/SvgIcon';
3
+ import { OverridableComponent } from '@material-ui/core/OverridableComponent';
4
+ export declare type ButtonPurpose = 'primary' | 'secondary' | 'danger';
5
+ export declare type ButtonSize = 'small' | 'medium' | 'large';
6
+ export declare type ButtonAppearance = 'filled' | 'ghost' | 'rounded' | 'borderless';
7
+ export declare type IconPosition = 'left' | 'right';
8
+ export declare type ButtonProps = {
9
+ size?: ButtonSize;
10
+ label?: string;
11
+ purpose?: ButtonPurpose;
12
+ iconPosition?: IconPosition;
13
+ appearance?: ButtonAppearance;
14
+ href?: string;
15
+ target?: string;
16
+ loading?: boolean;
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ Icon?: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>;
20
+ fullWidth?: boolean;
21
+ } & ButtonHTMLAttributes<HTMLButtonElement>;
22
+ export declare const Button: React.ForwardRefExoticComponent<{
23
+ size?: ButtonSize | undefined;
24
+ label?: string | undefined;
25
+ purpose?: ButtonPurpose | undefined;
26
+ iconPosition?: IconPosition | undefined;
27
+ appearance?: ButtonAppearance | undefined;
28
+ href?: string | undefined;
29
+ target?: string | undefined;
30
+ loading?: boolean | undefined;
31
+ className?: string | undefined;
32
+ style?: React.CSSProperties | undefined;
33
+ Icon?: OverridableComponent<SvgIconTypeMap<{}, "svg">> | undefined;
34
+ fullWidth?: boolean | undefined;
35
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,192 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const buttonTokens: {
3
+ base: CSSObject;
4
+ focusOutline: {
5
+ color: string;
6
+ width: string;
7
+ };
8
+ sizes: {
9
+ small: {
10
+ justIcon: {
11
+ base: CSSObject;
12
+ };
13
+ justIconWrapper: {
14
+ base: CSSObject;
15
+ };
16
+ text: {
17
+ base: CSSObject;
18
+ };
19
+ iconWithTextMargin: string;
20
+ };
21
+ medium: {
22
+ justIcon: {
23
+ base: CSSObject;
24
+ };
25
+ justIconWrapper: {
26
+ base: CSSObject;
27
+ };
28
+ text: {
29
+ base: CSSObject;
30
+ };
31
+ iconWithTextMargin: string;
32
+ };
33
+ large: {
34
+ justIcon: {
35
+ base: CSSObject;
36
+ };
37
+ justIconWrapper: {
38
+ base: CSSObject;
39
+ };
40
+ text: {
41
+ base: CSSObject;
42
+ };
43
+ iconWithTextMargin: string;
44
+ };
45
+ };
46
+ appearance: {
47
+ filled: {
48
+ base: CSSObject;
49
+ primary: {
50
+ base: CSSObject;
51
+ hover: {
52
+ base: CSSObject;
53
+ };
54
+ active: {
55
+ base: CSSObject;
56
+ };
57
+ };
58
+ secondary: {
59
+ base: CSSObject;
60
+ hover: {
61
+ base: CSSObject;
62
+ };
63
+ active: {
64
+ base: CSSObject;
65
+ };
66
+ };
67
+ danger: {
68
+ base: CSSObject;
69
+ hover: {
70
+ base: CSSObject;
71
+ };
72
+ active: {
73
+ base: CSSObject;
74
+ };
75
+ };
76
+ };
77
+ ghost: {
78
+ base: CSSObject;
79
+ primary: {
80
+ base: CSSObject;
81
+ hover: {
82
+ base: CSSObject;
83
+ };
84
+ active: {
85
+ base: CSSObject;
86
+ };
87
+ };
88
+ secondary: {
89
+ base: CSSObject;
90
+ hover: {
91
+ base: CSSObject;
92
+ };
93
+ active: {
94
+ base: CSSObject;
95
+ };
96
+ };
97
+ danger: {
98
+ base: CSSObject;
99
+ hover: {
100
+ base: CSSObject;
101
+ };
102
+ active: {
103
+ base: CSSObject;
104
+ };
105
+ };
106
+ };
107
+ borderless: {
108
+ base: CSSObject;
109
+ primary: {
110
+ base: CSSObject;
111
+ hover: {
112
+ base: CSSObject;
113
+ };
114
+ active: {
115
+ base: CSSObject;
116
+ };
117
+ justIcon: {
118
+ hover: {
119
+ base: CSSObject;
120
+ };
121
+ active: {
122
+ base: CSSObject;
123
+ };
124
+ };
125
+ };
126
+ secondary: {
127
+ base: CSSObject;
128
+ hover: {
129
+ base: CSSObject;
130
+ };
131
+ active: {
132
+ base: CSSObject;
133
+ };
134
+ justIcon: {
135
+ hover: {
136
+ base: CSSObject;
137
+ };
138
+ active: {
139
+ base: CSSObject;
140
+ };
141
+ };
142
+ };
143
+ danger: {
144
+ base: CSSObject;
145
+ hover: {
146
+ base: CSSObject;
147
+ };
148
+ active: {
149
+ base: CSSObject;
150
+ };
151
+ justIcon: {
152
+ hover: {
153
+ base: CSSObject;
154
+ };
155
+ active: {
156
+ base: CSSObject;
157
+ };
158
+ };
159
+ };
160
+ };
161
+ rounded: {
162
+ base: CSSObject;
163
+ primary: {
164
+ base: CSSObject;
165
+ hover: {
166
+ base: CSSObject;
167
+ };
168
+ active: {
169
+ base: CSSObject;
170
+ };
171
+ };
172
+ secondary: {
173
+ base: CSSObject;
174
+ hover: {
175
+ base: CSSObject;
176
+ };
177
+ active: {
178
+ base: CSSObject;
179
+ };
180
+ };
181
+ danger: {
182
+ base: CSSObject;
183
+ hover: {
184
+ base: CSSObject;
185
+ };
186
+ active: {
187
+ base: CSSObject;
188
+ };
189
+ };
190
+ };
191
+ };
192
+ };
@@ -0,0 +1 @@
1
+ export * from './Button';
@@ -1,15 +1,19 @@
1
1
  import React, { InputHTMLAttributes } from 'react';
2
2
  export declare type CheckboxProps = {
3
- label: string;
3
+ label?: string;
4
4
  error?: boolean;
5
5
  disabled?: boolean;
6
+ readOnly?: boolean;
7
+ indeterminate?: boolean;
6
8
  className?: string;
7
9
  style?: React.CSSProperties;
8
10
  } & InputHTMLAttributes<HTMLInputElement>;
9
11
  export declare const Checkbox: React.ForwardRefExoticComponent<{
10
- label: string;
12
+ label?: string | undefined;
11
13
  error?: boolean | undefined;
12
14
  disabled?: boolean | undefined;
15
+ readOnly?: boolean | undefined;
16
+ indeterminate?: boolean | undefined;
13
17
  className?: string | undefined;
14
18
  style?: React.CSSProperties | undefined;
15
19
  } & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,66 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const checkboxTokens: {
3
+ checkbox: {
4
+ base: CSSObject;
5
+ spaceLeft: string;
6
+ hover: {
7
+ base: CSSObject;
8
+ };
9
+ disabled: {
10
+ base: CSSObject;
11
+ };
12
+ readOnly: {
13
+ base: CSSObject;
14
+ };
15
+ checked: {
16
+ base: CSSObject;
17
+ hover: {
18
+ base: CSSObject;
19
+ };
20
+ disabled: {
21
+ base: CSSObject;
22
+ };
23
+ readOnly: {
24
+ base: CSSObject;
25
+ };
26
+ };
27
+ indeterminate: {
28
+ base: CSSObject;
29
+ hover: {
30
+ base: CSSObject;
31
+ };
32
+ disabled: {
33
+ base: CSSObject;
34
+ };
35
+ readOnly: {
36
+ base: CSSObject;
37
+ };
38
+ };
39
+ danger: {
40
+ base: CSSObject;
41
+ hover: {
42
+ base: CSSObject;
43
+ };
44
+ };
45
+ };
46
+ checkmark: {
47
+ base: CSSObject;
48
+ color: string;
49
+ indeterminate: {
50
+ base: CSSObject;
51
+ };
52
+ };
53
+ container: {
54
+ base: CSSObject;
55
+ focusOutline: {
56
+ color: string;
57
+ width: string;
58
+ };
59
+ withLabel: {
60
+ base: CSSObject;
61
+ };
62
+ noLabel: {
63
+ base: CSSObject;
64
+ };
65
+ };
66
+ };
@@ -0,0 +1,14 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type Direction = 'column' | 'row';
3
+ export declare type CheckboxGroupProps = {
4
+ label?: string;
5
+ direction?: Direction;
6
+ groupId?: string;
7
+ errorMessage?: string;
8
+ required?: boolean;
9
+ className?: string;
10
+ children?: React.ReactNode;
11
+ style?: React.CSSProperties;
12
+ } & HTMLAttributes<HTMLDivElement>;
13
+ export declare const CheckboxGroup: ({ label, direction, errorMessage, required, groupId, children, className, style, ...rest }: CheckboxGroupProps) => JSX.Element;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const checkboxGroupTokens: {
2
+ label: {
3
+ spaceLeft: string;
4
+ };
5
+ };
@@ -1 +1,2 @@
1
1
  export * from './Checkbox';
2
+ export * from './CheckboxGroup';
@@ -0,0 +1,15 @@
1
+ import React, { InputHTMLAttributes } from 'react';
2
+ export declare type CheckboxTestProps = {
3
+ label: string;
4
+ error?: boolean;
5
+ disabled?: boolean;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ } & InputHTMLAttributes<HTMLInputElement>;
9
+ export declare const CheckboxTest: React.ForwardRefExoticComponent<{
10
+ label: string;
11
+ error?: boolean | undefined;
12
+ disabled?: boolean | undefined;
13
+ className?: string | undefined;
14
+ style?: React.CSSProperties | undefined;
15
+ } & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1 @@
1
+ export * from './CheckboxTest';
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type DescriptionListAppearance = 'small' | 'bold';
3
+ export declare type DescriptionListProps = {
4
+ appearance?: DescriptionListAppearance;
5
+ } & HTMLAttributes<HTMLDListElement>;
6
+ export declare const DescriptionList: import("react").ForwardRefExoticComponent<{
7
+ appearance?: DescriptionListAppearance | undefined;
8
+ } & HTMLAttributes<HTMLDListElement> & import("react").RefAttributes<HTMLDListElement>>;
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { OverridableComponent } from '@material-ui/core/OverridableComponent';
3
+ import { SvgIconTypeMap } from '@material-ui/core';
4
+ export declare type DescriptionListDescProps = {
5
+ Icon?: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>;
6
+ } & HTMLAttributes<HTMLElement>;
7
+ export declare const DescriptionListDesc: import("react").ForwardRefExoticComponent<{
8
+ Icon?: OverridableComponent<SvgIconTypeMap<{}, "svg">> | undefined;
9
+ } & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,7 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const descriptionListDescTokens: {
3
+ base: CSSObject;
4
+ icon: {
5
+ base: CSSObject;
6
+ };
7
+ };
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import * as CSS from 'csstype';
3
+ export declare type DescriptionListGroupProps = {
4
+ margin?: CSS.MarginProperty<string>;
5
+ } & HTMLAttributes<HTMLDivElement>;
6
+ export declare const DescriptionListGroup: import("react").ForwardRefExoticComponent<{
7
+ margin?: string | undefined;
8
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const descriptionListGroupTokens: {
3
+ base: CSSObject;
4
+ };
@@ -0,0 +1,3 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type DescriptionListTermProps = {} & HTMLAttributes<HTMLElement>;
3
+ export declare const DescriptionListTerm: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,13 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const descriptionListTermTokens: {
3
+ appearance: {
4
+ small: {
5
+ base: CSSObject;
6
+ };
7
+ bold: {
8
+ base: CSSObject;
9
+ };
10
+ };
11
+ unwrappedTopAndBottomSpace: string;
12
+ unwrappedBetweenSpace: string;
13
+ };
@@ -0,0 +1,4 @@
1
+ export * from './DescriptionList';
2
+ export * from './DescriptionListTerm';
3
+ export * from './DescriptionListDesc';
4
+ export * from './DescriptionListGroup';
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type DividerColor = 'primary' | 'primaryLighter';
3
+ export declare type DividerProps = {
4
+ color?: DividerColor;
5
+ } & HTMLAttributes<HTMLHRElement>;
6
+ export declare const Divider: import("react").ForwardRefExoticComponent<{
7
+ color?: DividerColor | undefined;
8
+ } & HTMLAttributes<HTMLHRElement> & import("react").RefAttributes<HTMLHRElement>>;
@@ -0,0 +1,8 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const dividerColors: {
3
+ primary: string;
4
+ primaryLighter: string;
5
+ };
6
+ export declare const dividerTokens: {
7
+ base: CSSObject;
8
+ };
@@ -0,0 +1 @@
1
+ export * from './Divider';
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
3
+ export declare type GlobalMessageProps = {
4
+ message?: string;
5
+ purpose?: GlobalMessagePurpose;
6
+ closable?: boolean;
7
+ } & HTMLAttributes<HTMLDivElement>;
8
+ export declare const GlobalMessage: import("react").ForwardRefExoticComponent<{
9
+ message?: string | undefined;
10
+ purpose?: GlobalMessagePurpose | undefined;
11
+ closable?: boolean | undefined;
12
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,47 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const globalMessageTokens: {
3
+ container: {
4
+ base: CSSObject;
5
+ info: {
6
+ base: CSSObject;
7
+ };
8
+ danger: {
9
+ base: CSSObject;
10
+ };
11
+ warning: {
12
+ base: CSSObject;
13
+ };
14
+ };
15
+ contentContainer: {
16
+ base: CSSObject;
17
+ withClosable: {
18
+ base: CSSObject;
19
+ };
20
+ };
21
+ icon: {
22
+ marginRight: string;
23
+ info: {
24
+ icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
25
+ color: string;
26
+ };
27
+ danger: {
28
+ icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
29
+ color: string;
30
+ };
31
+ warning: {
32
+ icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
33
+ color: string;
34
+ };
35
+ };
36
+ button: {
37
+ info: {
38
+ purpose: string;
39
+ };
40
+ danger: {
41
+ purpose: string;
42
+ };
43
+ warning: {
44
+ purpose: string;
45
+ };
46
+ };
47
+ };
@@ -0,0 +1 @@
1
+ export * from './GlobalMessage';
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { TypographyBodyType } from '../Typography';
3
+ export declare type ListType = 'ordered' | 'unordered';
4
+ export declare type ListTypographyType = TypographyBodyType | 'inherit';
5
+ export declare type ListProps = {
6
+ listType?: ListType;
7
+ typographyType?: ListTypographyType;
8
+ } & HTMLAttributes<HTMLUListElement | HTMLOListElement>;
9
+ export declare const List: import("react").ForwardRefExoticComponent<{
10
+ listType?: ListType | undefined;
11
+ typographyType?: ListTypographyType | undefined;
12
+ } & HTMLAttributes<HTMLUListElement | HTMLOListElement> & import("react").RefAttributes<HTMLUListElement | HTMLOListElement>>;
@@ -0,0 +1,16 @@
1
+ import { CSSObject } from 'styled-components';
2
+ export declare const listTokens: {
3
+ base: CSSObject;
4
+ spaceLeft: string;
5
+ sizes: {
6
+ bodySans01: CSSObject;
7
+ bodySans02: CSSObject;
8
+ bodySans03: CSSObject;
9
+ bodySans04: CSSObject;
10
+ bodySerif01: CSSObject;
11
+ bodySerif02: CSSObject;
12
+ bodySerif03: CSSObject;
13
+ bodySerif04: CSSObject;
14
+ inherit: CSSObject;
15
+ };
16
+ };
@@ -0,0 +1,3 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export declare type ListItemProps = {} & HTMLAttributes<HTMLLIElement>;
3
+ export declare const ListItem: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement>>;