@altinn/altinn-components 0.11.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/SnackbarBase.css +1 -1
- package/dist/assets/SnackbarItem.css +1 -0
- package/dist/components/AccessAreaList/AccessAreaList.js +6 -5
- package/dist/components/AccessAreaList/AccessAreaListItem.js +13 -12
- package/dist/components/AccessPackageList/AccessPackageList.js +5 -4
- package/dist/components/AccessPackageList/AccessPackageListItem.js +6 -5
- package/dist/components/Autocomplete/AutocompleteItem.js +7 -6
- package/dist/components/Autocomplete/ScopeListItem.js +3 -2
- package/dist/components/Badge/Badge.js +6 -5
- package/dist/components/Bookmarks/BookmarksListItem.js +17 -14
- package/dist/components/Bookmarks/BookmarksSection.js +18 -21
- package/dist/components/Byline/Byline.js +5 -4
- package/dist/components/ContextMenu/ContextMenu.js +11 -10
- package/dist/components/Dialog/Dialog.js +22 -21
- package/dist/components/Dialog/DialogActions.js +3 -2
- package/dist/components/Dialog/DialogByline.js +5 -4
- package/dist/components/Dialog/DialogContent.js +3 -2
- package/dist/components/Dialog/DialogHeading.js +8 -7
- package/dist/components/Dialog/DialogHistory.js +6 -5
- package/dist/components/Dialog/DialogHistoryDetails.js +11 -10
- package/dist/components/Dialog/DialogHistoryItem.js +6 -5
- package/dist/components/Dialog/DialogList.js +3 -2
- package/dist/components/Dialog/DialogListGroup.js +3 -2
- package/dist/components/Dialog/DialogListItem.js +48 -47
- package/dist/components/Dialog/DialogMetadata.js +10 -9
- package/dist/components/Dialog/DialogSection.js +4 -3
- package/dist/components/Dialog/DialogTimeline.js +7 -6
- package/dist/components/Dialog/DialogTimelineItem.js +3 -2
- package/dist/components/Dialog/DialogTransmissions.js +3 -2
- package/dist/components/Dialog/DraftDialog.js +15 -14
- package/dist/components/Dropdown/DrawerButton.js +3 -2
- package/dist/components/Dropdown/DrawerOrDropdown.js +3 -2
- package/dist/components/GlobalMenu/AccountButton.js +3 -2
- package/dist/components/GlobalMenu/AccountMenu.js +4 -2
- package/dist/components/GlobalMenu/BackButton.js +4 -3
- package/dist/components/GlobalMenu/GlobalMenu.js +21 -20
- package/dist/components/Header/Header.js +3 -2
- package/dist/components/Header/HeaderBase.js +4 -3
- package/dist/components/Layout/Layout.js +7 -6
- package/dist/components/Layout/LayoutBase.js +3 -3
- package/dist/components/LayoutAction/ActionMenu.js +5 -4
- package/dist/components/List/List.js +5 -4
- package/dist/components/Menu/MenuItem.js +28 -17
- package/dist/components/Menu/MenuItemMedia.js +27 -12
- package/dist/components/Menu/MenuItems.js +1 -0
- package/dist/components/Menu/MenuSearch.js +5 -4
- package/dist/components/Page/Breadcrumbs.js +9 -8
- package/dist/components/Page/Flex.js +29 -33
- package/dist/components/Page/PageHeader.js +5 -4
- package/dist/components/Page/PageNav.js +10 -9
- package/dist/components/Page/Section.js +17 -5
- package/dist/components/ResourceList/ResourceList.js +3 -2
- package/dist/components/ResourceList/ResourceListItem.js +3 -2
- package/dist/components/RootProvider/RootProvider.js +13 -12
- package/dist/components/Searchbar/Searchbar.js +3 -2
- package/dist/components/Snackbar/Snackbar.js +17 -8
- package/dist/components/Snackbar/SnackbarBase.js +5 -21
- package/dist/components/Snackbar/SnackbarItem.js +35 -0
- package/dist/components/Snackbar/index.js +3 -6
- package/dist/components/Snackbar/useSnackbar.js +47 -0
- package/dist/components/Timeline/TimelineSection.js +3 -2
- package/dist/components/Toolbar/ToolbarAccountMenu.js +5 -4
- package/dist/components/Toolbar/ToolbarAdd.js +6 -5
- package/dist/components/Toolbar/ToolbarDaterange.js +11 -10
- package/dist/components/Toolbar/ToolbarFilter.js +12 -11
- package/dist/components/Toolbar/ToolbarMenu.js +3 -2
- package/dist/components/Toolbar/ToolbarOptions.js +12 -11
- package/dist/components/Toolbar/ToolbarSearch.js +5 -4
- package/dist/components/Transmission/TransmissionItem.js +3 -2
- package/dist/components/Transmission/TransmissionList.js +3 -2
- package/dist/components/index.js +125 -128
- package/dist/global.css +2 -1
- package/dist/{globalMenu-A9dXKjrI.js → globalMenu-XcVgsnCz.js} +8 -9
- package/dist/index.js +128 -131
- 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/Bookmarks/BookmarksListItem.d.ts +3 -1
- package/dist/types/lib/components/Bookmarks/BookmarksListItem.stories.d.ts +1 -2
- package/dist/types/lib/components/Bookmarks/BookmarksSection.d.ts +2 -4
- package/dist/types/lib/components/Bookmarks/BookmarksSection.stories.d.ts +30 -7
- 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/LayoutAction/ActionFooter.stories.d.ts +0 -2
- 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/Snackbar.d.ts +1 -16
- package/dist/types/lib/components/Snackbar/Snackbar.stories.d.ts +3 -8
- package/dist/types/lib/components/Snackbar/SnackbarBase.d.ts +6 -11
- package/dist/types/lib/components/Snackbar/SnackbarItem.d.ts +24 -0
- package/dist/types/lib/components/Snackbar/SnackbarItem.stories.d.ts +15 -0
- package/dist/types/lib/components/Snackbar/index.d.ts +2 -4
- package/dist/types/lib/components/Snackbar/useSnackbar.d.ts +39 -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/assets/SnackbarLabel.css +0 -1
- package/dist/assets/SnackbarMedia.css +0 -1
- package/dist/attachments-Bpqu8-fZ.js +0 -25
- package/dist/components/Snackbar/SnackbarLabel.js +0 -7
- package/dist/components/Snackbar/SnackbarMedia.js +0 -11
- 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/types/lib/components/Snackbar/SnackbarLabel.d.ts +0 -5
- package/dist/types/lib/components/Snackbar/SnackbarMedia.d.ts +0 -6
- package/dist/useAccountMenu-DgXhBMw4.js +0 -74
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"heading": {
|
|
4
|
+
"2xl": {
|
|
5
|
+
"$type": "typography",
|
|
6
|
+
"$value": {
|
|
7
|
+
"fontFamily": "{font.family}",
|
|
8
|
+
"fontWeight": "{font-weight.medium}",
|
|
9
|
+
"lineHeight": "{line-height.sm}",
|
|
10
|
+
"fontSize": "{font-size.11}",
|
|
11
|
+
"letterSpacing": "{letter-spacing.1}"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"xl": {
|
|
15
|
+
"$type": "typography",
|
|
16
|
+
"$value": {
|
|
17
|
+
"fontFamily": "{font.family}",
|
|
18
|
+
"fontWeight": "{font-weight.medium}",
|
|
19
|
+
"lineHeight": "{line-height.sm}",
|
|
20
|
+
"fontSize": "{font-size.10}",
|
|
21
|
+
"letterSpacing": "{letter-spacing.1}"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"lg": {
|
|
25
|
+
"$type": "typography",
|
|
26
|
+
"$value": {
|
|
27
|
+
"fontFamily": "{font.family}",
|
|
28
|
+
"fontWeight": "{font-weight.medium}",
|
|
29
|
+
"lineHeight": "{line-height.sm}",
|
|
30
|
+
"fontSize": "{font-size.9}",
|
|
31
|
+
"letterSpacing": "{letter-spacing.2}"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"md": {
|
|
35
|
+
"$type": "typography",
|
|
36
|
+
"$value": {
|
|
37
|
+
"fontFamily": "{font.family}",
|
|
38
|
+
"fontWeight": "{font-weight.medium}",
|
|
39
|
+
"lineHeight": "{line-height.sm}",
|
|
40
|
+
"fontSize": "{font-size.8}",
|
|
41
|
+
"letterSpacing": "{letter-spacing.3}"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"sm": {
|
|
45
|
+
"$type": "typography",
|
|
46
|
+
"$value": {
|
|
47
|
+
"fontFamily": "{font.family}",
|
|
48
|
+
"fontWeight": "{font-weight.medium}",
|
|
49
|
+
"lineHeight": "{line-height.sm}",
|
|
50
|
+
"fontSize": "{font-size.7}",
|
|
51
|
+
"letterSpacing": "{letter-spacing.5}"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"xs": {
|
|
55
|
+
"$type": "typography",
|
|
56
|
+
"$value": {
|
|
57
|
+
"fontFamily": "{font.family}",
|
|
58
|
+
"fontWeight": "{font-weight.medium}",
|
|
59
|
+
"lineHeight": "{line-height.sm}",
|
|
60
|
+
"fontSize": "{font-size.6}",
|
|
61
|
+
"letterSpacing": "{letter-spacing.6}"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"2xs": {
|
|
65
|
+
"$type": "typography",
|
|
66
|
+
"$value": {
|
|
67
|
+
"fontFamily": "{font.family}",
|
|
68
|
+
"fontWeight": "{font-weight.medium}",
|
|
69
|
+
"lineHeight": "{line-height.sm}",
|
|
70
|
+
"fontSize": "{font-size.5}",
|
|
71
|
+
"letterSpacing": "{letter-spacing.6}"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"body": {
|
|
76
|
+
"xl": {
|
|
77
|
+
"$type": "typography",
|
|
78
|
+
"$value": {
|
|
79
|
+
"fontFamily": "{font.family}",
|
|
80
|
+
"fontWeight": "{font-weight.regular}",
|
|
81
|
+
"lineHeight": "{line-height.md}",
|
|
82
|
+
"fontSize": "{font-size.7}",
|
|
83
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"lg": {
|
|
87
|
+
"$type": "typography",
|
|
88
|
+
"$value": {
|
|
89
|
+
"fontFamily": "{font.family}",
|
|
90
|
+
"fontWeight": "{font-weight.regular}",
|
|
91
|
+
"lineHeight": "{line-height.md}",
|
|
92
|
+
"fontSize": "{font-size.6}",
|
|
93
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"md": {
|
|
97
|
+
"$type": "typography",
|
|
98
|
+
"$value": {
|
|
99
|
+
"fontFamily": "{font.family}",
|
|
100
|
+
"fontWeight": "{font-weight.regular}",
|
|
101
|
+
"lineHeight": "{line-height.md}",
|
|
102
|
+
"fontSize": "{font-size.5}",
|
|
103
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"sm": {
|
|
107
|
+
"$type": "typography",
|
|
108
|
+
"$value": {
|
|
109
|
+
"fontFamily": "{font.family}",
|
|
110
|
+
"fontWeight": "{font-weight.regular}",
|
|
111
|
+
"lineHeight": "{line-height.md}",
|
|
112
|
+
"fontSize": "{font-size.4}",
|
|
113
|
+
"letterSpacing": "{letter-spacing.7}"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"xs": {
|
|
117
|
+
"$type": "typography",
|
|
118
|
+
"$value": {
|
|
119
|
+
"fontFamily": "{font.family}",
|
|
120
|
+
"fontWeight": "{font-weight.regular}",
|
|
121
|
+
"lineHeight": "{line-height.md}",
|
|
122
|
+
"fontSize": "{font-size.3}",
|
|
123
|
+
"letterSpacing": "{letter-spacing.6}"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"short": {
|
|
127
|
+
"xl": {
|
|
128
|
+
"$type": "typography",
|
|
129
|
+
"$value": {
|
|
130
|
+
"fontFamily": "{font.family}",
|
|
131
|
+
"fontWeight": "{font-weight.regular}",
|
|
132
|
+
"lineHeight": "{line-height.sm}",
|
|
133
|
+
"fontSize": "{font-size.7}",
|
|
134
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"lg": {
|
|
138
|
+
"$type": "typography",
|
|
139
|
+
"$value": {
|
|
140
|
+
"fontFamily": "{font.family}",
|
|
141
|
+
"fontWeight": "{font-weight.regular}",
|
|
142
|
+
"lineHeight": "{line-height.sm}",
|
|
143
|
+
"fontSize": "{font-size.6}",
|
|
144
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"md": {
|
|
148
|
+
"$type": "typography",
|
|
149
|
+
"$value": {
|
|
150
|
+
"fontFamily": "{font.family}",
|
|
151
|
+
"fontWeight": "{font-weight.regular}",
|
|
152
|
+
"lineHeight": "{line-height.sm}",
|
|
153
|
+
"fontSize": "{font-size.5}",
|
|
154
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"sm": {
|
|
158
|
+
"$type": "typography",
|
|
159
|
+
"$value": {
|
|
160
|
+
"fontFamily": "{font.family}",
|
|
161
|
+
"fontWeight": "{font-weight.regular}",
|
|
162
|
+
"lineHeight": "{line-height.sm}",
|
|
163
|
+
"fontSize": "{font-size.4}",
|
|
164
|
+
"letterSpacing": "{letter-spacing.7}"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"xs": {
|
|
168
|
+
"$type": "typography",
|
|
169
|
+
"$value": {
|
|
170
|
+
"fontFamily": "{font.family}",
|
|
171
|
+
"fontWeight": "{font-weight.regular}",
|
|
172
|
+
"lineHeight": "{line-height.sm}",
|
|
173
|
+
"fontSize": "{font-size.3}",
|
|
174
|
+
"letterSpacing": "{letter-spacing.6}"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"long": {
|
|
179
|
+
"xl": {
|
|
180
|
+
"$type": "typography",
|
|
181
|
+
"$value": {
|
|
182
|
+
"fontFamily": "{font.family}",
|
|
183
|
+
"fontWeight": "{font-weight.regular}",
|
|
184
|
+
"lineHeight": "{line-height.lg}",
|
|
185
|
+
"fontSize": "{font-size.7}",
|
|
186
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"lg": {
|
|
190
|
+
"$type": "typography",
|
|
191
|
+
"$value": {
|
|
192
|
+
"fontFamily": "{font.family}",
|
|
193
|
+
"fontWeight": "{font-weight.regular}",
|
|
194
|
+
"lineHeight": "{line-height.lg}",
|
|
195
|
+
"fontSize": "{font-size.6}",
|
|
196
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"md": {
|
|
200
|
+
"$type": "typography",
|
|
201
|
+
"$value": {
|
|
202
|
+
"fontFamily": "{font.family}",
|
|
203
|
+
"fontWeight": "{font-weight.regular}",
|
|
204
|
+
"lineHeight": "{line-height.lg}",
|
|
205
|
+
"fontSize": "{font-size.5}",
|
|
206
|
+
"letterSpacing": "{letter-spacing.8}"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"sm": {
|
|
210
|
+
"$type": "typography",
|
|
211
|
+
"$value": {
|
|
212
|
+
"fontFamily": "{font.family}",
|
|
213
|
+
"fontWeight": "{font-weight.regular}",
|
|
214
|
+
"lineHeight": "{line-height.lg}",
|
|
215
|
+
"fontSize": "{font-size.4}",
|
|
216
|
+
"letterSpacing": "{letter-spacing.7}"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"xs": {
|
|
220
|
+
"$type": "typography",
|
|
221
|
+
"$value": {
|
|
222
|
+
"fontFamily": "{font.family}",
|
|
223
|
+
"fontWeight": "{font-weight.regular}",
|
|
224
|
+
"lineHeight": "{line-height.lg}",
|
|
225
|
+
"fontSize": "{font-size.3}",
|
|
226
|
+
"letterSpacing": "{letter-spacing.6}"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"disabled": {
|
|
233
|
+
"opacity": {
|
|
234
|
+
"$type": "opacity",
|
|
235
|
+
"$value": "{opacity.30}"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"border-radius": {
|
|
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
|
+
},
|
|
251
|
+
"default": {
|
|
252
|
+
"$type": "borderRadius",
|
|
253
|
+
"$value": "{border-radius.4}"
|
|
254
|
+
},
|
|
255
|
+
"full": {
|
|
256
|
+
"$type": "borderRadius",
|
|
257
|
+
"$value": "{border-radius.5}"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"spacing": {
|
|
261
|
+
"0": {
|
|
262
|
+
"$type": "dimension",
|
|
263
|
+
"$value": "{spacing.scale}*0"
|
|
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"
|
|
304
|
+
},
|
|
305
|
+
"11": {
|
|
306
|
+
"$type": "dimension",
|
|
307
|
+
"$value": "{spacing.scale}*11"
|
|
308
|
+
},
|
|
309
|
+
"12": {
|
|
310
|
+
"$type": "dimension",
|
|
311
|
+
"$value": "{spacing.scale}*12"
|
|
312
|
+
},
|
|
313
|
+
"13": {
|
|
314
|
+
"$type": "dimension",
|
|
315
|
+
"$value": "{spacing.scale}*13"
|
|
316
|
+
},
|
|
317
|
+
"14": {
|
|
318
|
+
"$type": "dimension",
|
|
319
|
+
"$value": "{spacing.scale}*14"
|
|
320
|
+
},
|
|
321
|
+
"15": {
|
|
322
|
+
"$type": "dimension",
|
|
323
|
+
"$value": "{spacing.scale}*15"
|
|
324
|
+
},
|
|
325
|
+
"18": {
|
|
326
|
+
"$type": "dimension",
|
|
327
|
+
"$value": "{spacing.scale}*18"
|
|
328
|
+
},
|
|
329
|
+
"22": {
|
|
330
|
+
"$type": "dimension",
|
|
331
|
+
"$value": "{spacing.scale}*22"
|
|
332
|
+
},
|
|
333
|
+
"26": {
|
|
334
|
+
"$type": "dimension",
|
|
335
|
+
"$value": "{spacing.scale}*26"
|
|
336
|
+
},
|
|
337
|
+
"30": {
|
|
338
|
+
"$type": "dimension",
|
|
339
|
+
"$value": "{spacing.scale}*30"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"sizing": {
|
|
343
|
+
"0": {
|
|
344
|
+
"$type": "dimension",
|
|
345
|
+
"$value": "{sizing.scale}*0"
|
|
346
|
+
},
|
|
347
|
+
"1": {
|
|
348
|
+
"$type": "dimension",
|
|
349
|
+
"$value": "{sizing.scale}*1"
|
|
350
|
+
},
|
|
351
|
+
"2": {
|
|
352
|
+
"$type": "dimension",
|
|
353
|
+
"$value": "{sizing.scale}*2"
|
|
354
|
+
},
|
|
355
|
+
"3": {
|
|
356
|
+
"$type": "dimension",
|
|
357
|
+
"$value": "{sizing.scale}*3"
|
|
358
|
+
},
|
|
359
|
+
"4": {
|
|
360
|
+
"$type": "dimension",
|
|
361
|
+
"$value": "{sizing.scale}*4"
|
|
362
|
+
},
|
|
363
|
+
"5": {
|
|
364
|
+
"$type": "dimension",
|
|
365
|
+
"$value": "{sizing.scale}*5"
|
|
366
|
+
},
|
|
367
|
+
"6": {
|
|
368
|
+
"$type": "dimension",
|
|
369
|
+
"$value": "{sizing.scale}*6"
|
|
370
|
+
},
|
|
371
|
+
"7": {
|
|
372
|
+
"$type": "dimension",
|
|
373
|
+
"$value": "{sizing.scale}*7"
|
|
374
|
+
},
|
|
375
|
+
"8": {
|
|
376
|
+
"$type": "dimension",
|
|
377
|
+
"$value": "{sizing.scale}*8"
|
|
378
|
+
},
|
|
379
|
+
"9": {
|
|
380
|
+
"$type": "dimension",
|
|
381
|
+
"$value": "{sizing.scale}*9"
|
|
382
|
+
},
|
|
383
|
+
"10": {
|
|
384
|
+
"$type": "dimension",
|
|
385
|
+
"$value": "{sizing.scale}*10"
|
|
386
|
+
},
|
|
387
|
+
"11": {
|
|
388
|
+
"$type": "dimension",
|
|
389
|
+
"$value": "{sizing.scale}*11"
|
|
390
|
+
},
|
|
391
|
+
"12": {
|
|
392
|
+
"$type": "dimension",
|
|
393
|
+
"$value": "{sizing.scale}*12"
|
|
394
|
+
},
|
|
395
|
+
"13": {
|
|
396
|
+
"$type": "dimension",
|
|
397
|
+
"$value": "{sizing.scale}*13"
|
|
398
|
+
},
|
|
399
|
+
"14": {
|
|
400
|
+
"$type": "dimension",
|
|
401
|
+
"$value": "{sizing.scale}*14"
|
|
402
|
+
},
|
|
403
|
+
"15": {
|
|
404
|
+
"$type": "dimension",
|
|
405
|
+
"$value": "{sizing.scale}*15"
|
|
406
|
+
},
|
|
407
|
+
"18": {
|
|
408
|
+
"$type": "dimension",
|
|
409
|
+
"$value": "{sizing.scale}*18"
|
|
410
|
+
},
|
|
411
|
+
"22": {
|
|
412
|
+
"$type": "dimension",
|
|
413
|
+
"$value": "{sizing.scale}*22"
|
|
414
|
+
},
|
|
415
|
+
"26": {
|
|
416
|
+
"$type": "dimension",
|
|
417
|
+
"$value": "{sizing.scale}*26"
|
|
418
|
+
},
|
|
419
|
+
"30": {
|
|
420
|
+
"$type": "dimension",
|
|
421
|
+
"$value": "{sizing.scale}*30"
|
|
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}"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"support": {
|
|
4
|
+
"background-default": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "{color.alert.background-default}"
|
|
7
|
+
},
|
|
8
|
+
"background-subtle": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "{color.alert.background-subtle}"
|
|
11
|
+
},
|
|
12
|
+
"surface-default": {
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"$value": "{color.alert.surface-default}"
|
|
15
|
+
},
|
|
16
|
+
"surface-hover": {
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$value": "{color.alert.surface-hover}"
|
|
19
|
+
},
|
|
20
|
+
"surface-active": {
|
|
21
|
+
"$type": "color",
|
|
22
|
+
"$value": "{color.alert.surface-active}"
|
|
23
|
+
},
|
|
24
|
+
"border-subtle": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{color.alert.border-subtle}"
|
|
27
|
+
},
|
|
28
|
+
"border-default": {
|
|
29
|
+
"$type": "color",
|
|
30
|
+
"$value": "{color.alert.border-default}"
|
|
31
|
+
},
|
|
32
|
+
"border-strong": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": "{color.alert.border-strong}"
|
|
35
|
+
},
|
|
36
|
+
"base-default": {
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$value": "{color.alert.base-default}"
|
|
39
|
+
},
|
|
40
|
+
"base-hover": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "{color.alert.base-hover}"
|
|
43
|
+
},
|
|
44
|
+
"base-active": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "{color.alert.base-active}"
|
|
47
|
+
},
|
|
48
|
+
"text-subtle": {
|
|
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": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{color.alert.contrast-default}"
|
|
59
|
+
},
|
|
60
|
+
"contrast-subtle": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "{color.alert.contrast-subtle}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"support": {
|
|
4
|
+
"background-default": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "{color.article.background-default}"
|
|
7
|
+
},
|
|
8
|
+
"background-subtle": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "{color.article.background-subtle}"
|
|
11
|
+
},
|
|
12
|
+
"surface-default": {
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"$value": "{color.article.surface-default}"
|
|
15
|
+
},
|
|
16
|
+
"surface-hover": {
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$value": "{color.article.surface-hover}"
|
|
19
|
+
},
|
|
20
|
+
"surface-active": {
|
|
21
|
+
"$type": "color",
|
|
22
|
+
"$value": "{color.article.surface-active}"
|
|
23
|
+
},
|
|
24
|
+
"border-subtle": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{color.article.border-subtle}"
|
|
27
|
+
},
|
|
28
|
+
"border-default": {
|
|
29
|
+
"$type": "color",
|
|
30
|
+
"$value": "{color.article.border-default}"
|
|
31
|
+
},
|
|
32
|
+
"border-strong": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": "{color.article.border-strong}"
|
|
35
|
+
},
|
|
36
|
+
"base-default": {
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$value": "{color.article.base-default}"
|
|
39
|
+
},
|
|
40
|
+
"base-hover": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "{color.article.base-hover}"
|
|
43
|
+
},
|
|
44
|
+
"base-active": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "{color.article.base-active}"
|
|
47
|
+
},
|
|
48
|
+
"text-subtle": {
|
|
49
|
+
"$type": "color",
|
|
50
|
+
"$value": "{color.article.text-subtle}"
|
|
51
|
+
},
|
|
52
|
+
"text-default": {
|
|
53
|
+
"$type": "color",
|
|
54
|
+
"$value": "{color.article.text-default}"
|
|
55
|
+
},
|
|
56
|
+
"contrast-default": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{color.article.contrast-default}"
|
|
59
|
+
},
|
|
60
|
+
"contrast-subtle": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "{color.article.contrast-subtle}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|