@windstream/react-shared-components 0.0.18 → 0.0.21

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 (140) hide show
  1. package/dist/contentful/index.esm.js +1 -1
  2. package/dist/contentful/index.esm.js.map +1 -1
  3. package/dist/contentful/index.js +1 -1
  4. package/dist/contentful/index.js.map +1 -1
  5. package/dist/core.d.ts +34 -6
  6. package/dist/index.d.ts +33 -5
  7. package/dist/index.esm.js +5 -5
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +5 -5
  10. package/dist/index.js.map +1 -1
  11. package/dist/styles.css +1 -1
  12. package/dist/utils/index.esm.js.map +1 -1
  13. package/dist/utils/index.js.map +1 -1
  14. package/package.json +1 -1
  15. package/src/components/accordion/Accordion.stories.tsx +16 -11
  16. package/src/components/accordion/index.tsx +19 -8
  17. package/src/components/accordion/types.ts +8 -9
  18. package/src/components/alert-card/AlertCard.stories.tsx +4 -5
  19. package/src/components/alert-card/index.tsx +6 -9
  20. package/src/components/alert-card/types.ts +9 -9
  21. package/src/components/brand-button/BrandButton.stories.tsx +8 -10
  22. package/src/components/brand-button/helpers.ts +8 -8
  23. package/src/components/brand-button/index.tsx +28 -27
  24. package/src/components/brand-button/types.ts +6 -8
  25. package/src/components/button/Button.stories.tsx +6 -6
  26. package/src/components/button/index.tsx +3 -1
  27. package/src/components/button/types.ts +14 -14
  28. package/src/components/call-button/CallButton.stories.tsx +1 -1
  29. package/src/components/call-button/index.tsx +3 -4
  30. package/src/components/call-button/types.ts +1 -0
  31. package/src/components/checkbox/Checkbox.stories.tsx +6 -7
  32. package/src/components/checkbox/index.tsx +17 -7
  33. package/src/components/checkbox/types.ts +19 -16
  34. package/src/components/checklist/Checklist.stories.tsx +1 -2
  35. package/src/components/checklist/index.tsx +12 -6
  36. package/src/components/checklist/types.ts +5 -5
  37. package/src/components/collapse/Collapse.stories.tsx +18 -19
  38. package/src/components/collapse/index.tsx +1 -1
  39. package/src/components/collapse/types.ts +4 -4
  40. package/src/components/divider/Divider.stories.tsx +16 -17
  41. package/src/components/divider/index.tsx +2 -3
  42. package/src/components/divider/type.ts +2 -2
  43. package/src/components/image/Image.stories.tsx +113 -0
  44. package/src/components/image/index.tsx +22 -0
  45. package/src/components/image/types.ts +28 -0
  46. package/src/components/input/Input.stories.tsx +13 -46
  47. package/src/components/input/index.tsx +16 -15
  48. package/src/components/input/types.ts +1 -1
  49. package/src/components/link/Link.stories.tsx +1 -1
  50. package/src/components/link/index.tsx +1 -2
  51. package/src/components/link/types.ts +25 -25
  52. package/src/components/list/List.stories.tsx +1 -1
  53. package/src/components/list/index.tsx +86 -86
  54. package/src/components/list/list-item/index.tsx +36 -36
  55. package/src/components/list/list-item/types.ts +13 -13
  56. package/src/components/list/types.ts +29 -29
  57. package/src/components/material-icon/MaterialIcon.stories.tsx +1 -1
  58. package/src/components/material-icon/constants.ts +1 -1
  59. package/src/components/material-icon/index.tsx +44 -44
  60. package/src/components/material-icon/types.ts +31 -31
  61. package/src/components/modal/Modal.stories.tsx +9 -9
  62. package/src/components/modal/index.tsx +8 -14
  63. package/src/components/modal/types.ts +1 -1
  64. package/src/components/radio-button/RadioButton.stories.tsx +7 -7
  65. package/src/components/radio-button/index.tsx +11 -9
  66. package/src/components/radio-button/types.ts +18 -19
  67. package/src/components/see-more/SeeMore.stories.tsx +14 -15
  68. package/src/components/see-more/index.tsx +33 -29
  69. package/src/components/see-more/types.ts +3 -3
  70. package/src/components/select/Select.stories.tsx +3 -2
  71. package/src/components/select/index.tsx +15 -17
  72. package/src/components/select/types.ts +2 -1
  73. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +20 -12
  74. package/src/components/select-plan-button/index.tsx +28 -20
  75. package/src/components/select-plan-button/types.ts +1 -1
  76. package/src/components/skeleton/Skeleton.stories.tsx +9 -10
  77. package/src/components/skeleton/index.tsx +61 -61
  78. package/src/components/skeleton/types.ts +3 -3
  79. package/src/components/spinner/Spinner.stories.tsx +1 -1
  80. package/src/components/spinner/index.tsx +1 -1
  81. package/src/components/spinner/types.ts +4 -4
  82. package/src/components/text/Text.stories.tsx +35 -16
  83. package/src/components/text/index.tsx +2 -5
  84. package/src/components/text/types.ts +45 -45
  85. package/src/components/tooltip/Tooltip.stories.tsx +15 -16
  86. package/src/components/tooltip/index.tsx +1 -5
  87. package/src/components/tooltip/types.ts +4 -4
  88. package/src/components/view-cart-button/ViewCartButton.stories.tsx +23 -12
  89. package/src/components/view-cart-button/index.tsx +11 -6
  90. package/src/components/view-cart-button/types.ts +1 -1
  91. package/src/contentful/blocks/accordion/Accordion.stories.tsx +23 -0
  92. package/src/contentful/blocks/accordion/index.tsx +11 -1
  93. package/src/contentful/blocks/accordion/types.ts +1 -1
  94. package/src/contentful/blocks/button/Button.stories.tsx +40 -0
  95. package/src/contentful/blocks/button/index.tsx +15 -14
  96. package/src/contentful/blocks/button/types.ts +17 -17
  97. package/src/contentful/blocks/callout/Callout.stories.tsx +23 -0
  98. package/src/contentful/blocks/callout/index.tsx +9 -1
  99. package/src/contentful/blocks/callout/types.ts +1 -1
  100. package/src/contentful/blocks/cards/Cards.stories.tsx +23 -0
  101. package/src/contentful/blocks/cards/index.tsx +7 -1
  102. package/src/contentful/blocks/cards/types.ts +1 -1
  103. package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -0
  104. package/src/contentful/blocks/carousel/index.tsx +7 -1
  105. package/src/contentful/blocks/carousel/types.ts +1 -1
  106. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -0
  107. package/src/contentful/blocks/cta-callout/index.tsx +5 -5
  108. package/src/contentful/blocks/cta-callout/types.ts +16 -16
  109. package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +23 -0
  110. package/src/contentful/blocks/floating-banner/index.tsx +6 -2
  111. package/src/contentful/blocks/floating-banner/types.ts +1 -1
  112. package/src/contentful/blocks/footer/Footer.stories.tsx +30 -0
  113. package/src/contentful/blocks/footer/index.tsx +8 -7
  114. package/src/contentful/blocks/footer/types.ts +7 -6
  115. package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -0
  116. package/src/contentful/blocks/image-promo-bar/index.tsx +2 -1
  117. package/src/contentful/blocks/image-promo-bar/types.ts +28 -28
  118. package/src/contentful/blocks/modal/Modal.stories.tsx +23 -0
  119. package/src/contentful/blocks/modal/index.tsx +8 -2
  120. package/src/contentful/blocks/modal/types.ts +1 -1
  121. package/src/contentful/blocks/navigation/Navigation.stories.tsx +23 -0
  122. package/src/contentful/blocks/navigation/index.tsx +6 -2
  123. package/src/contentful/blocks/navigation/types.ts +1 -1
  124. package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -0
  125. package/src/contentful/blocks/primary-hero/index.tsx +4 -3
  126. package/src/contentful/blocks/primary-hero/types.ts +29 -29
  127. package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -0
  128. package/src/contentful/blocks/shape-background-wrapper/index.tsx +107 -106
  129. package/src/contentful/blocks/shape-background-wrapper/types.ts +24 -23
  130. package/src/contentful/blocks/text/Text.stories.tsx +23 -0
  131. package/src/contentful/blocks/text/index.tsx +7 -1
  132. package/src/contentful/blocks/text/types.ts +1 -1
  133. package/src/contentful/index.ts +1 -1
  134. package/src/hooks/use-body-scroll-lock.ts +2 -1
  135. package/src/index.ts +14 -2
  136. package/src/setupTests.ts +46 -46
  137. package/src/stories/DocsTemplate.tsx +0 -2
  138. package/src/styles/globals.css +162 -162
  139. package/src/types/global.d.ts +9 -9
  140. package/src/utils/index.ts +34 -34
package/src/index.ts CHANGED
@@ -8,6 +8,9 @@ export type { ButtonProps } from "./components/button";
8
8
  export { Input, InputField, Input as TextInput } from "./components/input";
9
9
  export type { InputProps, InputFieldProps } from "./components/input";
10
10
 
11
+ export { Image } from "./components/image";
12
+ export type { ImageProps, ImageComponentProps } from "./components/image";
13
+
11
14
  export { Link } from "./components/link";
12
15
  export type { LinkProps } from "./components/link";
13
16
 
@@ -36,13 +39,22 @@ export { Checkbox } from "./components/checkbox";
36
39
  export type { CheckboxProps } from "./components/checkbox";
37
40
 
38
41
  export { Select } from "./components/select";
39
- export type { SelectProps, SelectOption, FilterOptions } from "./components/select";
42
+ export type {
43
+ SelectProps,
44
+ SelectOption,
45
+ FilterOptions,
46
+ } from "./components/select";
40
47
 
41
48
  export { AlertCard } from "./components/alert-card";
42
49
  export type { AlertCardProps } from "./components/alert-card";
43
50
 
44
51
  export { BrandButton } from "./components/brand-button";
45
- export type { ButtonProps as BrandButtonProps, ButtonVariantsT, ButtonSizeT, ResponsiveSize } from "./components/brand-button";
52
+ export type {
53
+ ButtonProps as BrandButtonProps,
54
+ ButtonVariantsT,
55
+ ButtonSizeT,
56
+ ResponsiveSize,
57
+ } from "./components/brand-button";
46
58
 
47
59
  export { Checklist } from "./components/checklist";
48
60
  export type { ChecklistProps } from "./components/checklist";
package/src/setupTests.ts CHANGED
@@ -1,46 +1,46 @@
1
- import "@testing-library/jest-dom";
2
-
3
- // Mock window.matchMedia
4
- Object.defineProperty(window, "matchMedia", {
5
- writable: true,
6
- value: (query: string) => ({
7
- matches: false,
8
- media: query,
9
- onchange: null,
10
- addListener: () => {}, // deprecated
11
- removeListener: () => {}, // deprecated
12
- addEventListener: () => {},
13
- removeEventListener: () => {},
14
- dispatchEvent: () => true,
15
- }),
16
- });
17
-
18
- // Mock ResizeObserver
19
- global.ResizeObserver = class ResizeObserver {
20
- observe = () => {};
21
- unobserve = () => {};
22
- disconnect = () => {};
23
- constructor(_callback: ResizeObserverCallback) {}
24
- } as unknown as typeof ResizeObserver;
25
-
26
- // Mock IntersectionObserver
27
- global.IntersectionObserver = class IntersectionObserver {
28
- observe = () => {};
29
- unobserve = () => {};
30
- disconnect = () => {};
31
- constructor(_callback: IntersectionObserverCallback) {}
32
- } as unknown as typeof IntersectionObserver;
33
-
34
- // Mock scrollTo
35
- Object.defineProperty(window, "scrollTo", {
36
- writable: true,
37
- value: () => {},
38
- });
39
-
40
- // Mock getComputedStyle
41
- Object.defineProperty(window, "getComputedStyle", {
42
- writable: true,
43
- value: () => ({
44
- getPropertyValue: () => "",
45
- }),
46
- });
1
+ import "@testing-library/jest-dom";
2
+
3
+ // Mock window.matchMedia
4
+ Object.defineProperty(window, "matchMedia", {
5
+ writable: true,
6
+ value: (query: string) => ({
7
+ matches: false,
8
+ media: query,
9
+ onchange: null,
10
+ addListener: () => {}, // deprecated
11
+ removeListener: () => {}, // deprecated
12
+ addEventListener: () => {},
13
+ removeEventListener: () => {},
14
+ dispatchEvent: () => true,
15
+ }),
16
+ });
17
+
18
+ // Mock ResizeObserver
19
+ global.ResizeObserver = class ResizeObserver {
20
+ observe = () => {};
21
+ unobserve = () => {};
22
+ disconnect = () => {};
23
+ constructor(_callback: ResizeObserverCallback) {}
24
+ } as unknown as typeof ResizeObserver;
25
+
26
+ // Mock IntersectionObserver
27
+ global.IntersectionObserver = class IntersectionObserver {
28
+ observe = () => {};
29
+ unobserve = () => {};
30
+ disconnect = () => {};
31
+ constructor(_callback: IntersectionObserverCallback) {}
32
+ } as unknown as typeof IntersectionObserver;
33
+
34
+ // Mock scrollTo
35
+ Object.defineProperty(window, "scrollTo", {
36
+ writable: true,
37
+ value: () => {},
38
+ });
39
+
40
+ // Mock getComputedStyle
41
+ Object.defineProperty(window, "getComputedStyle", {
42
+ writable: true,
43
+ value: () => ({
44
+ getPropertyValue: () => "",
45
+ }),
46
+ });
@@ -22,5 +22,3 @@ export const DocsPage = () => (
22
22
  <ArgTypes />
23
23
  </>
24
24
  );
25
-
26
-
@@ -20,142 +20,142 @@
20
20
  "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
21
21
 
22
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;
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
35
  --color-border-secondary-on-bg-fill: #949494;
36
- --color-border-success: #24A76A;
37
- --color-border-tertiary: #CECECE;
36
+ --color-border-success: #24a76a;
37
+ --color-border-tertiary: #cecece;
38
38
 
39
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;
40
+ --color-icon-brand: #24a76a;
41
+ --color-icon-brand-accent: #f5ff1e;
42
+ --color-icon-critical: #d40000;
43
+ --color-icon-default: #00002d;
44
44
  --color-icon-info: #757575;
45
- --color-icon-inverse: #FFFFFF;
46
- --color-icon-inverse-secondary: #E6E6E6;
45
+ --color-icon-inverse: #ffffff;
46
+ --color-icon-inverse-secondary: #e6e6e6;
47
47
  --color-icon-secondary: #757575;
48
- --color-icon-success: #24A76A;
48
+ --color-icon-success: #24a76a;
49
49
 
50
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;
51
+ --color-checkbox-bg-surface-disabled: #f7f7f8;
52
+ --color-checkbox-bg-surface-selected-disabled: #e6e6e6;
53
+ --color-checkbox-icon-disabled: #ffffff;
54
54
 
55
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;
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
64
  --color-input-icon-placeholder: #757575;
65
- --color-input-text-placeholder: #5E5E5E;
65
+ --color-input-text-placeholder: #5e5e5e;
66
66
 
67
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;
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
73
 
74
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;
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
78
 
79
79
  /* Color tokens - Scrim */
80
80
  --color-scrim-bg-modal: rgba(0, 0, 0, 0.5);
81
81
  --color-scrim-bg-video-lightbox: rgba(0, 0, 0, 0.8);
82
82
 
83
83
  /* Color tokens - Skeleton */
84
- --color-skeleton-bg-start: #CECECE;
85
- --color-skeleton-bg-end: #E6E6E6;
84
+ --color-skeleton-bg-start: #cecece;
85
+ --color-skeleton-bg-end: #e6e6e6;
86
86
 
87
87
  /* Color tokens - Toggle */
88
- --color-toggle-bg-fill: #FFFFFF;
89
- --color-toggle-bg-surface-active: #24A76A;
88
+ --color-toggle-bg-fill: #ffffff;
89
+ --color-toggle-bg-surface-active: #24a76a;
90
90
  --color-toggle-bg-surface-disabled: #949494;
91
91
 
92
92
  /* Color tokens - Tooltip */
93
93
  --color-tooltip-bg: #464646;
94
94
 
95
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;
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
138
  --color-bg-surface-transparent: rgba(0, 0, 0, 0);
139
139
 
140
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;
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
150
  --color-text-disabled: #757575;
151
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;
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
157
  --color-text-secondary: #464646;
158
- --color-text-success: #1B8352;
158
+ --color-text-success: #1b8352;
159
159
 
160
160
  /* Border radius tokens - Default (Residential) */
161
161
  --border-radius-2-5: 10px;
@@ -171,71 +171,71 @@
171
171
  /* smb theme */
172
172
 
173
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;
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
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;
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
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;
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
194
 
195
- /* Toggle colors */
196
- --color-toggle-bg-surface-active: #009BB8;
195
+ /* Toggle colors */
196
+ --color-toggle-bg-surface-active: #009bb8;
197
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;
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
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;
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
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;
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
239
  }
240
240
 
241
241
  /* Base styles for components */
@@ -271,5 +271,5 @@
271
271
  /* Hide shape background SVGs inside content */
272
272
 
273
273
  .shape-bg-content .shape-bg svg {
274
- display: none;
274
+ display: none;
275
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
+ }
@@ -2,41 +2,41 @@ import { clsx, type ClassValue } from "clsx";
2
2
  import { extendTailwindMerge } from "tailwind-merge";
3
3
 
4
4
  const twMerge = extendTailwindMerge({
5
- // Define class groups so twMerge knows which classes override each other
6
- extend: {
7
- classGroups: {
8
- ["font-variants" as any]: [
9
- "heading1",
10
- "heading2",
11
- "heading3",
12
- "heading4",
13
- "heading5",
14
- "heading6",
15
- "subheading1",
16
- "subheading2",
17
- "subheading3",
18
- "subheading4",
19
- "subheading5",
20
- "subheading6",
21
- "body1",
22
- "body2",
23
- "body3",
24
- "footnote",
25
- "micro",
26
- "label1",
27
- "label2",
28
- "label3",
29
- "label4",
30
- ],
31
- ["button-sizes" as any]: [
32
- "btn-small",
33
- "btn-medium",
34
- "btn-large",
35
- "btn-x-large",
36
- ],
37
- },
5
+ // Define class groups so twMerge knows which classes override each other
6
+ extend: {
7
+ classGroups: {
8
+ ["font-variants" as any]: [
9
+ "heading1",
10
+ "heading2",
11
+ "heading3",
12
+ "heading4",
13
+ "heading5",
14
+ "heading6",
15
+ "subheading1",
16
+ "subheading2",
17
+ "subheading3",
18
+ "subheading4",
19
+ "subheading5",
20
+ "subheading6",
21
+ "body1",
22
+ "body2",
23
+ "body3",
24
+ "footnote",
25
+ "micro",
26
+ "label1",
27
+ "label2",
28
+ "label3",
29
+ "label4",
30
+ ],
31
+ ["button-sizes" as any]: [
32
+ "btn-small",
33
+ "btn-medium",
34
+ "btn-large",
35
+ "btn-x-large",
36
+ ],
38
37
  },
39
- });
38
+ },
39
+ });
40
40
 
41
41
  /**
42
42
  * Utility function to combine class names using clsx