@dmsi/wedgekit-react 0.0.26 → 0.0.27
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/{chunk-KDEPZ6I7.js → chunk-2S2Z3L56.js} +5 -1
- package/dist/{chunk-TU55CHXU.js → chunk-4JLU7TAC.js} +3 -1
- package/dist/{chunk-Z2LOGSGE.js → chunk-4N2PED4P.js} +15 -3
- package/dist/{chunk-U42SKNR6.js → chunk-57WRM337.js} +68 -30
- package/dist/{chunk-ZFGGZXB6.js → chunk-AY7ELVQY.js} +5 -2
- package/dist/{chunk-I2UVVKQI.js → chunk-CHTO7PW4.js} +3 -2
- package/dist/{chunk-WIDBAFBU.js → chunk-FWPJ73IK.js} +3 -1
- package/dist/{chunk-5TLFMKSR.js → chunk-INYI65WW.js} +15 -5
- package/dist/{chunk-TJ44JJCB.js → chunk-J6LETUNM.js} +5 -2
- package/dist/{chunk-T6HZARR7.js → chunk-MZJS2ZAU.js} +6 -3
- package/dist/{chunk-ZCBSLV7U.js → chunk-O4M2GISS.js} +5 -2
- package/dist/{chunk-OUTEIXV4.js → chunk-OUSNH76S.js} +11 -3
- package/dist/{chunk-YDREJNAS.js → chunk-PDDZ5PMY.js} +18 -4
- package/dist/{chunk-4RD5ZF2V.js → chunk-QBIEU25R.js} +10 -4
- package/dist/chunk-QUPHLL7D.js +61 -0
- package/dist/{chunk-OISE6NMA.js → chunk-QV2EFOYF.js} +17 -6
- package/dist/{chunk-YZQNTOIF.js → chunk-QZGUMB7T.js} +10 -5
- package/dist/{chunk-S7R37IUP.js → chunk-S5K22XTH.js} +5 -2
- package/dist/{chunk-GCPJH5R6.js → chunk-S5KPS4IQ.js} +22 -7
- package/dist/{chunk-VELXLFMJ.js → chunk-SAMX4YGM.js} +4 -1
- package/dist/{chunk-TWP6YSFO.js → chunk-SKHSGGO3.js} +14 -6
- package/dist/chunk-TVDFTRGL.js +57 -0
- package/dist/{chunk-N32PXOA5.js → chunk-UT7XCBZF.js} +9 -4
- package/dist/{chunk-L4UM372R.js → chunk-VC3R5EUH.js} +3 -0
- package/dist/{chunk-UIQ733QP.js → chunk-VG4EPHJA.js} +7 -3
- package/dist/components/Breadcrumbs.cjs +29 -9
- package/dist/components/Breadcrumbs.js +29 -9
- package/dist/components/Button.cjs +6 -3
- package/dist/components/Button.js +1 -1
- package/dist/components/CalendarRange.cjs +11 -3
- package/dist/components/CalendarRange.js +1 -1
- package/dist/components/Caption.cjs +53 -9
- package/dist/components/Caption.js +53 -9
- package/dist/components/Checkbox.cjs +15 -6
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/ContentTab.cjs +20 -7
- package/dist/components/ContentTab.js +2 -2
- package/dist/components/ContentTabs.cjs +32 -18
- package/dist/components/ContentTabs.js +14 -13
- package/dist/components/DMSiLogo.cjs +22 -4
- package/dist/components/DMSiLogo.js +9 -5
- package/dist/components/DataGrid.cjs +374 -243
- package/dist/components/DataGrid.js +283 -226
- package/dist/components/DataGridCell.cjs +79 -21
- package/dist/components/DataGridCell.js +7 -7
- package/dist/components/DataTable.cjs +197 -139
- package/dist/components/DataTable.js +197 -139
- package/dist/components/DateInput.cjs +36 -10
- package/dist/components/DateInput.js +7 -3
- package/dist/components/DateRangeInput.cjs +36 -10
- package/dist/components/DateRangeInput.js +7 -3
- package/dist/components/DebugJson.cjs +21 -13
- package/dist/components/DebugJson.js +21 -13
- package/dist/components/Display.cjs +5 -2
- package/dist/components/Display.js +1 -1
- package/dist/components/EditingContext.cjs +4 -1
- package/dist/components/EditingContext.js +4 -1
- package/dist/components/FilterGroup.cjs +102 -32
- package/dist/components/FilterGroup.js +41 -17
- package/dist/components/FullViewportBox.cjs +10 -2
- package/dist/components/FullViewportBox.js +10 -2
- package/dist/components/Grid.cjs +3 -1
- package/dist/components/Grid.js +3 -1
- package/dist/components/Heading.cjs +5 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/HorizontalDivider.cjs +2 -2
- package/dist/components/HorizontalDivider.js +2 -2
- package/dist/components/Input.cjs +21 -7
- package/dist/components/Input.js +2 -2
- package/dist/components/InputGroup.cjs +13 -6
- package/dist/components/InputGroup.js +9 -5
- package/dist/components/Label.cjs +5 -2
- package/dist/components/Label.js +1 -1
- package/dist/components/List.cjs +3 -2
- package/dist/components/List.js +3 -2
- package/dist/components/LogoAgilityTopBar.cjs +22 -4
- package/dist/components/LogoAgilityTopBar.js +9 -5
- package/dist/components/LogoDMSiTopBar.cjs +22 -4
- package/dist/components/LogoDMSiTopBar.js +1 -1
- package/dist/components/LogoMillworkTopBar.cjs +22 -4
- package/dist/components/LogoMillworkTopBar.js +9 -5
- package/dist/components/MainBar.cjs +2 -0
- package/dist/components/MainBar.js +2 -0
- package/dist/components/Menu.cjs +3 -0
- package/dist/components/Menu.js +1 -1
- package/dist/components/MenuOption.cjs +28 -7
- package/dist/components/MenuOption.js +3 -3
- package/dist/components/MobileDataGrid.cjs +101 -46
- package/dist/components/MobileDataGrid.js +23 -11
- package/dist/components/Modal.cjs +96 -51
- package/dist/components/Modal.js +19 -7
- package/dist/components/ModalButtons.cjs +43 -26
- package/dist/components/ModalButtons.js +2 -2
- package/dist/components/ModalContent.cjs +3 -1
- package/dist/components/ModalContent.js +1 -1
- package/dist/components/ModalHeader.cjs +40 -25
- package/dist/components/ModalHeader.js +3 -3
- package/dist/components/ModalScrim.cjs +3 -1
- package/dist/components/ModalScrim.js +1 -1
- package/dist/components/NavigationTab.cjs +9 -3
- package/dist/components/NavigationTab.js +2 -2
- package/dist/components/NavigationTabs.cjs +15 -7
- package/dist/components/NavigationTabs.js +8 -6
- package/dist/components/NestedMenu.cjs +28 -7
- package/dist/components/NestedMenu.js +3 -3
- package/dist/components/Notification.cjs +84 -38
- package/dist/components/Notification.js +8 -4
- package/dist/components/OptionPill.cjs +24 -6
- package/dist/components/OptionPill.js +3 -3
- package/dist/components/Paragraph.cjs +7 -3
- package/dist/components/Paragraph.js +1 -1
- package/dist/components/Password.cjs +33 -11
- package/dist/components/Password.js +14 -6
- package/dist/components/ProjectBar.cjs +3 -1
- package/dist/components/ProjectBar.js +3 -1
- package/dist/components/Radio.cjs +13 -7
- package/dist/components/Radio.js +7 -5
- package/dist/components/Search.cjs +34 -12
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.cjs +25 -7
- package/dist/components/Select.js +3 -3
- package/dist/components/SideMenu.cjs +6 -1
- package/dist/components/SideMenu.js +6 -1
- package/dist/components/SideMenuGroup.cjs +96 -49
- package/dist/components/SideMenuGroup.js +31 -19
- package/dist/components/SideMenuItem.cjs +99 -43
- package/dist/components/SideMenuItem.js +32 -12
- package/dist/components/Stack.cjs +91 -30
- package/dist/components/Stack.js +1 -1
- package/dist/components/StatusPill.cjs +13 -6
- package/dist/components/StatusPill.js +9 -5
- package/dist/components/Stepper.cjs +35 -17
- package/dist/components/Stepper.js +11 -10
- package/dist/components/Subheader.cjs +5 -2
- package/dist/components/Subheader.js +1 -1
- package/dist/components/Surface.cjs +5 -2
- package/dist/components/Surface.js +5 -2
- package/dist/components/Swatch.cjs +1544 -1308
- package/dist/components/Swatch.js +1469 -1275
- package/dist/components/Textarea.cjs +5 -2
- package/dist/components/Textarea.js +5 -2
- package/dist/components/Theme.cjs +3 -2
- package/dist/components/Theme.js +1 -1
- package/dist/components/Time.cjs +98 -40
- package/dist/components/Time.js +18 -6
- package/dist/components/Toast.cjs +38 -15
- package/dist/components/Toast.js +23 -10
- package/dist/components/Tooltip.cjs +5 -4
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TopBar.cjs +16 -8
- package/dist/components/TopBar.js +12 -5
- package/package.json +1 -1
- package/src/components/Breadcrumbs.tsx +24 -15
- package/src/components/Button.tsx +7 -3
- package/src/components/CalendarRange.tsx +9 -0
- package/src/components/Caption.tsx +36 -6
- package/src/components/Checkbox.tsx +7 -2
- package/src/components/ContentTab.tsx +13 -3
- package/src/components/ContentTabs.tsx +11 -8
- package/src/components/DMSiLogo.tsx +2 -1
- package/src/components/DataGrid.tsx +85 -23
- package/src/components/DataGridCell.tsx +15 -2
- package/src/components/DataTable.tsx +64 -14
- package/src/components/DateInput.tsx +5 -1
- package/src/components/DateRangeInput.tsx +5 -1
- package/src/components/DebugJson.tsx +7 -3
- package/src/components/Display.tsx +3 -0
- package/src/components/EditingContext.tsx +8 -6
- package/src/components/FilterGroup.tsx +23 -3
- package/src/components/FullViewportBox.tsx +6 -1
- package/src/components/Grid.tsx +3 -0
- package/src/components/Heading.tsx +3 -0
- package/src/components/HorizontalDivider.tsx +4 -2
- package/src/components/Input.tsx +19 -10
- package/src/components/InputGroup.tsx +8 -4
- package/src/components/Label.tsx +3 -0
- package/src/components/Link.tsx +1 -0
- package/src/components/List.tsx +7 -1
- package/src/components/LogoAgilityTopBar.tsx +2 -1
- package/src/components/LogoDMSiTopBar.tsx +2 -1
- package/src/components/LogoMillworkTopBar.tsx +2 -1
- package/src/components/MainBar.tsx +3 -0
- package/src/components/Menu.tsx +3 -0
- package/src/components/MenuOption.tsx +72 -58
- package/src/components/MobileDataGrid.tsx +15 -4
- package/src/components/Modal.tsx +10 -1
- package/src/components/ModalButtons.tsx +12 -1
- package/src/components/ModalContent.tsx +3 -0
- package/src/components/ModalHeader.tsx +16 -6
- package/src/components/ModalScrim.tsx +3 -0
- package/src/components/NavigationTab.tsx +6 -3
- package/src/components/NavigationTabs.tsx +5 -2
- package/src/components/Notification.tsx +4 -0
- package/src/components/OptionPill.tsx +9 -1
- package/src/components/Paragraph.tsx +3 -0
- package/src/components/Password.tsx +9 -3
- package/src/components/ProjectBar.tsx +3 -0
- package/src/components/Radio.tsx +3 -2
- package/src/components/Search.tsx +56 -41
- package/src/components/Select.tsx +6 -1
- package/src/components/SideMenu.tsx +7 -1
- package/src/components/SideMenuGroup.tsx +13 -2
- package/src/components/SideMenuItem.tsx +15 -2
- package/src/components/Stack.tsx +8 -3
- package/src/components/StatusPill.tsx +4 -2
- package/src/components/Stepper.tsx +5 -5
- package/src/components/Subheader.tsx +3 -0
- package/src/components/Surface.tsx +3 -0
- package/src/components/Swatch.tsx +415 -140
- package/src/components/Textarea.tsx +6 -3
- package/src/components/Theme.tsx +3 -1
- package/src/components/Time.tsx +21 -5
- package/src/components/Toast.tsx +29 -14
- package/src/components/Tooltip.tsx +46 -32
- package/src/components/TopBar.tsx +7 -3
- package/dist/chunk-DBYSGYST.js +0 -47
- package/dist/chunk-UK3WG7HQ.js +0 -48
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import { Display1
|
|
2
|
+
import { Display1 } from "./Display";
|
|
3
3
|
import { Stack } from "./Stack";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { typography } from "../classNames";
|
|
@@ -10,11 +10,12 @@ type SwatchProps = PropsWithChildren<{
|
|
|
10
10
|
className: string;
|
|
11
11
|
colorName: string;
|
|
12
12
|
colorHex: string;
|
|
13
|
+
id?: string;
|
|
13
14
|
}>;
|
|
14
15
|
|
|
15
|
-
export const Swatch = ({ className, colorName, colorHex }: SwatchProps) => {
|
|
16
|
+
export const Swatch = ({ className, colorName, colorHex, id }: SwatchProps) => {
|
|
16
17
|
return (
|
|
17
|
-
<div className="flex flex-col gap-desktop-layout-padding">
|
|
18
|
+
<div id={id} className="flex flex-col gap-desktop-layout-padding">
|
|
18
19
|
<div
|
|
19
20
|
className={`w-25 h-18 rounded-xl border border-solid border-border-primary-normal ${className}`}
|
|
20
21
|
></div>
|
|
@@ -33,13 +34,23 @@ export const Swatch = ({ className, colorName, colorHex }: SwatchProps) => {
|
|
|
33
34
|
);
|
|
34
35
|
};
|
|
35
36
|
|
|
36
|
-
export const Swatches = () => {
|
|
37
|
+
export const Swatches = ({ id }: { id: string }) => {
|
|
37
38
|
return (
|
|
38
|
-
<Stack
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
<Stack
|
|
40
|
+
id={id}
|
|
41
|
+
elevation={0}
|
|
42
|
+
items="start"
|
|
43
|
+
justify="start"
|
|
44
|
+
sizing="container"
|
|
45
|
+
>
|
|
46
|
+
<Display1 id={id ? `${id}-primitives-title` : undefined}>
|
|
47
|
+
Color Primitives
|
|
48
|
+
</Display1>
|
|
49
|
+
|
|
50
|
+
<Display1 id={id ? `${id}-branded-title` : undefined}>
|
|
51
|
+
Branded Colors
|
|
52
|
+
</Display1>
|
|
53
|
+
<Paragraph id={id ? `${id}-branded-description` : undefined}>
|
|
43
54
|
As different customers with their own brands become more integrated with
|
|
44
55
|
the Millwork eCatalog, we want to be able to offer some customization of
|
|
45
56
|
the UI to align with their branding. There can be different palettes
|
|
@@ -47,529 +58,653 @@ export const Swatches = () => {
|
|
|
47
58
|
get defined by a specific hex value and may use seperate light and dark
|
|
48
59
|
palettes.
|
|
49
60
|
</Paragraph>
|
|
50
|
-
<Heading3>Brand</Heading3>
|
|
61
|
+
<Heading3 id={id ? `${id}-brand-heading` : undefined}>Brand</Heading3>
|
|
51
62
|
|
|
52
63
|
<div className="flex flex-row gap-4">
|
|
53
64
|
<Swatch
|
|
65
|
+
id={id ? `${id}-brand-500` : undefined}
|
|
54
66
|
className="bg-brand-500"
|
|
55
67
|
colorName="Brand-500"
|
|
56
68
|
colorHex="#9e3004"
|
|
57
69
|
/>
|
|
58
70
|
<Swatch
|
|
71
|
+
id={id ? `${id}-brand-400` : undefined}
|
|
59
72
|
className="bg-brand-400"
|
|
60
73
|
colorName="Brand-400"
|
|
61
74
|
colorHex="#df4405"
|
|
62
75
|
/>
|
|
63
76
|
<Swatch
|
|
77
|
+
id={id ? `${id}-brand-300` : undefined}
|
|
64
78
|
className="bg-brand-300"
|
|
65
79
|
colorName="Brand-300"
|
|
66
80
|
colorHex="#e56937"
|
|
67
81
|
/>
|
|
68
82
|
<Swatch
|
|
83
|
+
id={id ? `${id}-brand-200` : undefined}
|
|
69
84
|
className="bg-brand-200"
|
|
70
85
|
colorName="Brand-200"
|
|
71
86
|
colorHex="#f0a98c"
|
|
72
87
|
/>
|
|
73
88
|
<Swatch
|
|
89
|
+
id={id ? `${id}-brand-100` : undefined}
|
|
74
90
|
className="bg-brand-100"
|
|
75
91
|
colorName="Brand-100"
|
|
76
92
|
colorHex="#fcece6"
|
|
77
93
|
/>
|
|
78
94
|
</div>
|
|
79
95
|
|
|
80
|
-
<Heading3>Action</Heading3>
|
|
96
|
+
<Heading3 id={id ? `${id}-action-heading` : undefined}>Action</Heading3>
|
|
81
97
|
|
|
82
98
|
<div className="flex flex-row gap-4">
|
|
83
99
|
<Swatch
|
|
100
|
+
id={id ? `${id}-action-500` : undefined}
|
|
84
101
|
className="bg-action-500"
|
|
85
102
|
colorName="Action-500"
|
|
86
103
|
colorHex="#00365a"
|
|
87
104
|
/>
|
|
88
105
|
<Swatch
|
|
106
|
+
id={id ? `${id}-action-400` : undefined}
|
|
89
107
|
className="bg-action-400"
|
|
90
108
|
colorName="Action-400"
|
|
91
109
|
colorHex="#0077c8"
|
|
92
110
|
/>
|
|
93
111
|
<Swatch
|
|
112
|
+
id={id ? `${id}-action-300` : undefined}
|
|
94
113
|
className="bg-action-300"
|
|
95
114
|
colorName="Action-300"
|
|
96
115
|
colorHex="#459ad4"
|
|
97
116
|
/>
|
|
98
117
|
<Swatch
|
|
118
|
+
id={id ? `${id}-action-200` : undefined}
|
|
99
119
|
className="bg-action-200"
|
|
100
120
|
colorName="Action-200"
|
|
101
121
|
colorHex="#d0e5f4"
|
|
102
122
|
/>
|
|
103
123
|
<Swatch
|
|
124
|
+
id={id ? `${id}-action-100` : undefined}
|
|
104
125
|
className="bg-action-100"
|
|
105
126
|
colorName="Action-100"
|
|
106
127
|
colorHex="#e7f2f9"
|
|
107
128
|
/>
|
|
108
129
|
</div>
|
|
109
130
|
|
|
110
|
-
<Heading3>Link</Heading3>
|
|
131
|
+
<Heading3 id={id ? `${id}-link-heading` : undefined}>Link</Heading3>
|
|
111
132
|
|
|
112
133
|
<div className="flex flex-row gap-4">
|
|
113
134
|
<Swatch
|
|
135
|
+
id={id ? `${id}-link-500` : undefined}
|
|
114
136
|
className="bg-link-500"
|
|
115
137
|
colorName="Link-500"
|
|
116
138
|
colorHex="#00365a"
|
|
117
139
|
/>
|
|
118
140
|
<Swatch
|
|
141
|
+
id={id ? `${id}-link-400` : undefined}
|
|
119
142
|
className="bg-link-400"
|
|
120
143
|
colorName="Link-400"
|
|
121
144
|
colorHex="#0077c8"
|
|
122
145
|
/>
|
|
123
146
|
<Swatch
|
|
147
|
+
id={id ? `${id}-link-300` : undefined}
|
|
124
148
|
className="bg-link-300"
|
|
125
149
|
colorName="Link-300"
|
|
126
150
|
colorHex="#459ad4"
|
|
127
151
|
/>
|
|
128
152
|
<Swatch
|
|
153
|
+
id={id ? `${id}-link-200` : undefined}
|
|
129
154
|
className="bg-link-200"
|
|
130
155
|
colorName="Link-200"
|
|
131
156
|
colorHex="#d0e5f4"
|
|
132
157
|
/>
|
|
133
158
|
<Swatch
|
|
159
|
+
id={id ? `${id}-link-100` : undefined}
|
|
134
160
|
className="bg-link-100"
|
|
135
161
|
colorName="Link-100"
|
|
136
162
|
colorHex="#e7f2f9"
|
|
137
163
|
/>
|
|
138
164
|
</div>
|
|
139
165
|
|
|
140
|
-
<Display1
|
|
141
|
-
|
|
166
|
+
<Display1 id={id ? `${id}-standard-colors-title` : undefined}>
|
|
167
|
+
{" "}
|
|
168
|
+
Standard Colors
|
|
169
|
+
</Display1>
|
|
170
|
+
<Paragraph id={id ? `${id}-standard-colors-description` : undefined}>
|
|
142
171
|
Certain colors should remain constant regardless of branding to help
|
|
143
172
|
ensure legibility and usability.
|
|
144
173
|
</Paragraph>
|
|
145
174
|
|
|
146
|
-
<Heading3>Neutral</Heading3>
|
|
175
|
+
<Heading3 id={id ? `${id}-neutral-heading` : undefined}>Neutral</Heading3>
|
|
147
176
|
|
|
148
177
|
<div className="flex flex-row gap-4">
|
|
149
178
|
<Swatch
|
|
179
|
+
id={id ? `${id}-neutral-600` : undefined}
|
|
150
180
|
className="bg-neutral-600"
|
|
151
181
|
colorName="Neutral-600"
|
|
152
182
|
colorHex="#000000"
|
|
153
183
|
/>
|
|
154
184
|
<Swatch
|
|
185
|
+
id={id ? `${id}-neutral-500` : undefined}
|
|
155
186
|
className="bg-neutral-500"
|
|
156
187
|
colorName="Neutral-500"
|
|
157
188
|
colorHex="#1d1e1e"
|
|
158
189
|
/>
|
|
159
190
|
<Swatch
|
|
191
|
+
id={id ? `${id}-neutral-450` : undefined}
|
|
160
192
|
className="bg-neutral-450"
|
|
161
193
|
colorName="Neutral-450"
|
|
162
194
|
colorHex="#3a3a3a"
|
|
163
195
|
/>
|
|
164
196
|
<Swatch
|
|
197
|
+
id={id ? `${id}-neutral-400` : undefined}
|
|
165
198
|
className="bg-neutral-400"
|
|
166
199
|
colorName="Neutral-400"
|
|
167
200
|
colorHex="#6b6d6d"
|
|
168
201
|
/>
|
|
169
202
|
<Swatch
|
|
203
|
+
id={id ? `${id}-neutral-300` : undefined}
|
|
170
204
|
className="bg-neutral-300"
|
|
171
205
|
colorName="Neutral-300"
|
|
172
206
|
colorHex="#c1c1c1"
|
|
173
207
|
/>
|
|
174
208
|
<Swatch
|
|
209
|
+
id={id ? `${id}-neutral-200` : undefined}
|
|
175
210
|
className="bg-neutral-200"
|
|
176
211
|
colorName="Neutral-200"
|
|
177
212
|
colorHex="#ebebeb"
|
|
178
213
|
/>
|
|
179
214
|
<Swatch
|
|
215
|
+
id={id ? `${id}-neutral-100` : undefined}
|
|
180
216
|
className="bg-neutral-100"
|
|
181
217
|
colorName="Neutral-100"
|
|
182
218
|
colorHex="#f7f7f7"
|
|
183
219
|
/>
|
|
184
220
|
<Swatch
|
|
221
|
+
id={id ? `${id}-neutral-000` : undefined}
|
|
185
222
|
className="bg-neutral-000"
|
|
186
223
|
colorName="Neutral-000"
|
|
187
224
|
colorHex="#ffffff"
|
|
188
225
|
/>
|
|
189
226
|
</div>
|
|
190
227
|
|
|
191
|
-
<Heading3
|
|
228
|
+
<Heading3 id={id ? `${id}-success-heading` : undefined}>
|
|
229
|
+
{" "}
|
|
230
|
+
Success
|
|
231
|
+
</Heading3>
|
|
192
232
|
|
|
193
233
|
<div className="flex flex-row gap-4">
|
|
194
234
|
<Swatch
|
|
235
|
+
id={id ? `${id}-success-500` : undefined}
|
|
195
236
|
className="bg-success-500"
|
|
196
237
|
colorName="Success-500"
|
|
197
238
|
colorHex="#126240"
|
|
198
239
|
/>
|
|
199
240
|
<Swatch
|
|
241
|
+
id={id ? `${id}-success-400` : undefined}
|
|
200
242
|
className="bg-success-400"
|
|
201
243
|
colorName="Success-400"
|
|
202
244
|
colorHex="#27d68b"
|
|
203
245
|
/>
|
|
204
246
|
<Swatch
|
|
247
|
+
id={id ? `${id}-success-300` : undefined}
|
|
205
248
|
className="bg-success-300"
|
|
206
249
|
colorName="Success-300"
|
|
207
250
|
colorHex="#61e1aa"
|
|
208
251
|
/>
|
|
209
252
|
<Swatch
|
|
253
|
+
id={id ? `${id}-success-200` : undefined}
|
|
210
254
|
className="bg-success-200"
|
|
211
255
|
colorName="Success-200"
|
|
212
256
|
colorHex="#d7f7e9"
|
|
213
257
|
/>
|
|
214
258
|
<Swatch
|
|
259
|
+
id={id ? `${id}-success-100` : undefined}
|
|
215
260
|
className="bg-success-100"
|
|
216
261
|
colorName="Success-100"
|
|
217
262
|
colorHex="#eefbf6"
|
|
218
263
|
/>
|
|
219
264
|
</div>
|
|
220
265
|
|
|
221
|
-
<Heading3
|
|
266
|
+
<Heading3 id={id ? `${id}-warning-heading` : undefined}>
|
|
267
|
+
{" "}
|
|
268
|
+
Warning
|
|
269
|
+
</Heading3>
|
|
222
270
|
|
|
223
271
|
<div className="flex flex-row gap-4">
|
|
224
272
|
<Swatch
|
|
273
|
+
id={id ? `${id}-warning-500` : undefined}
|
|
225
274
|
className="bg-warning-500"
|
|
226
275
|
colorName="Warning-500"
|
|
227
276
|
colorHex="#91670c"
|
|
228
277
|
/>
|
|
229
278
|
<Swatch
|
|
279
|
+
id={id ? `${id}-warning-400` : undefined}
|
|
230
280
|
className="bg-warning-400"
|
|
231
281
|
colorName="Warning-400"
|
|
232
282
|
colorHex="#f0a913"
|
|
233
283
|
/>
|
|
234
284
|
<Swatch
|
|
285
|
+
id={id ? `${id}-warning-300` : undefined}
|
|
235
286
|
className="bg-warning-300"
|
|
236
287
|
colorName="Warning-300"
|
|
237
288
|
colorHex="#f4c053"
|
|
238
289
|
/>
|
|
239
290
|
<Swatch
|
|
291
|
+
id={id ? `${id}-warning-200` : undefined}
|
|
240
292
|
className="bg-warning-200"
|
|
241
293
|
colorName="Warning-200"
|
|
242
294
|
colorHex="#f9dfa9"
|
|
243
295
|
/>
|
|
244
296
|
<Swatch
|
|
297
|
+
id={id ? `${id}-warning-100` : undefined}
|
|
245
298
|
className="bg-warning-100"
|
|
246
299
|
colorName="Warning-100"
|
|
247
300
|
colorHex="#fcefd4"
|
|
248
301
|
/>
|
|
249
302
|
</div>
|
|
250
303
|
|
|
251
|
-
<Heading3
|
|
304
|
+
<Heading3 id={id ? `${id}-critical-heading` : undefined}>
|
|
305
|
+
{" "}
|
|
306
|
+
Critical
|
|
307
|
+
</Heading3>
|
|
252
308
|
|
|
253
309
|
<div className="flex flex-row gap-4">
|
|
254
310
|
<Swatch
|
|
311
|
+
id={id ? `${id}-critical-500` : undefined}
|
|
255
312
|
className="bg-critical-500"
|
|
256
313
|
colorName="Critical-500"
|
|
257
314
|
colorHex="#892615"
|
|
258
315
|
/>
|
|
259
316
|
<Swatch
|
|
317
|
+
id={id ? `${id}-critical-400` : undefined}
|
|
260
318
|
className="bg-critical-400"
|
|
261
319
|
colorName="Critical-400"
|
|
262
320
|
colorHex="#cc391f"
|
|
263
321
|
/>
|
|
264
322
|
<Swatch
|
|
323
|
+
id={id ? `${id}-critical-300` : undefined}
|
|
265
324
|
className="bg-critical-300"
|
|
266
325
|
colorName="Critical-300"
|
|
267
326
|
colorHex="#dd5e48"
|
|
268
327
|
/>
|
|
269
328
|
<Swatch
|
|
329
|
+
id={id ? `${id}-critical-200` : undefined}
|
|
270
330
|
className="bg-critical-200"
|
|
271
331
|
colorName="Critical-200"
|
|
272
332
|
colorHex="#f0b7ad"
|
|
273
333
|
/>
|
|
274
334
|
<Swatch
|
|
335
|
+
id={id ? `${id}-critical-100` : undefined}
|
|
275
336
|
className="bg-critical-100"
|
|
276
337
|
colorName="Critical-100"
|
|
277
338
|
colorHex="#fbedea"
|
|
278
339
|
/>
|
|
279
340
|
</div>
|
|
280
341
|
|
|
281
|
-
<Heading3
|
|
342
|
+
<Heading3 id={id ? `${id}-chart-heading` : undefined}>
|
|
343
|
+
Color order for charts, graphs, etc
|
|
344
|
+
</Heading3>
|
|
282
345
|
|
|
283
346
|
<div className="flex flex-row gap-4">
|
|
284
347
|
<Swatch
|
|
348
|
+
id={id ? `${id}-chart-0` : undefined}
|
|
285
349
|
className="bg-chart-0"
|
|
286
350
|
colorName="Action-400"
|
|
287
351
|
colorHex="#0077c8"
|
|
288
352
|
/>
|
|
289
353
|
<Swatch
|
|
354
|
+
id={id ? `${id}-chart-1` : undefined}
|
|
290
355
|
className="bg-chart-1"
|
|
291
356
|
colorName="Brand-400"
|
|
292
357
|
colorHex="#df4405"
|
|
293
358
|
/>
|
|
294
359
|
<Swatch
|
|
360
|
+
id={id ? `${id}-chart-2` : undefined}
|
|
295
361
|
className="bg-chart-2"
|
|
296
362
|
colorName="Teal-400"
|
|
297
363
|
colorHex="#40c1ac"
|
|
298
364
|
/>
|
|
299
365
|
<Swatch
|
|
366
|
+
id={id ? `${id}-chart-3` : undefined}
|
|
300
367
|
className="bg-chart-3"
|
|
301
368
|
colorName="Warning-400"
|
|
302
369
|
colorHex="#f0a913"
|
|
303
370
|
/>
|
|
304
371
|
<Swatch
|
|
372
|
+
id={id ? `${id}-chart-4` : undefined}
|
|
305
373
|
className="bg-chart-4"
|
|
306
374
|
colorName="Neutral-400"
|
|
307
375
|
colorHex="#6b6d6d"
|
|
308
376
|
/>
|
|
309
377
|
<Swatch
|
|
378
|
+
id={id ? `${id}-chart-5` : undefined}
|
|
310
379
|
className="bg-chart-5"
|
|
311
380
|
colorName="Purple-400"
|
|
312
381
|
colorHex="#8d267a"
|
|
313
382
|
/>
|
|
314
383
|
<Swatch
|
|
384
|
+
id={id ? `${id}-chart-6` : undefined}
|
|
315
385
|
className="bg-chart-6"
|
|
316
386
|
colorName="Orange-400"
|
|
317
387
|
colorHex="#cc391f"
|
|
318
388
|
/>
|
|
319
389
|
</div>
|
|
320
|
-
|
|
390
|
+
|
|
321
391
|
<br />
|
|
322
|
-
|
|
323
|
-
<Display1>Color Semantics</Display1>
|
|
324
|
-
<Paragraph>
|
|
325
|
-
Because we aim to support custom branding and eventually color modes (dark/light modes), color tokens are used so that we can talk about specific color usages without tying them to specific color values. We can call a color a “Primary Action Color” and it does not matter if it is blue or green or purple for a specific brand, we can all know what color use we are referring to. These colors are not define by a specific hex value but by the color variables defined in the color palette. These definitions can change between color mode.
|
|
326
392
|
|
|
393
|
+
<Display1 id={id ? `${id}-semantics-title` : undefined}>
|
|
394
|
+
Color Semantics
|
|
395
|
+
</Display1>
|
|
396
|
+
<Paragraph id={id ? `${id}-semantics-description` : undefined}>
|
|
397
|
+
Because we aim to support custom branding and eventually color modes
|
|
398
|
+
(dark/light modes), color tokens are used so that we can talk about
|
|
399
|
+
specific color usages without tying them to specific color values. We
|
|
400
|
+
can call a color a “Primary Action Color” and it does not matter if it
|
|
401
|
+
is blue or green or purple for a specific brand, we can all know what
|
|
402
|
+
color use we are referring to. These colors are not define by a specific
|
|
403
|
+
hex value but by the color variables defined in the color palette. These
|
|
404
|
+
definitions can change between color mode.
|
|
327
405
|
<br />
|
|
328
406
|
<br />
|
|
329
|
-
|
|
330
|
-
|
|
407
|
+
Tokens are generally referenced by their Name, assuming a normal state
|
|
408
|
+
unless otherwise specified. For example: A button may be called out to
|
|
409
|
+
use a “background/action” color, which would reference the
|
|
410
|
+
“color/background/action/normal” token by default, and the other states
|
|
411
|
+
as defined.
|
|
331
412
|
</Paragraph>
|
|
332
413
|
|
|
333
|
-
<Heading2>Text</Heading2>
|
|
334
|
-
|
|
335
|
-
<Heading3>
|
|
414
|
+
<Heading2 id={id ? `${id}-text-heading` : undefined}>Text</Heading2>
|
|
415
|
+
|
|
416
|
+
<Heading3 id={id ? `${id}-text-primary-heading` : undefined}>
|
|
417
|
+
Text/Primary
|
|
418
|
+
</Heading3>
|
|
336
419
|
|
|
337
420
|
<div className="flex flex-row gap-4">
|
|
338
421
|
<Swatch
|
|
422
|
+
id={id ? `${id}-text-primary-normal` : undefined}
|
|
339
423
|
className="bg-text-primary-normal"
|
|
340
424
|
colorName="Normal"
|
|
341
425
|
colorHex="#1d1e1e"
|
|
342
426
|
/>
|
|
343
427
|
|
|
344
428
|
<Swatch
|
|
429
|
+
id={id ? `${id}-text-primary-disabled` : undefined}
|
|
345
430
|
className="bg-text-primary-disabled"
|
|
346
431
|
colorName="Disabled"
|
|
347
432
|
colorHex="#c1c1c1"
|
|
348
433
|
/>
|
|
349
434
|
|
|
350
435
|
<Swatch
|
|
436
|
+
id={id ? `${id}-text-primary-error` : undefined}
|
|
351
437
|
className="bg-text-primary-error"
|
|
352
438
|
colorName="Error"
|
|
353
439
|
colorHex="#cc391f"
|
|
354
440
|
/>
|
|
355
441
|
</div>
|
|
356
|
-
|
|
357
|
-
<Heading3>
|
|
442
|
+
|
|
443
|
+
<Heading3 id={id ? `${id}-text-secondary-heading` : undefined}>
|
|
444
|
+
Text/Secondary
|
|
445
|
+
</Heading3>
|
|
358
446
|
|
|
359
447
|
<div className="flex flex-row gap-4">
|
|
360
448
|
<Swatch
|
|
449
|
+
id={id ? `${id}-text-secondary-normal` : undefined}
|
|
361
450
|
className="bg-text-secondary-normal"
|
|
362
451
|
colorName="Normal"
|
|
363
452
|
colorHex="#6b6d6d"
|
|
364
453
|
/>
|
|
365
454
|
|
|
366
455
|
<Swatch
|
|
456
|
+
id={id ? `${id}-text-secondary-disabled` : undefined}
|
|
367
457
|
className="bg-text-secondary-disabled"
|
|
368
458
|
colorName="Disabled"
|
|
369
459
|
colorHex="#c1c1c1"
|
|
370
460
|
/>
|
|
371
461
|
|
|
372
462
|
<Swatch
|
|
463
|
+
id={id ? `${id}-text-secondary-error` : undefined}
|
|
373
464
|
className="bg-text-secondary-error"
|
|
374
465
|
colorName="Error"
|
|
375
466
|
colorHex="#cc391f"
|
|
376
467
|
/>
|
|
377
468
|
</div>
|
|
378
|
-
|
|
379
|
-
<Heading3>
|
|
469
|
+
|
|
470
|
+
<Heading3 id={id ? `${id}-text-brand-heading` : undefined}>
|
|
471
|
+
Text/Brand
|
|
472
|
+
</Heading3>
|
|
380
473
|
|
|
381
474
|
<div className="flex flex-row gap-4">
|
|
382
475
|
<Swatch
|
|
476
|
+
id={id ? `${id}-text-brand-normal` : undefined}
|
|
383
477
|
className="bg-brand-400"
|
|
384
478
|
colorName="Normal"
|
|
385
479
|
colorHex="#df4405"
|
|
386
480
|
/>
|
|
387
481
|
|
|
388
482
|
<Swatch
|
|
483
|
+
id={id ? `${id}-text-brand-disabled` : undefined}
|
|
389
484
|
className="bg-neutral-300"
|
|
390
485
|
colorName="Disabled"
|
|
391
486
|
colorHex="#c1c1c1"
|
|
392
487
|
/>
|
|
393
488
|
|
|
394
489
|
<Swatch
|
|
490
|
+
id={id ? `${id}-text-brand-error` : undefined}
|
|
395
491
|
className="bg-critical-400"
|
|
396
492
|
colorName="Error"
|
|
397
493
|
colorHex="#cc391f"
|
|
398
494
|
/>
|
|
399
495
|
</div>
|
|
400
|
-
|
|
401
|
-
<Heading3
|
|
496
|
+
|
|
497
|
+
<Heading3 id={id ? `${id}-text-action-primary-heading` : undefined}>
|
|
498
|
+
Text/Action Primary
|
|
499
|
+
</Heading3>
|
|
402
500
|
|
|
403
501
|
<div className="flex flex-row gap-4">
|
|
404
502
|
<Swatch
|
|
503
|
+
id={id ? `${id}-text-action-primary-normal` : undefined}
|
|
405
504
|
className="bg-text-action-primary-normal"
|
|
406
505
|
colorName="Normal"
|
|
407
506
|
colorHex="#0077c8"
|
|
408
507
|
/>
|
|
409
508
|
|
|
410
509
|
<Swatch
|
|
510
|
+
id={id ? `${id}-text-action-primary-hover` : undefined}
|
|
411
511
|
className="bg-text-action-primary-hover"
|
|
412
512
|
colorName="Hover"
|
|
413
513
|
colorHex="#00365a"
|
|
414
514
|
/>
|
|
415
515
|
|
|
416
516
|
<Swatch
|
|
517
|
+
id={id ? `${id}-text-action-primary-active` : undefined}
|
|
417
518
|
className="bg-text-action-primary-active"
|
|
418
519
|
colorName="Active"
|
|
419
520
|
colorHex="#459ad4"
|
|
420
521
|
/>
|
|
421
522
|
|
|
422
523
|
<Swatch
|
|
524
|
+
id={id ? `${id}-text-action-primary-disabled` : undefined}
|
|
423
525
|
className="bg-text-action-primary-disabled"
|
|
424
526
|
colorName="Disabled"
|
|
425
527
|
colorHex="#6b6d6d"
|
|
426
528
|
/>
|
|
427
529
|
</div>
|
|
428
|
-
|
|
429
|
-
<Heading3
|
|
530
|
+
|
|
531
|
+
<Heading3 id={id ? `${id}-text-on-action-primary-heading` : undefined}>
|
|
532
|
+
Text/On Action Primary
|
|
533
|
+
</Heading3>
|
|
430
534
|
|
|
431
535
|
<div className="flex flex-row gap-4">
|
|
432
536
|
<Swatch
|
|
537
|
+
id={id ? `${id}-text-on-action-primary-normal` : undefined}
|
|
433
538
|
className="bg-text-on-action-primary-normal"
|
|
434
539
|
colorName="Normal"
|
|
435
540
|
colorHex="#ffffff"
|
|
436
541
|
/>
|
|
437
542
|
|
|
438
543
|
<Swatch
|
|
544
|
+
id={id ? `${id}-text-on-action-primary-hover` : undefined}
|
|
439
545
|
className="bg-text-on-action-primary-hover"
|
|
440
546
|
colorName="Hover"
|
|
441
547
|
colorHex="#ffffff"
|
|
442
548
|
/>
|
|
443
549
|
|
|
444
550
|
<Swatch
|
|
551
|
+
id={id ? `${id}-text-on-action-primary-active` : undefined}
|
|
445
552
|
className="bg-text-on-action-primary-active"
|
|
446
553
|
colorName="Active"
|
|
447
554
|
colorHex="#ffffff"
|
|
448
555
|
/>
|
|
449
556
|
|
|
450
557
|
<Swatch
|
|
558
|
+
id={id ? `${id}-text-on-action-primary-disabled` : undefined}
|
|
451
559
|
className="bg-text-on-action-primary-disabled"
|
|
452
560
|
colorName="Disabled"
|
|
453
561
|
colorHex="#6b6d6d"
|
|
454
562
|
/>
|
|
455
563
|
</div>
|
|
456
|
-
|
|
457
|
-
<Heading3
|
|
564
|
+
|
|
565
|
+
<Heading3 id={id ? `${id}-text-action-critical-heading` : undefined}>
|
|
566
|
+
Text/Action Critical
|
|
567
|
+
</Heading3>
|
|
458
568
|
|
|
459
569
|
<div className="flex flex-row gap-4">
|
|
460
570
|
<Swatch
|
|
571
|
+
id={id ? `${id}-text-action-critical-normal` : undefined}
|
|
461
572
|
className="bg-text-action-critical-normal"
|
|
462
573
|
colorName="Normal"
|
|
463
574
|
colorHex="#CC391F"
|
|
464
575
|
/>
|
|
465
576
|
|
|
466
577
|
<Swatch
|
|
578
|
+
id={id ? `${id}-text-action-critical-hover` : undefined}
|
|
467
579
|
className="bg-text-action-critical-hover"
|
|
468
580
|
colorName="Hover"
|
|
469
581
|
colorHex="#892615"
|
|
470
582
|
/>
|
|
471
583
|
|
|
472
584
|
<Swatch
|
|
585
|
+
id={id ? `${id}-text-action-critical-active` : undefined}
|
|
473
586
|
className="bg-text-action-critical-active"
|
|
474
587
|
colorName="Active"
|
|
475
588
|
colorHex="#DD5E48"
|
|
476
589
|
/>
|
|
477
590
|
|
|
478
591
|
<Swatch
|
|
592
|
+
id={id ? `${id}-text-action-critical-disabled` : undefined}
|
|
479
593
|
className="bg-text-action-critical-disabled"
|
|
480
594
|
colorName="Disabled"
|
|
481
595
|
colorHex="#6b6d6d"
|
|
482
596
|
/>
|
|
483
597
|
</div>
|
|
484
|
-
|
|
485
|
-
<Heading3>
|
|
598
|
+
|
|
599
|
+
<Heading3 id={id ? `${id}-text-link-heading` : undefined}>
|
|
600
|
+
Text/Link
|
|
601
|
+
</Heading3>
|
|
486
602
|
|
|
487
603
|
<div className="flex flex-row gap-4">
|
|
488
604
|
<Swatch
|
|
605
|
+
id={id ? `${id}-text-link-normal` : undefined}
|
|
489
606
|
className="bg-text-link-normal"
|
|
490
607
|
colorName="Normal"
|
|
491
608
|
colorHex="#0077C8"
|
|
492
609
|
/>
|
|
493
610
|
|
|
494
611
|
<Swatch
|
|
612
|
+
id={id ? `${id}-text-link-hover` : undefined}
|
|
495
613
|
className="bg-text-link-hover"
|
|
496
614
|
colorName="Hover"
|
|
497
615
|
colorHex="#00365A"
|
|
498
616
|
/>
|
|
499
617
|
|
|
500
618
|
<Swatch
|
|
619
|
+
id={id ? `${id}-text-link-active` : undefined}
|
|
501
620
|
className="bg-text-link-active"
|
|
502
621
|
colorName="Active"
|
|
503
622
|
colorHex="#459AD4"
|
|
504
623
|
/>
|
|
505
624
|
|
|
506
625
|
<Swatch
|
|
626
|
+
id={id ? `${id}-text-link-disabled` : undefined}
|
|
507
627
|
className="bg-text-link-disabled"
|
|
508
628
|
colorName="Disabled"
|
|
509
629
|
colorHex="#6b6d6d"
|
|
510
630
|
/>
|
|
511
631
|
</div>
|
|
512
|
-
|
|
513
|
-
<Heading3>
|
|
632
|
+
|
|
633
|
+
<Heading3 id={id ? `${id}-text-success-heading` : undefined}>
|
|
634
|
+
Text/Success
|
|
635
|
+
</Heading3>
|
|
514
636
|
|
|
515
637
|
<div className="flex flex-row gap-4">
|
|
516
638
|
<Swatch
|
|
639
|
+
id={id ? `${id}-text-success-normal` : undefined}
|
|
517
640
|
className="bg-text-success-normal"
|
|
518
641
|
colorName="Normal"
|
|
519
642
|
colorHex="#126240"
|
|
520
643
|
/>
|
|
521
644
|
|
|
522
645
|
<Swatch
|
|
646
|
+
id={id ? `${id}-text-success-disabled` : undefined}
|
|
523
647
|
className="bg-text-success-disabled"
|
|
524
648
|
colorName="Disabled"
|
|
525
649
|
colorHex="#6B6D6D"
|
|
526
650
|
/>
|
|
527
651
|
|
|
528
652
|
<Swatch
|
|
653
|
+
id={id ? `${id}-text-success-error` : undefined}
|
|
529
654
|
className="bg-text-success-error"
|
|
530
655
|
colorName="Error"
|
|
531
656
|
colorHex="#CC391F"
|
|
532
657
|
/>
|
|
533
658
|
</div>
|
|
534
|
-
|
|
535
|
-
<Heading3>
|
|
659
|
+
|
|
660
|
+
<Heading3 id={id ? `${id}-text-warning-heading` : undefined}>
|
|
661
|
+
Text/Warning
|
|
662
|
+
</Heading3>
|
|
536
663
|
|
|
537
664
|
<div className="flex flex-row gap-4">
|
|
538
665
|
<Swatch
|
|
666
|
+
id={id ? `${id}-text-warning-normal` : undefined}
|
|
539
667
|
className="bg-text-warning-normal"
|
|
540
668
|
colorName="Normal"
|
|
541
669
|
colorHex="#126240"
|
|
542
670
|
/>
|
|
543
671
|
|
|
544
672
|
<Swatch
|
|
673
|
+
id={id ? `${id}-text-warning-disabled` : undefined}
|
|
545
674
|
className="bg-text-warning-disabled"
|
|
546
675
|
colorName="Disabled"
|
|
547
676
|
colorHex="#6B6D6D"
|
|
548
677
|
/>
|
|
549
678
|
|
|
550
679
|
<Swatch
|
|
680
|
+
id={id ? `${id}-text-warning-error` : undefined}
|
|
551
681
|
className="bg-text-warning-error"
|
|
552
682
|
colorName="Error"
|
|
553
683
|
colorHex="#CC391F"
|
|
554
684
|
/>
|
|
555
685
|
</div>
|
|
556
|
-
|
|
557
|
-
<Heading3>
|
|
686
|
+
|
|
687
|
+
<Heading3 id={id ? `${id}-text-critical-heading` : undefined}>
|
|
688
|
+
Text/Critical
|
|
689
|
+
</Heading3>
|
|
558
690
|
|
|
559
691
|
<div className="flex flex-row gap-4">
|
|
560
692
|
<Swatch
|
|
693
|
+
id={id ? `${id}-text-critical-normal` : undefined}
|
|
561
694
|
className="bg-text-critical-normal"
|
|
562
695
|
colorName="Normal"
|
|
563
696
|
colorHex="#CC391F"
|
|
564
697
|
/>
|
|
565
698
|
|
|
566
699
|
<Swatch
|
|
700
|
+
id={id ? `${id}-text-critical-disabled` : undefined}
|
|
567
701
|
className="bg-text-critical-disabled"
|
|
568
702
|
colorName="Disabled"
|
|
569
703
|
colorHex="#6B6D6D"
|
|
570
704
|
/>
|
|
571
705
|
|
|
572
706
|
<Swatch
|
|
707
|
+
id={id ? `${id}-text-critical-error` : undefined}
|
|
573
708
|
className="bg-text-critical-error"
|
|
574
709
|
colorName="Error"
|
|
575
710
|
colorHex="#CC391F"
|
|
@@ -577,488 +712,628 @@ export const Swatches = () => {
|
|
|
577
712
|
</div>
|
|
578
713
|
|
|
579
714
|
<br />
|
|
580
|
-
<Heading2>Icon</Heading2>
|
|
581
|
-
|
|
582
|
-
<Heading3>
|
|
715
|
+
<Heading2 id={id ? `${id}-icon-heading` : undefined}>Icon</Heading2>
|
|
716
|
+
|
|
717
|
+
<Heading3 id={id ? `${id}-icon-primary-heading` : undefined}>
|
|
718
|
+
Icon/Primary
|
|
719
|
+
</Heading3>
|
|
583
720
|
|
|
584
721
|
<div className="flex flex-row gap-4">
|
|
585
722
|
<Swatch
|
|
723
|
+
id={id ? `${id}-icon-primary-normal` : undefined}
|
|
586
724
|
className="bg-icon-primary-normal"
|
|
587
725
|
colorName="Normal"
|
|
588
726
|
colorHex="#6B6D6D"
|
|
589
727
|
/>
|
|
590
|
-
|
|
728
|
+
|
|
591
729
|
<Swatch
|
|
730
|
+
id={id ? `${id}-icon-primary-disabled` : undefined}
|
|
592
731
|
className="bg-icon-primary-disabled"
|
|
593
732
|
colorName="Disabled"
|
|
594
733
|
colorHex="#C1C1C1"
|
|
595
734
|
/>
|
|
596
735
|
</div>
|
|
597
|
-
|
|
598
|
-
<Heading3>
|
|
736
|
+
|
|
737
|
+
<Heading3 id={id ? `${id}-icon-success-heading` : undefined}>
|
|
738
|
+
Icon/Success
|
|
739
|
+
</Heading3>
|
|
599
740
|
|
|
600
741
|
<div className="flex flex-row gap-4">
|
|
601
742
|
<Swatch
|
|
743
|
+
id={id ? `${id}-icon-success-normal` : undefined}
|
|
602
744
|
className="bg-icon-success-normal"
|
|
603
745
|
colorName="Normal"
|
|
604
746
|
colorHex="#27D68B"
|
|
605
747
|
/>
|
|
606
|
-
|
|
748
|
+
|
|
607
749
|
<Swatch
|
|
750
|
+
id={id ? `${id}-icon-success-disabled` : undefined}
|
|
608
751
|
className="bg-icon-success-disabled"
|
|
609
752
|
colorName="Disabled"
|
|
610
753
|
colorHex="#6B6D6D"
|
|
611
754
|
/>
|
|
612
755
|
</div>
|
|
613
|
-
|
|
614
|
-
<Heading3>
|
|
756
|
+
|
|
757
|
+
<Heading3 id={id ? `${id}-icon-warning-heading` : undefined}>
|
|
758
|
+
Icon/Warning
|
|
759
|
+
</Heading3>
|
|
615
760
|
|
|
616
761
|
<div className="flex flex-row gap-4">
|
|
617
762
|
<Swatch
|
|
763
|
+
id={id ? `${id}-icon-warning-normal` : undefined}
|
|
618
764
|
className="bg-icon-warning-normal"
|
|
619
765
|
colorName="Normal"
|
|
620
766
|
colorHex="#F0A913"
|
|
621
767
|
/>
|
|
622
|
-
|
|
768
|
+
|
|
623
769
|
<Swatch
|
|
770
|
+
id={id ? `${id}-icon-warning-disabled` : undefined}
|
|
624
771
|
className="bg-icon-warning-disabled"
|
|
625
772
|
colorName="Disabled"
|
|
626
773
|
colorHex="#6B6D6D"
|
|
627
774
|
/>
|
|
628
775
|
</div>
|
|
629
|
-
|
|
630
|
-
<Heading3>
|
|
776
|
+
|
|
777
|
+
<Heading3 id={id ? `${id}-icon-critical-heading` : undefined}>
|
|
778
|
+
Icon/Critical
|
|
779
|
+
</Heading3>
|
|
631
780
|
|
|
632
781
|
<div className="flex flex-row gap-4">
|
|
633
782
|
<Swatch
|
|
783
|
+
id={id ? `${id}-icon-critical-normal` : undefined}
|
|
634
784
|
className="bg-icon-critical-normal"
|
|
635
785
|
colorName="Normal"
|
|
636
786
|
colorHex="#CC391F"
|
|
637
787
|
/>
|
|
638
|
-
|
|
788
|
+
|
|
639
789
|
<Swatch
|
|
790
|
+
id={id ? `${id}-icon-critical-disabled` : undefined}
|
|
640
791
|
className="bg-icon-critical-disabled"
|
|
641
792
|
colorName="Disabled"
|
|
642
793
|
colorHex="#6B6D6D"
|
|
643
794
|
/>
|
|
644
795
|
</div>
|
|
645
|
-
|
|
646
|
-
<Heading3
|
|
796
|
+
|
|
797
|
+
<Heading3 id={id ? `${id}-icon-action-primary-heading` : undefined}>
|
|
798
|
+
Icon/Action Primary
|
|
799
|
+
</Heading3>
|
|
647
800
|
|
|
648
801
|
<div className="flex flex-row gap-4">
|
|
649
802
|
<Swatch
|
|
803
|
+
id={id ? `${id}-icon-action-primary-normal` : undefined}
|
|
650
804
|
className="bg-icon-action-primary-normal"
|
|
651
805
|
colorName="Normal"
|
|
652
806
|
colorHex="#1D1E1E"
|
|
653
807
|
/>
|
|
654
|
-
|
|
808
|
+
|
|
655
809
|
<Swatch
|
|
810
|
+
id={id ? `${id}-icon-action-primary-hover` : undefined}
|
|
656
811
|
className="bg-icon-action-primary-hover"
|
|
657
812
|
colorName="Hover"
|
|
658
813
|
colorHex="#00365A"
|
|
659
814
|
/>
|
|
660
|
-
|
|
815
|
+
|
|
661
816
|
<Swatch
|
|
817
|
+
id={id ? `${id}-icon-action-primary-active` : undefined}
|
|
662
818
|
className="bg-icon-action-primary-active"
|
|
663
819
|
colorName="Active"
|
|
664
820
|
colorHex="#459AD4"
|
|
665
821
|
/>
|
|
666
|
-
|
|
822
|
+
|
|
667
823
|
<Swatch
|
|
824
|
+
id={id ? `${id}-icon-action-primary-disabled` : undefined}
|
|
668
825
|
className="bg-icon-action-primary-disabled"
|
|
669
826
|
colorName="Disabled"
|
|
670
827
|
colorHex="#C1C1C1"
|
|
671
828
|
/>
|
|
672
829
|
</div>
|
|
673
|
-
|
|
674
|
-
<Heading3
|
|
830
|
+
|
|
831
|
+
<Heading3 id={id ? `${id}-icon-on-action-primary-heading` : undefined}>
|
|
832
|
+
Icon/On Action Primary
|
|
833
|
+
</Heading3>
|
|
675
834
|
|
|
676
835
|
<div className="flex flex-row gap-4">
|
|
677
836
|
<Swatch
|
|
837
|
+
id={id ? `${id}-icon-on-action-primary-normal` : undefined}
|
|
678
838
|
className="bg-icon-on-action-primary-normal"
|
|
679
839
|
colorName="Normal"
|
|
680
840
|
colorHex="#FFFFFF"
|
|
681
841
|
/>
|
|
682
|
-
|
|
842
|
+
|
|
683
843
|
<Swatch
|
|
844
|
+
id={id ? `${id}-icon-on-action-primary-hover` : undefined}
|
|
684
845
|
className="bg-icon-on-action-primary-hover"
|
|
685
846
|
colorName="Hover"
|
|
686
847
|
colorHex="#FFFFFF"
|
|
687
848
|
/>
|
|
688
|
-
|
|
849
|
+
|
|
689
850
|
<Swatch
|
|
851
|
+
id={id ? `${id}-icon-on-action-primary-active` : undefined}
|
|
690
852
|
className="bg-icon-on-action-primary-active"
|
|
691
853
|
colorName="Active"
|
|
692
854
|
colorHex="#FFFFFF"
|
|
693
855
|
/>
|
|
694
|
-
|
|
856
|
+
|
|
695
857
|
<Swatch
|
|
858
|
+
id={id ? `${id}-icon-on-action-primary-disabled` : undefined}
|
|
696
859
|
className="bg-icon-on-action-primary-disabled"
|
|
697
860
|
colorName="Disabled"
|
|
698
861
|
colorHex="#6B6D6D"
|
|
699
862
|
/>
|
|
700
863
|
</div>
|
|
701
|
-
|
|
702
|
-
<Heading3
|
|
864
|
+
|
|
865
|
+
<Heading3 id={id ? `${id}-icon-action-secondary-heading` : undefined}>
|
|
866
|
+
Icon/Action Secondary
|
|
867
|
+
</Heading3>
|
|
703
868
|
|
|
704
869
|
<div className="flex flex-row gap-4">
|
|
705
870
|
<Swatch
|
|
871
|
+
id={id ? `${id}-icon-action-secondary-normal` : undefined}
|
|
706
872
|
className="bg-icon-action-secondary-normal"
|
|
707
873
|
colorName="Normal"
|
|
708
874
|
colorHex="#0077C8"
|
|
709
875
|
/>
|
|
710
|
-
|
|
876
|
+
|
|
711
877
|
<Swatch
|
|
878
|
+
id={id ? `${id}-icon-action-secondary-hover` : undefined}
|
|
712
879
|
className="bg-icon-action-secondary-hover"
|
|
713
880
|
colorName="Hover"
|
|
714
881
|
colorHex="#00365A"
|
|
715
882
|
/>
|
|
716
|
-
|
|
883
|
+
|
|
717
884
|
<Swatch
|
|
885
|
+
id={id ? `${id}-icon-action-secondary-active` : undefined}
|
|
718
886
|
className="bg-icon-action-secondary-active"
|
|
719
887
|
colorName="Active"
|
|
720
888
|
colorHex="#459AD4"
|
|
721
889
|
/>
|
|
722
|
-
|
|
890
|
+
|
|
723
891
|
<Swatch
|
|
892
|
+
id={id ? `${id}-icon-action-secondary-disabled` : undefined}
|
|
724
893
|
className="bg-icon-action-secondary-disabled"
|
|
725
894
|
colorName="Disabled"
|
|
726
895
|
colorHex="#6B6D6D"
|
|
727
896
|
/>
|
|
728
897
|
</div>
|
|
729
|
-
|
|
730
|
-
<Heading3
|
|
898
|
+
|
|
899
|
+
<Heading3 id={id ? `${id}-icon-action-critical-heading` : undefined}>
|
|
900
|
+
Icon/Action Critical
|
|
901
|
+
</Heading3>
|
|
731
902
|
|
|
732
903
|
<div className="flex flex-row gap-4">
|
|
733
904
|
<Swatch
|
|
905
|
+
id={id ? `${id}-icon-action-critical-normal` : undefined}
|
|
734
906
|
className="bg-icon-action-critical-normal"
|
|
735
907
|
colorName="Normal"
|
|
736
908
|
colorHex="#CC391F"
|
|
737
909
|
/>
|
|
738
|
-
|
|
910
|
+
|
|
739
911
|
<Swatch
|
|
912
|
+
id={id ? `${id}-icon-action-critical-hover` : undefined}
|
|
740
913
|
className="bg-icon-action-critical-hover"
|
|
741
914
|
colorName="Hover"
|
|
742
915
|
colorHex="#892615"
|
|
743
916
|
/>
|
|
744
|
-
|
|
917
|
+
|
|
745
918
|
<Swatch
|
|
919
|
+
id={id ? `${id}-icon-action-critical-active` : undefined}
|
|
746
920
|
className="bg-icon-action-critical-active"
|
|
747
921
|
colorName="Active"
|
|
748
922
|
colorHex="#DD5E48"
|
|
749
923
|
/>
|
|
750
|
-
|
|
924
|
+
|
|
751
925
|
<Swatch
|
|
926
|
+
id={id ? `${id}-icon-action-critical-disabled` : undefined}
|
|
752
927
|
className="bg-icon-action-critical-disabled"
|
|
753
928
|
colorName="Disabled"
|
|
754
929
|
colorHex="#6B6D6D"
|
|
755
930
|
/>
|
|
756
931
|
</div>
|
|
757
|
-
|
|
758
|
-
<Heading3
|
|
932
|
+
|
|
933
|
+
<Heading3 id={id ? `${id}-icon-brand-primary-heading` : undefined}>
|
|
934
|
+
Icon/Brand Primary
|
|
935
|
+
</Heading3>
|
|
759
936
|
|
|
760
937
|
<div className="flex flex-row gap-4">
|
|
761
938
|
<Swatch
|
|
939
|
+
id={id ? `${id}-icon-brand-primary-normal` : undefined}
|
|
762
940
|
className="bg-icon-brand-primary-normal"
|
|
763
941
|
colorName="Normal"
|
|
764
942
|
colorHex="#DF4405"
|
|
765
943
|
/>
|
|
766
|
-
|
|
944
|
+
|
|
767
945
|
<Swatch
|
|
946
|
+
id={id ? `${id}-icon-brand-primary-hover` : undefined}
|
|
768
947
|
className="bg-icon-brand-primary-hover"
|
|
769
948
|
colorName="Hover"
|
|
770
949
|
colorHex="#9E3004"
|
|
771
950
|
/>
|
|
772
|
-
|
|
951
|
+
|
|
773
952
|
<Swatch
|
|
953
|
+
id={id ? `${id}-icon-brand-primary-active` : undefined}
|
|
774
954
|
className="bg-icon-brand-primary-active"
|
|
775
955
|
colorName="Active"
|
|
776
956
|
colorHex="#E56937"
|
|
777
957
|
/>
|
|
778
|
-
|
|
958
|
+
|
|
779
959
|
<Swatch
|
|
960
|
+
id={id ? `${id}-icon-brand-primary-disabled` : undefined}
|
|
780
961
|
className="bg-icon-brand-primary-disabled"
|
|
781
962
|
colorName="Disabled"
|
|
782
963
|
colorHex="#C1C1C1"
|
|
783
964
|
/>
|
|
784
965
|
</div>
|
|
785
|
-
|
|
966
|
+
|
|
786
967
|
<br />
|
|
787
|
-
<Heading2>Border</Heading2>
|
|
788
|
-
|
|
789
|
-
<Heading3>
|
|
968
|
+
<Heading2 id={id ? `${id}-border-heading` : undefined}>Border</Heading2>
|
|
969
|
+
|
|
970
|
+
<Heading3 id={id ? `${id}-border-primary-heading` : undefined}>
|
|
971
|
+
Border/Primary
|
|
972
|
+
</Heading3>
|
|
790
973
|
|
|
791
974
|
<div className="flex flex-row gap-4">
|
|
792
975
|
<Swatch
|
|
976
|
+
id={id ? `${id}-border-primary-normal` : undefined}
|
|
793
977
|
className="bg-border-primary-normal"
|
|
794
978
|
colorName="Normal"
|
|
795
979
|
colorHex="#C1C1C1"
|
|
796
980
|
/>
|
|
797
|
-
|
|
981
|
+
|
|
798
982
|
<Swatch
|
|
983
|
+
id={id ? `${id}-border-primary-focus` : undefined}
|
|
799
984
|
className="bg-border-primary-focus"
|
|
800
985
|
colorName="Focus"
|
|
801
986
|
colorHex="#0077C8"
|
|
802
987
|
/>
|
|
803
|
-
|
|
988
|
+
|
|
804
989
|
<Swatch
|
|
990
|
+
id={id ? `${id}-border-primary-error` : undefined}
|
|
805
991
|
className="bg-border-primary-error"
|
|
806
992
|
colorName="Error"
|
|
807
993
|
colorHex="#CC391F"
|
|
808
994
|
/>
|
|
809
995
|
</div>
|
|
810
|
-
|
|
811
|
-
<Heading3>
|
|
996
|
+
|
|
997
|
+
<Heading3 id={id ? `${id}-border-action-heading` : undefined}>
|
|
998
|
+
Border/Action
|
|
999
|
+
</Heading3>
|
|
812
1000
|
|
|
813
1001
|
<div className="flex flex-row gap-4">
|
|
814
1002
|
<Swatch
|
|
1003
|
+
id={id ? `${id}-border-action-normal` : undefined}
|
|
815
1004
|
className="bg-border-action-normal"
|
|
816
1005
|
colorName="Normal"
|
|
817
1006
|
colorHex="#0077C8"
|
|
818
1007
|
/>
|
|
819
|
-
|
|
1008
|
+
|
|
820
1009
|
<Swatch
|
|
1010
|
+
id={id ? `${id}-border-action-hover` : undefined}
|
|
821
1011
|
className="bg-border-action-hover"
|
|
822
1012
|
colorName="Hover"
|
|
823
1013
|
colorHex="#00365A"
|
|
824
1014
|
/>
|
|
825
|
-
|
|
1015
|
+
|
|
826
1016
|
<Swatch
|
|
1017
|
+
id={id ? `${id}-border-action-active` : undefined}
|
|
827
1018
|
className="bg-border-action-active"
|
|
828
1019
|
colorName="Active"
|
|
829
1020
|
colorHex="#459AD4"
|
|
830
1021
|
/>
|
|
831
|
-
|
|
1022
|
+
|
|
832
1023
|
<Swatch
|
|
1024
|
+
id={id ? `${id}-border-action-disabled` : undefined}
|
|
833
1025
|
className="bg-border-action-disabled"
|
|
834
1026
|
colorName="Disabled"
|
|
835
1027
|
colorHex="#EBEBEB"
|
|
836
1028
|
/>
|
|
837
1029
|
</div>
|
|
838
|
-
|
|
839
|
-
<Heading3
|
|
1030
|
+
|
|
1031
|
+
<Heading3 id={id ? `${id}-border-action-critical-heading` : undefined}>
|
|
1032
|
+
Border/Action Critical
|
|
1033
|
+
</Heading3>
|
|
840
1034
|
|
|
841
1035
|
<div className="flex flex-row gap-4">
|
|
842
1036
|
<Swatch
|
|
1037
|
+
id={id ? `${id}-border-action-critical-normal` : undefined}
|
|
843
1038
|
className="bg-border-action-critical-normal"
|
|
844
1039
|
colorName="Normal"
|
|
845
1040
|
colorHex="#CC391F"
|
|
846
1041
|
/>
|
|
847
|
-
|
|
1042
|
+
|
|
848
1043
|
<Swatch
|
|
1044
|
+
id={id ? `${id}-border-action-critical-hover` : undefined}
|
|
849
1045
|
className="bg-border-action-critical-hover"
|
|
850
1046
|
colorName="Hover"
|
|
851
1047
|
colorHex="#892615"
|
|
852
1048
|
/>
|
|
853
|
-
|
|
1049
|
+
|
|
854
1050
|
<Swatch
|
|
1051
|
+
id={id ? `${id}-border-action-critical-active` : undefined}
|
|
855
1052
|
className="bg-border-action-critical-active"
|
|
856
1053
|
colorName="Active"
|
|
857
1054
|
colorHex="#DD5E48"
|
|
858
1055
|
/>
|
|
859
|
-
|
|
1056
|
+
|
|
860
1057
|
<Swatch
|
|
1058
|
+
id={id ? `${id}-border-action-critical-disabled` : undefined}
|
|
861
1059
|
className="bg-border-action-critical-disabled"
|
|
862
1060
|
colorName="Disabled"
|
|
863
1061
|
colorHex="#EBEBEB"
|
|
864
1062
|
/>
|
|
865
1063
|
</div>
|
|
866
|
-
|
|
1064
|
+
|
|
867
1065
|
<br />
|
|
868
|
-
<Heading2>
|
|
869
|
-
|
|
870
|
-
|
|
1066
|
+
<Heading2 id={id ? `${id}-background-heading` : undefined}>
|
|
1067
|
+
Background
|
|
1068
|
+
</Heading2>
|
|
1069
|
+
|
|
1070
|
+
<Heading3 id={id ? `${id}-background-primary-heading` : undefined}>
|
|
1071
|
+
Background/Primary
|
|
1072
|
+
</Heading3>
|
|
871
1073
|
|
|
872
1074
|
<div className="flex flex-row gap-4">
|
|
873
1075
|
<Swatch
|
|
1076
|
+
id={id ? `${id}-background-primary-normal` : undefined}
|
|
874
1077
|
className="bg-background-primary-normal"
|
|
875
1078
|
colorName="Normal"
|
|
876
1079
|
colorHex="#FFFFFF"
|
|
877
1080
|
/>
|
|
878
1081
|
</div>
|
|
879
|
-
|
|
880
|
-
<Heading3>
|
|
1082
|
+
|
|
1083
|
+
<Heading3 id={id ? `${id}-background-secondary-heading` : undefined}>
|
|
1084
|
+
Background/Secondary
|
|
1085
|
+
</Heading3>
|
|
881
1086
|
|
|
882
1087
|
<div className="flex flex-row gap-4">
|
|
883
1088
|
<Swatch
|
|
1089
|
+
id={id ? `${id}-background-secondary-normal` : undefined}
|
|
884
1090
|
className="bg-background-secondary-normal"
|
|
885
1091
|
colorName="Normal"
|
|
886
1092
|
colorHex="#c1c1c1"
|
|
887
1093
|
/>
|
|
888
1094
|
</div>
|
|
889
|
-
|
|
890
|
-
<Heading3>
|
|
1095
|
+
|
|
1096
|
+
<Heading3 id={id ? `${id}-background-brand-heading` : undefined}>
|
|
1097
|
+
Background/Brand
|
|
1098
|
+
</Heading3>
|
|
891
1099
|
|
|
892
1100
|
<div className="flex flex-row gap-4">
|
|
893
1101
|
<Swatch
|
|
1102
|
+
id={id ? `${id}-background-brand-normal` : undefined}
|
|
894
1103
|
className="bg-background-brand-normal"
|
|
895
1104
|
colorName="Normal"
|
|
896
1105
|
colorHex="#DF4405"
|
|
897
1106
|
/>
|
|
898
1107
|
</div>
|
|
899
|
-
|
|
900
|
-
<Heading3
|
|
1108
|
+
|
|
1109
|
+
<Heading3
|
|
1110
|
+
id={id ? `${id}-background-grouped-primary-heading` : undefined}
|
|
1111
|
+
>
|
|
1112
|
+
Background/Grouped Primary
|
|
1113
|
+
</Heading3>
|
|
901
1114
|
|
|
902
1115
|
<div className="flex flex-row gap-4">
|
|
903
1116
|
<Swatch
|
|
1117
|
+
id={id ? `${id}-background-grouped-primary-normal` : undefined}
|
|
904
1118
|
className="bg-background-grouped-primary-normal"
|
|
905
1119
|
colorName="Normal"
|
|
906
1120
|
colorHex="#FFFFFF"
|
|
907
1121
|
/>
|
|
908
1122
|
</div>
|
|
909
|
-
|
|
910
|
-
<Heading3
|
|
1123
|
+
|
|
1124
|
+
<Heading3
|
|
1125
|
+
id={id ? `${id}-background-grouped-secondary-heading` : undefined}
|
|
1126
|
+
>
|
|
1127
|
+
Background/Grouped Secondary
|
|
1128
|
+
</Heading3>
|
|
911
1129
|
|
|
912
1130
|
<div className="flex flex-row gap-4">
|
|
913
1131
|
<Swatch
|
|
1132
|
+
id={id ? `${id}-background-grouped-secondary-normal` : undefined}
|
|
914
1133
|
className="bg-background-grouped-secondary-normal"
|
|
915
1134
|
colorName="Normal"
|
|
916
1135
|
colorHex="#f7f7f7"
|
|
917
1136
|
/>
|
|
918
1137
|
</div>
|
|
919
|
-
|
|
920
|
-
<Heading3
|
|
1138
|
+
|
|
1139
|
+
<Heading3 id={id ? `${id}-background-action-primary-heading` : undefined}>
|
|
1140
|
+
Background/Action Primary
|
|
1141
|
+
</Heading3>
|
|
921
1142
|
|
|
922
1143
|
<div className="flex flex-row gap-4">
|
|
923
1144
|
<Swatch
|
|
1145
|
+
id={id ? `${id}-background-action-primary-normal` : undefined}
|
|
924
1146
|
className="bg-background-action-primary-normal"
|
|
925
1147
|
colorName="Normal"
|
|
926
1148
|
colorHex="#0077C8"
|
|
927
1149
|
/>
|
|
928
|
-
|
|
1150
|
+
|
|
929
1151
|
<Swatch
|
|
1152
|
+
id={id ? `${id}-background-action-primary-hover` : undefined}
|
|
930
1153
|
className="bg-background-action-primary-hover"
|
|
931
1154
|
colorName="Hover"
|
|
932
1155
|
colorHex="#00365A"
|
|
933
1156
|
/>
|
|
934
|
-
|
|
1157
|
+
|
|
935
1158
|
<Swatch
|
|
1159
|
+
id={id ? `${id}-background-action-primary-active` : undefined}
|
|
936
1160
|
className="bg-background-action-primary-active"
|
|
937
1161
|
colorName="Active"
|
|
938
1162
|
colorHex="#459AD4"
|
|
939
1163
|
/>
|
|
940
|
-
|
|
1164
|
+
|
|
941
1165
|
<Swatch
|
|
1166
|
+
id={id ? `${id}-background-action-primary-disabled` : undefined}
|
|
942
1167
|
className="bg-background-action-primary-disabled"
|
|
943
1168
|
colorName="Disabled"
|
|
944
1169
|
colorHex="#EBEBEB"
|
|
945
1170
|
/>
|
|
946
1171
|
</div>
|
|
947
|
-
|
|
948
|
-
<Heading3
|
|
1172
|
+
|
|
1173
|
+
<Heading3
|
|
1174
|
+
id={id ? `${id}-background-action-secondary-heading` : undefined}
|
|
1175
|
+
>
|
|
1176
|
+
Background/Action Secondary
|
|
1177
|
+
</Heading3>
|
|
949
1178
|
|
|
950
1179
|
<div className="flex flex-row gap-4">
|
|
951
1180
|
<Swatch
|
|
1181
|
+
id={id ? `${id}-background-action-secondary-normal` : undefined}
|
|
952
1182
|
className="bg-background-action-secondary-normal"
|
|
953
1183
|
colorName="Normal"
|
|
954
1184
|
colorHex="#FFFFFF"
|
|
955
1185
|
/>
|
|
956
|
-
|
|
1186
|
+
|
|
957
1187
|
<Swatch
|
|
1188
|
+
id={id ? `${id}-background-action-secondary-hover` : undefined}
|
|
958
1189
|
className="bg-background-action-secondary-hover"
|
|
959
1190
|
colorName="Hover"
|
|
960
1191
|
colorHex="#E7F2F9"
|
|
961
1192
|
/>
|
|
962
|
-
|
|
1193
|
+
|
|
963
1194
|
<Swatch
|
|
1195
|
+
id={id ? `${id}-background-action-secondary-active` : undefined}
|
|
964
1196
|
className="bg-background-action-secondary-active"
|
|
965
1197
|
colorName="Active"
|
|
966
1198
|
colorHex="#FFFFFF"
|
|
967
1199
|
/>
|
|
968
|
-
|
|
1200
|
+
|
|
969
1201
|
<Swatch
|
|
1202
|
+
id={id ? `${id}-background-action-secondary-disabled` : undefined}
|
|
970
1203
|
className="bg-background-action-secondary-disabled"
|
|
971
1204
|
colorName="Disabled"
|
|
972
1205
|
colorHex="#EBEBEB"
|
|
973
1206
|
/>
|
|
974
1207
|
</div>
|
|
975
|
-
|
|
976
|
-
<Heading3
|
|
1208
|
+
|
|
1209
|
+
<Heading3
|
|
1210
|
+
id={id ? `${id}-background-action-critical-primary-heading` : undefined}
|
|
1211
|
+
>
|
|
1212
|
+
Background/Action Critical Primary
|
|
1213
|
+
</Heading3>
|
|
977
1214
|
|
|
978
1215
|
<div className="flex flex-row gap-4">
|
|
979
1216
|
<Swatch
|
|
1217
|
+
id={
|
|
1218
|
+
id ? `${id}-background-action-critical-primary-normal` : undefined
|
|
1219
|
+
}
|
|
980
1220
|
className="bg-background-action-critical-primary-normal"
|
|
981
1221
|
colorName="Normal"
|
|
982
1222
|
colorHex="#CC391F"
|
|
983
1223
|
/>
|
|
984
|
-
|
|
1224
|
+
|
|
985
1225
|
<Swatch
|
|
1226
|
+
id={id ? `${id}-background-action-critical-primary-hover` : undefined}
|
|
986
1227
|
className="bg-background-action-critical-primary-hover"
|
|
987
1228
|
colorName="Hover"
|
|
988
1229
|
colorHex="#892615"
|
|
989
1230
|
/>
|
|
990
|
-
|
|
1231
|
+
|
|
991
1232
|
<Swatch
|
|
1233
|
+
id={
|
|
1234
|
+
id ? `${id}-background-action-critical-primary-active` : undefined
|
|
1235
|
+
}
|
|
992
1236
|
className="bg-background-action-critical-primary-active"
|
|
993
1237
|
colorName="Active"
|
|
994
1238
|
colorHex="#DD5E48"
|
|
995
1239
|
/>
|
|
996
|
-
|
|
1240
|
+
|
|
997
1241
|
<Swatch
|
|
1242
|
+
id={
|
|
1243
|
+
id ? `${id}-background-action-critical-primary-disabled` : undefined
|
|
1244
|
+
}
|
|
998
1245
|
className="bg-background-action-critical-primary-disabled"
|
|
999
1246
|
colorName="Disabled"
|
|
1000
1247
|
colorHex="#EBEBEB"
|
|
1001
1248
|
/>
|
|
1002
1249
|
</div>
|
|
1003
|
-
|
|
1004
|
-
<Heading3
|
|
1250
|
+
|
|
1251
|
+
<Heading3
|
|
1252
|
+
id={
|
|
1253
|
+
id ? `${id}-background-action-critical-secondary-heading` : undefined
|
|
1254
|
+
}
|
|
1255
|
+
>
|
|
1256
|
+
Background/Action Critical Secondary
|
|
1257
|
+
</Heading3>
|
|
1005
1258
|
|
|
1006
1259
|
<div className="flex flex-row gap-4">
|
|
1007
1260
|
<Swatch
|
|
1261
|
+
id={
|
|
1262
|
+
id ? `${id}-background-action-critical-secondary-normal` : undefined
|
|
1263
|
+
}
|
|
1008
1264
|
className="bg-background-action-critical-secondary-normal"
|
|
1009
1265
|
colorName="Normal"
|
|
1010
1266
|
colorHex="#FFFFFF"
|
|
1011
1267
|
/>
|
|
1012
|
-
|
|
1268
|
+
|
|
1013
1269
|
<Swatch
|
|
1270
|
+
id={
|
|
1271
|
+
id ? `${id}-background-action-critical-secondary-hover` : undefined
|
|
1272
|
+
}
|
|
1014
1273
|
className="bg-background-action-critical-secondary-hover"
|
|
1015
1274
|
colorName="Hover"
|
|
1016
1275
|
colorHex="#FBEDEA"
|
|
1017
1276
|
/>
|
|
1018
|
-
|
|
1277
|
+
|
|
1019
1278
|
<Swatch
|
|
1279
|
+
id={
|
|
1280
|
+
id ? `${id}-background-action-critical-secondary-active` : undefined
|
|
1281
|
+
}
|
|
1020
1282
|
className="bg-background-action-critical-secondary-active"
|
|
1021
1283
|
colorName="Active"
|
|
1022
1284
|
colorHex="#FFFFFF"
|
|
1023
1285
|
/>
|
|
1024
|
-
|
|
1286
|
+
|
|
1025
1287
|
<Swatch
|
|
1288
|
+
id={
|
|
1289
|
+
id
|
|
1290
|
+
? `${id}-background-action-critical-secondary-disabled`
|
|
1291
|
+
: undefined
|
|
1292
|
+
}
|
|
1026
1293
|
className="bg-background-action-critical-secondary-disabled"
|
|
1027
1294
|
colorName="Disabled"
|
|
1028
1295
|
colorHex="#EBEBEB"
|
|
1029
1296
|
/>
|
|
1030
1297
|
</div>
|
|
1031
|
-
|
|
1032
|
-
<Heading3>
|
|
1298
|
+
|
|
1299
|
+
<Heading3 id={id ? `${id}-background-success-heading` : undefined}>
|
|
1300
|
+
Background/Success
|
|
1301
|
+
</Heading3>
|
|
1033
1302
|
|
|
1034
1303
|
<div className="flex flex-row gap-4">
|
|
1035
1304
|
<Swatch
|
|
1305
|
+
id={id ? `${id}-background-success-normal` : undefined}
|
|
1036
1306
|
className="bg-background-success-normal"
|
|
1037
1307
|
colorName="Normal"
|
|
1038
1308
|
colorHex="#27D68B"
|
|
1039
1309
|
/>
|
|
1040
1310
|
</div>
|
|
1041
|
-
|
|
1042
|
-
<Heading3>
|
|
1311
|
+
|
|
1312
|
+
<Heading3 id={id ? `${id}-background-warning-heading` : undefined}>
|
|
1313
|
+
Background/Warning
|
|
1314
|
+
</Heading3>
|
|
1043
1315
|
|
|
1044
1316
|
<div className="flex flex-row gap-4">
|
|
1045
1317
|
<Swatch
|
|
1318
|
+
id={id ? `${id}-background-warning-normal` : undefined}
|
|
1046
1319
|
className="bg-background-warning-normal"
|
|
1047
1320
|
colorName="Normal"
|
|
1048
1321
|
colorHex="#F0A913"
|
|
1049
1322
|
/>
|
|
1050
1323
|
</div>
|
|
1051
|
-
|
|
1052
|
-
<Heading3>
|
|
1324
|
+
|
|
1325
|
+
<Heading3 id={id ? `${id}-background-critical-heading` : undefined}>
|
|
1326
|
+
Background/Critical
|
|
1327
|
+
</Heading3>
|
|
1053
1328
|
|
|
1054
1329
|
<div className="flex flex-row gap-4">
|
|
1055
1330
|
<Swatch
|
|
1331
|
+
id={id ? `${id}-background-critical-normal` : undefined}
|
|
1056
1332
|
className="bg-background-critical-normal"
|
|
1057
1333
|
colorName="Normal"
|
|
1058
1334
|
colorHex="#CC391F"
|
|
1059
1335
|
/>
|
|
1060
1336
|
</div>
|
|
1061
|
-
|
|
1062
1337
|
</Stack>
|
|
1063
1338
|
);
|
|
1064
1339
|
};
|