@guardian/stand 0.0.70 → 0.0.72
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/Table.cjs +10 -0
- package/dist/Table.d.cts +5 -0
- package/dist/Table.d.ts +5 -0
- package/dist/Table.js +3 -0
- package/dist/ToggleSwitch.cjs +5 -0
- package/dist/ToggleSwitch.d.cts +5 -0
- package/dist/ToggleSwitch.d.ts +5 -0
- package/dist/ToggleSwitch.js +3 -0
- package/dist/components/Table/Table.cjs +80 -0
- package/dist/components/Table/Table.d.cts +10 -0
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Table/Table.js +75 -0
- package/dist/components/Table/styles.cjs +133 -0
- package/dist/components/Table/styles.d.cts +8 -0
- package/dist/components/Table/styles.d.ts +8 -0
- package/dist/components/Table/styles.js +126 -0
- package/dist/components/Table/types.d.cts +27 -0
- package/dist/components/Table/types.d.ts +27 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.cjs +41 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.cts +5 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +5 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.js +41 -0
- package/dist/components/ToggleSwitch/styles.cjs +70 -0
- package/dist/components/ToggleSwitch/styles.d.cts +10 -0
- package/dist/components/ToggleSwitch/styles.d.ts +10 -0
- package/dist/components/ToggleSwitch/styles.js +64 -0
- package/dist/components/ToggleSwitch/types.d.cts +17 -0
- package/dist/components/ToggleSwitch/types.d.ts +17 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/styleD/build/css/component/checkbox.css +1 -1
- package/dist/styleD/build/css/component/radioGroup.css +1 -1
- package/dist/styleD/build/css/component/sidebarStepperNavigation.css +1 -1
- package/dist/styleD/build/css/component/table.css +33 -0
- package/dist/styleD/build/css/component/toggleSwitch.css +55 -0
- package/dist/styleD/build/css/semantic/colors.css +15 -3
- package/dist/styleD/build/css/semantic/sizing.css +1 -0
- package/dist/styleD/build/typescript/component/checkbox.cjs +1 -1
- package/dist/styleD/build/typescript/component/checkbox.js +1 -1
- package/dist/styleD/build/typescript/component/radioGroup.cjs +1 -1
- package/dist/styleD/build/typescript/component/radioGroup.js +1 -1
- package/dist/styleD/build/typescript/component/sidebarStepperNavigation.cjs +1 -1
- package/dist/styleD/build/typescript/component/sidebarStepperNavigation.js +1 -1
- package/dist/styleD/build/typescript/component/table.cjs +51 -0
- package/dist/styleD/build/typescript/component/table.d.cts +54 -0
- package/dist/styleD/build/typescript/component/table.d.ts +54 -0
- package/dist/styleD/build/typescript/component/table.js +51 -0
- package/dist/styleD/build/typescript/component/toggleSwitch.cjs +86 -0
- package/dist/styleD/build/typescript/component/toggleSwitch.d.cts +93 -0
- package/dist/styleD/build/typescript/component/toggleSwitch.d.ts +93 -0
- package/dist/styleD/build/typescript/component/toggleSwitch.js +86 -0
- package/dist/styleD/build/typescript/semantic/colors.cjs +16 -4
- package/dist/styleD/build/typescript/semantic/colors.d.cts +15 -3
- package/dist/styleD/build/typescript/semantic/colors.d.ts +15 -3
- package/dist/styleD/build/typescript/semantic/colors.js +16 -4
- package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.cts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.ts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
- package/package.json +29 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/table.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentTable: {
|
|
6
|
+
table: {
|
|
7
|
+
width: string;
|
|
8
|
+
color: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
border: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
};
|
|
13
|
+
header: {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
border: string;
|
|
16
|
+
};
|
|
17
|
+
row: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
hoverBackgroundColor: string;
|
|
20
|
+
border: string;
|
|
21
|
+
focusVisible: {
|
|
22
|
+
outline: string;
|
|
23
|
+
outlineOffset: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
cell: {
|
|
27
|
+
paddingBlock: string;
|
|
28
|
+
paddingInline: string;
|
|
29
|
+
typography: {
|
|
30
|
+
font: string;
|
|
31
|
+
letterSpacing: string;
|
|
32
|
+
fontWidth: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
columnHeader: {
|
|
36
|
+
typography: {
|
|
37
|
+
font: string;
|
|
38
|
+
letterSpacing: string;
|
|
39
|
+
fontWidth: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
compactLabel: {
|
|
43
|
+
color: string;
|
|
44
|
+
gap: string;
|
|
45
|
+
typography: {
|
|
46
|
+
font: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
fontWidth: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type ComponentTable = typeof componentTable;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { ComponentTable, componentTable };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/table.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentTable: {
|
|
6
|
+
table: {
|
|
7
|
+
width: string;
|
|
8
|
+
color: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
border: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
};
|
|
13
|
+
header: {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
border: string;
|
|
16
|
+
};
|
|
17
|
+
row: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
hoverBackgroundColor: string;
|
|
20
|
+
border: string;
|
|
21
|
+
focusVisible: {
|
|
22
|
+
outline: string;
|
|
23
|
+
outlineOffset: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
cell: {
|
|
27
|
+
paddingBlock: string;
|
|
28
|
+
paddingInline: string;
|
|
29
|
+
typography: {
|
|
30
|
+
font: string;
|
|
31
|
+
letterSpacing: string;
|
|
32
|
+
fontWidth: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
columnHeader: {
|
|
36
|
+
typography: {
|
|
37
|
+
font: string;
|
|
38
|
+
letterSpacing: string;
|
|
39
|
+
fontWidth: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
compactLabel: {
|
|
43
|
+
color: string;
|
|
44
|
+
gap: string;
|
|
45
|
+
typography: {
|
|
46
|
+
font: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
fontWidth: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type ComponentTable = typeof componentTable;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { ComponentTable, componentTable };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/table.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentTable = {
|
|
6
|
+
table: {
|
|
7
|
+
width: "100%",
|
|
8
|
+
color: "#000000",
|
|
9
|
+
backgroundColor: "#ffffff",
|
|
10
|
+
border: "0.0625rem solid #cccccc",
|
|
11
|
+
borderRadius: "0.25rem"
|
|
12
|
+
},
|
|
13
|
+
header: {
|
|
14
|
+
backgroundColor: "#ededed",
|
|
15
|
+
border: "0.0625rem solid #cccccc"
|
|
16
|
+
},
|
|
17
|
+
row: {
|
|
18
|
+
backgroundColor: "#ffffff",
|
|
19
|
+
hoverBackgroundColor: "#f6f6f6",
|
|
20
|
+
border: "0.0625rem solid #cccccc",
|
|
21
|
+
focusVisible: {
|
|
22
|
+
outline: "0.125rem solid #0072a9",
|
|
23
|
+
outlineOffset: "-0.0625rem"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
cell: {
|
|
27
|
+
paddingBlock: "0.5rem",
|
|
28
|
+
paddingInline: "0.75rem",
|
|
29
|
+
typography: {
|
|
30
|
+
font: "normal 460 0.875rem/1.3 Open Sans",
|
|
31
|
+
letterSpacing: "0rem",
|
|
32
|
+
fontWidth: 95
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
columnHeader: { typography: {
|
|
36
|
+
font: "normal 700 0.75rem/1.15 Open Sans",
|
|
37
|
+
letterSpacing: "0rem",
|
|
38
|
+
fontWidth: 95
|
|
39
|
+
} },
|
|
40
|
+
compactLabel: {
|
|
41
|
+
color: "#545454",
|
|
42
|
+
gap: "0.25rem",
|
|
43
|
+
typography: {
|
|
44
|
+
font: "normal 460 0.75rem/1.3 Open Sans",
|
|
45
|
+
letterSpacing: "0rem",
|
|
46
|
+
fontWidth: 95
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { componentTable };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/toggleSwitch.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentToggleSwitch = {
|
|
6
|
+
shared: {
|
|
7
|
+
display: "flex",
|
|
8
|
+
alignItems: "center",
|
|
9
|
+
gap: "0.5rem",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
color: "#000000",
|
|
12
|
+
label: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
alignItems: "flex-start",
|
|
16
|
+
paddingBlock: "0.125rem"
|
|
17
|
+
},
|
|
18
|
+
description: {
|
|
19
|
+
color: "#545454",
|
|
20
|
+
typography: {
|
|
21
|
+
font: "normal 460 0.75rem/1.3 Open Sans",
|
|
22
|
+
letterSpacing: "0rem",
|
|
23
|
+
fontWidth: 95
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
track: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
padding: "0.25rem",
|
|
30
|
+
borderRadius: "100px",
|
|
31
|
+
backgroundColor: "#666666",
|
|
32
|
+
transition: "background-color 200ms",
|
|
33
|
+
selected: { backgroundColor: "#0072a9" },
|
|
34
|
+
disabled: { backgroundColor: "#dcdcdc" },
|
|
35
|
+
focusVisible: {
|
|
36
|
+
outline: "0.125rem solid #0072a9",
|
|
37
|
+
outlineOffset: "0.125rem"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
thumb: {
|
|
41
|
+
borderRadius: "50%",
|
|
42
|
+
backgroundColor: "#ffffff",
|
|
43
|
+
color: "#0072a9",
|
|
44
|
+
disabled: { color: "#dcdcdc" },
|
|
45
|
+
transition: "transform 200ms"
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
color: "#999999",
|
|
49
|
+
cursor: "not-allowed"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
sm: {
|
|
53
|
+
typography: {
|
|
54
|
+
font: "normal 460 0.875rem/1.3 Open Sans",
|
|
55
|
+
letterSpacing: "0rem",
|
|
56
|
+
fontWidth: 95
|
|
57
|
+
},
|
|
58
|
+
track: {
|
|
59
|
+
width: "2.75rem",
|
|
60
|
+
height: "1.5rem"
|
|
61
|
+
},
|
|
62
|
+
thumb: {
|
|
63
|
+
size: "1.125rem",
|
|
64
|
+
translateX: "1.25rem",
|
|
65
|
+
iconSize: "1rem"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
md: {
|
|
69
|
+
typography: {
|
|
70
|
+
font: "normal 460 1rem/1.3 Open Sans",
|
|
71
|
+
letterSpacing: "0rem",
|
|
72
|
+
fontWidth: 95
|
|
73
|
+
},
|
|
74
|
+
track: {
|
|
75
|
+
width: "3.75rem",
|
|
76
|
+
height: "2rem"
|
|
77
|
+
},
|
|
78
|
+
thumb: {
|
|
79
|
+
size: "1.5rem",
|
|
80
|
+
translateX: "1.75rem",
|
|
81
|
+
iconSize: "1.25rem"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
exports.componentToggleSwitch = componentToggleSwitch;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/toggleSwitch.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentToggleSwitch: {
|
|
6
|
+
shared: {
|
|
7
|
+
display: string;
|
|
8
|
+
alignItems: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
color: string;
|
|
12
|
+
label: {
|
|
13
|
+
display: string;
|
|
14
|
+
flexDirection: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
paddingBlock: string;
|
|
17
|
+
};
|
|
18
|
+
description: {
|
|
19
|
+
color: string;
|
|
20
|
+
typography: {
|
|
21
|
+
font: string;
|
|
22
|
+
letterSpacing: string;
|
|
23
|
+
fontWidth: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
track: {
|
|
27
|
+
display: string;
|
|
28
|
+
alignItems: string;
|
|
29
|
+
padding: string;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
transition: string;
|
|
33
|
+
selected: {
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
};
|
|
39
|
+
focusVisible: {
|
|
40
|
+
outline: string;
|
|
41
|
+
outlineOffset: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
thumb: {
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
backgroundColor: string;
|
|
47
|
+
color: string;
|
|
48
|
+
disabled: {
|
|
49
|
+
color: string;
|
|
50
|
+
};
|
|
51
|
+
transition: string;
|
|
52
|
+
};
|
|
53
|
+
disabled: {
|
|
54
|
+
color: string;
|
|
55
|
+
cursor: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
sm: {
|
|
59
|
+
typography: {
|
|
60
|
+
font: string;
|
|
61
|
+
letterSpacing: string;
|
|
62
|
+
fontWidth: number;
|
|
63
|
+
};
|
|
64
|
+
track: {
|
|
65
|
+
width: string;
|
|
66
|
+
height: string;
|
|
67
|
+
};
|
|
68
|
+
thumb: {
|
|
69
|
+
size: string;
|
|
70
|
+
translateX: string;
|
|
71
|
+
iconSize: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
md: {
|
|
75
|
+
typography: {
|
|
76
|
+
font: string;
|
|
77
|
+
letterSpacing: string;
|
|
78
|
+
fontWidth: number;
|
|
79
|
+
};
|
|
80
|
+
track: {
|
|
81
|
+
width: string;
|
|
82
|
+
height: string;
|
|
83
|
+
};
|
|
84
|
+
thumb: {
|
|
85
|
+
size: string;
|
|
86
|
+
translateX: string;
|
|
87
|
+
iconSize: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
type ComponentToggleSwitch = typeof componentToggleSwitch;
|
|
92
|
+
//#endregion
|
|
93
|
+
export { ComponentToggleSwitch, componentToggleSwitch };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/toggleSwitch.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentToggleSwitch: {
|
|
6
|
+
shared: {
|
|
7
|
+
display: string;
|
|
8
|
+
alignItems: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
color: string;
|
|
12
|
+
label: {
|
|
13
|
+
display: string;
|
|
14
|
+
flexDirection: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
paddingBlock: string;
|
|
17
|
+
};
|
|
18
|
+
description: {
|
|
19
|
+
color: string;
|
|
20
|
+
typography: {
|
|
21
|
+
font: string;
|
|
22
|
+
letterSpacing: string;
|
|
23
|
+
fontWidth: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
track: {
|
|
27
|
+
display: string;
|
|
28
|
+
alignItems: string;
|
|
29
|
+
padding: string;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
transition: string;
|
|
33
|
+
selected: {
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
};
|
|
39
|
+
focusVisible: {
|
|
40
|
+
outline: string;
|
|
41
|
+
outlineOffset: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
thumb: {
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
backgroundColor: string;
|
|
47
|
+
color: string;
|
|
48
|
+
disabled: {
|
|
49
|
+
color: string;
|
|
50
|
+
};
|
|
51
|
+
transition: string;
|
|
52
|
+
};
|
|
53
|
+
disabled: {
|
|
54
|
+
color: string;
|
|
55
|
+
cursor: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
sm: {
|
|
59
|
+
typography: {
|
|
60
|
+
font: string;
|
|
61
|
+
letterSpacing: string;
|
|
62
|
+
fontWidth: number;
|
|
63
|
+
};
|
|
64
|
+
track: {
|
|
65
|
+
width: string;
|
|
66
|
+
height: string;
|
|
67
|
+
};
|
|
68
|
+
thumb: {
|
|
69
|
+
size: string;
|
|
70
|
+
translateX: string;
|
|
71
|
+
iconSize: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
md: {
|
|
75
|
+
typography: {
|
|
76
|
+
font: string;
|
|
77
|
+
letterSpacing: string;
|
|
78
|
+
fontWidth: number;
|
|
79
|
+
};
|
|
80
|
+
track: {
|
|
81
|
+
width: string;
|
|
82
|
+
height: string;
|
|
83
|
+
};
|
|
84
|
+
thumb: {
|
|
85
|
+
size: string;
|
|
86
|
+
translateX: string;
|
|
87
|
+
iconSize: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
type ComponentToggleSwitch = typeof componentToggleSwitch;
|
|
92
|
+
//#endregion
|
|
93
|
+
export { ComponentToggleSwitch, componentToggleSwitch };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/toggleSwitch.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentToggleSwitch = {
|
|
6
|
+
shared: {
|
|
7
|
+
display: "flex",
|
|
8
|
+
alignItems: "center",
|
|
9
|
+
gap: "0.5rem",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
color: "#000000",
|
|
12
|
+
label: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
alignItems: "flex-start",
|
|
16
|
+
paddingBlock: "0.125rem"
|
|
17
|
+
},
|
|
18
|
+
description: {
|
|
19
|
+
color: "#545454",
|
|
20
|
+
typography: {
|
|
21
|
+
font: "normal 460 0.75rem/1.3 Open Sans",
|
|
22
|
+
letterSpacing: "0rem",
|
|
23
|
+
fontWidth: 95
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
track: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
padding: "0.25rem",
|
|
30
|
+
borderRadius: "100px",
|
|
31
|
+
backgroundColor: "#666666",
|
|
32
|
+
transition: "background-color 200ms",
|
|
33
|
+
selected: { backgroundColor: "#0072a9" },
|
|
34
|
+
disabled: { backgroundColor: "#dcdcdc" },
|
|
35
|
+
focusVisible: {
|
|
36
|
+
outline: "0.125rem solid #0072a9",
|
|
37
|
+
outlineOffset: "0.125rem"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
thumb: {
|
|
41
|
+
borderRadius: "50%",
|
|
42
|
+
backgroundColor: "#ffffff",
|
|
43
|
+
color: "#0072a9",
|
|
44
|
+
disabled: { color: "#dcdcdc" },
|
|
45
|
+
transition: "transform 200ms"
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
color: "#999999",
|
|
49
|
+
cursor: "not-allowed"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
sm: {
|
|
53
|
+
typography: {
|
|
54
|
+
font: "normal 460 0.875rem/1.3 Open Sans",
|
|
55
|
+
letterSpacing: "0rem",
|
|
56
|
+
fontWidth: 95
|
|
57
|
+
},
|
|
58
|
+
track: {
|
|
59
|
+
width: "2.75rem",
|
|
60
|
+
height: "1.5rem"
|
|
61
|
+
},
|
|
62
|
+
thumb: {
|
|
63
|
+
size: "1.125rem",
|
|
64
|
+
translateX: "1.25rem",
|
|
65
|
+
iconSize: "1rem"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
md: {
|
|
69
|
+
typography: {
|
|
70
|
+
font: "normal 460 1rem/1.3 Open Sans",
|
|
71
|
+
letterSpacing: "0rem",
|
|
72
|
+
fontWidth: 95
|
|
73
|
+
},
|
|
74
|
+
track: {
|
|
75
|
+
width: "3.75rem",
|
|
76
|
+
height: "2rem"
|
|
77
|
+
},
|
|
78
|
+
thumb: {
|
|
79
|
+
size: "1.5rem",
|
|
80
|
+
translateX: "1.75rem",
|
|
81
|
+
iconSize: "1.25rem"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
export { componentToggleSwitch };
|
|
@@ -79,13 +79,24 @@ const semanticColors = {
|
|
|
79
79
|
orangeWeak: "#fcddc6",
|
|
80
80
|
orangeMedium: "#fac7a1",
|
|
81
81
|
yellowWeak: "#ffedac",
|
|
82
|
-
|
|
82
|
+
unselectedStrong: "#ffffff",
|
|
83
|
+
unselectedHoverStrong: "#005d8b",
|
|
84
|
+
unselectedPressedStrong: "#00496c",
|
|
85
|
+
selectedStrong: "#0072a9",
|
|
86
|
+
selectedHoverStrong: "#00496c",
|
|
87
|
+
selectedPressedStrong: "#00344e",
|
|
83
88
|
selectedWeaker: "#e6f1f6",
|
|
84
|
-
selectedWeak: "#c5dfec",
|
|
85
89
|
selectedHoverWeaker: "#c5dfec",
|
|
86
|
-
selectedHoverWeak: "#8abed7",
|
|
87
90
|
selectedPressedWeaker: "#8abed7",
|
|
91
|
+
unselectedWeaker: "#ffffff",
|
|
92
|
+
unselectedHoverWeaker: "#e6f1f6",
|
|
93
|
+
unselectedPressedWeaker: "#c5dfec",
|
|
94
|
+
selectedWeak: "#c5dfec",
|
|
95
|
+
selectedHoverWeak: "#8abed7",
|
|
88
96
|
selectedPressedWeak: "#5ca5c8",
|
|
97
|
+
unselectedWeak: "#ffffff",
|
|
98
|
+
unselectedHoverWeak: "#c5dfec",
|
|
99
|
+
unselectedPressedWeak: "#8abed7",
|
|
89
100
|
draftStrong: "#f1c21b",
|
|
90
101
|
liveWeak: "#aed2a6",
|
|
91
102
|
warningWeak: "#ffedac",
|
|
@@ -96,7 +107,8 @@ const semanticColors = {
|
|
|
96
107
|
errorStrong: "#b42a19",
|
|
97
108
|
successWeak: "#cde4c9",
|
|
98
109
|
successStrong: "#326528",
|
|
99
|
-
neutralWeak: "#ededed"
|
|
110
|
+
neutralWeak: "#ededed",
|
|
111
|
+
neutralMedium: "#666666"
|
|
100
112
|
}
|
|
101
113
|
};
|
|
102
114
|
//#endregion
|
|
@@ -79,13 +79,24 @@ declare const semanticColors: {
|
|
|
79
79
|
orangeWeak: string;
|
|
80
80
|
orangeMedium: string;
|
|
81
81
|
yellowWeak: string;
|
|
82
|
-
|
|
82
|
+
unselectedStrong: string;
|
|
83
|
+
unselectedHoverStrong: string;
|
|
84
|
+
unselectedPressedStrong: string;
|
|
85
|
+
selectedStrong: string;
|
|
86
|
+
selectedHoverStrong: string;
|
|
87
|
+
selectedPressedStrong: string;
|
|
83
88
|
selectedWeaker: string;
|
|
84
|
-
selectedWeak: string;
|
|
85
89
|
selectedHoverWeaker: string;
|
|
86
|
-
selectedHoverWeak: string;
|
|
87
90
|
selectedPressedWeaker: string;
|
|
91
|
+
unselectedWeaker: string;
|
|
92
|
+
unselectedHoverWeaker: string;
|
|
93
|
+
unselectedPressedWeaker: string;
|
|
94
|
+
selectedWeak: string;
|
|
95
|
+
selectedHoverWeak: string;
|
|
88
96
|
selectedPressedWeak: string;
|
|
97
|
+
unselectedWeak: string;
|
|
98
|
+
unselectedHoverWeak: string;
|
|
99
|
+
unselectedPressedWeak: string;
|
|
89
100
|
draftStrong: string;
|
|
90
101
|
liveWeak: string;
|
|
91
102
|
warningWeak: string;
|
|
@@ -97,6 +108,7 @@ declare const semanticColors: {
|
|
|
97
108
|
successWeak: string;
|
|
98
109
|
successStrong: string;
|
|
99
110
|
neutralWeak: string;
|
|
111
|
+
neutralMedium: string;
|
|
100
112
|
};
|
|
101
113
|
};
|
|
102
114
|
type SemanticColors = typeof semanticColors;
|
|
@@ -79,13 +79,24 @@ declare const semanticColors: {
|
|
|
79
79
|
orangeWeak: string;
|
|
80
80
|
orangeMedium: string;
|
|
81
81
|
yellowWeak: string;
|
|
82
|
-
|
|
82
|
+
unselectedStrong: string;
|
|
83
|
+
unselectedHoverStrong: string;
|
|
84
|
+
unselectedPressedStrong: string;
|
|
85
|
+
selectedStrong: string;
|
|
86
|
+
selectedHoverStrong: string;
|
|
87
|
+
selectedPressedStrong: string;
|
|
83
88
|
selectedWeaker: string;
|
|
84
|
-
selectedWeak: string;
|
|
85
89
|
selectedHoverWeaker: string;
|
|
86
|
-
selectedHoverWeak: string;
|
|
87
90
|
selectedPressedWeaker: string;
|
|
91
|
+
unselectedWeaker: string;
|
|
92
|
+
unselectedHoverWeaker: string;
|
|
93
|
+
unselectedPressedWeaker: string;
|
|
94
|
+
selectedWeak: string;
|
|
95
|
+
selectedHoverWeak: string;
|
|
88
96
|
selectedPressedWeak: string;
|
|
97
|
+
unselectedWeak: string;
|
|
98
|
+
unselectedHoverWeak: string;
|
|
99
|
+
unselectedPressedWeak: string;
|
|
89
100
|
draftStrong: string;
|
|
90
101
|
liveWeak: string;
|
|
91
102
|
warningWeak: string;
|
|
@@ -97,6 +108,7 @@ declare const semanticColors: {
|
|
|
97
108
|
successWeak: string;
|
|
98
109
|
successStrong: string;
|
|
99
110
|
neutralWeak: string;
|
|
111
|
+
neutralMedium: string;
|
|
100
112
|
};
|
|
101
113
|
};
|
|
102
114
|
type SemanticColors = typeof semanticColors;
|
|
@@ -79,13 +79,24 @@ const semanticColors = {
|
|
|
79
79
|
orangeWeak: "#fcddc6",
|
|
80
80
|
orangeMedium: "#fac7a1",
|
|
81
81
|
yellowWeak: "#ffedac",
|
|
82
|
-
|
|
82
|
+
unselectedStrong: "#ffffff",
|
|
83
|
+
unselectedHoverStrong: "#005d8b",
|
|
84
|
+
unselectedPressedStrong: "#00496c",
|
|
85
|
+
selectedStrong: "#0072a9",
|
|
86
|
+
selectedHoverStrong: "#00496c",
|
|
87
|
+
selectedPressedStrong: "#00344e",
|
|
83
88
|
selectedWeaker: "#e6f1f6",
|
|
84
|
-
selectedWeak: "#c5dfec",
|
|
85
89
|
selectedHoverWeaker: "#c5dfec",
|
|
86
|
-
selectedHoverWeak: "#8abed7",
|
|
87
90
|
selectedPressedWeaker: "#8abed7",
|
|
91
|
+
unselectedWeaker: "#ffffff",
|
|
92
|
+
unselectedHoverWeaker: "#e6f1f6",
|
|
93
|
+
unselectedPressedWeaker: "#c5dfec",
|
|
94
|
+
selectedWeak: "#c5dfec",
|
|
95
|
+
selectedHoverWeak: "#8abed7",
|
|
88
96
|
selectedPressedWeak: "#5ca5c8",
|
|
97
|
+
unselectedWeak: "#ffffff",
|
|
98
|
+
unselectedHoverWeak: "#c5dfec",
|
|
99
|
+
unselectedPressedWeak: "#8abed7",
|
|
89
100
|
draftStrong: "#f1c21b",
|
|
90
101
|
liveWeak: "#aed2a6",
|
|
91
102
|
warningWeak: "#ffedac",
|
|
@@ -96,7 +107,8 @@ const semanticColors = {
|
|
|
96
107
|
errorStrong: "#b42a19",
|
|
97
108
|
successWeak: "#cde4c9",
|
|
98
109
|
successStrong: "#326528",
|
|
99
|
-
neutralWeak: "#ededed"
|
|
110
|
+
neutralWeak: "#ededed",
|
|
111
|
+
neutralMedium: "#666666"
|
|
100
112
|
}
|
|
101
113
|
};
|
|
102
114
|
//#endregion
|