@altinn/altinn-components 0.12.0 → 0.13.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/assets/Badge.css +1 -1
- package/dist/assets/DialogListItem.css +1 -1
- package/dist/assets/Flex.css +1 -1
- package/dist/assets/LayoutBase.css +1 -1
- package/dist/assets/MenuItemMedia.css +1 -1
- package/dist/assets/Section.css +1 -1
- package/dist/assets/SnackbarItem.css +1 -1
- package/dist/components/Badge/Badge.js +6 -5
- package/dist/components/Bookmarks/BookmarksSection.js +5 -5
- package/dist/components/Byline/Byline.js +1 -1
- package/dist/components/Dialog/Dialog.js +22 -22
- package/dist/components/Dialog/DialogListItem.js +44 -44
- package/dist/components/Dialog/DraftDialog.js +5 -5
- package/dist/components/GlobalMenu/AccountMenu.js +12 -11
- package/dist/components/GlobalMenu/BackButton.js +1 -1
- package/dist/components/Layout/LayoutBase.js +3 -3
- package/dist/components/LayoutAction/ActionMenu.js +1 -1
- package/dist/components/Menu/MenuItem.js +28 -17
- package/dist/components/Menu/MenuItemMedia.js +27 -12
- package/dist/components/Page/Flex.js +29 -33
- package/dist/components/Page/Section.js +16 -5
- package/dist/components/Snackbar/SnackbarItem.js +21 -18
- package/dist/components/Snackbar/index.js +3 -2
- package/dist/components/Toolbar/ToolbarOptions.js +3 -3
- package/dist/components/index.js +99 -98
- package/dist/global.css +2 -1
- package/dist/{globalMenu-A9dXKjrI.js → globalMenu-XcVgsnCz.js} +8 -9
- package/dist/index.js +85 -84
- package/dist/tokens/$metadata.json +20 -0
- package/dist/tokens/$themes.json +105 -0
- package/dist/tokens/Figma/components.json +22 -0
- package/dist/tokens/README.md +13 -0
- package/dist/tokens/accent.css +23 -0
- package/dist/tokens/alert.css +23 -0
- package/dist/tokens/alert.json +66 -0
- package/dist/tokens/altinn-ds/builtin-colors.css +87 -0
- package/dist/tokens/altinn-ds/color/accent.css +23 -0
- package/dist/tokens/altinn-ds/color/alert.css +23 -0
- package/dist/tokens/altinn-ds/color/article.css +23 -0
- package/dist/tokens/altinn-ds/color/company.css +25 -0
- package/dist/tokens/altinn-ds/color/person.css +23 -0
- package/dist/tokens/altinn-ds/color-scheme/dark.css +471 -0
- package/dist/tokens/altinn-ds/color-scheme/light.css +472 -0
- package/dist/tokens/altinn-ds/semantic.css +70 -0
- package/dist/tokens/altinn-ds/typography/primary.css +128 -0
- package/dist/tokens/altinn-ds/typography/secondary.css +127 -0
- package/dist/tokens/altinn-ds.css +1484 -0
- package/dist/tokens/altinn-ds.json +20 -0
- package/dist/tokens/article.css +23 -0
- package/dist/tokens/article.json +66 -0
- package/dist/tokens/builtin-colors.css +87 -0
- package/dist/tokens/color/accent.css +23 -0
- package/dist/tokens/color/alert.css +23 -0
- package/dist/tokens/color/article.css +23 -0
- package/dist/tokens/color/company.css +25 -0
- package/dist/tokens/color/person.css +23 -0
- package/dist/tokens/color-scheme/dark/altinn-ds.json +314 -0
- package/dist/tokens/color-scheme/dark/global.json +376 -0
- package/dist/tokens/color-scheme/dark.css +471 -0
- package/dist/tokens/color-scheme/light/altinn-ds.json +314 -0
- package/dist/tokens/color-scheme/light/global.json +376 -0
- package/dist/tokens/color-scheme/light.css +472 -0
- package/dist/tokens/color.json +572 -0
- package/dist/tokens/colors.d.ts +10 -0
- package/dist/tokens/company.css +25 -0
- package/dist/tokens/company.json +66 -0
- package/dist/tokens/components.json +22 -0
- package/dist/tokens/dark/altinn-ds.json +314 -0
- package/dist/tokens/dark/global.json +376 -0
- package/dist/tokens/dark.css +471 -0
- package/dist/tokens/default.json +175 -0
- package/dist/tokens/design-tokens/$metadata.json +20 -0
- package/dist/tokens/design-tokens/$themes.json +105 -0
- package/dist/tokens/design-tokens/Figma/components.json +22 -0
- package/dist/tokens/design-tokens/primitives/globals.json +155 -0
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/altinn-ds.json +314 -0
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/global.json +376 -0
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/altinn-ds.json +314 -0
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/global.json +376 -0
- package/dist/tokens/design-tokens/primitives/modes/typography/primary/altinn-ds.json +20 -0
- package/dist/tokens/design-tokens/primitives/modes/typography/secondary/altinn-ds.json +20 -0
- package/dist/tokens/design-tokens/primitives/size/default.json +175 -0
- package/dist/tokens/design-tokens/semantic/color.json +572 -0
- package/dist/tokens/design-tokens/semantic/modes/main-color/company.json +66 -0
- package/dist/tokens/design-tokens/semantic/modes/main-color/person.json +66 -0
- package/dist/tokens/design-tokens/semantic/modes/support-color/alert.json +66 -0
- package/dist/tokens/design-tokens/semantic/modes/support-color/article.json +66 -0
- package/dist/tokens/design-tokens/semantic/style.json +456 -0
- package/dist/tokens/design-tokens/themes/altinn-ds.json +364 -0
- package/dist/tokens/design-tokens-build/altinn-ds/builtin-colors.css +87 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/accent.css +23 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/alert.css +23 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/article.css +23 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/company.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/person.css +23 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/dark.css +471 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/light.css +472 -0
- package/dist/tokens/design-tokens-build/altinn-ds/semantic.css +70 -0
- package/dist/tokens/design-tokens-build/altinn-ds/typography/primary.css +128 -0
- package/dist/tokens/design-tokens-build/altinn-ds/typography/secondary.css +127 -0
- package/dist/tokens/design-tokens-build/altinn-ds.css +1484 -0
- package/dist/tokens/design-tokens-build/colors.d.ts +10 -0
- package/dist/tokens/global.json +376 -0
- package/dist/tokens/globals.json +155 -0
- package/dist/tokens/light/altinn-ds.json +314 -0
- package/dist/tokens/light/global.json +376 -0
- package/dist/tokens/light.css +472 -0
- package/dist/tokens/main-color/company.json +66 -0
- package/dist/tokens/main-color/person.json +66 -0
- package/dist/tokens/modes/color-scheme/dark/altinn-ds.json +314 -0
- package/dist/tokens/modes/color-scheme/dark/global.json +376 -0
- package/dist/tokens/modes/color-scheme/light/altinn-ds.json +314 -0
- package/dist/tokens/modes/color-scheme/light/global.json +376 -0
- package/dist/tokens/modes/main-color/company.json +66 -0
- package/dist/tokens/modes/main-color/person.json +66 -0
- package/dist/tokens/modes/support-color/alert.json +66 -0
- package/dist/tokens/modes/support-color/article.json +66 -0
- package/dist/tokens/modes/typography/primary/altinn-ds.json +20 -0
- package/dist/tokens/modes/typography/secondary/altinn-ds.json +20 -0
- package/dist/tokens/person.css +23 -0
- package/dist/tokens/person.json +66 -0
- package/dist/tokens/primary/altinn-ds.json +20 -0
- package/dist/tokens/primary.css +128 -0
- package/dist/tokens/primitives/globals.json +155 -0
- package/dist/tokens/primitives/modes/color-scheme/dark/altinn-ds.json +314 -0
- package/dist/tokens/primitives/modes/color-scheme/dark/global.json +376 -0
- package/dist/tokens/primitives/modes/color-scheme/light/altinn-ds.json +314 -0
- package/dist/tokens/primitives/modes/color-scheme/light/global.json +376 -0
- package/dist/tokens/primitives/modes/typography/primary/altinn-ds.json +20 -0
- package/dist/tokens/primitives/modes/typography/secondary/altinn-ds.json +20 -0
- package/dist/tokens/primitives/size/default.json +175 -0
- package/dist/tokens/secondary/altinn-ds.json +20 -0
- package/dist/tokens/secondary.css +127 -0
- package/dist/tokens/semantic/color.json +572 -0
- package/dist/tokens/semantic/modes/main-color/company.json +66 -0
- package/dist/tokens/semantic/modes/main-color/person.json +66 -0
- package/dist/tokens/semantic/modes/support-color/alert.json +66 -0
- package/dist/tokens/semantic/modes/support-color/article.json +66 -0
- package/dist/tokens/semantic/style.json +456 -0
- package/dist/tokens/semantic.css +70 -0
- package/dist/tokens/size/default.json +175 -0
- package/dist/tokens/style.json +456 -0
- package/dist/tokens/support-color/alert.json +66 -0
- package/dist/tokens/support-color/article.json +66 -0
- package/dist/tokens/themes/altinn-ds.json +364 -0
- package/dist/tokens/typography/primary/altinn-ds.json +20 -0
- package/dist/tokens/typography/primary.css +128 -0
- package/dist/tokens/typography/secondary/altinn-ds.json +20 -0
- package/dist/tokens/typography/secondary.css +127 -0
- package/dist/types/lib/components/Autocomplete/AutocompleteItem.d.ts +1 -1
- package/dist/types/lib/components/Autocomplete/ScopeListItem.d.ts +1 -1
- package/dist/types/lib/components/Badge/Badge.d.ts +2 -2
- package/dist/types/lib/components/Badge/Badge.stories.d.ts +2 -0
- package/dist/types/lib/components/Dialog/DialogListItem.d.ts +2 -0
- package/dist/types/lib/components/GlobalMenu/AccountMenu.d.ts +2 -1
- package/dist/types/lib/components/Header/Header.d.ts +1 -1
- package/dist/types/lib/components/Header/Header.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/HeaderButton.d.ts +1 -1
- package/dist/types/lib/components/List/ListItem.d.ts +1 -1
- package/dist/types/lib/components/List/ListItemControls.d.ts +1 -1
- package/dist/types/lib/components/List/ListItemHeader.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuItem.d.ts +3 -2
- package/dist/types/lib/components/Menu/MenuItem.stories.d.ts +3 -2
- package/dist/types/lib/components/Menu/MenuItemBase.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuItemMedia.d.ts +3 -4
- package/dist/types/lib/components/Menu/MenuOption.d.ts +1 -1
- package/dist/types/lib/components/Page/Flex.d.ts +1 -5
- package/dist/types/lib/components/Page/Section.d.ts +4 -2
- package/dist/types/lib/components/Snackbar/SnackbarItem.d.ts +11 -3
- package/dist/types/lib/components/Snackbar/SnackbarItem.stories.d.ts +15 -0
- package/dist/types/lib/components/Transmission/TransmissionItem.d.ts +1 -1
- package/package.json +1 -1
- package/dist/accesspackages-BI13BnDa.js +0 -988
- package/dist/accountMenu-MvAYkqv1.js +0 -68
- package/dist/attachments-Bpqu8-fZ.js +0 -25
- package/dist/dialogContextMenu-CvlJE9ba.js +0 -38
- package/dist/footer-BI7NNFeL.js +0 -27
- package/dist/globalMenu-DY4uIQk2.js +0 -63
- package/dist/header-B7oMg4iq.js +0 -11
- package/dist/inboxMenu-DXIoTtPz.js +0 -48
- package/dist/menuItems-DWpXjKEX.js +0 -90
- package/dist/nav-CZ8x72yY.js +0 -8
- package/dist/skatt-Bc2at6fO.js +0 -8
- package/dist/transmissionsCompletedDialog-DOK3nF7d.js +0 -672
- package/dist/useAccountMenu-DgXhBMw4.js +0 -74
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"company": {
|
|
4
|
+
"1": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "{altinn-ds.company.1}"
|
|
7
|
+
},
|
|
8
|
+
"2": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "{altinn-ds.company.2}"
|
|
11
|
+
},
|
|
12
|
+
"3": {
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"$value": "{altinn-ds.company.3}"
|
|
15
|
+
},
|
|
16
|
+
"4": {
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$value": "{altinn-ds.company.4}"
|
|
19
|
+
},
|
|
20
|
+
"5": {
|
|
21
|
+
"$type": "color",
|
|
22
|
+
"$value": "{altinn-ds.company.5}"
|
|
23
|
+
},
|
|
24
|
+
"6": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{altinn-ds.company.6}"
|
|
27
|
+
},
|
|
28
|
+
"7": {
|
|
29
|
+
"$type": "color",
|
|
30
|
+
"$value": "{altinn-ds.company.7}"
|
|
31
|
+
},
|
|
32
|
+
"8": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": "{altinn-ds.company.8}"
|
|
35
|
+
},
|
|
36
|
+
"9": {
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$value": "{altinn-ds.company.9}"
|
|
39
|
+
},
|
|
40
|
+
"10": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "{altinn-ds.company.10}"
|
|
43
|
+
},
|
|
44
|
+
"11": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "{altinn-ds.company.11}"
|
|
47
|
+
},
|
|
48
|
+
"12": {
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$value": "{altinn-ds.company.12}"
|
|
51
|
+
},
|
|
52
|
+
"13": {
|
|
53
|
+
"$type": "color",
|
|
54
|
+
"$value": "{altinn-ds.company.13}"
|
|
55
|
+
},
|
|
56
|
+
"contrast-1": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{altinn-ds.company.contrast-1}"
|
|
59
|
+
},
|
|
60
|
+
"contrast-2": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "{altinn-ds.company.contrast-2}"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"person": {
|
|
66
|
+
"1": {
|
|
67
|
+
"$type": "color",
|
|
68
|
+
"$value": "{altinn-ds.person.1}"
|
|
69
|
+
},
|
|
70
|
+
"2": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{altinn-ds.person.2}"
|
|
73
|
+
},
|
|
74
|
+
"3": {
|
|
75
|
+
"$type": "color",
|
|
76
|
+
"$value": "{altinn-ds.person.3}"
|
|
77
|
+
},
|
|
78
|
+
"4": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{altinn-ds.person.4}"
|
|
81
|
+
},
|
|
82
|
+
"5": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "{altinn-ds.person.5}"
|
|
85
|
+
},
|
|
86
|
+
"6": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{altinn-ds.person.6}"
|
|
89
|
+
},
|
|
90
|
+
"7": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{altinn-ds.person.7}"
|
|
93
|
+
},
|
|
94
|
+
"8": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{altinn-ds.person.8}"
|
|
97
|
+
},
|
|
98
|
+
"9": {
|
|
99
|
+
"$type": "color",
|
|
100
|
+
"$value": "{altinn-ds.person.9}"
|
|
101
|
+
},
|
|
102
|
+
"10": {
|
|
103
|
+
"$type": "color",
|
|
104
|
+
"$value": "{altinn-ds.person.10}"
|
|
105
|
+
},
|
|
106
|
+
"11": {
|
|
107
|
+
"$type": "color",
|
|
108
|
+
"$value": "{altinn-ds.person.11}"
|
|
109
|
+
},
|
|
110
|
+
"12": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "{altinn-ds.person.12}"
|
|
113
|
+
},
|
|
114
|
+
"13": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "{altinn-ds.person.13}"
|
|
117
|
+
},
|
|
118
|
+
"contrast-1": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "{altinn-ds.person.contrast-1}"
|
|
121
|
+
},
|
|
122
|
+
"contrast-2": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{altinn-ds.person.contrast-2}"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"neutral": {
|
|
128
|
+
"1": {
|
|
129
|
+
"$type": "color",
|
|
130
|
+
"$value": "{altinn-ds.neutral.1}"
|
|
131
|
+
},
|
|
132
|
+
"2": {
|
|
133
|
+
"$type": "color",
|
|
134
|
+
"$value": "{altinn-ds.neutral.2}"
|
|
135
|
+
},
|
|
136
|
+
"3": {
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$value": "{altinn-ds.neutral.3}"
|
|
139
|
+
},
|
|
140
|
+
"4": {
|
|
141
|
+
"$type": "color",
|
|
142
|
+
"$value": "{altinn-ds.neutral.4}"
|
|
143
|
+
},
|
|
144
|
+
"5": {
|
|
145
|
+
"$type": "color",
|
|
146
|
+
"$value": "{altinn-ds.neutral.5}"
|
|
147
|
+
},
|
|
148
|
+
"6": {
|
|
149
|
+
"$type": "color",
|
|
150
|
+
"$value": "{altinn-ds.neutral.6}"
|
|
151
|
+
},
|
|
152
|
+
"7": {
|
|
153
|
+
"$type": "color",
|
|
154
|
+
"$value": "{altinn-ds.neutral.7}"
|
|
155
|
+
},
|
|
156
|
+
"8": {
|
|
157
|
+
"$type": "color",
|
|
158
|
+
"$value": "{altinn-ds.neutral.8}"
|
|
159
|
+
},
|
|
160
|
+
"9": {
|
|
161
|
+
"$type": "color",
|
|
162
|
+
"$value": "{altinn-ds.neutral.9}"
|
|
163
|
+
},
|
|
164
|
+
"10": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "{altinn-ds.neutral.10}"
|
|
167
|
+
},
|
|
168
|
+
"11": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$value": "{altinn-ds.neutral.11}"
|
|
171
|
+
},
|
|
172
|
+
"12": {
|
|
173
|
+
"$type": "color",
|
|
174
|
+
"$value": "{altinn-ds.neutral.12}"
|
|
175
|
+
},
|
|
176
|
+
"13": {
|
|
177
|
+
"$type": "color",
|
|
178
|
+
"$value": "{altinn-ds.neutral.13}"
|
|
179
|
+
},
|
|
180
|
+
"contrast-1": {
|
|
181
|
+
"$type": "color",
|
|
182
|
+
"$value": "{altinn-ds.neutral.contrast-1}"
|
|
183
|
+
},
|
|
184
|
+
"contrast-2": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": "{altinn-ds.neutral.contrast-2}"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"article": {
|
|
190
|
+
"1": {
|
|
191
|
+
"$type": "color",
|
|
192
|
+
"$value": "{altinn-ds.article.1}"
|
|
193
|
+
},
|
|
194
|
+
"2": {
|
|
195
|
+
"$type": "color",
|
|
196
|
+
"$value": "{altinn-ds.article.2}"
|
|
197
|
+
},
|
|
198
|
+
"3": {
|
|
199
|
+
"$type": "color",
|
|
200
|
+
"$value": "{altinn-ds.article.3}"
|
|
201
|
+
},
|
|
202
|
+
"4": {
|
|
203
|
+
"$type": "color",
|
|
204
|
+
"$value": "{altinn-ds.article.4}"
|
|
205
|
+
},
|
|
206
|
+
"5": {
|
|
207
|
+
"$type": "color",
|
|
208
|
+
"$value": "{altinn-ds.article.5}"
|
|
209
|
+
},
|
|
210
|
+
"6": {
|
|
211
|
+
"$type": "color",
|
|
212
|
+
"$value": "{altinn-ds.article.6}"
|
|
213
|
+
},
|
|
214
|
+
"7": {
|
|
215
|
+
"$type": "color",
|
|
216
|
+
"$value": "{altinn-ds.article.7}"
|
|
217
|
+
},
|
|
218
|
+
"8": {
|
|
219
|
+
"$type": "color",
|
|
220
|
+
"$value": "{altinn-ds.article.8}"
|
|
221
|
+
},
|
|
222
|
+
"9": {
|
|
223
|
+
"$type": "color",
|
|
224
|
+
"$value": "{altinn-ds.article.9}"
|
|
225
|
+
},
|
|
226
|
+
"10": {
|
|
227
|
+
"$type": "color",
|
|
228
|
+
"$value": "{altinn-ds.article.10}"
|
|
229
|
+
},
|
|
230
|
+
"11": {
|
|
231
|
+
"$type": "color",
|
|
232
|
+
"$value": "{altinn-ds.article.11}"
|
|
233
|
+
},
|
|
234
|
+
"12": {
|
|
235
|
+
"$type": "color",
|
|
236
|
+
"$value": "{altinn-ds.article.12}"
|
|
237
|
+
},
|
|
238
|
+
"13": {
|
|
239
|
+
"$type": "color",
|
|
240
|
+
"$value": "{altinn-ds.article.13}"
|
|
241
|
+
},
|
|
242
|
+
"contrast-1": {
|
|
243
|
+
"$type": "color",
|
|
244
|
+
"$value": "{altinn-ds.article.contrast-1}"
|
|
245
|
+
},
|
|
246
|
+
"contrast-2": {
|
|
247
|
+
"$type": "color",
|
|
248
|
+
"$value": "{altinn-ds.article.contrast-2}"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"alert": {
|
|
252
|
+
"1": {
|
|
253
|
+
"$type": "color",
|
|
254
|
+
"$value": "{altinn-ds.alert.1}"
|
|
255
|
+
},
|
|
256
|
+
"2": {
|
|
257
|
+
"$type": "color",
|
|
258
|
+
"$value": "{altinn-ds.alert.2}"
|
|
259
|
+
},
|
|
260
|
+
"3": {
|
|
261
|
+
"$type": "color",
|
|
262
|
+
"$value": "{altinn-ds.alert.3}"
|
|
263
|
+
},
|
|
264
|
+
"4": {
|
|
265
|
+
"$type": "color",
|
|
266
|
+
"$value": "{altinn-ds.alert.4}"
|
|
267
|
+
},
|
|
268
|
+
"5": {
|
|
269
|
+
"$type": "color",
|
|
270
|
+
"$value": "{altinn-ds.alert.5}"
|
|
271
|
+
},
|
|
272
|
+
"6": {
|
|
273
|
+
"$type": "color",
|
|
274
|
+
"$value": "{altinn-ds.alert.6}"
|
|
275
|
+
},
|
|
276
|
+
"7": {
|
|
277
|
+
"$type": "color",
|
|
278
|
+
"$value": "{altinn-ds.alert.7}"
|
|
279
|
+
},
|
|
280
|
+
"8": {
|
|
281
|
+
"$type": "color",
|
|
282
|
+
"$value": "{altinn-ds.alert.8}"
|
|
283
|
+
},
|
|
284
|
+
"9": {
|
|
285
|
+
"$type": "color",
|
|
286
|
+
"$value": "{altinn-ds.alert.9}"
|
|
287
|
+
},
|
|
288
|
+
"10": {
|
|
289
|
+
"$type": "color",
|
|
290
|
+
"$value": "{altinn-ds.alert.10}"
|
|
291
|
+
},
|
|
292
|
+
"11": {
|
|
293
|
+
"$type": "color",
|
|
294
|
+
"$value": "{altinn-ds.alert.11}"
|
|
295
|
+
},
|
|
296
|
+
"12": {
|
|
297
|
+
"$type": "color",
|
|
298
|
+
"$value": "{altinn-ds.alert.12}"
|
|
299
|
+
},
|
|
300
|
+
"13": {
|
|
301
|
+
"$type": "color",
|
|
302
|
+
"$value": "{altinn-ds.alert.13}"
|
|
303
|
+
},
|
|
304
|
+
"contrast-1": {
|
|
305
|
+
"$type": "color",
|
|
306
|
+
"$value": "{altinn-ds.alert.contrast-1}"
|
|
307
|
+
},
|
|
308
|
+
"contrast-2": {
|
|
309
|
+
"$type": "color",
|
|
310
|
+
"$value": "{altinn-ds.alert.contrast-2}"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"font": {
|
|
315
|
+
"family": {
|
|
316
|
+
"$type": "fontFamilies",
|
|
317
|
+
"$value": "{altinn-ds.main}"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"font-weight": {
|
|
321
|
+
"medium": {
|
|
322
|
+
"$type": "fontWeights",
|
|
323
|
+
"$value": "{altinn-ds.bold}"
|
|
324
|
+
},
|
|
325
|
+
"semibold": {
|
|
326
|
+
"$type": "fontWeights",
|
|
327
|
+
"$value": "{altinn-ds.extra-bold}"
|
|
328
|
+
},
|
|
329
|
+
"regular": {
|
|
330
|
+
"$type": "fontWeights",
|
|
331
|
+
"$value": "{altinn-ds.regular}"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"border-radius": {
|
|
335
|
+
"1": {
|
|
336
|
+
"$type": "borderRadius",
|
|
337
|
+
"$value": "min( {border-radius.base} , {border-radius.scale} *1)"
|
|
338
|
+
},
|
|
339
|
+
"2": {
|
|
340
|
+
"$type": "borderRadius",
|
|
341
|
+
"$value": "min( {border-radius.base} , {border-radius.scale} *2)"
|
|
342
|
+
},
|
|
343
|
+
"3": {
|
|
344
|
+
"$type": "borderRadius",
|
|
345
|
+
"$value": "min( {border-radius.base} , {border-radius.scale} *5)"
|
|
346
|
+
},
|
|
347
|
+
"4": {
|
|
348
|
+
"$type": "borderRadius",
|
|
349
|
+
"$value": "{border-radius.base}"
|
|
350
|
+
},
|
|
351
|
+
"5": {
|
|
352
|
+
"$type": "borderRadius",
|
|
353
|
+
"$value": "9999"
|
|
354
|
+
},
|
|
355
|
+
"base": {
|
|
356
|
+
"$type": "borderRadius",
|
|
357
|
+
"$value": "4"
|
|
358
|
+
},
|
|
359
|
+
"scale": {
|
|
360
|
+
"$type": "borderRadius",
|
|
361
|
+
"$value": "4"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"altinn-ds": {
|
|
3
|
+
"main": {
|
|
4
|
+
"$type": "fontFamilies",
|
|
5
|
+
"$value": "Inter"
|
|
6
|
+
},
|
|
7
|
+
"bold": {
|
|
8
|
+
"$type": "fontWeights",
|
|
9
|
+
"$value": "Medium"
|
|
10
|
+
},
|
|
11
|
+
"extra-bold": {
|
|
12
|
+
"$type": "fontWeights",
|
|
13
|
+
"$value": "Semi bold"
|
|
14
|
+
},
|
|
15
|
+
"regular": {
|
|
16
|
+
"$type": "fontWeights",
|
|
17
|
+
"$value": "Regular"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These files are generated from design tokens defind using Token Studio
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@layer ds.theme.typography.primary {
|
|
6
|
+
:root,
|
|
7
|
+
[data-ds-typography="primary"] {
|
|
8
|
+
--ds-font-family: Inter;
|
|
9
|
+
--ds-font-weight-medium: 500;
|
|
10
|
+
--ds-font-weight-semibold: 600;
|
|
11
|
+
--ds-font-weight-regular: 400;
|
|
12
|
+
--ds-heading-2xl-font-weight: 500;
|
|
13
|
+
--ds-heading-2xl-line-height: 1.3;
|
|
14
|
+
--ds-heading-2xl-font-size: 3.75rem;
|
|
15
|
+
--ds-heading-2xl-letter-spacing: -1%;
|
|
16
|
+
--ds-heading-xl-font-weight: 500;
|
|
17
|
+
--ds-heading-xl-line-height: 1.3;
|
|
18
|
+
--ds-heading-xl-font-size: 3rem;
|
|
19
|
+
--ds-heading-xl-letter-spacing: -1%;
|
|
20
|
+
--ds-heading-lg-font-weight: 500;
|
|
21
|
+
--ds-heading-lg-line-height: 1.3;
|
|
22
|
+
--ds-heading-lg-font-size: 2.25rem;
|
|
23
|
+
--ds-heading-lg-letter-spacing: -0.5%;
|
|
24
|
+
--ds-heading-md-font-weight: 500;
|
|
25
|
+
--ds-heading-md-line-height: 1.3;
|
|
26
|
+
--ds-heading-md-font-size: 1.875rem;
|
|
27
|
+
--ds-heading-md-letter-spacing: -0.25%;
|
|
28
|
+
--ds-heading-sm-font-weight: 500;
|
|
29
|
+
--ds-heading-sm-line-height: 1.3;
|
|
30
|
+
--ds-heading-sm-font-size: 1.5rem;
|
|
31
|
+
--ds-heading-sm-letter-spacing: 0%;
|
|
32
|
+
--ds-heading-xs-font-weight: 500;
|
|
33
|
+
--ds-heading-xs-line-height: 1.3;
|
|
34
|
+
--ds-heading-xs-font-size: 1.3125rem;
|
|
35
|
+
--ds-heading-xs-letter-spacing: 0.15%;
|
|
36
|
+
--ds-heading-2xs-font-weight: 500;
|
|
37
|
+
--ds-heading-2xs-line-height: 1.3;
|
|
38
|
+
--ds-heading-2xs-font-size: 1.125rem;
|
|
39
|
+
--ds-heading-2xs-letter-spacing: 0.15%;
|
|
40
|
+
--ds-body-xl-font-weight: 400;
|
|
41
|
+
--ds-body-xl-line-height: 1.5;
|
|
42
|
+
--ds-body-xl-font-size: 1.5rem;
|
|
43
|
+
--ds-body-xl-letter-spacing: 0.5%;
|
|
44
|
+
--ds-body-lg-font-weight: 400;
|
|
45
|
+
--ds-body-lg-line-height: 1.5;
|
|
46
|
+
--ds-body-lg-font-size: 1.3125rem;
|
|
47
|
+
--ds-body-lg-letter-spacing: 0.5%;
|
|
48
|
+
--ds-body-md-font-weight: 400;
|
|
49
|
+
--ds-body-md-line-height: 1.5;
|
|
50
|
+
--ds-body-md-font-size: 1.125rem;
|
|
51
|
+
--ds-body-md-letter-spacing: 0.5%;
|
|
52
|
+
--ds-body-sm-font-weight: 400;
|
|
53
|
+
--ds-body-sm-line-height: 1.5;
|
|
54
|
+
--ds-body-sm-font-size: 1rem;
|
|
55
|
+
--ds-body-sm-letter-spacing: 0.25%;
|
|
56
|
+
--ds-body-xs-font-weight: 400;
|
|
57
|
+
--ds-body-xs-line-height: 1.5;
|
|
58
|
+
--ds-body-xs-font-size: 0.875rem;
|
|
59
|
+
--ds-body-xs-letter-spacing: 0.15%;
|
|
60
|
+
--ds-body-short-xl-font-weight: 400;
|
|
61
|
+
--ds-body-short-xl-line-height: 1.3;
|
|
62
|
+
--ds-body-short-xl-font-size: 1.5rem;
|
|
63
|
+
--ds-body-short-xl-letter-spacing: 0.5%;
|
|
64
|
+
--ds-body-short-lg-font-weight: 400;
|
|
65
|
+
--ds-body-short-lg-line-height: 1.3;
|
|
66
|
+
--ds-body-short-lg-font-size: 1.3125rem;
|
|
67
|
+
--ds-body-short-lg-letter-spacing: 0.5%;
|
|
68
|
+
--ds-body-short-md-font-weight: 400;
|
|
69
|
+
--ds-body-short-md-line-height: 1.3;
|
|
70
|
+
--ds-body-short-md-font-size: 1.125rem;
|
|
71
|
+
--ds-body-short-md-letter-spacing: 0.5%;
|
|
72
|
+
--ds-body-short-sm-font-weight: 400;
|
|
73
|
+
--ds-body-short-sm-line-height: 1.3;
|
|
74
|
+
--ds-body-short-sm-font-size: 1rem;
|
|
75
|
+
--ds-body-short-sm-letter-spacing: 0.25%;
|
|
76
|
+
--ds-body-short-xs-font-weight: 400;
|
|
77
|
+
--ds-body-short-xs-line-height: 1.3;
|
|
78
|
+
--ds-body-short-xs-font-size: 0.875rem;
|
|
79
|
+
--ds-body-short-xs-letter-spacing: 0.15%;
|
|
80
|
+
--ds-body-long-xl-font-weight: 400;
|
|
81
|
+
--ds-body-long-xl-line-height: 1.7;
|
|
82
|
+
--ds-body-long-xl-font-size: 1.5rem;
|
|
83
|
+
--ds-body-long-xl-letter-spacing: 0.5%;
|
|
84
|
+
--ds-body-long-lg-font-weight: 400;
|
|
85
|
+
--ds-body-long-lg-line-height: 1.7;
|
|
86
|
+
--ds-body-long-lg-font-size: 1.3125rem;
|
|
87
|
+
--ds-body-long-lg-letter-spacing: 0.5%;
|
|
88
|
+
--ds-body-long-md-font-weight: 400;
|
|
89
|
+
--ds-body-long-md-line-height: 1.7;
|
|
90
|
+
--ds-body-long-md-font-size: 1.125rem;
|
|
91
|
+
--ds-body-long-md-letter-spacing: 0.5%;
|
|
92
|
+
--ds-body-long-sm-font-weight: 400;
|
|
93
|
+
--ds-body-long-sm-line-height: 1.7;
|
|
94
|
+
--ds-body-long-sm-font-size: 1rem;
|
|
95
|
+
--ds-body-long-sm-letter-spacing: 0.25%;
|
|
96
|
+
--ds-body-long-xs-font-weight: 400;
|
|
97
|
+
--ds-body-long-xs-line-height: 1.7;
|
|
98
|
+
--ds-body-long-xs-font-size: 0.875rem;
|
|
99
|
+
--ds-body-long-xs-letter-spacing: 0.15%;
|
|
100
|
+
--ds-line-height-sm: 1.3;
|
|
101
|
+
--ds-line-height-md: 1.5;
|
|
102
|
+
--ds-line-height-lg: 1.7;
|
|
103
|
+
--ds-font-size-1: 0.75rem;
|
|
104
|
+
--ds-font-size-2: 0.8125rem;
|
|
105
|
+
--ds-font-size-3: 0.875rem;
|
|
106
|
+
--ds-font-size-4: 1rem;
|
|
107
|
+
--ds-font-size-5: 1.125rem;
|
|
108
|
+
--ds-font-size-6: 1.3125rem;
|
|
109
|
+
--ds-font-size-7: 1.5rem;
|
|
110
|
+
--ds-font-size-8: 1.875rem;
|
|
111
|
+
--ds-font-size-9: 2.25rem;
|
|
112
|
+
--ds-font-size-10: 3rem;
|
|
113
|
+
--ds-font-size-11: 3.75rem;
|
|
114
|
+
--ds-letter-spacing-1: -1%;
|
|
115
|
+
--ds-letter-spacing-2: -0.5%;
|
|
116
|
+
--ds-letter-spacing-3: -0.25%;
|
|
117
|
+
--ds-letter-spacing-4: -0.15%;
|
|
118
|
+
--ds-letter-spacing-5: 0%;
|
|
119
|
+
--ds-letter-spacing-6: 0.15%;
|
|
120
|
+
--ds-letter-spacing-7: 0.25%;
|
|
121
|
+
--ds-letter-spacing-8: 0.5%;
|
|
122
|
+
--ds-letter-spacing-9: 1.5%;
|
|
123
|
+
--ds-altinn-ds-main: Inter;
|
|
124
|
+
--ds-altinn-ds-bold: 500;
|
|
125
|
+
--ds-altinn-ds-extra-bold: 600;
|
|
126
|
+
--ds-altinn-ds-regular: 400;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"altinn-ds": {
|
|
3
|
+
"main": {
|
|
4
|
+
"$type": "fontFamilies",
|
|
5
|
+
"$value": "Inter"
|
|
6
|
+
},
|
|
7
|
+
"bold": {
|
|
8
|
+
"$type": "fontWeights",
|
|
9
|
+
"$value": "Medium"
|
|
10
|
+
},
|
|
11
|
+
"extra-bold": {
|
|
12
|
+
"$type": "fontWeights",
|
|
13
|
+
"$value": "Semi bold"
|
|
14
|
+
},
|
|
15
|
+
"regular": {
|
|
16
|
+
"$type": "fontWeights",
|
|
17
|
+
"$value": "Regular"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These files are generated from design tokens defind using Token Studio
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@layer ds.theme.typography.secondary {
|
|
6
|
+
[data-ds-typography="secondary"] {
|
|
7
|
+
--ds-font-family: Inter;
|
|
8
|
+
--ds-font-weight-medium: 500;
|
|
9
|
+
--ds-font-weight-semibold: 600;
|
|
10
|
+
--ds-font-weight-regular: 400;
|
|
11
|
+
--ds-heading-2xl-font-weight: 500;
|
|
12
|
+
--ds-heading-2xl-line-height: 1.3;
|
|
13
|
+
--ds-heading-2xl-font-size: 3.75rem;
|
|
14
|
+
--ds-heading-2xl-letter-spacing: -1%;
|
|
15
|
+
--ds-heading-xl-font-weight: 500;
|
|
16
|
+
--ds-heading-xl-line-height: 1.3;
|
|
17
|
+
--ds-heading-xl-font-size: 3rem;
|
|
18
|
+
--ds-heading-xl-letter-spacing: -1%;
|
|
19
|
+
--ds-heading-lg-font-weight: 500;
|
|
20
|
+
--ds-heading-lg-line-height: 1.3;
|
|
21
|
+
--ds-heading-lg-font-size: 2.25rem;
|
|
22
|
+
--ds-heading-lg-letter-spacing: -0.5%;
|
|
23
|
+
--ds-heading-md-font-weight: 500;
|
|
24
|
+
--ds-heading-md-line-height: 1.3;
|
|
25
|
+
--ds-heading-md-font-size: 1.875rem;
|
|
26
|
+
--ds-heading-md-letter-spacing: -0.25%;
|
|
27
|
+
--ds-heading-sm-font-weight: 500;
|
|
28
|
+
--ds-heading-sm-line-height: 1.3;
|
|
29
|
+
--ds-heading-sm-font-size: 1.5rem;
|
|
30
|
+
--ds-heading-sm-letter-spacing: 0%;
|
|
31
|
+
--ds-heading-xs-font-weight: 500;
|
|
32
|
+
--ds-heading-xs-line-height: 1.3;
|
|
33
|
+
--ds-heading-xs-font-size: 1.3125rem;
|
|
34
|
+
--ds-heading-xs-letter-spacing: 0.15%;
|
|
35
|
+
--ds-heading-2xs-font-weight: 500;
|
|
36
|
+
--ds-heading-2xs-line-height: 1.3;
|
|
37
|
+
--ds-heading-2xs-font-size: 1.125rem;
|
|
38
|
+
--ds-heading-2xs-letter-spacing: 0.15%;
|
|
39
|
+
--ds-body-xl-font-weight: 400;
|
|
40
|
+
--ds-body-xl-line-height: 1.5;
|
|
41
|
+
--ds-body-xl-font-size: 1.5rem;
|
|
42
|
+
--ds-body-xl-letter-spacing: 0.5%;
|
|
43
|
+
--ds-body-lg-font-weight: 400;
|
|
44
|
+
--ds-body-lg-line-height: 1.5;
|
|
45
|
+
--ds-body-lg-font-size: 1.3125rem;
|
|
46
|
+
--ds-body-lg-letter-spacing: 0.5%;
|
|
47
|
+
--ds-body-md-font-weight: 400;
|
|
48
|
+
--ds-body-md-line-height: 1.5;
|
|
49
|
+
--ds-body-md-font-size: 1.125rem;
|
|
50
|
+
--ds-body-md-letter-spacing: 0.5%;
|
|
51
|
+
--ds-body-sm-font-weight: 400;
|
|
52
|
+
--ds-body-sm-line-height: 1.5;
|
|
53
|
+
--ds-body-sm-font-size: 1rem;
|
|
54
|
+
--ds-body-sm-letter-spacing: 0.25%;
|
|
55
|
+
--ds-body-xs-font-weight: 400;
|
|
56
|
+
--ds-body-xs-line-height: 1.5;
|
|
57
|
+
--ds-body-xs-font-size: 0.875rem;
|
|
58
|
+
--ds-body-xs-letter-spacing: 0.15%;
|
|
59
|
+
--ds-body-short-xl-font-weight: 400;
|
|
60
|
+
--ds-body-short-xl-line-height: 1.3;
|
|
61
|
+
--ds-body-short-xl-font-size: 1.5rem;
|
|
62
|
+
--ds-body-short-xl-letter-spacing: 0.5%;
|
|
63
|
+
--ds-body-short-lg-font-weight: 400;
|
|
64
|
+
--ds-body-short-lg-line-height: 1.3;
|
|
65
|
+
--ds-body-short-lg-font-size: 1.3125rem;
|
|
66
|
+
--ds-body-short-lg-letter-spacing: 0.5%;
|
|
67
|
+
--ds-body-short-md-font-weight: 400;
|
|
68
|
+
--ds-body-short-md-line-height: 1.3;
|
|
69
|
+
--ds-body-short-md-font-size: 1.125rem;
|
|
70
|
+
--ds-body-short-md-letter-spacing: 0.5%;
|
|
71
|
+
--ds-body-short-sm-font-weight: 400;
|
|
72
|
+
--ds-body-short-sm-line-height: 1.3;
|
|
73
|
+
--ds-body-short-sm-font-size: 1rem;
|
|
74
|
+
--ds-body-short-sm-letter-spacing: 0.25%;
|
|
75
|
+
--ds-body-short-xs-font-weight: 400;
|
|
76
|
+
--ds-body-short-xs-line-height: 1.3;
|
|
77
|
+
--ds-body-short-xs-font-size: 0.875rem;
|
|
78
|
+
--ds-body-short-xs-letter-spacing: 0.15%;
|
|
79
|
+
--ds-body-long-xl-font-weight: 400;
|
|
80
|
+
--ds-body-long-xl-line-height: 1.7;
|
|
81
|
+
--ds-body-long-xl-font-size: 1.5rem;
|
|
82
|
+
--ds-body-long-xl-letter-spacing: 0.5%;
|
|
83
|
+
--ds-body-long-lg-font-weight: 400;
|
|
84
|
+
--ds-body-long-lg-line-height: 1.7;
|
|
85
|
+
--ds-body-long-lg-font-size: 1.3125rem;
|
|
86
|
+
--ds-body-long-lg-letter-spacing: 0.5%;
|
|
87
|
+
--ds-body-long-md-font-weight: 400;
|
|
88
|
+
--ds-body-long-md-line-height: 1.7;
|
|
89
|
+
--ds-body-long-md-font-size: 1.125rem;
|
|
90
|
+
--ds-body-long-md-letter-spacing: 0.5%;
|
|
91
|
+
--ds-body-long-sm-font-weight: 400;
|
|
92
|
+
--ds-body-long-sm-line-height: 1.7;
|
|
93
|
+
--ds-body-long-sm-font-size: 1rem;
|
|
94
|
+
--ds-body-long-sm-letter-spacing: 0.25%;
|
|
95
|
+
--ds-body-long-xs-font-weight: 400;
|
|
96
|
+
--ds-body-long-xs-line-height: 1.7;
|
|
97
|
+
--ds-body-long-xs-font-size: 0.875rem;
|
|
98
|
+
--ds-body-long-xs-letter-spacing: 0.15%;
|
|
99
|
+
--ds-line-height-sm: 1.3;
|
|
100
|
+
--ds-line-height-md: 1.5;
|
|
101
|
+
--ds-line-height-lg: 1.7;
|
|
102
|
+
--ds-font-size-1: 0.75rem;
|
|
103
|
+
--ds-font-size-2: 0.8125rem;
|
|
104
|
+
--ds-font-size-3: 0.875rem;
|
|
105
|
+
--ds-font-size-4: 1rem;
|
|
106
|
+
--ds-font-size-5: 1.125rem;
|
|
107
|
+
--ds-font-size-6: 1.3125rem;
|
|
108
|
+
--ds-font-size-7: 1.5rem;
|
|
109
|
+
--ds-font-size-8: 1.875rem;
|
|
110
|
+
--ds-font-size-9: 2.25rem;
|
|
111
|
+
--ds-font-size-10: 3rem;
|
|
112
|
+
--ds-font-size-11: 3.75rem;
|
|
113
|
+
--ds-letter-spacing-1: -1%;
|
|
114
|
+
--ds-letter-spacing-2: -0.5%;
|
|
115
|
+
--ds-letter-spacing-3: -0.25%;
|
|
116
|
+
--ds-letter-spacing-4: -0.15%;
|
|
117
|
+
--ds-letter-spacing-5: 0%;
|
|
118
|
+
--ds-letter-spacing-6: 0.15%;
|
|
119
|
+
--ds-letter-spacing-7: 0.25%;
|
|
120
|
+
--ds-letter-spacing-8: 0.5%;
|
|
121
|
+
--ds-letter-spacing-9: 1.5%;
|
|
122
|
+
--ds-altinn-ds-main: Inter;
|
|
123
|
+
--ds-altinn-ds-bold: 500;
|
|
124
|
+
--ds-altinn-ds-extra-bold: 600;
|
|
125
|
+
--ds-altinn-ds-regular: 400;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface BookmarkAutocompleteItemProps extends AutoCompleteItemWithType,
|
|
|
21
21
|
}
|
|
22
22
|
export interface InformationAutocompleteItemProps extends AutoCompleteItemWithType, ListItemProps {
|
|
23
23
|
type: 'information';
|
|
24
|
-
badge?: BadgeProps;
|
|
24
|
+
badge?: BadgeProps | undefined;
|
|
25
25
|
}
|
|
26
26
|
export type AutocompleteItemProps = ScopeAutocompleteItemProps | DialogAutocompleteItemProps | BookmarkAutocompleteItemProps | InformationAutocompleteItemProps;
|
|
27
27
|
export declare const AutocompleteItem: ({ type, ...props }: AutocompleteItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@ export interface ScopeListItemProps extends ListItemInputProps {
|
|
|
5
5
|
as?: ElementType;
|
|
6
6
|
href?: string;
|
|
7
7
|
onClick?: () => void;
|
|
8
|
-
badge?: BadgeProps;
|
|
8
|
+
badge?: BadgeProps | undefined;
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const ScopeListItem: ({ as, label, ...rest }: ScopeListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type BadgeColor = '
|
|
3
|
-
export type BadgeSize = 'sm';
|
|
2
|
+
export type BadgeColor = 'neutral' | 'alert';
|
|
3
|
+
export type BadgeSize = 'sm' | 'xs';
|
|
4
4
|
export interface BadgeProps {
|
|
5
5
|
label?: string | number;
|
|
6
6
|
color?: BadgeColor;
|
|
@@ -12,4 +12,6 @@ export default meta;
|
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
13
|
export declare const Default: Story;
|
|
14
14
|
export declare const Alert: Story;
|
|
15
|
+
export declare const AlertXs: Story;
|
|
15
16
|
export declare const UnreadCount: Story;
|
|
17
|
+
export declare const UnreadCountXs: Story;
|