@hdb-c360/c360-shared-ui 0.1.0 → 0.1.2
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/components/badge.d.ts +8 -7
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +11 -19
- package/dist/components/badge.js.map +1 -1
- package/dist/components/brand-card.d.ts +8 -0
- package/dist/components/brand-card.d.ts.map +1 -0
- package/dist/components/brand-card.js +6 -0
- package/dist/components/brand-card.js.map +1 -0
- package/dist/components/button.d.ts +6 -9
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +14 -30
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.d.ts +7 -7
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +8 -8
- package/dist/components/card.js.map +1 -1
- package/dist/components/content-container.d.ts +3 -0
- package/dist/components/content-container.d.ts.map +1 -0
- package/dist/components/content-container.js +6 -0
- package/dist/components/content-container.js.map +1 -0
- package/dist/components/data-table-shell.d.ts +20 -0
- package/dist/components/data-table-shell.d.ts.map +1 -0
- package/dist/components/data-table-shell.js +9 -0
- package/dist/components/data-table-shell.js.map +1 -0
- package/dist/components/empty-state.d.ts +6 -5
- package/dist/components/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state.js +3 -3
- package/dist/components/empty-state.js.map +1 -1
- package/dist/components/error-state.d.ts +14 -0
- package/dist/components/error-state.d.ts.map +1 -0
- package/dist/components/error-state.js +8 -0
- package/dist/components/error-state.js.map +1 -0
- package/dist/components/form-field-wrapper.d.ts +12 -0
- package/dist/components/form-field-wrapper.d.ts.map +1 -0
- package/dist/components/form-field-wrapper.js +6 -0
- package/dist/components/form-field-wrapper.js.map +1 -0
- package/dist/components/gradient-button.d.ts +3 -0
- package/dist/components/gradient-button.d.ts.map +1 -0
- package/dist/components/gradient-button.js +6 -0
- package/dist/components/gradient-button.js.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +10 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input.d.ts +4 -4
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +4 -4
- package/dist/components/input.js.map +1 -1
- package/dist/components/loading-state.d.ts +8 -0
- package/dist/components/loading-state.d.ts.map +1 -0
- package/dist/components/loading-state.js +6 -0
- package/dist/components/loading-state.js.map +1 -0
- package/dist/components/page-header.d.ts +5 -4
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +3 -3
- package/dist/components/page-header.js.map +1 -1
- package/dist/components/section-card.d.ts +12 -0
- package/dist/components/section-card.d.ts.map +1 -0
- package/dist/components/section-card.js +7 -0
- package/dist/components/section-card.js.map +1 -0
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +3 -3
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/status-badge.d.ts +9 -0
- package/dist/components/status-badge.d.ts.map +1 -0
- package/dist/components/status-badge.js +37 -0
- package/dist/components/status-badge.js.map +1 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +9 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +7 -7
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +8 -8
- package/dist/components/table.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +26 -116
- package/dist/theme/c360-theme.d.ts +10 -0
- package/dist/theme/c360-theme.d.ts.map +1 -0
- package/dist/theme/c360-theme.js +90 -0
- package/dist/theme/c360-theme.js.map +1 -0
- package/dist/theme/colorData.d.ts +111 -0
- package/dist/theme/colorData.d.ts.map +1 -0
- package/dist/theme/colorData.js +151 -0
- package/dist/theme/colorData.js.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +3 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme-augmentation.d.ts +34 -0
- package/dist/theme-augmentation.d.ts.map +1 -0
- package/dist/theme-augmentation.js +2 -0
- package/dist/theme-augmentation.js.map +1 -0
- package/package.json +13 -9
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HDBank C360 — Brand & Color Source of Truth
|
|
3
|
+
*
|
|
4
|
+
* This file is the canonical record of HDBank brand colors and the underlying
|
|
5
|
+
* palette scales used by the C360 Microfrontend design system.
|
|
6
|
+
*
|
|
7
|
+
* How this file relates to the design system:
|
|
8
|
+
* - Brand identity colors (`brandRed`, `brandYellow`, `brandGrey`) are fixed
|
|
9
|
+
* HDBank brand values.
|
|
10
|
+
* - Neutral scale (`neutral0`..`neutral5`) is the official surface/border/text
|
|
11
|
+
* neutral palette.
|
|
12
|
+
* - Accent scales (`yellow`, `orange`, `green`, `blue`, `red`, `purple`) are
|
|
13
|
+
* used for semantic status, focus, and state variations.
|
|
14
|
+
* - The `ui*` and `surface` / `border` / `text` tokens below are the active
|
|
15
|
+
* UI semantic layer shared with `share-lib/packages/shared-ui/src/styles.css`
|
|
16
|
+
* and the Tailwind configs. They reconcile the raw brand palette into a
|
|
17
|
+
* consistent visual contract for the Shell and all MFE child apps.
|
|
18
|
+
*
|
|
19
|
+
* Reference: `/DESIGN.md`
|
|
20
|
+
*/
|
|
21
|
+
declare const _default: {
|
|
22
|
+
brandRed: string;
|
|
23
|
+
brandYellow: string;
|
|
24
|
+
brandGrey: string;
|
|
25
|
+
yellow5: string;
|
|
26
|
+
yellow4: string;
|
|
27
|
+
yellow3: string;
|
|
28
|
+
yellow2: string;
|
|
29
|
+
yellow1: string;
|
|
30
|
+
yellow0: string;
|
|
31
|
+
neutral5: string;
|
|
32
|
+
neutral4: string;
|
|
33
|
+
neutral3: string;
|
|
34
|
+
neutral2: string;
|
|
35
|
+
neutral1: string;
|
|
36
|
+
neutral0: string;
|
|
37
|
+
black: string;
|
|
38
|
+
white: string;
|
|
39
|
+
purple5: string;
|
|
40
|
+
purple4: string;
|
|
41
|
+
purple3: string;
|
|
42
|
+
purple2: string;
|
|
43
|
+
purple1: string;
|
|
44
|
+
orange5: string;
|
|
45
|
+
orange4: string;
|
|
46
|
+
orange3: string;
|
|
47
|
+
orange2: string;
|
|
48
|
+
orange1: string;
|
|
49
|
+
orange0: string;
|
|
50
|
+
green5: string;
|
|
51
|
+
green4: string;
|
|
52
|
+
green3: string;
|
|
53
|
+
green2: string;
|
|
54
|
+
green1: string;
|
|
55
|
+
green0: string;
|
|
56
|
+
blue5: string;
|
|
57
|
+
blue4: string;
|
|
58
|
+
blue3: string;
|
|
59
|
+
blue2: string;
|
|
60
|
+
blue1: string;
|
|
61
|
+
red5: string;
|
|
62
|
+
red4: string;
|
|
63
|
+
red3: string;
|
|
64
|
+
red2: string;
|
|
65
|
+
red1: string;
|
|
66
|
+
uiPrimary: string;
|
|
67
|
+
uiPrimaryHover: string;
|
|
68
|
+
uiPrimaryActive: string;
|
|
69
|
+
uiPrimaryForeground: string;
|
|
70
|
+
uiSecondary: string;
|
|
71
|
+
uiSecondaryHover: string;
|
|
72
|
+
uiSecondaryActive: string;
|
|
73
|
+
uiSecondaryForeground: string;
|
|
74
|
+
surface: string;
|
|
75
|
+
surfaceGlass: string;
|
|
76
|
+
surfaceElevated: string;
|
|
77
|
+
border: string;
|
|
78
|
+
borderSubtle: string;
|
|
79
|
+
borderGlass: string;
|
|
80
|
+
textPrimary: string;
|
|
81
|
+
textSecondary: string;
|
|
82
|
+
textMuted: string;
|
|
83
|
+
textBrandDark: string;
|
|
84
|
+
paper: string;
|
|
85
|
+
primaryMain: string;
|
|
86
|
+
primaryDark: string;
|
|
87
|
+
secondaryMain: string;
|
|
88
|
+
secondaryDark: string;
|
|
89
|
+
successMain: string;
|
|
90
|
+
successDark: string;
|
|
91
|
+
errorMain: string;
|
|
92
|
+
errorDark: string;
|
|
93
|
+
orangeMain: string;
|
|
94
|
+
orangeDark: string;
|
|
95
|
+
warningMain: string;
|
|
96
|
+
warningDark: string;
|
|
97
|
+
infoMain: string;
|
|
98
|
+
infoDark: string;
|
|
99
|
+
grey50: string;
|
|
100
|
+
grey100: string;
|
|
101
|
+
grey200: string;
|
|
102
|
+
grey300: string;
|
|
103
|
+
grey500: string;
|
|
104
|
+
grey600: string;
|
|
105
|
+
grey700: string;
|
|
106
|
+
grey900: string;
|
|
107
|
+
grey400: string;
|
|
108
|
+
grey800: string;
|
|
109
|
+
};
|
|
110
|
+
export default _default;
|
|
111
|
+
//# sourceMappingURL=colorData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorData.d.ts","sourceRoot":"","sources":["../../src/theme/colorData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wBAgJE"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HDBank C360 — Brand & Color Source of Truth
|
|
3
|
+
*
|
|
4
|
+
* This file is the canonical record of HDBank brand colors and the underlying
|
|
5
|
+
* palette scales used by the C360 Microfrontend design system.
|
|
6
|
+
*
|
|
7
|
+
* How this file relates to the design system:
|
|
8
|
+
* - Brand identity colors (`brandRed`, `brandYellow`, `brandGrey`) are fixed
|
|
9
|
+
* HDBank brand values.
|
|
10
|
+
* - Neutral scale (`neutral0`..`neutral5`) is the official surface/border/text
|
|
11
|
+
* neutral palette.
|
|
12
|
+
* - Accent scales (`yellow`, `orange`, `green`, `blue`, `red`, `purple`) are
|
|
13
|
+
* used for semantic status, focus, and state variations.
|
|
14
|
+
* - The `ui*` and `surface` / `border` / `text` tokens below are the active
|
|
15
|
+
* UI semantic layer shared with `share-lib/packages/shared-ui/src/styles.css`
|
|
16
|
+
* and the Tailwind configs. They reconcile the raw brand palette into a
|
|
17
|
+
* consistent visual contract for the Shell and all MFE child apps.
|
|
18
|
+
*
|
|
19
|
+
* Reference: `/DESIGN.md`
|
|
20
|
+
*/
|
|
21
|
+
export default {
|
|
22
|
+
// -------------------------------------------------------------------------
|
|
23
|
+
// Brand identity colors
|
|
24
|
+
// -------------------------------------------------------------------------
|
|
25
|
+
brandRed: '#BE1128',
|
|
26
|
+
brandYellow: '#FFC20E',
|
|
27
|
+
brandGrey: '#464646',
|
|
28
|
+
// -------------------------------------------------------------------------
|
|
29
|
+
// Yellow scale (warmth, highlights, active states, secondary actions)
|
|
30
|
+
// -------------------------------------------------------------------------
|
|
31
|
+
yellow5: '#F7A30A',
|
|
32
|
+
yellow4: '#F7B512',
|
|
33
|
+
yellow3: '#FCC954',
|
|
34
|
+
yellow2: '#FFDF80',
|
|
35
|
+
yellow1: '#FFECB3',
|
|
36
|
+
yellow0: '#FFF9E5',
|
|
37
|
+
// -------------------------------------------------------------------------
|
|
38
|
+
// Neutral scale (text hierarchy, surfaces, borders, backgrounds)
|
|
39
|
+
// -------------------------------------------------------------------------
|
|
40
|
+
neutral5: '#212B36',
|
|
41
|
+
neutral4: '#454F5B',
|
|
42
|
+
neutral3: '#B6BEC8',
|
|
43
|
+
neutral2: '#D3D8DE',
|
|
44
|
+
neutral1: '#EAEEF2',
|
|
45
|
+
neutral0: '#F8F9FA',
|
|
46
|
+
// -------------------------------------------------------------------------
|
|
47
|
+
// Pure tones
|
|
48
|
+
// -------------------------------------------------------------------------
|
|
49
|
+
black: '#000000',
|
|
50
|
+
white: '#ffffff',
|
|
51
|
+
// -------------------------------------------------------------------------
|
|
52
|
+
// Purple scale (special / custom status)
|
|
53
|
+
// -------------------------------------------------------------------------
|
|
54
|
+
purple5: '#6B1C3A',
|
|
55
|
+
purple4: '#A60066',
|
|
56
|
+
purple3: '#D10373',
|
|
57
|
+
purple2: '#FF99D8',
|
|
58
|
+
purple1: '#FFE5F5',
|
|
59
|
+
// -------------------------------------------------------------------------
|
|
60
|
+
// Orange scale (warnings, attention states)
|
|
61
|
+
// -------------------------------------------------------------------------
|
|
62
|
+
orange5: '#D4470F',
|
|
63
|
+
orange4: '#F56600',
|
|
64
|
+
orange3: '#FF993B',
|
|
65
|
+
orange2: '#FFB580',
|
|
66
|
+
orange1: '#FFD2B3',
|
|
67
|
+
orange0: '#FFF0E5',
|
|
68
|
+
// -------------------------------------------------------------------------
|
|
69
|
+
// Green scale (success, positive indicators)
|
|
70
|
+
// -------------------------------------------------------------------------
|
|
71
|
+
green5: '#337321',
|
|
72
|
+
green4: '#4FA800',
|
|
73
|
+
green3: '#7DBA00',
|
|
74
|
+
green2: '#ABD653',
|
|
75
|
+
green1: '#D5E5B4',
|
|
76
|
+
green0: '#F2FAE2',
|
|
77
|
+
// -------------------------------------------------------------------------
|
|
78
|
+
// Blue scale (info, links, tertiary status)
|
|
79
|
+
// -------------------------------------------------------------------------
|
|
80
|
+
blue5: '#006FD6',
|
|
81
|
+
blue4: '#1890FF',
|
|
82
|
+
blue3: '#80C2FF',
|
|
83
|
+
blue2: '#C2E1FF',
|
|
84
|
+
blue1: '#E5F3FF',
|
|
85
|
+
// -------------------------------------------------------------------------
|
|
86
|
+
// Red scale (errors, destructive actions, critical alerts)
|
|
87
|
+
// -------------------------------------------------------------------------
|
|
88
|
+
red5: '#AD2624',
|
|
89
|
+
red4: '#D12421',
|
|
90
|
+
red3: '#EB2629',
|
|
91
|
+
red2: '#FCA5A6',
|
|
92
|
+
red1: '#FDE8E8',
|
|
93
|
+
// -------------------------------------------------------------------------
|
|
94
|
+
// UI semantic layer — shared with shared-ui/styles.css and Tailwind configs.
|
|
95
|
+
// These values are the active visual contract for the Shell + MFEs.
|
|
96
|
+
// -------------------------------------------------------------------------
|
|
97
|
+
uiPrimary: '#DA2128',
|
|
98
|
+
uiPrimaryHover: '#E14E53',
|
|
99
|
+
uiPrimaryActive: '#BE1128',
|
|
100
|
+
uiPrimaryForeground: '#FFFFFF',
|
|
101
|
+
uiSecondary: '#FAA61A',
|
|
102
|
+
uiSecondaryHover: '#FFD080',
|
|
103
|
+
uiSecondaryActive: '#DC8B05',
|
|
104
|
+
uiSecondaryForeground: '#333333',
|
|
105
|
+
surface: '#FFFFFF',
|
|
106
|
+
surfaceGlass: '#FFFFFF66',
|
|
107
|
+
surfaceElevated: '#FFFFFFCC',
|
|
108
|
+
border: '#D2D6DB',
|
|
109
|
+
borderSubtle: '#E5E7EB',
|
|
110
|
+
borderGlass: '#E1E2E4',
|
|
111
|
+
textPrimary: '#384250',
|
|
112
|
+
textSecondary: '#4D5761',
|
|
113
|
+
textMuted: '#9DA4AE',
|
|
114
|
+
textBrandDark: '#333333',
|
|
115
|
+
// -------------------------------------------------------------------------
|
|
116
|
+
// Legacy semantic aliases.
|
|
117
|
+
// These are preserved for backward compatibility. New code should prefer the
|
|
118
|
+
// `ui*` tokens above or the Tailwind theme tokens from DESIGN.md.
|
|
119
|
+
// -------------------------------------------------------------------------
|
|
120
|
+
paper: '#ffffff',
|
|
121
|
+
primaryMain: '#ffc20e',
|
|
122
|
+
primaryDark: '#f7a30a',
|
|
123
|
+
secondaryMain: '#eaeef2',
|
|
124
|
+
secondaryDark: '#d3d8de',
|
|
125
|
+
successMain: '#4fa800',
|
|
126
|
+
successDark: '#337321',
|
|
127
|
+
errorMain: '#d12421',
|
|
128
|
+
errorDark: '#ad2624',
|
|
129
|
+
orangeMain: '#ffab91',
|
|
130
|
+
orangeDark: '#d84315',
|
|
131
|
+
warningMain: '#f56600',
|
|
132
|
+
warningDark: '#d4470f',
|
|
133
|
+
infoMain: '#1890ff',
|
|
134
|
+
infoDark: '#006fd6',
|
|
135
|
+
// -------------------------------------------------------------------------
|
|
136
|
+
// Legacy grey scale.
|
|
137
|
+
// Prefer the neutral0..neutral5 scale above. These aliases are kept for
|
|
138
|
+
// existing consumers that reference them directly.
|
|
139
|
+
// -------------------------------------------------------------------------
|
|
140
|
+
grey50: '#fafafa',
|
|
141
|
+
grey100: '#f5f5f5',
|
|
142
|
+
grey200: '#f8f9fa',
|
|
143
|
+
grey300: '#eaeef2',
|
|
144
|
+
grey500: '#d3d8de',
|
|
145
|
+
grey600: '#b6bec8',
|
|
146
|
+
grey700: '#454f5b',
|
|
147
|
+
grey900: '#212b36',
|
|
148
|
+
grey400: '#bdbdbd',
|
|
149
|
+
grey800: '#7B7B7B'
|
|
150
|
+
};
|
|
151
|
+
//# sourceMappingURL=colorData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorData.js","sourceRoot":"","sources":["../../src/theme/colorData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,eAAe;IACb,4EAA4E;IAC5E,wBAAwB;IACxB,4EAA4E;IAC5E,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;IACtB,SAAS,EAAE,SAAS;IAEpB,4EAA4E;IAC5E,sEAAsE;IACtE,4EAA4E;IAC5E,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAElB,4EAA4E;IAC5E,iEAAiE;IACjE,4EAA4E;IAC5E,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IAEnB,4EAA4E;IAC5E,aAAa;IACb,4EAA4E;IAC5E,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAEhB,4EAA4E;IAC5E,yCAAyC;IACzC,4EAA4E;IAC5E,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAElB,4EAA4E;IAC5E,4CAA4C;IAC5C,4EAA4E;IAC5E,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAElB,4EAA4E;IAC5E,6CAA6C;IAC7C,4EAA4E;IAC5E,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IAEjB,4EAA4E;IAC5E,4CAA4C;IAC5C,4EAA4E;IAC5E,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAEhB,4EAA4E;IAC5E,2DAA2D;IAC3D,4EAA4E;IAC5E,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IAEf,4EAA4E;IAC5E,6EAA6E;IAC7E,oEAAoE;IACpE,4EAA4E;IAC5E,SAAS,EAAE,SAAS;IACpB,cAAc,EAAE,SAAS;IACzB,eAAe,EAAE,SAAS;IAC1B,mBAAmB,EAAE,SAAS;IAE9B,WAAW,EAAE,SAAS;IACtB,gBAAgB,EAAE,SAAS;IAC3B,iBAAiB,EAAE,SAAS;IAC5B,qBAAqB,EAAE,SAAS;IAEhC,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,WAAW;IACzB,eAAe,EAAE,WAAW;IAE5B,MAAM,EAAE,SAAS;IACjB,YAAY,EAAE,SAAS;IACvB,WAAW,EAAE,SAAS;IAEtB,WAAW,EAAE,SAAS;IACtB,aAAa,EAAE,SAAS;IACxB,SAAS,EAAE,SAAS;IACpB,aAAa,EAAE,SAAS;IAExB,4EAA4E;IAC5E,2BAA2B;IAC3B,6EAA6E;IAC7E,kEAAkE;IAClE,4EAA4E;IAC5E,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IAEnB,4EAA4E;IAC5E,qBAAqB;IACrB,wEAAwE;IACxE,mDAAmD;IACnD,4EAA4E;IAC5E,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare module "@mui/material/styles" {
|
|
2
|
+
interface PaletteColor {
|
|
3
|
+
gradient: string;
|
|
4
|
+
}
|
|
5
|
+
interface SimplePaletteColorOptions {
|
|
6
|
+
gradient?: string;
|
|
7
|
+
}
|
|
8
|
+
interface Palette {
|
|
9
|
+
brand: {
|
|
10
|
+
red: string;
|
|
11
|
+
yellow: string;
|
|
12
|
+
grey: string;
|
|
13
|
+
gradient: string;
|
|
14
|
+
};
|
|
15
|
+
surface: {
|
|
16
|
+
glass: string;
|
|
17
|
+
elevated: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
interface PaletteOptions {
|
|
21
|
+
brand?: {
|
|
22
|
+
red: string;
|
|
23
|
+
yellow: string;
|
|
24
|
+
grey: string;
|
|
25
|
+
gradient: string;
|
|
26
|
+
};
|
|
27
|
+
surface?: {
|
|
28
|
+
glass: string;
|
|
29
|
+
elevated: string;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=theme-augmentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-augmentation.d.ts","sourceRoot":"","sources":["../src/theme-augmentation.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,YAAY;QACpB,QAAQ,EAAE,MAAM,CAAC;KAClB;IAED,UAAU,yBAAyB;QACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED,UAAU,OAAO;QACf,KAAK,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QACvE,OAAO,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;KAC9C;IAED,UAAU,cAAc;QACtB,KAAK,CAAC,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QACxE,OAAO,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;KAC/C;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-augmentation.js","sourceRoot":"","sources":["../src/theme-augmentation.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hdb-c360/c360-shared-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -26,17 +26,21 @@
|
|
|
26
26
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@hdb-c360/c360-shared-utils": "0.1.
|
|
30
|
-
"@radix-ui/react-slot": "^1.3.0",
|
|
31
|
-
"class-variance-authority": "^0.7.1",
|
|
32
|
-
"clsx": "^2.1.1",
|
|
33
|
-
"tailwind-merge": "^3.6.0"
|
|
29
|
+
"@hdb-c360/c360-shared-utils": "0.1.2"
|
|
34
30
|
},
|
|
35
31
|
"peerDependencies": {
|
|
36
|
-
"react": "^
|
|
32
|
+
"@emotion/react": "^11.14.0",
|
|
33
|
+
"@emotion/styled": "^11.14.1",
|
|
34
|
+
"@mui/material": "^9.1.1",
|
|
35
|
+
"react": "^19.2.7",
|
|
36
|
+
"react-dom": "^19.2.7"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@emotion/react": "^11.14.0",
|
|
40
|
+
"@emotion/styled": "^11.14.1",
|
|
41
|
+
"@mui/material": "^9.1.1",
|
|
39
42
|
"@types/react": "^19.2.17",
|
|
40
|
-
"react": "^19.2.7"
|
|
43
|
+
"react": "^19.2.7",
|
|
44
|
+
"react-dom": "^19.2.7"
|
|
41
45
|
}
|
|
42
|
-
}
|
|
46
|
+
}
|