@altinn/altinn-components 0.24.6 → 0.24.8
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/altinn-ds-overrides.css +9 -14
- package/dist/altinn-ds.css +18 -18
- package/dist/altinn-theme.css +5 -6
- package/dist/assets/ActionHeader.css +1 -1
- package/dist/assets/Badge.css +1 -1
- package/dist/assets/ButtonBase.css +1 -1
- package/dist/assets/DatepickerTable.css +1 -1
- package/dist/assets/DialogListItem.css +1 -1
- package/dist/assets/DialogSelect.css +1 -1
- package/dist/assets/DropdownBase.css +1 -1
- package/dist/assets/Icon.css +1 -1
- package/dist/assets/LayoutBase.css +1 -1
- package/dist/assets/ListItemBase.css +1 -1
- package/dist/assets/ListItemHeader.css +1 -1
- package/dist/assets/ListItemLabel.css +1 -1
- package/dist/assets/ListItemSelect.css +1 -1
- package/dist/assets/MenuBase.css +1 -1
- package/dist/assets/MenuInputField.css +1 -1
- package/dist/assets/MenuItemBase.css +1 -1
- package/dist/assets/MetaItemBase.css +1 -1
- package/dist/assets/PageMenu.css +1 -1
- package/dist/assets/ProgressIcon.css +1 -1
- package/dist/assets/SnackbarItem.css +1 -1
- package/dist/assets/TimelineBase.css +1 -1
- package/dist/components/Badge/Badge.js +6 -6
- package/dist/components/Button/ButtonBase.js +14 -14
- package/dist/components/Datepicker/DatepickerTable.js +1 -1
- package/dist/components/Dialog/DialogActivityLog.js +1 -1
- package/dist/components/Dialog/DialogLayout.js +13 -14
- package/dist/components/Dialog/DialogList.js +11 -11
- package/dist/components/Dialog/DialogListItem.js +68 -68
- package/dist/components/Dialog/DialogSeenBy.js +4 -4
- package/dist/components/Dialog/DialogSelect.js +9 -9
- package/dist/components/Dialog/DialogStatus.js +2 -2
- package/dist/components/Dropdown/DropdownBase.js +5 -5
- package/dist/components/DsComponents/index.js +17 -16
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/Icon/ProgressIcon.js +7 -7
- package/dist/components/Layout/LayoutBase.js +1 -1
- package/dist/components/LayoutAction/ActionHeader.js +14 -14
- package/dist/components/List/ListItemBase.js +19 -19
- package/dist/components/List/ListItemHeader.js +32 -32
- package/dist/components/List/ListItemLabel.js +11 -11
- package/dist/components/List/ListItemSelect.js +7 -7
- package/dist/components/Menu/MenuBase.js +10 -10
- package/dist/components/Menu/MenuInputField.js +10 -10
- package/dist/components/Menu/MenuItemBase.js +27 -27
- package/dist/components/Meta/MetaItemBase.js +19 -19
- package/dist/components/Meta/Metadata.js +24 -0
- package/dist/components/Meta/index.js +15 -15
- package/dist/components/Page/AccordionSection.js +16 -0
- package/dist/components/Page/ArticleHeader.js +16 -0
- package/dist/components/Page/ContactButtons.js +12 -0
- package/dist/components/Page/ContactSection.js +20 -21
- package/dist/components/Page/DashboardCard.js +49 -0
- package/dist/components/Page/DashboardHeader.js +24 -0
- package/dist/components/Page/PageDetails.js +9 -0
- package/dist/components/Page/PageMenu.js +6 -6
- package/dist/components/Page/index.js +28 -18
- package/dist/components/Profile/AccountList.js +12 -0
- package/dist/components/Profile/AccountListItem.js +88 -0
- package/dist/components/Profile/index.js +6 -0
- package/dist/components/Snackbar/SnackbarItem.js +12 -12
- package/dist/components/Timeline/TimelineBase.js +19 -19
- package/dist/components/index.js +184 -169
- package/dist/floating-ui.react-BQwG1HOM.js +2840 -0
- package/dist/global.css +3 -2
- package/dist/index-C8BS_2GY.js +64 -0
- package/dist/index-DcykCrjD.js +115 -0
- package/dist/index.js +190 -175
- package/dist/padding.css +22 -0
- package/dist/tokens/$metadata.json +10 -5
- package/dist/tokens/$themes.json +46 -14
- package/dist/tokens/README.md +8 -7
- package/dist/tokens/alert.css +8 -6
- package/dist/tokens/alert.json +18 -14
- package/dist/tokens/altinn-ds/color/alert.css +8 -6
- package/dist/tokens/altinn-ds/color/article.css +8 -6
- package/dist/tokens/altinn-ds/color/company.css +6 -5
- package/dist/tokens/altinn-ds/color/danger.css +25 -0
- package/dist/tokens/altinn-ds/color/info.css +25 -0
- package/dist/tokens/altinn-ds/color/neutral.css +25 -0
- package/dist/tokens/altinn-ds/color/person.css +8 -6
- package/dist/tokens/altinn-ds/color/success.css +25 -0
- package/dist/tokens/altinn-ds/color/warning.css +25 -0
- package/dist/tokens/altinn-ds/color-scheme/dark.css +252 -412
- package/dist/tokens/altinn-ds/color-scheme/light.css +222 -382
- package/dist/tokens/altinn-ds/semantic.css +54 -54
- package/dist/tokens/altinn-ds/typography/primary.css +10 -15
- package/dist/tokens/altinn-ds/typography/secondary.css +10 -15
- package/dist/tokens/altinn-ds.css +682 -987
- package/dist/tokens/altinn-ds.json +14 -12
- package/dist/tokens/article.css +8 -6
- package/dist/tokens/article.json +18 -14
- package/dist/tokens/color/alert.css +8 -6
- package/dist/tokens/color/article.css +8 -6
- package/dist/tokens/color/company.css +6 -5
- package/dist/tokens/color/danger.css +25 -0
- package/dist/tokens/color/info.css +25 -0
- package/dist/tokens/color/neutral.css +25 -0
- package/dist/tokens/color/person.css +8 -6
- package/dist/tokens/color/success.css +25 -0
- package/dist/tokens/color/warning.css +25 -0
- package/dist/tokens/color-scheme/dark/altinn-ds.json +100 -80
- package/dist/tokens/color-scheme/dark/global.json +99 -141
- package/dist/tokens/color-scheme/dark.css +252 -412
- package/dist/tokens/color-scheme/light/altinn-ds.json +94 -74
- package/dist/tokens/color-scheme/light/global.json +90 -132
- package/dist/tokens/color-scheme/light.css +222 -382
- package/dist/tokens/color.json +185 -141
- package/dist/tokens/colors.d.ts +2 -2
- package/dist/tokens/company.css +6 -5
- package/dist/tokens/company.json +18 -14
- package/dist/tokens/danger.css +25 -0
- package/dist/tokens/dark/altinn-ds.json +100 -80
- package/dist/tokens/dark/global.json +99 -141
- package/dist/tokens/dark.css +252 -412
- package/dist/tokens/design-tokens/$metadata.json +10 -5
- package/dist/tokens/design-tokens/$themes.json +46 -14
- package/dist/tokens/design-tokens/primitives/globals.json +2 -14
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/altinn-ds.json +100 -80
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/global.json +99 -141
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/altinn-ds.json +94 -74
- package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/global.json +90 -132
- package/dist/tokens/design-tokens/primitives/modes/size/global.json +21 -21
- package/dist/tokens/design-tokens/primitives/modes/typography/primary/altinn-ds.json +14 -12
- package/dist/tokens/design-tokens/primitives/modes/typography/secondary/altinn-ds.json +14 -12
- package/dist/tokens/design-tokens/primitives/modes/typography/size/large.json +8 -12
- package/dist/tokens/design-tokens/primitives/modes/typography/size/medium.json +8 -12
- package/dist/tokens/design-tokens/primitives/modes/typography/size/small.json +8 -12
- package/dist/tokens/design-tokens/semantic/color.json +185 -141
- package/dist/tokens/design-tokens/semantic/modes/main-color/company.json +18 -14
- package/dist/tokens/design-tokens/semantic/modes/main-color/person.json +18 -14
- package/dist/tokens/design-tokens/semantic/modes/support-color/alert.json +18 -14
- package/dist/tokens/design-tokens/semantic/modes/support-color/article.json +18 -14
- package/dist/tokens/design-tokens/semantic/style.json +104 -182
- package/dist/tokens/design-tokens/themes/altinn-ds.json +61 -39
- package/dist/tokens/design-tokens-build/altinn-ds/color/alert.css +8 -6
- package/dist/tokens/design-tokens-build/altinn-ds/color/article.css +8 -6
- package/dist/tokens/design-tokens-build/altinn-ds/color/company.css +6 -5
- package/dist/tokens/design-tokens-build/altinn-ds/color/danger.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/info.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/neutral.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/person.css +8 -6
- package/dist/tokens/design-tokens-build/altinn-ds/color/success.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color/warning.css +25 -0
- package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/dark.css +252 -412
- package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/light.css +222 -382
- package/dist/tokens/design-tokens-build/altinn-ds/semantic.css +54 -54
- package/dist/tokens/design-tokens-build/altinn-ds/typography/primary.css +10 -15
- package/dist/tokens/design-tokens-build/altinn-ds/typography/secondary.css +10 -15
- package/dist/tokens/design-tokens-build/altinn-ds.css +682 -987
- package/dist/tokens/design-tokens-build/colors.d.ts +2 -2
- package/dist/tokens/global.json +90 -132
- package/dist/tokens/globals.json +2 -14
- package/dist/tokens/info.css +25 -0
- package/dist/tokens/large.json +8 -12
- package/dist/tokens/light/altinn-ds.json +94 -74
- package/dist/tokens/light/global.json +90 -132
- package/dist/tokens/light.css +222 -382
- package/dist/tokens/main-color/company.json +18 -14
- package/dist/tokens/main-color/person.json +18 -14
- package/dist/tokens/medium.json +8 -12
- package/dist/tokens/modes/color-scheme/dark/altinn-ds.json +100 -80
- package/dist/tokens/modes/color-scheme/dark/global.json +99 -141
- package/dist/tokens/modes/color-scheme/light/altinn-ds.json +94 -74
- package/dist/tokens/modes/color-scheme/light/global.json +90 -132
- package/dist/tokens/modes/main-color/company.json +18 -14
- package/dist/tokens/modes/main-color/person.json +18 -14
- package/dist/tokens/modes/size/global.json +21 -21
- package/dist/tokens/modes/support-color/alert.json +18 -14
- package/dist/tokens/modes/support-color/article.json +18 -14
- package/dist/tokens/modes/typography/primary/altinn-ds.json +14 -12
- package/dist/tokens/modes/typography/secondary/altinn-ds.json +14 -12
- package/dist/tokens/modes/typography/size/large.json +8 -12
- package/dist/tokens/modes/typography/size/medium.json +8 -12
- package/dist/tokens/modes/typography/size/small.json +8 -12
- package/dist/tokens/neutral.css +25 -0
- package/dist/tokens/person.css +8 -6
- package/dist/tokens/person.json +18 -14
- package/dist/tokens/primary/altinn-ds.json +14 -12
- package/dist/tokens/primary.css +10 -15
- package/dist/tokens/primitives/globals.json +2 -14
- package/dist/tokens/primitives/modes/color-scheme/dark/altinn-ds.json +100 -80
- package/dist/tokens/primitives/modes/color-scheme/dark/global.json +99 -141
- package/dist/tokens/primitives/modes/color-scheme/light/altinn-ds.json +94 -74
- package/dist/tokens/primitives/modes/color-scheme/light/global.json +90 -132
- package/dist/tokens/primitives/modes/size/global.json +21 -21
- package/dist/tokens/primitives/modes/typography/primary/altinn-ds.json +14 -12
- package/dist/tokens/primitives/modes/typography/secondary/altinn-ds.json +14 -12
- package/dist/tokens/primitives/modes/typography/size/large.json +8 -12
- package/dist/tokens/primitives/modes/typography/size/medium.json +8 -12
- package/dist/tokens/primitives/modes/typography/size/small.json +8 -12
- package/dist/tokens/secondary/altinn-ds.json +14 -12
- package/dist/tokens/secondary.css +10 -15
- package/dist/tokens/semantic/color.json +185 -141
- package/dist/tokens/semantic/modes/main-color/company.json +18 -14
- package/dist/tokens/semantic/modes/main-color/person.json +18 -14
- package/dist/tokens/semantic/modes/support-color/alert.json +18 -14
- package/dist/tokens/semantic/modes/support-color/article.json +18 -14
- package/dist/tokens/semantic/style.json +104 -182
- package/dist/tokens/semantic.css +54 -54
- package/dist/tokens/size/global.json +21 -21
- package/dist/tokens/size/large.json +8 -12
- package/dist/tokens/size/medium.json +8 -12
- package/dist/tokens/size/small.json +8 -12
- package/dist/tokens/small.json +8 -12
- package/dist/tokens/style.json +104 -182
- package/dist/tokens/success.css +25 -0
- package/dist/tokens/support-color/alert.json +18 -14
- package/dist/tokens/support-color/article.json +18 -14
- package/dist/tokens/themes/altinn-ds.json +61 -39
- package/dist/tokens/typography/primary/altinn-ds.json +14 -12
- package/dist/tokens/typography/primary.css +10 -15
- package/dist/tokens/typography/secondary/altinn-ds.json +14 -12
- package/dist/tokens/typography/secondary.css +10 -15
- package/dist/tokens/typography/size/large.json +8 -12
- package/dist/tokens/typography/size/medium.json +8 -12
- package/dist/tokens/typography/size/small.json +8 -12
- package/dist/tokens/warning.css +25 -0
- package/dist/types/lib/components/Dialog/DialogList.d.ts +2 -1
- package/dist/types/lib/components/Dialog/DialogList.stories.d.ts +2 -1
- package/dist/types/lib/components/Menu/Examples.stories.d.ts +17 -0
- package/dist/types/lib/components/Meta/MetaItemBase.d.ts +1 -1
- package/dist/types/lib/components/Meta/{MetaList.d.ts → Metadata.d.ts} +6 -4
- package/dist/types/lib/components/Meta/index.d.ts +1 -1
- package/dist/types/lib/components/Page/AccordionSection.d.ts +10 -0
- package/dist/types/lib/components/Page/ArticleHeader.d.ts +8 -0
- package/dist/types/lib/components/Page/ArticleHeader.stories.d.ts +14 -0
- package/dist/types/lib/components/Page/ContactButtons.d.ts +7 -0
- package/dist/types/lib/components/Page/ContactSection.d.ts +2 -2
- package/dist/types/lib/components/Page/DashboardCard.d.ts +10 -0
- package/dist/types/lib/components/Page/DashboardHeader.d.ts +10 -0
- package/dist/types/lib/components/Page/PageDetails.d.ts +6 -0
- package/dist/types/lib/components/Page/Patterns.stories.d.ts +14 -1
- package/dist/types/lib/components/Page/index.d.ts +7 -2
- package/dist/types/lib/components/Profile/AccountList.d.ts +5 -0
- package/dist/types/lib/components/{Meta/MetaList.stories.d.ts → Profile/AccountList.stories.d.ts} +2 -4
- package/dist/types/lib/components/Profile/AccountListItem.d.ts +11 -0
- package/dist/types/lib/components/Profile/index.d.ts +2 -0
- package/dist/types/lib/components/index.d.ts +1 -0
- package/dist/usePagination-B2I-a3Aq.js +1089 -0
- package/package.json +3 -1
- package/dist/assets/MetaList.css +0 -1
- package/dist/companyMenuItems-E0wNQAfZ.js +0 -105
- package/dist/components/Meta/MetaList.js +0 -22
- package/dist/components/Page/Article.js +0 -6
- package/dist/tokens/Figma/components.json +0 -22
- package/dist/tokens/accent.css +0 -23
- package/dist/tokens/accent.json +0 -66
- package/dist/tokens/altinn-ds/builtin-colors.css +0 -87
- package/dist/tokens/altinn-ds/color/accent.css +0 -23
- package/dist/tokens/builtin-colors.css +0 -87
- package/dist/tokens/color/accent.css +0 -23
- package/dist/tokens/components.json +0 -22
- package/dist/tokens/default.json +0 -175
- package/dist/tokens/design-tokens/Figma/components.json +0 -22
- package/dist/tokens/design-tokens/primitives/size/default.json +0 -175
- package/dist/tokens/design-tokens/semantic/modes/main-color/accent.json +0 -66
- package/dist/tokens/design-tokens-build/altinn-ds/builtin-colors.css +0 -87
- package/dist/tokens/design-tokens-build/altinn-ds/color/accent.css +0 -23
- package/dist/tokens/main-color/accent.json +0 -66
- package/dist/tokens/modes/main-color/accent.json +0 -66
- package/dist/tokens/primitives/size/default.json +0 -175
- package/dist/tokens/semantic/modes/main-color/accent.json +0 -66
- package/dist/tokens/size/default.json +0 -175
- package/dist/types/lib/components/Page/Article.d.ts +0 -6
- package/dist/usePagination-CBMPUKt_.js +0 -4073
package/dist/tokens/style.json
CHANGED
|
@@ -4,70 +4,70 @@
|
|
|
4
4
|
"2xl": {
|
|
5
5
|
"$type": "typography",
|
|
6
6
|
"$value": {
|
|
7
|
-
"fontFamily": "{font
|
|
7
|
+
"fontFamily": "{font-family}",
|
|
8
8
|
"fontWeight": "{font-weight.medium}",
|
|
9
9
|
"lineHeight": "{line-height.sm}",
|
|
10
|
-
"fontSize": "{font-size.
|
|
10
|
+
"fontSize": "{font-size.10}",
|
|
11
11
|
"letterSpacing": "{letter-spacing.1}"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"xl": {
|
|
15
15
|
"$type": "typography",
|
|
16
16
|
"$value": {
|
|
17
|
-
"fontFamily": "{font
|
|
17
|
+
"fontFamily": "{font-family}",
|
|
18
18
|
"fontWeight": "{font-weight.medium}",
|
|
19
19
|
"lineHeight": "{line-height.sm}",
|
|
20
|
-
"fontSize": "{font-size.
|
|
20
|
+
"fontSize": "{font-size.9}",
|
|
21
21
|
"letterSpacing": "{letter-spacing.1}"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"lg": {
|
|
25
25
|
"$type": "typography",
|
|
26
26
|
"$value": {
|
|
27
|
-
"fontFamily": "{font
|
|
27
|
+
"fontFamily": "{font-family}",
|
|
28
28
|
"fontWeight": "{font-weight.medium}",
|
|
29
29
|
"lineHeight": "{line-height.sm}",
|
|
30
|
-
"fontSize": "{font-size.
|
|
30
|
+
"fontSize": "{font-size.8}",
|
|
31
31
|
"letterSpacing": "{letter-spacing.2}"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"md": {
|
|
35
35
|
"$type": "typography",
|
|
36
36
|
"$value": {
|
|
37
|
-
"fontFamily": "{font
|
|
37
|
+
"fontFamily": "{font-family}",
|
|
38
38
|
"fontWeight": "{font-weight.medium}",
|
|
39
39
|
"lineHeight": "{line-height.sm}",
|
|
40
|
-
"fontSize": "{font-size.
|
|
40
|
+
"fontSize": "{font-size.7}",
|
|
41
41
|
"letterSpacing": "{letter-spacing.3}"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"sm": {
|
|
45
45
|
"$type": "typography",
|
|
46
46
|
"$value": {
|
|
47
|
-
"fontFamily": "{font
|
|
47
|
+
"fontFamily": "{font-family}",
|
|
48
48
|
"fontWeight": "{font-weight.medium}",
|
|
49
49
|
"lineHeight": "{line-height.sm}",
|
|
50
|
-
"fontSize": "{font-size.
|
|
50
|
+
"fontSize": "{font-size.6}",
|
|
51
51
|
"letterSpacing": "{letter-spacing.5}"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"xs": {
|
|
55
55
|
"$type": "typography",
|
|
56
56
|
"$value": {
|
|
57
|
-
"fontFamily": "{font
|
|
57
|
+
"fontFamily": "{font-family}",
|
|
58
58
|
"fontWeight": "{font-weight.medium}",
|
|
59
59
|
"lineHeight": "{line-height.sm}",
|
|
60
|
-
"fontSize": "{font-size.
|
|
60
|
+
"fontSize": "{font-size.5}",
|
|
61
61
|
"letterSpacing": "{letter-spacing.6}"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"2xs": {
|
|
65
65
|
"$type": "typography",
|
|
66
66
|
"$value": {
|
|
67
|
-
"fontFamily": "{font
|
|
67
|
+
"fontFamily": "{font-family}",
|
|
68
68
|
"fontWeight": "{font-weight.medium}",
|
|
69
69
|
"lineHeight": "{line-height.sm}",
|
|
70
|
-
"fontSize": "{font-size.
|
|
70
|
+
"fontSize": "{font-size.4}",
|
|
71
71
|
"letterSpacing": "{letter-spacing.6}"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -76,50 +76,50 @@
|
|
|
76
76
|
"xl": {
|
|
77
77
|
"$type": "typography",
|
|
78
78
|
"$value": {
|
|
79
|
-
"fontFamily": "{font
|
|
79
|
+
"fontFamily": "{font-family}",
|
|
80
80
|
"fontWeight": "{font-weight.regular}",
|
|
81
81
|
"lineHeight": "{line-height.md}",
|
|
82
|
-
"fontSize": "{font-size.
|
|
82
|
+
"fontSize": "{font-size.6}",
|
|
83
83
|
"letterSpacing": "{letter-spacing.8}"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"lg": {
|
|
87
87
|
"$type": "typography",
|
|
88
88
|
"$value": {
|
|
89
|
-
"fontFamily": "{font
|
|
89
|
+
"fontFamily": "{font-family}",
|
|
90
90
|
"fontWeight": "{font-weight.regular}",
|
|
91
91
|
"lineHeight": "{line-height.md}",
|
|
92
|
-
"fontSize": "{font-size.
|
|
92
|
+
"fontSize": "{font-size.5}",
|
|
93
93
|
"letterSpacing": "{letter-spacing.8}"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"md": {
|
|
97
97
|
"$type": "typography",
|
|
98
98
|
"$value": {
|
|
99
|
-
"fontFamily": "{font
|
|
99
|
+
"fontFamily": "{font-family}",
|
|
100
100
|
"fontWeight": "{font-weight.regular}",
|
|
101
101
|
"lineHeight": "{line-height.md}",
|
|
102
|
-
"fontSize": "{font-size.
|
|
102
|
+
"fontSize": "{font-size.4}",
|
|
103
103
|
"letterSpacing": "{letter-spacing.8}"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"sm": {
|
|
107
107
|
"$type": "typography",
|
|
108
108
|
"$value": {
|
|
109
|
-
"fontFamily": "{font
|
|
109
|
+
"fontFamily": "{font-family}",
|
|
110
110
|
"fontWeight": "{font-weight.regular}",
|
|
111
111
|
"lineHeight": "{line-height.md}",
|
|
112
|
-
"fontSize": "{font-size.
|
|
112
|
+
"fontSize": "{font-size.3}",
|
|
113
113
|
"letterSpacing": "{letter-spacing.7}"
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"xs": {
|
|
117
117
|
"$type": "typography",
|
|
118
118
|
"$value": {
|
|
119
|
-
"fontFamily": "{font
|
|
119
|
+
"fontFamily": "{font-family}",
|
|
120
120
|
"fontWeight": "{font-weight.regular}",
|
|
121
121
|
"lineHeight": "{line-height.md}",
|
|
122
|
-
"fontSize": "{font-size.
|
|
122
|
+
"fontSize": "{font-size.2}",
|
|
123
123
|
"letterSpacing": "{letter-spacing.6}"
|
|
124
124
|
}
|
|
125
125
|
},
|
|
@@ -127,50 +127,50 @@
|
|
|
127
127
|
"xl": {
|
|
128
128
|
"$type": "typography",
|
|
129
129
|
"$value": {
|
|
130
|
-
"fontFamily": "{font
|
|
130
|
+
"fontFamily": "{font-family}",
|
|
131
131
|
"fontWeight": "{font-weight.regular}",
|
|
132
132
|
"lineHeight": "{line-height.sm}",
|
|
133
|
-
"fontSize": "{font-size.
|
|
133
|
+
"fontSize": "{font-size.6}",
|
|
134
134
|
"letterSpacing": "{letter-spacing.8}"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
"lg": {
|
|
138
138
|
"$type": "typography",
|
|
139
139
|
"$value": {
|
|
140
|
-
"fontFamily": "{font
|
|
140
|
+
"fontFamily": "{font-family}",
|
|
141
141
|
"fontWeight": "{font-weight.regular}",
|
|
142
142
|
"lineHeight": "{line-height.sm}",
|
|
143
|
-
"fontSize": "{font-size.
|
|
143
|
+
"fontSize": "{font-size.5}",
|
|
144
144
|
"letterSpacing": "{letter-spacing.8}"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"md": {
|
|
148
148
|
"$type": "typography",
|
|
149
149
|
"$value": {
|
|
150
|
-
"fontFamily": "{font
|
|
150
|
+
"fontFamily": "{font-family}",
|
|
151
151
|
"fontWeight": "{font-weight.regular}",
|
|
152
152
|
"lineHeight": "{line-height.sm}",
|
|
153
|
-
"fontSize": "{font-size.
|
|
153
|
+
"fontSize": "{font-size.4}",
|
|
154
154
|
"letterSpacing": "{letter-spacing.8}"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"sm": {
|
|
158
158
|
"$type": "typography",
|
|
159
159
|
"$value": {
|
|
160
|
-
"fontFamily": "{font
|
|
160
|
+
"fontFamily": "{font-family}",
|
|
161
161
|
"fontWeight": "{font-weight.regular}",
|
|
162
162
|
"lineHeight": "{line-height.sm}",
|
|
163
|
-
"fontSize": "{font-size.
|
|
163
|
+
"fontSize": "{font-size.3}",
|
|
164
164
|
"letterSpacing": "{letter-spacing.7}"
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
"xs": {
|
|
168
168
|
"$type": "typography",
|
|
169
169
|
"$value": {
|
|
170
|
-
"fontFamily": "{font
|
|
170
|
+
"fontFamily": "{font-family}",
|
|
171
171
|
"fontWeight": "{font-weight.regular}",
|
|
172
172
|
"lineHeight": "{line-height.sm}",
|
|
173
|
-
"fontSize": "{font-size.
|
|
173
|
+
"fontSize": "{font-size.2}",
|
|
174
174
|
"letterSpacing": "{letter-spacing.6}"
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -179,278 +179,200 @@
|
|
|
179
179
|
"xl": {
|
|
180
180
|
"$type": "typography",
|
|
181
181
|
"$value": {
|
|
182
|
-
"fontFamily": "{font
|
|
182
|
+
"fontFamily": "{font-family}",
|
|
183
183
|
"fontWeight": "{font-weight.regular}",
|
|
184
184
|
"lineHeight": "{line-height.lg}",
|
|
185
|
-
"fontSize": "{font-size.
|
|
185
|
+
"fontSize": "{font-size.6}",
|
|
186
186
|
"letterSpacing": "{letter-spacing.8}"
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
"lg": {
|
|
190
190
|
"$type": "typography",
|
|
191
191
|
"$value": {
|
|
192
|
-
"fontFamily": "{font
|
|
192
|
+
"fontFamily": "{font-family}",
|
|
193
193
|
"fontWeight": "{font-weight.regular}",
|
|
194
194
|
"lineHeight": "{line-height.lg}",
|
|
195
|
-
"fontSize": "{font-size.
|
|
195
|
+
"fontSize": "{font-size.5}",
|
|
196
196
|
"letterSpacing": "{letter-spacing.8}"
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
"md": {
|
|
200
200
|
"$type": "typography",
|
|
201
201
|
"$value": {
|
|
202
|
-
"fontFamily": "{font
|
|
202
|
+
"fontFamily": "{font-family}",
|
|
203
203
|
"fontWeight": "{font-weight.regular}",
|
|
204
204
|
"lineHeight": "{line-height.lg}",
|
|
205
|
-
"fontSize": "{font-size.
|
|
205
|
+
"fontSize": "{font-size.4}",
|
|
206
206
|
"letterSpacing": "{letter-spacing.8}"
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
"sm": {
|
|
210
210
|
"$type": "typography",
|
|
211
211
|
"$value": {
|
|
212
|
-
"fontFamily": "{font
|
|
212
|
+
"fontFamily": "{font-family}",
|
|
213
213
|
"fontWeight": "{font-weight.regular}",
|
|
214
214
|
"lineHeight": "{line-height.lg}",
|
|
215
|
-
"fontSize": "{font-size.
|
|
215
|
+
"fontSize": "{font-size.3}",
|
|
216
216
|
"letterSpacing": "{letter-spacing.7}"
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
"xs": {
|
|
220
220
|
"$type": "typography",
|
|
221
221
|
"$value": {
|
|
222
|
-
"fontFamily": "{font
|
|
222
|
+
"fontFamily": "{font-family}",
|
|
223
223
|
"fontWeight": "{font-weight.regular}",
|
|
224
224
|
"lineHeight": "{line-height.lg}",
|
|
225
|
-
"fontSize": "{font-size.
|
|
225
|
+
"fontSize": "{font-size.2}",
|
|
226
226
|
"letterSpacing": "{letter-spacing.6}"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
|
-
"
|
|
233
|
-
"
|
|
232
|
+
"opacity": {
|
|
233
|
+
"disabled": {
|
|
234
234
|
"$type": "opacity",
|
|
235
235
|
"$value": "{opacity.30}"
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
-
"border-
|
|
239
|
-
"sm": {
|
|
240
|
-
"$type": "borderRadius",
|
|
241
|
-
"$value": "{border-radius.1}"
|
|
242
|
-
},
|
|
243
|
-
"md": {
|
|
244
|
-
"$type": "borderRadius",
|
|
245
|
-
"$value": "{border-radius.2}"
|
|
246
|
-
},
|
|
247
|
-
"lg": {
|
|
248
|
-
"$type": "borderRadius",
|
|
249
|
-
"$value": "{border-radius.3}"
|
|
250
|
-
},
|
|
238
|
+
"border-width": {
|
|
251
239
|
"default": {
|
|
252
|
-
"$type": "
|
|
253
|
-
"$value": "{border-
|
|
240
|
+
"$type": "borderWidth",
|
|
241
|
+
"$value": "{border-width.1}"
|
|
254
242
|
},
|
|
255
|
-
"
|
|
256
|
-
"$type": "
|
|
257
|
-
"$value": "{border-
|
|
243
|
+
"focus": {
|
|
244
|
+
"$type": "borderWidth",
|
|
245
|
+
"$value": "{border-width.3}"
|
|
258
246
|
}
|
|
259
247
|
},
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"$type": "
|
|
263
|
-
"$value": "{
|
|
264
|
-
},
|
|
265
|
-
"1": {
|
|
266
|
-
"$type": "dimension",
|
|
267
|
-
"$value": "{spacing.scale}*1"
|
|
268
|
-
},
|
|
269
|
-
"2": {
|
|
270
|
-
"$type": "dimension",
|
|
271
|
-
"$value": "{spacing.scale}*2"
|
|
272
|
-
},
|
|
273
|
-
"3": {
|
|
274
|
-
"$type": "dimension",
|
|
275
|
-
"$value": "{spacing.scale}*3"
|
|
276
|
-
},
|
|
277
|
-
"4": {
|
|
278
|
-
"$type": "dimension",
|
|
279
|
-
"$value": "{spacing.scale}*4"
|
|
280
|
-
},
|
|
281
|
-
"5": {
|
|
282
|
-
"$type": "dimension",
|
|
283
|
-
"$value": "{spacing.scale}*5"
|
|
284
|
-
},
|
|
285
|
-
"6": {
|
|
286
|
-
"$type": "dimension",
|
|
287
|
-
"$value": "{spacing.scale}*6"
|
|
288
|
-
},
|
|
289
|
-
"7": {
|
|
290
|
-
"$type": "dimension",
|
|
291
|
-
"$value": "{spacing.scale}*7"
|
|
292
|
-
},
|
|
293
|
-
"8": {
|
|
294
|
-
"$type": "dimension",
|
|
295
|
-
"$value": "{spacing.scale}*8"
|
|
296
|
-
},
|
|
297
|
-
"9": {
|
|
298
|
-
"$type": "dimension",
|
|
299
|
-
"$value": "{spacing.scale}*9"
|
|
300
|
-
},
|
|
301
|
-
"10": {
|
|
302
|
-
"$type": "dimension",
|
|
303
|
-
"$value": "{spacing.scale}*10"
|
|
248
|
+
"shadow": {
|
|
249
|
+
"xs": {
|
|
250
|
+
"$type": "boxShadow",
|
|
251
|
+
"$value": "{shadow.100}"
|
|
304
252
|
},
|
|
305
|
-
"
|
|
306
|
-
"$type": "
|
|
307
|
-
"$value": "{
|
|
253
|
+
"sm": {
|
|
254
|
+
"$type": "boxShadow",
|
|
255
|
+
"$value": "{shadow.200}"
|
|
308
256
|
},
|
|
309
|
-
"
|
|
310
|
-
"$type": "
|
|
311
|
-
"$value": "{
|
|
257
|
+
"md": {
|
|
258
|
+
"$type": "boxShadow",
|
|
259
|
+
"$value": "{shadow.300}"
|
|
312
260
|
},
|
|
313
|
-
"
|
|
314
|
-
"$type": "
|
|
315
|
-
"$value": "{
|
|
261
|
+
"lg": {
|
|
262
|
+
"$type": "boxShadow",
|
|
263
|
+
"$value": "{shadow.400}"
|
|
316
264
|
},
|
|
317
|
-
"
|
|
265
|
+
"xl": {
|
|
266
|
+
"$type": "boxShadow",
|
|
267
|
+
"$value": "{shadow.500}"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"border-radius": {
|
|
271
|
+
"sm": {
|
|
318
272
|
"$type": "dimension",
|
|
319
|
-
"$value": "{
|
|
273
|
+
"$value": "{border-radius.1}"
|
|
320
274
|
},
|
|
321
|
-
"
|
|
275
|
+
"md": {
|
|
322
276
|
"$type": "dimension",
|
|
323
|
-
"$value": "{
|
|
277
|
+
"$value": "{border-radius.2}"
|
|
324
278
|
},
|
|
325
|
-
"
|
|
279
|
+
"lg": {
|
|
326
280
|
"$type": "dimension",
|
|
327
|
-
"$value": "{
|
|
281
|
+
"$value": "{border-radius.3}"
|
|
328
282
|
},
|
|
329
|
-
"
|
|
283
|
+
"xl": {
|
|
330
284
|
"$type": "dimension",
|
|
331
|
-
"$value": "{
|
|
285
|
+
"$value": "{border-radius.4}"
|
|
332
286
|
},
|
|
333
|
-
"
|
|
287
|
+
"default": {
|
|
334
288
|
"$type": "dimension",
|
|
335
|
-
"$value": "{
|
|
289
|
+
"$value": "{border-radius.5}"
|
|
336
290
|
},
|
|
337
|
-
"
|
|
291
|
+
"full": {
|
|
338
292
|
"$type": "dimension",
|
|
339
|
-
"$value": "{
|
|
293
|
+
"$value": "{border-radius.6}"
|
|
340
294
|
}
|
|
341
295
|
},
|
|
342
|
-
"
|
|
296
|
+
"size": {
|
|
343
297
|
"0": {
|
|
344
298
|
"$type": "dimension",
|
|
345
|
-
"$value": "{
|
|
299
|
+
"$value": "{_size.0}"
|
|
346
300
|
},
|
|
347
301
|
"1": {
|
|
348
302
|
"$type": "dimension",
|
|
349
|
-
"$value": "{
|
|
303
|
+
"$value": "{_size.1}"
|
|
350
304
|
},
|
|
351
305
|
"2": {
|
|
352
306
|
"$type": "dimension",
|
|
353
|
-
"$value": "{
|
|
307
|
+
"$value": "{_size.2}"
|
|
354
308
|
},
|
|
355
309
|
"3": {
|
|
356
310
|
"$type": "dimension",
|
|
357
|
-
"$value": "{
|
|
311
|
+
"$value": "{_size.3}"
|
|
358
312
|
},
|
|
359
313
|
"4": {
|
|
360
314
|
"$type": "dimension",
|
|
361
|
-
"$value": "{
|
|
315
|
+
"$value": "{_size.4}"
|
|
362
316
|
},
|
|
363
317
|
"5": {
|
|
364
318
|
"$type": "dimension",
|
|
365
|
-
"$value": "{
|
|
319
|
+
"$value": "{_size.5}"
|
|
366
320
|
},
|
|
367
321
|
"6": {
|
|
368
322
|
"$type": "dimension",
|
|
369
|
-
"$value": "{
|
|
323
|
+
"$value": "{_size.6}"
|
|
370
324
|
},
|
|
371
325
|
"7": {
|
|
372
326
|
"$type": "dimension",
|
|
373
|
-
"$value": "{
|
|
327
|
+
"$value": "{_size.7}"
|
|
374
328
|
},
|
|
375
329
|
"8": {
|
|
376
330
|
"$type": "dimension",
|
|
377
|
-
"$value": "{
|
|
331
|
+
"$value": "{_size.8}"
|
|
378
332
|
},
|
|
379
333
|
"9": {
|
|
380
334
|
"$type": "dimension",
|
|
381
|
-
"$value": "{
|
|
335
|
+
"$value": "{_size.9}"
|
|
382
336
|
},
|
|
383
337
|
"10": {
|
|
384
338
|
"$type": "dimension",
|
|
385
|
-
"$value": "{
|
|
339
|
+
"$value": "{_size.10}"
|
|
386
340
|
},
|
|
387
341
|
"11": {
|
|
388
342
|
"$type": "dimension",
|
|
389
|
-
"$value": "{
|
|
343
|
+
"$value": "{_size.11}"
|
|
390
344
|
},
|
|
391
345
|
"12": {
|
|
392
346
|
"$type": "dimension",
|
|
393
|
-
"$value": "{
|
|
347
|
+
"$value": "{_size.12}"
|
|
394
348
|
},
|
|
395
349
|
"13": {
|
|
396
350
|
"$type": "dimension",
|
|
397
|
-
"$value": "{
|
|
351
|
+
"$value": "{_size.13}"
|
|
398
352
|
},
|
|
399
353
|
"14": {
|
|
400
354
|
"$type": "dimension",
|
|
401
|
-
"$value": "{
|
|
355
|
+
"$value": "{_size.14}"
|
|
402
356
|
},
|
|
403
357
|
"15": {
|
|
404
358
|
"$type": "dimension",
|
|
405
|
-
"$value": "{
|
|
359
|
+
"$value": "{_size.15}"
|
|
406
360
|
},
|
|
407
361
|
"18": {
|
|
408
362
|
"$type": "dimension",
|
|
409
|
-
"$value": "{
|
|
363
|
+
"$value": "{_size.18}"
|
|
410
364
|
},
|
|
411
365
|
"22": {
|
|
412
366
|
"$type": "dimension",
|
|
413
|
-
"$value": "{
|
|
367
|
+
"$value": "{_size.22}"
|
|
414
368
|
},
|
|
415
369
|
"26": {
|
|
416
370
|
"$type": "dimension",
|
|
417
|
-
"$value": "{
|
|
371
|
+
"$value": "{_size.26}"
|
|
418
372
|
},
|
|
419
373
|
"30": {
|
|
420
374
|
"$type": "dimension",
|
|
421
|
-
"$value": "{
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
"border-width": {
|
|
425
|
-
"default": {
|
|
426
|
-
"$type": "borderWidth",
|
|
427
|
-
"$value": "{border-width.1}"
|
|
428
|
-
},
|
|
429
|
-
"highlight": {
|
|
430
|
-
"$type": "borderWidth",
|
|
431
|
-
"$value": "{border-width.2}"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
"shadow": {
|
|
435
|
-
"xs": {
|
|
436
|
-
"$type": "boxShadow",
|
|
437
|
-
"$value": "{shadow.100}"
|
|
438
|
-
},
|
|
439
|
-
"sm": {
|
|
440
|
-
"$type": "boxShadow",
|
|
441
|
-
"$value": "{shadow.200}"
|
|
442
|
-
},
|
|
443
|
-
"md": {
|
|
444
|
-
"$type": "boxShadow",
|
|
445
|
-
"$value": "{shadow.300}"
|
|
446
|
-
},
|
|
447
|
-
"lg": {
|
|
448
|
-
"$type": "boxShadow",
|
|
449
|
-
"$value": "{shadow.400}"
|
|
450
|
-
},
|
|
451
|
-
"xl": {
|
|
452
|
-
"$type": "boxShadow",
|
|
453
|
-
"$value": "{shadow.500}"
|
|
375
|
+
"$value": "{_size.30}"
|
|
454
376
|
}
|
|
455
377
|
}
|
|
456
378
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These files are generated from design tokens defind using Token Studio
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@layer ds.theme.color {
|
|
6
|
+
[data-color="success"],
|
|
7
|
+
[data-color-scheme][data-color="success"] {
|
|
8
|
+
--ds-color-background-default: var(--ds-color-success-background-default);
|
|
9
|
+
--ds-color-background-tinted: var(--ds-color-success-background-tinted);
|
|
10
|
+
--ds-color-surface-default: var(--ds-color-success-surface-default);
|
|
11
|
+
--ds-color-surface-tinted: var(--ds-color-success-surface-tinted);
|
|
12
|
+
--ds-color-surface-hover: var(--ds-color-success-surface-hover);
|
|
13
|
+
--ds-color-surface-active: var(--ds-color-success-surface-active);
|
|
14
|
+
--ds-color-border-subtle: var(--ds-color-success-border-subtle);
|
|
15
|
+
--ds-color-border-default: var(--ds-color-success-border-default);
|
|
16
|
+
--ds-color-border-strong: var(--ds-color-success-border-strong);
|
|
17
|
+
--ds-color-text-subtle: var(--ds-color-success-text-subtle);
|
|
18
|
+
--ds-color-text-default: var(--ds-color-success-text-default);
|
|
19
|
+
--ds-color-base-default: var(--ds-color-success-base-default);
|
|
20
|
+
--ds-color-base-hover: var(--ds-color-success-base-hover);
|
|
21
|
+
--ds-color-base-active: var(--ds-color-success-base-active);
|
|
22
|
+
--ds-color-base-contrast-subtle: var(--ds-color-success-base-contrast-subtle);
|
|
23
|
+
--ds-color-base-contrast-default: var(--ds-color-success-base-contrast-default);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
"$type": "color",
|
|
6
6
|
"$value": "{color.alert.background-default}"
|
|
7
7
|
},
|
|
8
|
-
"background-
|
|
8
|
+
"background-tinted": {
|
|
9
9
|
"$type": "color",
|
|
10
|
-
"$value": "{color.alert.background-
|
|
10
|
+
"$value": "{color.alert.background-tinted}"
|
|
11
11
|
},
|
|
12
12
|
"surface-default": {
|
|
13
13
|
"$type": "color",
|
|
14
14
|
"$value": "{color.alert.surface-default}"
|
|
15
15
|
},
|
|
16
|
+
"surface-tinted": {
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$value": "{color.alert.surface-tinted}"
|
|
19
|
+
},
|
|
16
20
|
"surface-hover": {
|
|
17
21
|
"$type": "color",
|
|
18
22
|
"$value": "{color.alert.surface-hover}"
|
|
@@ -33,6 +37,14 @@
|
|
|
33
37
|
"$type": "color",
|
|
34
38
|
"$value": "{color.alert.border-strong}"
|
|
35
39
|
},
|
|
40
|
+
"text-subtle": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "{color.alert.text-subtle}"
|
|
43
|
+
},
|
|
44
|
+
"text-default": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "{color.alert.text-default}"
|
|
47
|
+
},
|
|
36
48
|
"base-default": {
|
|
37
49
|
"$type": "color",
|
|
38
50
|
"$value": "{color.alert.base-default}"
|
|
@@ -45,21 +57,13 @@
|
|
|
45
57
|
"$type": "color",
|
|
46
58
|
"$value": "{color.alert.base-active}"
|
|
47
59
|
},
|
|
48
|
-
"
|
|
49
|
-
"$type": "color",
|
|
50
|
-
"$value": "{color.alert.text-subtle}"
|
|
51
|
-
},
|
|
52
|
-
"text-default": {
|
|
53
|
-
"$type": "color",
|
|
54
|
-
"$value": "{color.alert.text-default}"
|
|
55
|
-
},
|
|
56
|
-
"contrast-default": {
|
|
60
|
+
"base-contrast-subtle": {
|
|
57
61
|
"$type": "color",
|
|
58
|
-
"$value": "{color.alert.contrast-
|
|
62
|
+
"$value": "{color.alert.base-contrast-subtle}"
|
|
59
63
|
},
|
|
60
|
-
"contrast-
|
|
64
|
+
"base-contrast-default": {
|
|
61
65
|
"$type": "color",
|
|
62
|
-
"$value": "{color.alert.contrast-
|
|
66
|
+
"$value": "{color.alert.base-contrast-default}"
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
}
|