@guardian/stand 0.0.8 → 0.0.10
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/README.md +1148 -10
- package/dist/avatar.cjs +9 -0
- package/dist/avatar.js +2 -0
- package/dist/button.cjs +9 -0
- package/dist/button.js +2 -0
- package/dist/byline.cjs +9 -0
- package/dist/byline.js +2 -0
- package/dist/components/TitleText.cjs +28 -0
- package/dist/components/TitleText.js +22 -0
- package/dist/components/avatar/Avatar.cjs +57 -0
- package/dist/components/avatar/Avatar.js +27 -0
- package/dist/components/avatar/styles.cjs +33 -0
- package/dist/components/avatar/styles.js +29 -0
- package/dist/components/avatar/types.cjs +16 -0
- package/dist/components/avatar/types.js +14 -0
- package/dist/components/button/Button.cjs +29 -0
- package/dist/components/button/Button.js +14 -0
- package/dist/components/button/styles.cjs +58 -0
- package/dist/components/button/styles.js +53 -0
- package/dist/components/byline/styles.cjs +5 -5
- package/dist/components/byline/styles.js +1 -1
- package/dist/components/icon/Icon.cjs +46 -0
- package/dist/components/icon/Icon.js +19 -0
- package/dist/components/icon/styles.cjs +27 -0
- package/dist/components/icon/styles.js +20 -0
- package/dist/components/link-button/LinkButton.cjs +29 -0
- package/dist/components/link-button/LinkButton.js +14 -0
- package/dist/components/link-button/styles.cjs +9 -0
- package/dist/components/link-button/styles.js +6 -0
- package/dist/components/tag-picker/styles.cjs +11 -11
- package/dist/components/tag-picker/styles.js +1 -1
- package/dist/components/typography/Typography.cjs +26 -0
- package/dist/components/typography/Typography.js +13 -0
- package/dist/components/typography/styles.cjs +15 -0
- package/dist/components/typography/styles.js +12 -0
- package/dist/components/user-menu/PreferenceRadioGroup.cjs +53 -0
- package/dist/components/user-menu/PreferenceRadioGroup.js +19 -0
- package/dist/components/user-menu/UserMenu.cjs +67 -0
- package/dist/components/user-menu/UserMenu.js +11 -0
- package/dist/components/user-menu/default-options.cjs +109 -0
- package/dist/components/user-menu/default-options.js +105 -0
- package/dist/components/user-menu/styles.cjs +90 -0
- package/dist/components/user-menu/styles.js +83 -0
- package/dist/fonts/MaterialSymbolsOutlined.css +23 -0
- package/dist/fonts/MaterialSymbolsRound.css +23 -0
- package/dist/fonts/MaterialSymbolsSharp.css +23 -0
- package/dist/fonts/material-symbols-types.ts +3825 -0
- package/dist/icon.cjs +9 -0
- package/dist/icon.js +2 -0
- package/dist/index.cjs +22 -13
- package/dist/index.js +9 -4
- package/dist/link-button.cjs +7 -0
- package/dist/link-button.js +1 -0
- package/dist/styleD/build/css/{css/base → base}/colors.css +1 -1
- package/dist/styleD/build/css/{css/base → base}/sizing.css +4 -0
- package/dist/styleD/build/css/{css/base → base}/spacing.css +4 -0
- package/dist/styleD/build/css/{css/base → base}/typography.css +1 -0
- package/dist/styleD/build/css/component/avatar.css +54 -0
- package/dist/styleD/build/css/component/button.css +218 -0
- package/dist/styleD/build/css/{css/component → component}/byline.css +1 -1
- package/dist/styleD/build/css/component/icon.css +11 -0
- package/dist/styleD/build/css/component/typography.css +7 -0
- package/dist/styleD/build/css/component/userMenu.css +29 -0
- package/dist/styleD/build/css/semantic/colors.css +69 -0
- package/dist/styleD/build/css/{css/semantic → semantic}/sizing.css +2 -0
- package/dist/styleD/build/css/{css/semantic → semantic}/typography.css +9 -0
- package/dist/styleD/build/typescript/base/colors.cjs +1 -1
- package/dist/styleD/build/typescript/base/colors.js +1 -1
- package/dist/styleD/build/typescript/base/sizing.cjs +4 -0
- package/dist/styleD/build/typescript/base/sizing.js +4 -0
- package/dist/styleD/build/typescript/base/spacing.cjs +4 -0
- package/dist/styleD/build/typescript/base/spacing.js +4 -0
- package/dist/styleD/build/typescript/base/typography.cjs +2 -1
- package/dist/styleD/build/typescript/base/typography.js +2 -1
- package/dist/styleD/build/typescript/component/avatar.cjs +88 -0
- package/dist/styleD/build/typescript/component/avatar.js +86 -0
- package/dist/styleD/build/typescript/component/button.cjs +331 -0
- package/dist/styleD/build/typescript/component/button.js +329 -0
- package/dist/styleD/build/typescript/component/byline.cjs +1 -1
- package/dist/styleD/build/typescript/component/byline.js +1 -1
- package/dist/styleD/build/typescript/component/icon.cjs +19 -0
- package/dist/styleD/build/typescript/component/icon.js +17 -0
- package/dist/styleD/build/typescript/component/typography.cjs +7 -0
- package/dist/styleD/build/typescript/component/typography.js +5 -0
- package/dist/styleD/build/typescript/component/userMenu.cjs +37 -0
- package/dist/styleD/build/typescript/component/userMenu.js +35 -0
- package/dist/styleD/build/typescript/semantic/colors.cjs +47 -5
- package/dist/styleD/build/typescript/semantic/colors.js +47 -5
- package/dist/styleD/build/typescript/semantic/sizing.cjs +3 -1
- package/dist/styleD/build/typescript/semantic/sizing.js +3 -1
- package/dist/styleD/build/typescript/semantic/typography.cjs +15 -0
- package/dist/styleD/build/typescript/semantic/typography.js +15 -0
- package/dist/tag-picker.cjs +13 -0
- package/dist/tag-picker.js +4 -0
- package/dist/types/avatar.d.ts +19 -0
- package/dist/types/button.d.ts +20 -0
- package/dist/types/byline.d.ts +25 -0
- package/dist/types/components/TitleText.d.ts +6 -0
- package/dist/types/components/avatar/Avatar.d.ts +2 -0
- package/dist/types/components/avatar/styles.d.ts +8 -0
- package/dist/types/components/avatar/types.d.ts +45 -0
- package/dist/types/components/button/Button.d.ts +2 -0
- package/dist/types/components/button/styles.d.ts +7 -0
- package/dist/types/components/button/types.d.ts +13 -0
- package/dist/types/components/byline/Byline.d.ts +1 -1
- package/dist/types/components/byline/schema.d.ts +1 -1
- package/dist/types/components/byline/styles.d.ts +1 -1
- package/dist/types/components/byline/theme.d.ts +1 -1
- package/dist/types/components/icon/Icon.d.ts +2 -0
- package/dist/types/components/icon/styles.d.ts +8 -0
- package/dist/types/components/icon/types.d.ts +28 -0
- package/dist/types/components/link-button/LinkButton.d.ts +2 -0
- package/dist/types/components/link-button/styles.d.ts +330 -0
- package/dist/types/components/link-button/types.d.ts +13 -0
- package/dist/types/components/tag-picker/TagAutocomplete.d.ts +1 -1
- package/dist/types/components/tag-picker/TagTable.d.ts +1 -1
- package/dist/types/components/tag-picker/styles.d.ts +1 -1
- package/dist/types/components/typography/Typography.d.ts +6 -0
- package/dist/types/components/typography/styles.d.ts +7 -0
- package/dist/types/components/typography/types.d.ts +13 -0
- package/dist/types/components/user-menu/PreferenceRadioGroup.d.ts +15 -0
- package/dist/types/components/user-menu/UserMenu.d.ts +17 -0
- package/dist/types/components/user-menu/default-options.d.ts +5 -0
- package/dist/types/components/user-menu/model.d.ts +9 -0
- package/dist/types/components/user-menu/styles.d.ts +9 -0
- package/dist/types/components/user-menu/theme.d.ts +3 -0
- package/dist/types/components/user-menu/types.d.ts +5 -0
- package/dist/types/fonts/material-symbols-types.d.ts +3822 -0
- package/dist/types/icon.d.ts +27 -0
- package/dist/types/index.d.ts +25 -7
- package/dist/types/link-button.d.ts +20 -0
- package/dist/types/styleD/build/typescript/base/colors.d.ts +1 -1
- package/dist/types/styleD/build/typescript/base/sizing.d.ts +4 -0
- package/dist/types/styleD/build/typescript/base/spacing.d.ts +4 -0
- package/dist/types/styleD/build/typescript/base/typography.d.ts +1 -0
- package/dist/types/styleD/build/typescript/component/avatar.d.ts +88 -0
- package/dist/types/styleD/build/typescript/component/button.d.ts +331 -0
- package/dist/types/styleD/build/typescript/component/icon.d.ts +19 -0
- package/dist/types/styleD/build/typescript/component/typography.d.ts +7 -0
- package/dist/types/styleD/build/typescript/component/userMenu.d.ts +37 -0
- package/dist/types/styleD/build/typescript/semantic/colors.d.ts +45 -3
- package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +2 -0
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +15 -0
- package/dist/types/tag-picker.d.ts +21 -0
- package/dist/types/typography.d.ts +19 -0
- package/dist/types/user-menu.d.ts +18 -0
- package/dist/types/util/mergeDeep.d.ts +1 -0
- package/dist/types/util/reset.d.ts +1 -0
- package/dist/types/util/storybookStyles.d.ts +1 -0
- package/dist/types/util/types.d.ts +34 -0
- package/dist/types/utils.d.ts +7 -0
- package/dist/typography.cjs +9 -0
- package/dist/typography.js +2 -0
- package/dist/user-menu.cjs +9 -0
- package/dist/user-menu.js +2 -0
- package/dist/util/css/reset.css +124 -0
- package/dist/util/reset.cjs +10 -0
- package/dist/util/reset.css.cjs +5 -0
- package/dist/util/reset.css.js +3 -0
- package/dist/util/reset.js +8 -0
- package/dist/utils.cjs +10 -0
- package/dist/utils.js +2 -0
- package/package.json +112 -3
- package/dist/styleD/build/css/css/semantic/colors.css +0 -29
- package/dist/types/components/util.d.ts +0 -4
- /package/dist/styleD/build/css/{css/base → base}/radius.css +0 -0
- /package/dist/styleD/build/css/{css/component → component}/tagAutocomplete.css +0 -0
- /package/dist/styleD/build/css/{css/component → component}/tagTable.css +0 -0
- /package/dist/{components/util.cjs → util/mergeDeep.cjs} +0 -0
- /package/dist/{components/util.js → util/mergeDeep.js} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icon component entry point
|
|
3
|
+
*
|
|
4
|
+
* Peer dependencies required to use these components:
|
|
5
|
+
* - `@emotion/react`
|
|
6
|
+
* - `react`
|
|
7
|
+
* - `react-dom`
|
|
8
|
+
* - `typescript`
|
|
9
|
+
*
|
|
10
|
+
* See the `peerDependencies` section of package.json for compatible versions.
|
|
11
|
+
*
|
|
12
|
+
* If you only need the built CSS (./component/icon.css),
|
|
13
|
+
* you don't need to install these.
|
|
14
|
+
*
|
|
15
|
+
* You'll also need to install a set of icons to use the Icon component.
|
|
16
|
+
*
|
|
17
|
+
* The Icon component supports two types of icons:
|
|
18
|
+
* 1. Material Symbols
|
|
19
|
+
* 2. SVG icons (e.g. Material Icons or custom SVG icon components)
|
|
20
|
+
*
|
|
21
|
+
* See the documentation for the Icon component for instructions on how to use it with both types of icons.
|
|
22
|
+
*/
|
|
23
|
+
export { Icon } from './components/icon/Icon';
|
|
24
|
+
export type { IconProps } from './components/icon/types';
|
|
25
|
+
export type { IconTheme } from './components/icon/styles';
|
|
26
|
+
export { componentIcon } from './styleD/build/typescript/component/icon';
|
|
27
|
+
export type { ComponentIcon } from './styleD/build/typescript/component/icon';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Main entry point - Design tokens only
|
|
3
|
+
* Import components from their own entry points, this isolates components within their own peer dependencies.
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
5
|
+
/**
|
|
6
|
+
* editorial components tokens exports
|
|
7
|
+
*/
|
|
8
|
+
export { componentByline } from './styleD/build/typescript/component/byline';
|
|
9
|
+
export type { ComponentByline } from './styleD/build/typescript/component/byline';
|
|
10
|
+
export { componentTagAutocomplete } from './styleD/build/typescript/component/tagAutocomplete';
|
|
11
|
+
export type { ComponentTagAutocomplete } from './styleD/build/typescript/component/tagAutocomplete';
|
|
12
|
+
export { componentTagTable } from './styleD/build/typescript/component/tagTable';
|
|
13
|
+
export type { ComponentTagTable } from './styleD/build/typescript/component/tagTable';
|
|
14
|
+
export { componentUserMenu } from './styleD/build/typescript/component/userMenu';
|
|
15
|
+
export type { ComponentUserMenu } from './styleD/build/typescript/component/userMenu';
|
|
16
|
+
/**
|
|
17
|
+
* design system components tokens exports
|
|
18
|
+
*/
|
|
19
|
+
export { componentAvatar } from './styleD/build/typescript/component/avatar';
|
|
20
|
+
export type { ComponentAvatar } from './styleD/build/typescript/component/avatar';
|
|
21
|
+
export { componentButton } from './styleD/build/typescript/component/button';
|
|
22
|
+
export type { ComponentButton } from './styleD/build/typescript/component/button';
|
|
23
|
+
export { componentTypography } from './styleD/build/typescript/component/typography';
|
|
24
|
+
export type { ComponentTypography } from './styleD/build/typescript/component/typography';
|
|
25
|
+
export { componentIcon } from './styleD/build/typescript/component/icon';
|
|
26
|
+
export type { ComponentIcon } from './styleD/build/typescript/component/icon';
|
|
9
27
|
/**
|
|
10
28
|
* style dictionary exports - base
|
|
11
29
|
*/
|
|
@@ -31,4 +49,4 @@ export type { SemanticSizing } from './styleD/build/typescript/semantic/sizing';
|
|
|
31
49
|
/**
|
|
32
50
|
* utils exports
|
|
33
51
|
*/
|
|
34
|
-
export {
|
|
52
|
+
export { default as GlobalResetStyles } from './util/reset.css?inline';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LinkButton component entry point
|
|
3
|
+
*
|
|
4
|
+
* This component extends the `Button` component styles
|
|
5
|
+
*
|
|
6
|
+
* Peer dependencies required to use these components:
|
|
7
|
+
* - `@emotion/react`
|
|
8
|
+
* - `react`
|
|
9
|
+
* - `react-dom`
|
|
10
|
+
* - `react-aria-components`
|
|
11
|
+
* - `typescript`
|
|
12
|
+
*
|
|
13
|
+
* See the `peerDependencies` section of package.json for compatible versions.
|
|
14
|
+
*
|
|
15
|
+
* If you only need the built CSS, use the `button` css (./component/button.css),
|
|
16
|
+
* you don't need to install these.
|
|
17
|
+
*/
|
|
18
|
+
export { LinkButton } from './components/link-button/LinkButton';
|
|
19
|
+
export type { LinkButtonProps } from './components/link-button/types';
|
|
20
|
+
export type { LinkButtonTheme } from './components/link-button/styles';
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
export declare const baseSizing: {
|
|
5
|
+
readonly 'size-1-px': "1px";
|
|
5
6
|
readonly 'size-2-px': "2px";
|
|
7
|
+
readonly 'size-8-px': "8px";
|
|
6
8
|
readonly 'size-16-px': "16px";
|
|
7
9
|
readonly 'size-18-px': "18px";
|
|
8
10
|
readonly 'size-20-px': "20px";
|
|
@@ -10,7 +12,9 @@ export declare const baseSizing: {
|
|
|
10
12
|
readonly 'size-32-px': "32px";
|
|
11
13
|
readonly 'size-40-px': "40px";
|
|
12
14
|
readonly 'size-48-px': "48px";
|
|
15
|
+
readonly 'size-1-rem': "0.0625rem";
|
|
13
16
|
readonly 'size-2-rem': "0.125rem";
|
|
17
|
+
readonly 'size-8-rem': "0.5rem";
|
|
14
18
|
readonly 'size-16-rem': "1rem";
|
|
15
19
|
readonly 'size-18-rem': "1.125rem";
|
|
16
20
|
readonly 'size-20-rem': "1.25rem";
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
export declare const baseSpacing: {
|
|
5
5
|
readonly '2-px': "2px";
|
|
6
6
|
readonly '4-px': "4px";
|
|
7
|
+
readonly '6-px': "6px";
|
|
7
8
|
readonly '8-px': "8px";
|
|
9
|
+
readonly '10-px': "10px";
|
|
8
10
|
readonly '12-px': "12px";
|
|
9
11
|
readonly '16-px': "16px";
|
|
10
12
|
readonly '20-px': "20px";
|
|
@@ -19,7 +21,9 @@ export declare const baseSpacing: {
|
|
|
19
21
|
readonly '96-px': "96px";
|
|
20
22
|
readonly '2-rem': "0.125rem";
|
|
21
23
|
readonly '4-rem': "0.25rem";
|
|
24
|
+
readonly '6-rem': "0.375rem";
|
|
22
25
|
readonly '8-rem': "0.5rem";
|
|
26
|
+
readonly '10-rem': "0.625rem";
|
|
23
27
|
readonly '12-rem': "0.75rem";
|
|
24
28
|
readonly '16-rem': "1rem";
|
|
25
29
|
readonly '20-rem': "1.25rem";
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const componentAvatar: {
|
|
5
|
+
shared: {
|
|
6
|
+
color: {
|
|
7
|
+
green: {
|
|
8
|
+
text: string;
|
|
9
|
+
background: string;
|
|
10
|
+
border: string;
|
|
11
|
+
};
|
|
12
|
+
blue: {
|
|
13
|
+
text: string;
|
|
14
|
+
background: string;
|
|
15
|
+
border: string;
|
|
16
|
+
};
|
|
17
|
+
red: {
|
|
18
|
+
text: string;
|
|
19
|
+
background: string;
|
|
20
|
+
border: string;
|
|
21
|
+
};
|
|
22
|
+
cyan: {
|
|
23
|
+
text: string;
|
|
24
|
+
background: string;
|
|
25
|
+
border: string;
|
|
26
|
+
};
|
|
27
|
+
teal: {
|
|
28
|
+
text: string;
|
|
29
|
+
background: string;
|
|
30
|
+
border: string;
|
|
31
|
+
};
|
|
32
|
+
'cool-purple': {
|
|
33
|
+
text: string;
|
|
34
|
+
background: string;
|
|
35
|
+
border: string;
|
|
36
|
+
};
|
|
37
|
+
'warm-purple': {
|
|
38
|
+
text: string;
|
|
39
|
+
background: string;
|
|
40
|
+
border: string;
|
|
41
|
+
};
|
|
42
|
+
magenta: {
|
|
43
|
+
text: string;
|
|
44
|
+
background: string;
|
|
45
|
+
border: string;
|
|
46
|
+
};
|
|
47
|
+
orange: {
|
|
48
|
+
text: string;
|
|
49
|
+
background: string;
|
|
50
|
+
border: string;
|
|
51
|
+
};
|
|
52
|
+
yellow: {
|
|
53
|
+
text: string;
|
|
54
|
+
background: string;
|
|
55
|
+
border: string;
|
|
56
|
+
};
|
|
57
|
+
outlined: {
|
|
58
|
+
text: string;
|
|
59
|
+
background: string;
|
|
60
|
+
border: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
display: string;
|
|
64
|
+
'align-items': string;
|
|
65
|
+
'justify-content': string;
|
|
66
|
+
overflow: string;
|
|
67
|
+
'flex-shrink': string;
|
|
68
|
+
'border-radius': string;
|
|
69
|
+
'user-select': string;
|
|
70
|
+
};
|
|
71
|
+
sm: {
|
|
72
|
+
size: string;
|
|
73
|
+
typography: {
|
|
74
|
+
font: string;
|
|
75
|
+
letterSpacing: string;
|
|
76
|
+
fontWidth: number;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
md: {
|
|
80
|
+
size: string;
|
|
81
|
+
typography: {
|
|
82
|
+
font: string;
|
|
83
|
+
letterSpacing: string;
|
|
84
|
+
fontWidth: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export type ComponentAvatar = typeof componentAvatar;
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const componentButton: {
|
|
5
|
+
shared: {
|
|
6
|
+
display: string;
|
|
7
|
+
'-webkit-appearance': string;
|
|
8
|
+
'text-align': string;
|
|
9
|
+
'box-shadow': string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
'justify-content': string;
|
|
12
|
+
'align-items': string;
|
|
13
|
+
'text-decoration': string;
|
|
14
|
+
':disabled': {
|
|
15
|
+
cursor: string;
|
|
16
|
+
};
|
|
17
|
+
':focus-visible': {
|
|
18
|
+
outline: string;
|
|
19
|
+
'outline-offset': string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'emphasised-primary': {
|
|
23
|
+
shared: {
|
|
24
|
+
color: string;
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
borderRadius: string;
|
|
27
|
+
border: string;
|
|
28
|
+
':hover': {
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
border: string;
|
|
31
|
+
};
|
|
32
|
+
':active': {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
border: string;
|
|
35
|
+
};
|
|
36
|
+
':disabled': {
|
|
37
|
+
color: string;
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
border: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
xs: {
|
|
43
|
+
height: string;
|
|
44
|
+
padding: {
|
|
45
|
+
top: string;
|
|
46
|
+
right: string;
|
|
47
|
+
bottom: string;
|
|
48
|
+
left: string;
|
|
49
|
+
};
|
|
50
|
+
typography: {
|
|
51
|
+
font: string;
|
|
52
|
+
letterSpacing: string;
|
|
53
|
+
fontWidth: number;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
sm: {
|
|
57
|
+
height: string;
|
|
58
|
+
padding: {
|
|
59
|
+
top: string;
|
|
60
|
+
right: string;
|
|
61
|
+
bottom: string;
|
|
62
|
+
left: string;
|
|
63
|
+
};
|
|
64
|
+
typography: {
|
|
65
|
+
font: string;
|
|
66
|
+
letterSpacing: string;
|
|
67
|
+
fontWidth: number;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
md: {
|
|
71
|
+
height: string;
|
|
72
|
+
padding: {
|
|
73
|
+
top: string;
|
|
74
|
+
right: string;
|
|
75
|
+
bottom: string;
|
|
76
|
+
left: string;
|
|
77
|
+
};
|
|
78
|
+
typography: {
|
|
79
|
+
font: string;
|
|
80
|
+
letterSpacing: string;
|
|
81
|
+
fontWidth: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
lg: {
|
|
85
|
+
height: string;
|
|
86
|
+
padding: {
|
|
87
|
+
top: string;
|
|
88
|
+
right: string;
|
|
89
|
+
bottom: string;
|
|
90
|
+
left: string;
|
|
91
|
+
};
|
|
92
|
+
typography: {
|
|
93
|
+
font: string;
|
|
94
|
+
letterSpacing: string;
|
|
95
|
+
fontWidth: number;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
'emphasised-secondary': {
|
|
100
|
+
shared: {
|
|
101
|
+
color: string;
|
|
102
|
+
backgroundColor: string;
|
|
103
|
+
borderRadius: string;
|
|
104
|
+
border: string;
|
|
105
|
+
':hover': {
|
|
106
|
+
backgroundColor: string;
|
|
107
|
+
border: string;
|
|
108
|
+
};
|
|
109
|
+
':active': {
|
|
110
|
+
backgroundColor: string;
|
|
111
|
+
border: string;
|
|
112
|
+
};
|
|
113
|
+
':disabled': {
|
|
114
|
+
color: string;
|
|
115
|
+
backgroundColor: string;
|
|
116
|
+
border: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
xs: {
|
|
120
|
+
height: string;
|
|
121
|
+
padding: {
|
|
122
|
+
top: string;
|
|
123
|
+
right: string;
|
|
124
|
+
bottom: string;
|
|
125
|
+
left: string;
|
|
126
|
+
};
|
|
127
|
+
typography: {
|
|
128
|
+
font: string;
|
|
129
|
+
letterSpacing: string;
|
|
130
|
+
fontWidth: number;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
sm: {
|
|
134
|
+
height: string;
|
|
135
|
+
padding: {
|
|
136
|
+
top: string;
|
|
137
|
+
right: string;
|
|
138
|
+
bottom: string;
|
|
139
|
+
left: string;
|
|
140
|
+
};
|
|
141
|
+
typography: {
|
|
142
|
+
font: string;
|
|
143
|
+
letterSpacing: string;
|
|
144
|
+
fontWidth: number;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
md: {
|
|
148
|
+
height: string;
|
|
149
|
+
padding: {
|
|
150
|
+
top: string;
|
|
151
|
+
right: string;
|
|
152
|
+
bottom: string;
|
|
153
|
+
left: string;
|
|
154
|
+
};
|
|
155
|
+
typography: {
|
|
156
|
+
font: string;
|
|
157
|
+
letterSpacing: string;
|
|
158
|
+
fontWidth: number;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
lg: {
|
|
162
|
+
height: string;
|
|
163
|
+
padding: {
|
|
164
|
+
top: string;
|
|
165
|
+
right: string;
|
|
166
|
+
bottom: string;
|
|
167
|
+
left: string;
|
|
168
|
+
};
|
|
169
|
+
typography: {
|
|
170
|
+
font: string;
|
|
171
|
+
letterSpacing: string;
|
|
172
|
+
fontWidth: number;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
'neutral-primary': {
|
|
177
|
+
shared: {
|
|
178
|
+
color: string;
|
|
179
|
+
backgroundColor: string;
|
|
180
|
+
borderRadius: string;
|
|
181
|
+
border: string;
|
|
182
|
+
':hover': {
|
|
183
|
+
backgroundColor: string;
|
|
184
|
+
border: string;
|
|
185
|
+
};
|
|
186
|
+
':active': {
|
|
187
|
+
backgroundColor: string;
|
|
188
|
+
border: string;
|
|
189
|
+
};
|
|
190
|
+
':disabled': {
|
|
191
|
+
color: string;
|
|
192
|
+
backgroundColor: string;
|
|
193
|
+
border: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
xs: {
|
|
197
|
+
height: string;
|
|
198
|
+
padding: {
|
|
199
|
+
top: string;
|
|
200
|
+
right: string;
|
|
201
|
+
bottom: string;
|
|
202
|
+
left: string;
|
|
203
|
+
};
|
|
204
|
+
typography: {
|
|
205
|
+
font: string;
|
|
206
|
+
letterSpacing: string;
|
|
207
|
+
fontWidth: number;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
sm: {
|
|
211
|
+
height: string;
|
|
212
|
+
padding: {
|
|
213
|
+
top: string;
|
|
214
|
+
right: string;
|
|
215
|
+
bottom: string;
|
|
216
|
+
left: string;
|
|
217
|
+
};
|
|
218
|
+
typography: {
|
|
219
|
+
font: string;
|
|
220
|
+
letterSpacing: string;
|
|
221
|
+
fontWidth: number;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
md: {
|
|
225
|
+
height: string;
|
|
226
|
+
padding: {
|
|
227
|
+
top: string;
|
|
228
|
+
right: string;
|
|
229
|
+
bottom: string;
|
|
230
|
+
left: string;
|
|
231
|
+
};
|
|
232
|
+
typography: {
|
|
233
|
+
font: string;
|
|
234
|
+
letterSpacing: string;
|
|
235
|
+
fontWidth: number;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
lg: {
|
|
239
|
+
height: string;
|
|
240
|
+
padding: {
|
|
241
|
+
top: string;
|
|
242
|
+
right: string;
|
|
243
|
+
bottom: string;
|
|
244
|
+
left: string;
|
|
245
|
+
};
|
|
246
|
+
typography: {
|
|
247
|
+
font: string;
|
|
248
|
+
letterSpacing: string;
|
|
249
|
+
fontWidth: number;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
'neutral-secondary': {
|
|
254
|
+
shared: {
|
|
255
|
+
color: string;
|
|
256
|
+
backgroundColor: string;
|
|
257
|
+
borderRadius: string;
|
|
258
|
+
border: string;
|
|
259
|
+
':hover': {
|
|
260
|
+
backgroundColor: string;
|
|
261
|
+
border: string;
|
|
262
|
+
};
|
|
263
|
+
':active': {
|
|
264
|
+
backgroundColor: string;
|
|
265
|
+
border: string;
|
|
266
|
+
};
|
|
267
|
+
':disabled': {
|
|
268
|
+
color: string;
|
|
269
|
+
backgroundColor: string;
|
|
270
|
+
border: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
xs: {
|
|
274
|
+
height: string;
|
|
275
|
+
padding: {
|
|
276
|
+
top: string;
|
|
277
|
+
right: string;
|
|
278
|
+
bottom: string;
|
|
279
|
+
left: string;
|
|
280
|
+
};
|
|
281
|
+
typography: {
|
|
282
|
+
font: string;
|
|
283
|
+
letterSpacing: string;
|
|
284
|
+
fontWidth: number;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
sm: {
|
|
288
|
+
height: string;
|
|
289
|
+
padding: {
|
|
290
|
+
top: string;
|
|
291
|
+
right: string;
|
|
292
|
+
bottom: string;
|
|
293
|
+
left: string;
|
|
294
|
+
};
|
|
295
|
+
typography: {
|
|
296
|
+
font: string;
|
|
297
|
+
letterSpacing: string;
|
|
298
|
+
fontWidth: number;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
md: {
|
|
302
|
+
height: string;
|
|
303
|
+
padding: {
|
|
304
|
+
top: string;
|
|
305
|
+
right: string;
|
|
306
|
+
bottom: string;
|
|
307
|
+
left: string;
|
|
308
|
+
};
|
|
309
|
+
typography: {
|
|
310
|
+
font: string;
|
|
311
|
+
letterSpacing: string;
|
|
312
|
+
fontWidth: number;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
lg: {
|
|
316
|
+
height: string;
|
|
317
|
+
padding: {
|
|
318
|
+
top: string;
|
|
319
|
+
right: string;
|
|
320
|
+
bottom: string;
|
|
321
|
+
left: string;
|
|
322
|
+
};
|
|
323
|
+
typography: {
|
|
324
|
+
font: string;
|
|
325
|
+
letterSpacing: string;
|
|
326
|
+
fontWidth: number;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
export type ComponentButton = typeof componentButton;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const componentIcon: {
|
|
5
|
+
shared: {
|
|
6
|
+
display: string;
|
|
7
|
+
'user-select': string;
|
|
8
|
+
};
|
|
9
|
+
sm: {
|
|
10
|
+
size: string;
|
|
11
|
+
};
|
|
12
|
+
md: {
|
|
13
|
+
size: string;
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
size: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type ComponentIcon = typeof componentIcon;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const componentUserMenu: {
|
|
5
|
+
container: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
width: string;
|
|
8
|
+
paddingY: string;
|
|
9
|
+
paddingX: string;
|
|
10
|
+
};
|
|
11
|
+
heading: {
|
|
12
|
+
fontWeight: number;
|
|
13
|
+
fontSize: string;
|
|
14
|
+
paddingTop: string;
|
|
15
|
+
paddingRight: string;
|
|
16
|
+
paddingBottom: string;
|
|
17
|
+
paddingLeft: string;
|
|
18
|
+
textAlign: string;
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
paddingTop: string;
|
|
24
|
+
paddingRight: string;
|
|
25
|
+
paddingBottom: string;
|
|
26
|
+
paddingLeft: string;
|
|
27
|
+
textAlign: string;
|
|
28
|
+
};
|
|
29
|
+
toggleButton: {
|
|
30
|
+
baseBackgroundColor: string;
|
|
31
|
+
disabledBackgroundColor: string;
|
|
32
|
+
baseBorderColor: string;
|
|
33
|
+
selectedBorderColor: string;
|
|
34
|
+
gap: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type ComponentUserMenu = typeof componentUserMenu;
|