@windstream/react-shared-components 0.0.10 → 0.0.12

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.
Files changed (103) hide show
  1. package/README.md +623 -623
  2. package/dist/contentful/index.d.ts +6 -2
  3. package/dist/contentful/index.esm.js +1 -1
  4. package/dist/contentful/index.esm.js.map +1 -1
  5. package/dist/contentful/index.js +1 -1
  6. package/dist/contentful/index.js.map +1 -1
  7. package/dist/core.d.ts +5 -5
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/styles.css +1 -1
  11. package/package.json +159 -159
  12. package/src/components/accordion/Accordion.stories.tsx +225 -225
  13. package/src/components/accordion/index.tsx +36 -36
  14. package/src/components/accordion/types.ts +9 -9
  15. package/src/components/alert-card/types.ts +9 -9
  16. package/src/components/brand-button/BrandButton.stories.tsx +221 -221
  17. package/src/components/brand-button/helpers.ts +35 -35
  18. package/src/components/brand-button/index.tsx +90 -90
  19. package/src/components/brand-button/types.ts +26 -26
  20. package/src/components/button/Button.stories.tsx +108 -108
  21. package/src/components/button/index.tsx +23 -23
  22. package/src/components/button/types.ts +14 -14
  23. package/src/components/call-button/CallButton.stories.tsx +324 -324
  24. package/src/components/call-button/index.tsx +80 -80
  25. package/src/components/call-button/types.ts +9 -9
  26. package/src/components/checkbox/Checkbox.stories.tsx +248 -248
  27. package/src/components/checkbox/types.ts +23 -23
  28. package/src/components/checklist/Checklist.stories.tsx +151 -151
  29. package/src/components/checklist/index.tsx +33 -33
  30. package/src/components/checklist/types.ts +5 -5
  31. package/src/components/collapse/Collapse.stories.tsx +256 -256
  32. package/src/components/collapse/index.tsx +44 -44
  33. package/src/components/collapse/types.ts +5 -5
  34. package/src/components/divider/Divider.stories.tsx +206 -206
  35. package/src/components/divider/index.tsx +23 -23
  36. package/src/components/divider/type.ts +2 -2
  37. package/src/components/input/Input.stories.tsx +358 -358
  38. package/src/components/input/index.tsx +174 -174
  39. package/src/components/input/types.ts +36 -36
  40. package/src/components/link/Link.stories.tsx +163 -163
  41. package/src/components/link/index.tsx +96 -96
  42. package/src/components/link/types.ts +25 -25
  43. package/src/components/list/List.stories.tsx +272 -272
  44. package/src/components/list/index.tsx +86 -86
  45. package/src/components/list/list-item/index.tsx +36 -36
  46. package/src/components/list/list-item/types.ts +13 -13
  47. package/src/components/list/types.ts +29 -29
  48. package/src/components/material-icon/MaterialIcon.stories.tsx +330 -330
  49. package/src/components/material-icon/constants.ts +95 -95
  50. package/src/components/material-icon/index.tsx +44 -44
  51. package/src/components/material-icon/types.ts +31 -31
  52. package/src/components/modal/Modal.stories.tsx +171 -171
  53. package/src/components/modal/index.tsx +168 -168
  54. package/src/components/modal/types.ts +23 -23
  55. package/src/components/radio-button/index.tsx +73 -73
  56. package/src/components/radio-button/types.ts +21 -21
  57. package/src/components/see-more/SeeMore.stories.tsx +182 -182
  58. package/src/components/see-more/index.tsx +38 -38
  59. package/src/components/see-more/types.ts +3 -3
  60. package/src/components/select/Select.stories.tsx +410 -410
  61. package/src/components/select/index.tsx +150 -150
  62. package/src/components/select/types.ts +34 -34
  63. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +160 -160
  64. package/src/components/select-plan-button/index.tsx +20 -20
  65. package/src/components/select-plan-button/types.ts +3 -3
  66. package/src/components/skeleton/Skeleton.stories.tsx +180 -180
  67. package/src/components/skeleton/index.tsx +61 -61
  68. package/src/components/skeleton/types.ts +3 -3
  69. package/src/components/spinner/Spinner.stories.tsx +335 -335
  70. package/src/components/spinner/index.tsx +44 -44
  71. package/src/components/spinner/types.ts +4 -4
  72. package/src/components/text/Text.stories.tsx +302 -302
  73. package/src/components/text/index.tsx +26 -26
  74. package/src/components/text/types.ts +45 -45
  75. package/src/components/tooltip/Tooltip.stories.tsx +220 -220
  76. package/src/components/tooltip/index.tsx +78 -78
  77. package/src/components/tooltip/types.ts +6 -6
  78. package/src/components/view-cart-button/ViewCartButton.stories.tsx +241 -241
  79. package/src/components/view-cart-button/index.tsx +38 -38
  80. package/src/components/view-cart-button/types.ts +4 -4
  81. package/src/contentful/blocks/accordion/index.tsx +7 -7
  82. package/src/contentful/blocks/button/index.tsx +5 -5
  83. package/src/contentful/blocks/callout/index.tsx +7 -7
  84. package/src/contentful/blocks/cards/index.tsx +7 -7
  85. package/src/contentful/blocks/carousel/index.tsx +7 -7
  86. package/src/contentful/blocks/cta-callout/index.tsx +6 -0
  87. package/src/contentful/blocks/cta-callout/types.ts +1 -0
  88. package/src/contentful/blocks/floating-banner/index.tsx +7 -7
  89. package/src/contentful/blocks/footer/index.tsx +7 -7
  90. package/src/contentful/blocks/image-promo-bar/index.tsx +7 -7
  91. package/src/contentful/blocks/modal/index.tsx +5 -5
  92. package/src/contentful/blocks/navigation/index.tsx +7 -7
  93. package/src/contentful/blocks/primary-hero/index.tsx +7 -7
  94. package/src/contentful/blocks/shape-background-wrapper/index.tsx +123 -123
  95. package/src/contentful/blocks/shape-background-wrapper/types.ts +35 -35
  96. package/src/contentful/blocks/text/index.tsx +6 -6
  97. package/src/contentful/index.ts +4 -1
  98. package/src/hooks/use-body-scroll-lock.ts +31 -31
  99. package/src/index.ts +81 -81
  100. package/src/setupTests.ts +46 -46
  101. package/src/styles/globals.css +275 -319
  102. package/src/types/global.d.ts +9 -9
  103. package/src/utils/index.ts +49 -49
@@ -1,319 +1,275 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- /* Material Symbols Font */
6
- @font-face {
7
- font-family: "Material Symbols Rounded";
8
- src: url("/material_symbols/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2")
9
- format("woff2");
10
- font-weight: 100 700;
11
- font-style: normal;
12
- font-display: swap;
13
- }
14
-
15
- /* Custom CSS variables for fonts */
16
- /* default theme Residential */
17
- :root {
18
- --win-site-font:
19
- -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
20
- "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
21
-
22
- /* Color tokens - Border */
23
- --color-border: #E6E6E6;
24
- --color-border-brand: #24A76A;
25
- --color-border-critical: #7E0000;
26
- --color-border-critical-secondary: #F0A7A7;
27
- --color-border-disabled: #F2F2F4;
28
- --color-border-focus: #24A76A;
29
- --color-border-focus-inverse: #00002D;
30
- --color-border-focus-secondary: #00002D;
31
- --color-border-hover: #CECECE;
32
- --color-border-info: #CECECE;
33
- --color-border-inverse: #FFFFFF;
34
- --color-border-secondary: #F2F2F4;
35
- --color-border-secondary-on-bg-fill: #949494;
36
- --color-border-success: #24A76A;
37
- --color-border-tertiary: #CECECE;
38
-
39
- /* Color tokens - Icon */
40
- --color-icon-brand: #24A76A;
41
- --color-icon-brand-accent: #F5FF1E;
42
- --color-icon-critical: #D40000;
43
- --color-icon-default: #00002D;
44
- --color-icon-info: #757575;
45
- --color-icon-inverse: #FFFFFF;
46
- --color-icon-inverse-secondary: #E6E6E6;
47
- --color-icon-secondary: #757575;
48
- --color-icon-success: #24A76A;
49
-
50
- /* Color tokens - Checkbox */
51
- --color-checkbox-bg-surface-disabled: #F7F7F8;
52
- --color-checkbox-bg-surface-selected-disabled: #E6E6E6;
53
- --color-checkbox-icon-disabled: #FFFFFF;
54
-
55
- /* Color tokens - Input */
56
- --color-input-bg-surface: #FFFFFF;
57
- --color-input-bg-surface-active: #F2F2F4;
58
- --color-input-bg-surface-disabled: #F7F7F8;
59
- --color-input-bg-surface-hover: #F7F7F8;
60
- --color-input-border: #CECECE;
61
- --color-input-border-critical: #D40000;
62
- --color-input-border-hover: #00002D;
63
- --color-input-border-selected: #24A76A;
64
- --color-input-icon-placeholder: #757575;
65
- --color-input-text-placeholder: #5E5E5E;
66
-
67
- /* Color tokens - Nav */
68
- --color-nav-bg: #FFFFFF;
69
- --color-nav-bg-surface: #FBFBFC;
70
- --color-nav-bg-surface-active: #F2F2F4;
71
- --color-nav-bg-surface-hover: #F7F7F8;
72
- --color-nav-bg-surface-selected: #F2F2F4;
73
-
74
- /* Color tokens - Radio */
75
- --color-radio-button-bg-surface-disabled: #F7F7F8;
76
- --color-radio-button-bg-surface-selected-disabled: #E6E6E6;
77
- --color-radio-button-icon-disabled: #F7F7F8;
78
-
79
- /* Color tokens - Scrim */
80
- --color-scrim-bg-modal: rgba(0, 0, 0, 0.5);
81
- --color-scrim-bg-video-lightbox: rgba(0, 0, 0, 0.8);
82
-
83
- /* Color tokens - Skeleton */
84
- --color-skeleton-bg-start: #CECECE;
85
- --color-skeleton-bg-end: #E6E6E6;
86
-
87
- /* Color tokens - Toggle */
88
- --color-toggle-bg-fill: #FFFFFF;
89
- --color-toggle-bg-surface-active: #24A76A;
90
- --color-toggle-bg-surface-disabled: #949494;
91
-
92
- /* Color tokens - Tooltip */
93
- --color-tooltip-bg: #464646;
94
-
95
- /* Color tokens - Background */
96
- --color-bg: #FFFFFF;
97
- --color-bg-fill-brand: #24A76A;
98
- --color-bg-fill-brand-accent: #F5FF1E;
99
- --color-bg-fill-brand-active: #209A61;
100
- --color-bg-fill-brand-disabled: #CECECE;
101
- --color-bg-fill-brand-hover: #45C187;
102
- --color-bg-fill-brand-selected: #24A76A;
103
- --color-bg-fill-brand-supporting: #07B2E2;
104
- --color-bg-fill-brand-tertiary: #931D69;
105
- --color-bg-fill-critical: #D40000;
106
- --color-bg-fill-critical-secondary: #FDF5F5;
107
- --color-bg-fill-info: #F2F2F4;
108
- --color-bg-fill-inverse: #00002D;
109
- --color-bg-fill-inverse-active: #00002D;
110
- --color-bg-fill-inverse-disabled: #CECECE;
111
- --color-bg-fill-inverse-hover: #191A54;
112
- --color-bg-fill-inverse-selected: #00002D;
113
- --color-bg-fill-secondary: #FFFFFF;
114
- --color-bg-fill-secondary-active: #F2F2F4;
115
- --color-bg-fill-secondary-hover: #FBFBFC;
116
- --color-bg-fill-success: #24A76A;
117
- --color-bg-fill-success-secondary: #F4FBF8;
118
- --color-bg-fill-surface-brand: #F4FBF8;
119
- --color-bg-fill-surface-inverse: #00002D;
120
- --color-bg-fill-surface-success: #D3F2E3;
121
- --color-bg-inverse: #00002D;
122
- --color-bg-surface: #FFFFFF;
123
- --color-bg-surface-active: #F2F2F4;
124
- --color-bg-surface-brand: #F4FBF8;
125
- --color-bg-surface-disabled: #F2F2F4;
126
- --color-bg-surface-hover: #F7F7F8;
127
- --color-bg-surface-info: #F7F7F8;
128
- --color-bg-surface-inverse: #191A54;
129
- --color-bg-surface-secondary: #FBFBFC;
130
- --color-bg-surface-secondary-active: #E6E6E6;
131
- --color-bg-surface-secondary-hover: #F2F2F4;
132
- --color-bg-surface-secondary-selected: #E6E6E6;
133
- --color-bg-surface-selected: #F7F7F8;
134
- --color-bg-surface-success: #D3F2E3;
135
- --color-bg-surface-tertiary: #F7F7F8;
136
- --color-bg-surface-tertiary-active: #E6E6E6;
137
- --color-bg-surface-tertiary-hover: #F2F2F4;
138
- --color-bg-surface-transparent: rgba(0, 0, 0, 0);
139
-
140
- /* Color tokens - Text */
141
- --color-text: #00002D;
142
- --color-text-brand: #24A76A;
143
- --color-text-brand-accent-on-bg-fill: #00002D;
144
- --color-text-brand-hover: #1B8352;
145
- --color-text-brand-on-bg-fill: #FFFFFF;
146
- --color-text-brand-supporting-on-bg-fill: #00002D;
147
- --color-text-brand-tertiary-on-bg-fill: #FFFFFF;
148
- --color-text-critical: #D40000;
149
- --color-text-critical-on-bg-inverse: #FDF5F5;
150
- --color-text-disabled: #757575;
151
- --color-text-info: #464646;
152
- --color-text-inverse: #FFFFFF;
153
- --color-text-link: #00002D;
154
- --color-text-link-active: #00002D;
155
- --color-text-link-hover: #00002D;
156
- --color-text-link-inverse: #FFFFFF;
157
- --color-text-secondary: #464646;
158
- --color-text-success: #1B8352;
159
-
160
- /* Border radius tokens - Default (Residential) */
161
- --border-radius-2-5: 10px;
162
- --border-radius-3-5: 14px;
163
- --border-radius-lg: 0.5rem;
164
- --border-radius-xl: 0.75rem;
165
- --border-radius-2xl: 1rem;
166
- --border-radius-2-5xl: 1.25rem;
167
- --border-radius-4xl: 2rem;
168
- --border-radius-5xl: 2.5rem;
169
- }
170
-
171
- /* smb theme */
172
-
173
- [data-theme="business"] {
174
- /* Border colors */
175
- --color-border-brand: #007C93;
176
- --color-border-critical: #D40000;
177
- --color-border-focus: #007C93;
178
- --color-border-focus-inverse: #231F20;
179
- --color-border-focus-secondary: #231F20;
180
- --color-border-success: #24A76A;
181
-
182
- /* Icon colors */
183
- --color-icon-brand: #009BB8;
184
- --color-icon-brand-accent: #22A881;
185
- --color-icon-default: #231F20;
186
- --color-icon-secondary: #A33895;
187
- --color-icon-success: #22A881;
188
-
189
- /* Input colors */
190
- --color-input-border-hover: #231F20;
191
- --color-input-border-selected: #009BB8;
192
- --color-input-icon-placeholder: #949494;
193
- --color-input-text-placeholder: #949494;
194
-
195
- /* Toggle colors */
196
- --color-toggle-bg-surface-active: #009BB8;
197
-
198
- /* Background fill colors */
199
- --color-bg-fill-brand: #007C93;
200
- --color-bg-fill-brand-accent: #22A881;
201
- --color-bg-fill-brand-active: #005D6E;
202
- --color-bg-fill-brand-hover: #30AEC5;
203
- --color-bg-fill-brand-selected: #007C93;
204
- --color-bg-fill-brand-supporting: #40AFC9;
205
- --color-bg-fill-brand-tertiary: #A33895;
206
- --color-bg-fill-inverse: #231F20;
207
- --color-bg-fill-inverse-active: #231F20;
208
- --color-bg-fill-inverse-hover: #4D4A4A;
209
- --color-bg-fill-inverse-selected: #231F20;
210
- --color-bg-fill-success: #1B8667;
211
- --color-bg-fill-success-secondary: #C8E9E0;
212
- --color-bg-fill-surface-brand: #BFE6ED;
213
- --color-bg-fill-surface-inverse: #231F20;
214
- --color-bg-fill-surface-success: #A0DAC9;
215
-
216
- /* Text colors */
217
- --color-text: #231F20;
218
- --color-text-brand: #009BB8;
219
- --color-text-brand-accent-on-bg-fill: #22A881;
220
- --color-text-brand-hover: #003E4A;
221
- --color-text-brand-supporting-on-bg-fill: #40AFC9;
222
- --color-text-brand-tertiary-on-bg-fill: #A33895;
223
- --color-text-info: #5A5A5A;
224
- --color-text-link: #009BB8;
225
- --color-text-link-active: #009BB8;
226
- --color-text-link-hover: #003E4A;
227
- --color-text-secondary: #5A5A5A;
228
- --color-text-success: #1B8667;
229
-
230
- /* Border radius tokens - Business theme */
231
- --border-radius-2-5: 0px;
232
- --border-radius-3-5: 3px;
233
- --border-radius-lg: 2px;
234
- --border-radius-xl: 2px;
235
- --border-radius-2xl: 0rem;
236
- --border-radius-2-5xl: 0rem;
237
- --border-radius-4xl: 0rem;
238
- --border-radius-5xl: 2.5rem;
239
- }
240
-
241
- /* Base styles for components */
242
- @layer base {
243
- * {
244
- box-sizing: border-box;
245
- }
246
-
247
- html {
248
- font-family: var(--win-site-font);
249
- }
250
- }
251
-
252
- /* Component-specific styles */
253
- @layer components {
254
- /* Blinking dot animation */
255
- @keyframes blink {
256
- 0%,
257
- 50% {
258
- opacity: 1;
259
- }
260
- 51%,
261
- 100% {
262
- opacity: 0.3;
263
- }
264
- }
265
-
266
- .animate-blink {
267
- animation: blink 1.5s ease-in-out infinite;
268
- }
269
- }
270
-
271
-
272
- .shape-bg {
273
- position: relative;
274
- overflow: hidden;
275
- }
276
-
277
- .shape-bg-content {
278
- position: relative;
279
- z-index: 1;
280
- }
281
-
282
- /* path1 on the SVG */
283
- .shape-bg-svg {
284
- position: absolute;
285
- pointer-events: none;
286
- z-index: 0;
287
- }
288
-
289
- .path2 {
290
- left: 50%;
291
- top: 45.8px;
292
- transform: translateX(-101%);
293
- }
294
-
295
- .path1 {
296
- left: 50%;
297
- top: -2371px;
298
- transform: translateX(-55%);
299
- }
300
-
301
- .path3 {
302
- top: -2600px;
303
- left: 50%;
304
- transform: translateX(-55%);
305
- }
306
-
307
- .path4 {
308
- left: 50%;
309
- top: -1966.1px;
310
- transform: translateX(-48%);
311
- }
312
-
313
- .shape-bg-content .shape-bg svg {
314
- display: none;
315
- }
316
-
317
- .shape-bg-content #custom-layout {
318
- background-color: transparent !important;
319
- }
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ /* Material Symbols Font */
6
+ @font-face {
7
+ font-family: "Material Symbols Rounded";
8
+ src: url("/material_symbols/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2")
9
+ format("woff2");
10
+ font-weight: 100 700;
11
+ font-style: normal;
12
+ font-display: swap;
13
+ }
14
+
15
+ /* Custom CSS variables for fonts */
16
+ /* default theme Residential */
17
+ :root {
18
+ --win-site-font:
19
+ -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
20
+ "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
21
+
22
+ /* Color tokens - Border */
23
+ --color-border: #E6E6E6;
24
+ --color-border-brand: #24A76A;
25
+ --color-border-critical: #7E0000;
26
+ --color-border-critical-secondary: #F0A7A7;
27
+ --color-border-disabled: #F2F2F4;
28
+ --color-border-focus: #24A76A;
29
+ --color-border-focus-inverse: #00002D;
30
+ --color-border-focus-secondary: #00002D;
31
+ --color-border-hover: #CECECE;
32
+ --color-border-info: #CECECE;
33
+ --color-border-inverse: #FFFFFF;
34
+ --color-border-secondary: #F2F2F4;
35
+ --color-border-secondary-on-bg-fill: #949494;
36
+ --color-border-success: #24A76A;
37
+ --color-border-tertiary: #CECECE;
38
+
39
+ /* Color tokens - Icon */
40
+ --color-icon-brand: #24A76A;
41
+ --color-icon-brand-accent: #F5FF1E;
42
+ --color-icon-critical: #D40000;
43
+ --color-icon-default: #00002D;
44
+ --color-icon-info: #757575;
45
+ --color-icon-inverse: #FFFFFF;
46
+ --color-icon-inverse-secondary: #E6E6E6;
47
+ --color-icon-secondary: #757575;
48
+ --color-icon-success: #24A76A;
49
+
50
+ /* Color tokens - Checkbox */
51
+ --color-checkbox-bg-surface-disabled: #F7F7F8;
52
+ --color-checkbox-bg-surface-selected-disabled: #E6E6E6;
53
+ --color-checkbox-icon-disabled: #FFFFFF;
54
+
55
+ /* Color tokens - Input */
56
+ --color-input-bg-surface: #FFFFFF;
57
+ --color-input-bg-surface-active: #F2F2F4;
58
+ --color-input-bg-surface-disabled: #F7F7F8;
59
+ --color-input-bg-surface-hover: #F7F7F8;
60
+ --color-input-border: #CECECE;
61
+ --color-input-border-critical: #D40000;
62
+ --color-input-border-hover: #00002D;
63
+ --color-input-border-selected: #24A76A;
64
+ --color-input-icon-placeholder: #757575;
65
+ --color-input-text-placeholder: #5E5E5E;
66
+
67
+ /* Color tokens - Nav */
68
+ --color-nav-bg: #FFFFFF;
69
+ --color-nav-bg-surface: #FBFBFC;
70
+ --color-nav-bg-surface-active: #F2F2F4;
71
+ --color-nav-bg-surface-hover: #F7F7F8;
72
+ --color-nav-bg-surface-selected: #F2F2F4;
73
+
74
+ /* Color tokens - Radio */
75
+ --color-radio-button-bg-surface-disabled: #F7F7F8;
76
+ --color-radio-button-bg-surface-selected-disabled: #E6E6E6;
77
+ --color-radio-button-icon-disabled: #F7F7F8;
78
+
79
+ /* Color tokens - Scrim */
80
+ --color-scrim-bg-modal: rgba(0, 0, 0, 0.5);
81
+ --color-scrim-bg-video-lightbox: rgba(0, 0, 0, 0.8);
82
+
83
+ /* Color tokens - Skeleton */
84
+ --color-skeleton-bg-start: #CECECE;
85
+ --color-skeleton-bg-end: #E6E6E6;
86
+
87
+ /* Color tokens - Toggle */
88
+ --color-toggle-bg-fill: #FFFFFF;
89
+ --color-toggle-bg-surface-active: #24A76A;
90
+ --color-toggle-bg-surface-disabled: #949494;
91
+
92
+ /* Color tokens - Tooltip */
93
+ --color-tooltip-bg: #464646;
94
+
95
+ /* Color tokens - Background */
96
+ --color-bg: #FFFFFF;
97
+ --color-bg-fill-brand: #24A76A;
98
+ --color-bg-fill-brand-accent: #F5FF1E;
99
+ --color-bg-fill-brand-active: #209A61;
100
+ --color-bg-fill-brand-disabled: #CECECE;
101
+ --color-bg-fill-brand-hover: #45C187;
102
+ --color-bg-fill-brand-selected: #24A76A;
103
+ --color-bg-fill-brand-supporting: #07B2E2;
104
+ --color-bg-fill-brand-tertiary: #931D69;
105
+ --color-bg-fill-critical: #D40000;
106
+ --color-bg-fill-critical-secondary: #FDF5F5;
107
+ --color-bg-fill-info: #F2F2F4;
108
+ --color-bg-fill-inverse: #00002D;
109
+ --color-bg-fill-inverse-active: #00002D;
110
+ --color-bg-fill-inverse-disabled: #CECECE;
111
+ --color-bg-fill-inverse-hover: #191A54;
112
+ --color-bg-fill-inverse-selected: #00002D;
113
+ --color-bg-fill-secondary: #FFFFFF;
114
+ --color-bg-fill-secondary-active: #F2F2F4;
115
+ --color-bg-fill-secondary-hover: #FBFBFC;
116
+ --color-bg-fill-success: #24A76A;
117
+ --color-bg-fill-success-secondary: #F4FBF8;
118
+ --color-bg-fill-surface-brand: #F4FBF8;
119
+ --color-bg-fill-surface-inverse: #00002D;
120
+ --color-bg-fill-surface-success: #D3F2E3;
121
+ --color-bg-inverse: #00002D;
122
+ --color-bg-surface: #FFFFFF;
123
+ --color-bg-surface-active: #F2F2F4;
124
+ --color-bg-surface-brand: #F4FBF8;
125
+ --color-bg-surface-disabled: #F2F2F4;
126
+ --color-bg-surface-hover: #F7F7F8;
127
+ --color-bg-surface-info: #F7F7F8;
128
+ --color-bg-surface-inverse: #191A54;
129
+ --color-bg-surface-secondary: #FBFBFC;
130
+ --color-bg-surface-secondary-active: #E6E6E6;
131
+ --color-bg-surface-secondary-hover: #F2F2F4;
132
+ --color-bg-surface-secondary-selected: #E6E6E6;
133
+ --color-bg-surface-selected: #F7F7F8;
134
+ --color-bg-surface-success: #D3F2E3;
135
+ --color-bg-surface-tertiary: #F7F7F8;
136
+ --color-bg-surface-tertiary-active: #E6E6E6;
137
+ --color-bg-surface-tertiary-hover: #F2F2F4;
138
+ --color-bg-surface-transparent: rgba(0, 0, 0, 0);
139
+
140
+ /* Color tokens - Text */
141
+ --color-text: #00002D;
142
+ --color-text-brand: #24A76A;
143
+ --color-text-brand-accent-on-bg-fill: #00002D;
144
+ --color-text-brand-hover: #1B8352;
145
+ --color-text-brand-on-bg-fill: #FFFFFF;
146
+ --color-text-brand-supporting-on-bg-fill: #00002D;
147
+ --color-text-brand-tertiary-on-bg-fill: #FFFFFF;
148
+ --color-text-critical: #D40000;
149
+ --color-text-critical-on-bg-inverse: #FDF5F5;
150
+ --color-text-disabled: #757575;
151
+ --color-text-info: #464646;
152
+ --color-text-inverse: #FFFFFF;
153
+ --color-text-link: #00002D;
154
+ --color-text-link-active: #00002D;
155
+ --color-text-link-hover: #00002D;
156
+ --color-text-link-inverse: #FFFFFF;
157
+ --color-text-secondary: #464646;
158
+ --color-text-success: #1B8352;
159
+
160
+ /* Border radius tokens - Default (Residential) */
161
+ --border-radius-2-5: 10px;
162
+ --border-radius-3-5: 14px;
163
+ --border-radius-lg: 0.5rem;
164
+ --border-radius-xl: 0.75rem;
165
+ --border-radius-2xl: 1rem;
166
+ --border-radius-2-5xl: 1.25rem;
167
+ --border-radius-4xl: 2rem;
168
+ --border-radius-5xl: 2.5rem;
169
+ }
170
+
171
+ /* smb theme */
172
+
173
+ [data-theme="business"] {
174
+ /* Border colors */
175
+ --color-border-brand: #007C93;
176
+ --color-border-critical: #D40000;
177
+ --color-border-focus: #007C93;
178
+ --color-border-focus-inverse: #231F20;
179
+ --color-border-focus-secondary: #231F20;
180
+ --color-border-success: #24A76A;
181
+
182
+ /* Icon colors */
183
+ --color-icon-brand: #009BB8;
184
+ --color-icon-brand-accent: #22A881;
185
+ --color-icon-default: #231F20;
186
+ --color-icon-secondary: #A33895;
187
+ --color-icon-success: #22A881;
188
+
189
+ /* Input colors */
190
+ --color-input-border-hover: #231F20;
191
+ --color-input-border-selected: #009BB8;
192
+ --color-input-icon-placeholder: #949494;
193
+ --color-input-text-placeholder: #949494;
194
+
195
+ /* Toggle colors */
196
+ --color-toggle-bg-surface-active: #009BB8;
197
+
198
+ /* Background fill colors */
199
+ --color-bg-fill-brand: #007C93;
200
+ --color-bg-fill-brand-accent: #22A881;
201
+ --color-bg-fill-brand-active: #005D6E;
202
+ --color-bg-fill-brand-hover: #30AEC5;
203
+ --color-bg-fill-brand-selected: #007C93;
204
+ --color-bg-fill-brand-supporting: #40AFC9;
205
+ --color-bg-fill-brand-tertiary: #A33895;
206
+ --color-bg-fill-inverse: #231F20;
207
+ --color-bg-fill-inverse-active: #231F20;
208
+ --color-bg-fill-inverse-hover: #4D4A4A;
209
+ --color-bg-fill-inverse-selected: #231F20;
210
+ --color-bg-fill-success: #1B8667;
211
+ --color-bg-fill-success-secondary: #C8E9E0;
212
+ --color-bg-fill-surface-brand: #BFE6ED;
213
+ --color-bg-fill-surface-inverse: #231F20;
214
+ --color-bg-fill-surface-success: #A0DAC9;
215
+
216
+ /* Text colors */
217
+ --color-text: #231F20;
218
+ --color-text-brand: #009BB8;
219
+ --color-text-brand-accent-on-bg-fill: #22A881;
220
+ --color-text-brand-hover: #003E4A;
221
+ --color-text-brand-supporting-on-bg-fill: #40AFC9;
222
+ --color-text-brand-tertiary-on-bg-fill: #A33895;
223
+ --color-text-info: #5A5A5A;
224
+ --color-text-link: #009BB8;
225
+ --color-text-link-active: #009BB8;
226
+ --color-text-link-hover: #003E4A;
227
+ --color-text-secondary: #5A5A5A;
228
+ --color-text-success: #1B8667;
229
+
230
+ /* Border radius tokens - Business theme */
231
+ --border-radius-2-5: 0px;
232
+ --border-radius-3-5: 3px;
233
+ --border-radius-lg: 2px;
234
+ --border-radius-xl: 2px;
235
+ --border-radius-2xl: 0rem;
236
+ --border-radius-2-5xl: 0rem;
237
+ --border-radius-4xl: 0rem;
238
+ --border-radius-5xl: 2.5rem;
239
+ }
240
+
241
+ /* Base styles for components */
242
+ @layer base {
243
+ * {
244
+ box-sizing: border-box;
245
+ }
246
+
247
+ html {
248
+ font-family: var(--win-site-font);
249
+ }
250
+ }
251
+
252
+ /* Component-specific styles */
253
+ @layer components {
254
+ /* Blinking dot animation */
255
+ @keyframes blink {
256
+ 0%,
257
+ 50% {
258
+ opacity: 1;
259
+ }
260
+ 51%,
261
+ 100% {
262
+ opacity: 0.3;
263
+ }
264
+ }
265
+
266
+ .animate-blink {
267
+ animation: blink 1.5s ease-in-out infinite;
268
+ }
269
+ }
270
+
271
+ /* Hide shape background SVGs inside content */
272
+
273
+ .shape-bg-content .shape-bg svg {
274
+ display: none;
275
+ }
@@ -1,9 +1,9 @@
1
- declare module "*.module.css" {
2
- const classes: { [key: string]: string };
3
- export default classes;
4
- }
5
-
6
- declare module "*.css" {
7
- const content: string;
8
- export default content;
9
- }
1
+ declare module "*.module.css" {
2
+ const classes: { [key: string]: string };
3
+ export default classes;
4
+ }
5
+
6
+ declare module "*.css" {
7
+ const content: string;
8
+ export default content;
9
+ }