@albi_scando/as-design-system-lib 1.7.7 → 1.8.0
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/as-design-system-lib.es.js +1229 -308
- package/dist/as-design-system-lib.umd.js +88 -11
- package/dist/styles/index.css +230 -81
- package/dist/styles/index.css.map +1 -1
- package/dist/types/main.d.ts +11 -0
- package/dist/types/web-components/alerts/alert/component.d.ts +18 -0
- package/dist/types/web-components/alerts/alert/main.d.ts +3 -0
- package/dist/types/web-components/alerts/alert/selector.d.ts +4 -0
- package/dist/types/web-components/avatars/avatar/component.d.ts +25 -0
- package/dist/types/web-components/avatars/avatar/main.d.ts +3 -0
- package/dist/types/web-components/avatars/avatar/selector.d.ts +4 -0
- package/dist/types/web-components/badges/badge/component.d.ts +18 -0
- package/dist/types/web-components/badges/badge/main.d.ts +3 -0
- package/dist/types/web-components/badges/badge/selector.d.ts +4 -0
- package/dist/types/web-components/cards/base-card/component.d.ts +14 -0
- package/dist/types/web-components/cards/base-card/main.d.ts +3 -0
- package/dist/types/web-components/cards/base-card/selector.d.ts +4 -0
- package/dist/types/web-components/inputs/text-input/component.d.ts +39 -0
- package/dist/types/web-components/inputs/text-input/main.d.ts +2 -0
- package/dist/types/web-components/inputs/text-input/selector.d.ts +1 -0
- package/dist/types/web-components/inputs/toggle/component.d.ts +24 -0
- package/dist/types/web-components/inputs/toggle/main.d.ts +2 -0
- package/dist/types/web-components/inputs/toggle/selector.d.ts +1 -0
- package/dist/types/web-components/loaders/loader-bars/component.d.ts +29 -0
- package/dist/types/web-components/loaders/loader-bars/selector.d.ts +4 -0
- package/dist/types/web-components/loaders/progress-bar/component.d.ts +23 -0
- package/dist/types/web-components/loaders/progress-bar/main.d.ts +2 -0
- package/dist/types/web-components/loaders/progress-bar/selector.d.ts +1 -0
- package/dist/types/web-components/loaders/skeleton/component.d.ts +16 -0
- package/dist/types/web-components/loaders/skeleton/main.d.ts +2 -0
- package/dist/types/web-components/loaders/skeleton/selector.d.ts +1 -0
- package/dist/types/web-components/loaders/spinner/component.d.ts +18 -0
- package/dist/types/web-components/loaders/spinner/main.d.ts +2 -0
- package/dist/types/web-components/loaders/spinner/selector.d.ts +1 -0
- package/dist/types/web-components/tags/tag/component.d.ts +20 -0
- package/dist/types/web-components/tags/tag/main.d.ts +3 -0
- package/dist/types/web-components/tags/tag/selector.d.ts +4 -0
- package/dist/types/web-components/tooltips/tooltip/component.d.ts +30 -0
- package/dist/types/web-components/tooltips/tooltip/main.d.ts +3 -0
- package/dist/types/web-components/tooltips/tooltip/selector.d.ts +4 -0
- package/package.json +2 -2
package/dist/styles/index.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* Design System - Single Entry Point */
|
|
2
3
|
/* Includes all design tokens and component styles */
|
|
3
4
|
/* Design System - Main Entry Point */
|
|
@@ -42,29 +43,29 @@
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.dark {
|
|
45
|
-
--color-bg-primary: #
|
|
46
|
-
--color-bg-secondary: #
|
|
47
|
-
--color-bg-tertiary: #
|
|
48
|
-
--color-hover-bg-primary: #
|
|
49
|
-
--color-hover-bg-secondary: #
|
|
50
|
-
--color-hover-bg-tertiary: #
|
|
51
|
-
--color-text-primary: #
|
|
52
|
-
--color-text-secondary: #
|
|
53
|
-
--color-text-tertiary: #
|
|
54
|
-
--color-border-primary: #
|
|
55
|
-
--color-border-secondary: #
|
|
56
|
-
--color-border-tertiary: #
|
|
57
|
-
--color-hover-border-primary: #
|
|
58
|
-
--color-hover-border-secondary: #
|
|
59
|
-
--color-hover-border-tertiary: #
|
|
46
|
+
--color-bg-primary: #1e1e1e;
|
|
47
|
+
--color-bg-secondary: #2a2a2a;
|
|
48
|
+
--color-bg-tertiary: #333333;
|
|
49
|
+
--color-hover-bg-primary: #2a2a2a;
|
|
50
|
+
--color-hover-bg-secondary: #333333;
|
|
51
|
+
--color-hover-bg-tertiary: #3d3d3d;
|
|
52
|
+
--color-text-primary: #f4f4f5;
|
|
53
|
+
--color-text-secondary: #a1a1aa;
|
|
54
|
+
--color-text-tertiary: #71717a;
|
|
55
|
+
--color-border-primary: #3f3f46;
|
|
56
|
+
--color-border-secondary: #52525b;
|
|
57
|
+
--color-border-tertiary: #71717a;
|
|
58
|
+
--color-hover-border-primary: #71717a;
|
|
59
|
+
--color-hover-border-secondary: #a1a1aa;
|
|
60
|
+
--color-hover-border-tertiary: #6366f1;
|
|
60
61
|
--color-primary: #6366f1;
|
|
61
62
|
--color-primary-light: #818cf8;
|
|
62
63
|
--color-primary-dark: #4f46e5;
|
|
63
|
-
--color-success: #
|
|
64
|
-
--color-warning: #
|
|
64
|
+
--color-success: #4ade80;
|
|
65
|
+
--color-warning: #fbbf24;
|
|
65
66
|
--color-error: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
|
|
66
67
|
--color-info: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
|
|
67
|
-
--window-backdrop:
|
|
68
|
+
--window-backdrop: rgba(0, 0, 0, 0.75);
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.dark-purple {
|
|
@@ -90,85 +91,233 @@
|
|
|
90
91
|
--color-warning: linear-gradient(135deg, #ffcc37 0%, #c76a00 100%);
|
|
91
92
|
--color-error: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
|
|
92
93
|
--color-info: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
|
|
93
|
-
--window-backdrop:
|
|
94
|
+
--window-backdrop: rgba(15, 11, 30, 0.85);
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
.ferrari {
|
|
97
|
-
--color-bg-primary: #
|
|
98
|
-
--color-bg-secondary: #
|
|
99
|
-
--color-bg-tertiary: #
|
|
100
|
-
--color-hover-bg-primary: #
|
|
101
|
-
--color-hover-bg-secondary: #
|
|
102
|
-
--color-hover-bg-tertiary: #
|
|
98
|
+
--color-bg-primary: #1a0000;
|
|
99
|
+
--color-bg-secondary: #cc2200;
|
|
100
|
+
--color-bg-tertiary: #0f0000;
|
|
101
|
+
--color-hover-bg-primary: #0f0000;
|
|
102
|
+
--color-hover-bg-secondary: #e02800;
|
|
103
|
+
--color-hover-bg-tertiary: #1a0000;
|
|
103
104
|
--color-text-primary: #ffffff;
|
|
104
|
-
--color-text-secondary: #
|
|
105
|
-
--color-text-tertiary: #
|
|
106
|
-
--color-border-primary: #
|
|
107
|
-
--color-border-secondary: #
|
|
108
|
-
--color-border-tertiary: #
|
|
109
|
-
--color-hover-border-primary: #
|
|
110
|
-
--color-hover-border-secondary: #
|
|
111
|
-
--color-hover-border-tertiary: #
|
|
112
|
-
--color-primary: #
|
|
113
|
-
--color-primary-light: #
|
|
114
|
-
--color-primary-dark: #
|
|
115
|
-
--color-success: #
|
|
116
|
-
--color-warning: #
|
|
117
|
-
--color-error: linear-gradient(135deg, #
|
|
118
|
-
--color-info: linear-gradient(135deg, #
|
|
119
|
-
--window-backdrop: rgba(
|
|
105
|
+
--color-text-secondary: #ffd0cc;
|
|
106
|
+
--color-text-tertiary: #ffb3ad;
|
|
107
|
+
--color-border-primary: #660000;
|
|
108
|
+
--color-border-secondary: #ff2800;
|
|
109
|
+
--color-border-tertiary: #ff6b6b;
|
|
110
|
+
--color-hover-border-primary: #ff2800;
|
|
111
|
+
--color-hover-border-secondary: #ff6b6b;
|
|
112
|
+
--color-hover-border-tertiary: #ffb3ad;
|
|
113
|
+
--color-primary: #ff2800;
|
|
114
|
+
--color-primary-light: #ff6b6b;
|
|
115
|
+
--color-primary-dark: #cc0000;
|
|
116
|
+
--color-success: #4caf50;
|
|
117
|
+
--color-warning: #ff9800;
|
|
118
|
+
--color-error: linear-gradient(135deg, #ff8a80 0%, #d50000 100%);
|
|
119
|
+
--color-info: linear-gradient(135deg, #82b1ff 0%, #2979ff 100%);
|
|
120
|
+
--window-backdrop: rgba(15, 0, 0, 0.8);
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
.light {
|
|
123
124
|
--color-bg-primary: #fbfbfb;
|
|
124
|
-
--color-bg-secondary: #
|
|
125
|
-
--color-bg-tertiary: #
|
|
126
|
-
--color-hover-bg-primary: #
|
|
127
|
-
--color-hover-bg-secondary: #
|
|
128
|
-
--color-hover-bg-tertiary: #
|
|
125
|
+
--color-bg-secondary: #f0f0f0;
|
|
126
|
+
--color-bg-tertiary: #e8e8e8;
|
|
127
|
+
--color-hover-bg-primary: #f0f0f0;
|
|
128
|
+
--color-hover-bg-secondary: #e0e0e0;
|
|
129
|
+
--color-hover-bg-tertiary: #d4d4d4;
|
|
129
130
|
--color-text-primary: #141414;
|
|
130
|
-
--color-text-secondary: #
|
|
131
|
-
--color-text-tertiary: #
|
|
131
|
+
--color-text-secondary: #555555;
|
|
132
|
+
--color-text-tertiary: #888888;
|
|
132
133
|
--color-border-primary: #d8d8d8;
|
|
133
|
-
--color-border-secondary: #
|
|
134
|
-
--color-border-tertiary: #
|
|
135
|
-
--color-hover-border-primary: #
|
|
136
|
-
--color-hover-border-secondary: #
|
|
137
|
-
--color-hover-border-tertiary: #
|
|
134
|
+
--color-border-secondary: #c4c4c4;
|
|
135
|
+
--color-border-tertiary: #b0b0b0;
|
|
136
|
+
--color-hover-border-primary: #888888;
|
|
137
|
+
--color-hover-border-secondary: #aaaaaa;
|
|
138
|
+
--color-hover-border-tertiary: #6366f1;
|
|
138
139
|
--color-primary: #6366f1;
|
|
139
140
|
--color-primary-light: #818cf8;
|
|
140
141
|
--color-primary-dark: #4f46e5;
|
|
141
|
-
--color-success: #
|
|
142
|
-
--color-warning: #
|
|
142
|
+
--color-success: #22c55e;
|
|
143
|
+
--color-warning: #f59e0b;
|
|
143
144
|
--color-error: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
|
|
144
|
-
--color-info: linear-gradient(135deg, #
|
|
145
|
-
--window-backdrop:
|
|
145
|
+
--color-info: linear-gradient(135deg, #60a5fa 0%, #6366f1 100%);
|
|
146
|
+
--window-backdrop: rgba(247, 247, 247, 0.8);
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
.light-blue {
|
|
149
|
-
--color-bg-primary: #
|
|
150
|
-
--color-bg-secondary:
|
|
151
|
-
--color-bg-tertiary: #
|
|
152
|
-
--color-hover-bg-primary: #
|
|
153
|
-
--color-hover-bg-secondary:
|
|
154
|
-
--color-hover-bg-tertiary: #
|
|
155
|
-
--color-text-primary: #
|
|
156
|
-
--color-text-secondary: #
|
|
157
|
-
--color-text-tertiary: #
|
|
158
|
-
--color-border-primary: #
|
|
159
|
-
--color-border-secondary: #
|
|
160
|
-
--color-border-tertiary: #
|
|
161
|
-
--color-hover-border-primary: #
|
|
162
|
-
--color-hover-border-secondary: #
|
|
163
|
-
--color-hover-border-tertiary: #
|
|
164
|
-
--color-primary: #
|
|
165
|
-
--color-primary-light: #
|
|
166
|
-
--color-primary-dark: #
|
|
167
|
-
--color-success: linear-gradient(135deg, #
|
|
168
|
-
--color-warning: linear-gradient(135deg, #
|
|
169
|
-
--color-error: linear-gradient(135deg, #
|
|
170
|
-
--color-info: linear-gradient(135deg, #
|
|
171
|
-
--window-backdrop:
|
|
150
|
+
--color-bg-primary: #f0f8ff;
|
|
151
|
+
--color-bg-secondary: #dbeeff;
|
|
152
|
+
--color-bg-tertiary: #c3e0ff;
|
|
153
|
+
--color-hover-bg-primary: #e0f0ff;
|
|
154
|
+
--color-hover-bg-secondary: #c3e0ff;
|
|
155
|
+
--color-hover-bg-tertiary: #a8d4f8;
|
|
156
|
+
--color-text-primary: #0d2b4a;
|
|
157
|
+
--color-text-secondary: #2563a8;
|
|
158
|
+
--color-text-tertiary: #4a90d9;
|
|
159
|
+
--color-border-primary: #bdd9f5;
|
|
160
|
+
--color-border-secondary: #90bfe8;
|
|
161
|
+
--color-border-tertiary: #5ea3da;
|
|
162
|
+
--color-hover-border-primary: #4a90d9;
|
|
163
|
+
--color-hover-border-secondary: #2563a8;
|
|
164
|
+
--color-hover-border-tertiary: #1e4a8c;
|
|
165
|
+
--color-primary: #1976d2;
|
|
166
|
+
--color-primary-light: #42a5f5;
|
|
167
|
+
--color-primary-dark: #0d47a1;
|
|
168
|
+
--color-success: linear-gradient(135deg, #a5d6a7 0%, #43a047 100%);
|
|
169
|
+
--color-warning: linear-gradient(135deg, #ffe082 0%, #ffa000 100%);
|
|
170
|
+
--color-error: linear-gradient(135deg, #ef9a9a 0%, #e53935 100%);
|
|
171
|
+
--color-info: linear-gradient(135deg, #81d4fa 0%, #0288d1 100%);
|
|
172
|
+
--window-backdrop: rgba(176, 213, 245, 0.75);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Forest — deep, earthy, organic. Lush greens, mossy shadows, bioluminescent accents. */
|
|
176
|
+
.forest {
|
|
177
|
+
--color-bg-primary: #0c150b;
|
|
178
|
+
--color-bg-secondary: linear-gradient(
|
|
179
|
+
160deg,
|
|
180
|
+
#162613 0%,
|
|
181
|
+
#0c1c0a 60%,
|
|
182
|
+
#1a2d10 100%
|
|
183
|
+
);
|
|
184
|
+
--color-bg-tertiary: #070e06;
|
|
185
|
+
--color-hover-bg-primary: #172314;
|
|
186
|
+
--color-hover-bg-secondary: linear-gradient(
|
|
187
|
+
160deg,
|
|
188
|
+
#1e3219 0%,
|
|
189
|
+
#11230d 60%,
|
|
190
|
+
#233d16 100%
|
|
191
|
+
);
|
|
192
|
+
--color-hover-bg-tertiary: #0c150b;
|
|
193
|
+
--color-text-primary: #dff5d6;
|
|
194
|
+
--color-text-secondary: #8ec97a;
|
|
195
|
+
--color-text-tertiary: #5a9946;
|
|
196
|
+
--color-border-primary: #1e3a18;
|
|
197
|
+
--color-border-secondary: #2d5c22;
|
|
198
|
+
--color-border-tertiary: #3d7c2e;
|
|
199
|
+
--color-hover-border-primary: #4a9c38;
|
|
200
|
+
--color-hover-border-secondary: #62c44a;
|
|
201
|
+
--color-hover-border-tertiary: #84e060;
|
|
202
|
+
--color-primary: #3ddc60;
|
|
203
|
+
--color-primary-light: #7aeea0;
|
|
204
|
+
--color-primary-dark: #1c8f3e;
|
|
205
|
+
--color-success: #7aeea0;
|
|
206
|
+
--color-warning: #e8d84a;
|
|
207
|
+
--color-error: linear-gradient(135deg, #f4846e 0%, #c0392b 100%);
|
|
208
|
+
--color-info: linear-gradient(135deg, #5be8cc 0%, #0fa892 100%);
|
|
209
|
+
--window-backdrop: rgba(7, 14, 6, 0.82);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Water — abyssal ocean depth. Near-black navy base, electric cyan accents, bioluminescent glow. */
|
|
213
|
+
.water {
|
|
214
|
+
--color-bg-primary: #030d1c;
|
|
215
|
+
--color-bg-secondary: linear-gradient(
|
|
216
|
+
160deg,
|
|
217
|
+
#061e3a 0%,
|
|
218
|
+
#030d1c 55%,
|
|
219
|
+
#042038 100%
|
|
220
|
+
);
|
|
221
|
+
--color-bg-tertiary: #010810;
|
|
222
|
+
--color-hover-bg-primary: #06162e;
|
|
223
|
+
--color-hover-bg-secondary: linear-gradient(
|
|
224
|
+
160deg,
|
|
225
|
+
#082648 0%,
|
|
226
|
+
#061020 55%,
|
|
227
|
+
#0a2844 100%
|
|
228
|
+
);
|
|
229
|
+
--color-hover-bg-tertiary: #030d1c;
|
|
230
|
+
--color-text-primary: #cef4ff;
|
|
231
|
+
--color-text-secondary: #5cc8ee;
|
|
232
|
+
--color-text-tertiary: #2ea8d4;
|
|
233
|
+
--color-border-primary: #083050;
|
|
234
|
+
--color-border-secondary: #0d5080;
|
|
235
|
+
--color-border-tertiary: #1478b4;
|
|
236
|
+
--color-hover-border-primary: #1c98d8;
|
|
237
|
+
--color-hover-border-secondary: #26bef5;
|
|
238
|
+
--color-hover-border-tertiary: #5ed5ff;
|
|
239
|
+
--color-primary: #06d6f5;
|
|
240
|
+
--color-primary-light: #64e8ff;
|
|
241
|
+
--color-primary-dark: #0299b8;
|
|
242
|
+
--color-success: #40e4c2;
|
|
243
|
+
--color-warning: #ffe05a;
|
|
244
|
+
--color-error: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
|
|
245
|
+
--color-info: linear-gradient(135deg, #06d6f5 0%, #0299b8 100%);
|
|
246
|
+
--window-backdrop: rgba(1, 8, 16, 0.88);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* Fire — vivid, vibrant, energetic. Blazing flames, glowing embers, explosive energy. Pure fire! */
|
|
250
|
+
.fire {
|
|
251
|
+
--color-bg-primary: #0a0000;
|
|
252
|
+
--color-bg-secondary: linear-gradient(
|
|
253
|
+
160deg,
|
|
254
|
+
#3d0f00 0%,
|
|
255
|
+
#1a0200 55%,
|
|
256
|
+
#4a1a00 100%
|
|
257
|
+
);
|
|
258
|
+
--color-bg-tertiary: #020000;
|
|
259
|
+
--color-hover-bg-primary: #2a0800;
|
|
260
|
+
--color-hover-bg-secondary: linear-gradient(
|
|
261
|
+
160deg,
|
|
262
|
+
#5a2000 0%,
|
|
263
|
+
#300600 55%,
|
|
264
|
+
#6a2800 100%
|
|
265
|
+
);
|
|
266
|
+
--color-hover-bg-tertiary: #1a0400;
|
|
267
|
+
--color-text-primary: #fff8f0;
|
|
268
|
+
--color-text-secondary: #ffcc66;
|
|
269
|
+
--color-text-tertiary: #ff8822;
|
|
270
|
+
--color-border-primary: #ff5500;
|
|
271
|
+
--color-border-secondary: #ff3300;
|
|
272
|
+
--color-border-tertiary: #ff0000;
|
|
273
|
+
--color-hover-border-primary: #ff9933;
|
|
274
|
+
--color-hover-border-secondary: #ffcc00;
|
|
275
|
+
--color-hover-border-tertiary: #ffff00;
|
|
276
|
+
--color-primary: #ff4400;
|
|
277
|
+
--color-primary-light: #ffaa33;
|
|
278
|
+
--color-primary-dark: #ff0000;
|
|
279
|
+
--color-success: #90ff00;
|
|
280
|
+
--color-warning: #ffdd00;
|
|
281
|
+
--color-error: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
|
|
282
|
+
--color-info: linear-gradient(135deg, #ff6600 0%, #ff0000 100%);
|
|
283
|
+
--window-backdrop: rgba(10, 0, 0, 0.92);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* Cosmo — deep space cyberpunk. Absolute black, electric violet + neon cyan, futuristic UI grid. */
|
|
287
|
+
.cosmo {
|
|
288
|
+
--color-bg-primary: #04020e;
|
|
289
|
+
--color-bg-secondary: linear-gradient(
|
|
290
|
+
160deg,
|
|
291
|
+
#0e073a 0%,
|
|
292
|
+
#060318 55%,
|
|
293
|
+
#130540 100%
|
|
294
|
+
);
|
|
295
|
+
--color-bg-tertiary: #020008;
|
|
296
|
+
--color-hover-bg-primary: #0a0620;
|
|
297
|
+
--color-hover-bg-secondary: linear-gradient(
|
|
298
|
+
160deg,
|
|
299
|
+
#150a50 0%,
|
|
300
|
+
#0a0528 55%,
|
|
301
|
+
#1a0858 100%
|
|
302
|
+
);
|
|
303
|
+
--color-hover-bg-tertiary: #04020e;
|
|
304
|
+
--color-text-primary: #f4edff;
|
|
305
|
+
--color-text-secondary: #a78bfa;
|
|
306
|
+
--color-text-tertiary: #7c3aed;
|
|
307
|
+
--color-border-primary: #1e1060;
|
|
308
|
+
--color-border-secondary: #3c22a0;
|
|
309
|
+
--color-border-tertiary: #6830d8;
|
|
310
|
+
--color-hover-border-primary: #8b5cf6;
|
|
311
|
+
--color-hover-border-secondary: #a78bfa;
|
|
312
|
+
--color-hover-border-tertiary: #22d3ee;
|
|
313
|
+
--color-primary: #8b5cf6;
|
|
314
|
+
--color-primary-light: #c4b5fd;
|
|
315
|
+
--color-primary-dark: #5b21b6;
|
|
316
|
+
--color-success: linear-gradient(135deg, #34d399 0%, #059669 100%);
|
|
317
|
+
--color-warning: linear-gradient(135deg, #fde68a 0%, #d97706 100%);
|
|
318
|
+
--color-error: linear-gradient(135deg, #f87171 0%, #991b1b 100%);
|
|
319
|
+
--color-info: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
|
|
320
|
+
--window-backdrop: rgba(2, 0, 8, 0.92);
|
|
172
321
|
}
|
|
173
322
|
|
|
174
323
|
:root {
|
|
@@ -180,7 +329,7 @@
|
|
|
180
329
|
--color-neutral-400: #9ca3af;
|
|
181
330
|
--color-neutral-500: #6b7280;
|
|
182
331
|
--color-neutral-600: #4b5563;
|
|
183
|
-
--color-neutral-700: #
|
|
332
|
+
--color-neutral-700: #374151;
|
|
184
333
|
--color-neutral-800: #1f2937;
|
|
185
334
|
--color-neutral-900: #111827;
|
|
186
335
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/library/themes/index.scss","../../src/library/themes/themes.scss","../../src/library/themes/tokens/typography.scss","../../src/library/themes/tokens/colors/dark.scss","../../src/library/themes/tokens/colors/dark-purple.scss","../../src/library/themes/tokens/colors/ferrari.scss","../../src/library/themes/tokens/colors/light.scss","../../src/library/themes/tokens/colors/light-blue.scss","../../src/library/themes/tokens/colors.scss","../../src/library/themes/tokens/spacing.scss"],"names":[],"mappings":"AAAA;AACA;ACDA;AAEA;ACFA;AAEA;AACE;EACA;AAAA;AAAA;EAGA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;;;AC1CF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/library/themes/index.scss","../../src/library/themes/themes.scss","../../src/library/themes/tokens/typography.scss","../../src/library/themes/tokens/colors/dark.scss","../../src/library/themes/tokens/colors/dark-purple.scss","../../src/library/themes/tokens/colors/ferrari.scss","../../src/library/themes/tokens/colors/light.scss","../../src/library/themes/tokens/colors/light-blue.scss","../../src/library/themes/tokens/colors/forest.scss","../../src/library/themes/tokens/colors/water.scss","../../src/library/themes/tokens/colors/fire.scss","../../src/library/themes/tokens/colors/cosmo.scss","../../src/library/themes/tokens/colors.scss","../../src/library/themes/tokens/spacing.scss"],"names":[],"mappings":";AAAA;AACA;ACDA;AAEA;ACFA;AAEA;AACE;EACA;AAAA;AAAA;EAGA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;;;AC1CF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC9BF;AACA;EACE;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;ACzCF;AACA;EACE;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;ACzCF;AACA;EACE;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;ACzCF;AACA;EACE;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;EAMA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;;;AC/BF;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACrBF;AAEA;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EAEA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;AAAA;EAEA;AAAA;EAEA;AAAA;EAEA;AAEA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;;;AZ/DF;AAAA;AAAA;AAAA","file":"index.css"}
|
package/dist/types/main.d.ts
CHANGED
|
@@ -12,3 +12,14 @@ export * as BaseDialog from './web-components/dialogs/base-dialog/main.ts';
|
|
|
12
12
|
export * as ConfirmationDialog from './web-components/dialogs/confirmation-dialog/main.ts';
|
|
13
13
|
export * as HeaderBodyFooterDialog from './web-components/dialogs/header-body-footer-dialog/main.ts';
|
|
14
14
|
export * as BarMenu from './web-components/menus/bar-menu/main.ts';
|
|
15
|
+
export * as Spinner from './web-components/loaders/spinner/main.ts';
|
|
16
|
+
export * as ProgressBar from './web-components/loaders/progress-bar/main.ts';
|
|
17
|
+
export * as Skeleton from './web-components/loaders/skeleton/main.ts';
|
|
18
|
+
export * as BaseCard from './web-components/cards/base-card/main.ts';
|
|
19
|
+
export * as Badge from './web-components/badges/badge/main.ts';
|
|
20
|
+
export * as Alert from './web-components/alerts/alert/main.ts';
|
|
21
|
+
export * as Tag from './web-components/tags/tag/main.ts';
|
|
22
|
+
export * as Avatar from './web-components/avatars/avatar/main.ts';
|
|
23
|
+
export * as Tooltip from './web-components/tooltips/tooltip/main.ts';
|
|
24
|
+
export * as TextInput from './web-components/inputs/text-input/main.ts';
|
|
25
|
+
export * as Toggle from './web-components/inputs/toggle/main.ts';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
2
|
+
export declare class AlertComponent extends HTMLElement {
|
|
3
|
+
private static readonly _variantAttribute;
|
|
4
|
+
private static readonly _dismissibleAttribute;
|
|
5
|
+
constructor();
|
|
6
|
+
static get observedAttributes(): string[];
|
|
7
|
+
get variant(): AlertVariant;
|
|
8
|
+
set variant(v: AlertVariant);
|
|
9
|
+
get dismissible(): boolean;
|
|
10
|
+
set dismissible(v: boolean);
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
attributeChangedCallback(_name: string, oldValue: string | null, newValue: string | null): void;
|
|
14
|
+
private _handleClose;
|
|
15
|
+
private _addEventListeners;
|
|
16
|
+
private _removeEventListeners;
|
|
17
|
+
private _render;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
3
|
+
export type AvatarColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
4
|
+
export declare class AvatarComponent extends HTMLElement {
|
|
5
|
+
private static readonly _srcAttribute;
|
|
6
|
+
private static readonly _altAttribute;
|
|
7
|
+
private static readonly _initialsAttribute;
|
|
8
|
+
private static readonly _sizeAttribute;
|
|
9
|
+
private static readonly _shapeAttribute;
|
|
10
|
+
private static readonly _colorAttribute;
|
|
11
|
+
constructor();
|
|
12
|
+
static get observedAttributes(): string[];
|
|
13
|
+
get src(): string;
|
|
14
|
+
set src(v: string);
|
|
15
|
+
get alt(): string;
|
|
16
|
+
set alt(v: string);
|
|
17
|
+
get initials(): string;
|
|
18
|
+
set initials(v: string);
|
|
19
|
+
get size(): AvatarSize;
|
|
20
|
+
set size(v: AvatarSize);
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
23
|
+
private _render;
|
|
24
|
+
private _update;
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type BadgeVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'outline';
|
|
2
|
+
export type BadgeSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export declare class BadgeComponent extends HTMLElement {
|
|
4
|
+
private static readonly _variantAttribute;
|
|
5
|
+
private static readonly _sizeAttribute;
|
|
6
|
+
private static readonly _dotAttribute;
|
|
7
|
+
constructor();
|
|
8
|
+
static get observedAttributes(): string[];
|
|
9
|
+
get variant(): BadgeVariant;
|
|
10
|
+
set variant(v: BadgeVariant);
|
|
11
|
+
get size(): BadgeSize;
|
|
12
|
+
set size(v: BadgeSize);
|
|
13
|
+
get dot(): boolean;
|
|
14
|
+
set dot(v: boolean);
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
attributeChangedCallback(_name: string, oldValue: string | null, newValue: string | null): void;
|
|
17
|
+
private _render;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type CardVariant = 'default' | 'outlined' | 'elevated' | 'filled';
|
|
2
|
+
export declare class BaseCardComponent extends HTMLElement {
|
|
3
|
+
private static readonly _variantAttribute;
|
|
4
|
+
private static readonly _hoverableAttribute;
|
|
5
|
+
constructor();
|
|
6
|
+
static get observedAttributes(): string[];
|
|
7
|
+
get variant(): CardVariant;
|
|
8
|
+
set variant(v: CardVariant);
|
|
9
|
+
get hoverable(): boolean;
|
|
10
|
+
set hoverable(v: boolean);
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
attributeChangedCallback(_name: string, oldValue: string | null, newValue: string | null): void;
|
|
13
|
+
private _render;
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type InputState = 'default' | 'error' | 'success';
|
|
2
|
+
export type InputSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type InputType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
|
|
4
|
+
export declare class TextInputComponent extends HTMLElement {
|
|
5
|
+
private static readonly _labelAttribute;
|
|
6
|
+
private static readonly _placeholderAttribute;
|
|
7
|
+
private static readonly _valueAttribute;
|
|
8
|
+
private static readonly _typeAttribute;
|
|
9
|
+
private static readonly _disabledAttribute;
|
|
10
|
+
private static readonly _requiredAttribute;
|
|
11
|
+
private static readonly _stateAttribute;
|
|
12
|
+
private static readonly _helperAttribute;
|
|
13
|
+
private static readonly _sizeAttribute;
|
|
14
|
+
private static readonly _nameAttribute;
|
|
15
|
+
constructor();
|
|
16
|
+
static get observedAttributes(): string[];
|
|
17
|
+
get value(): string;
|
|
18
|
+
set value(v: string);
|
|
19
|
+
get label(): string;
|
|
20
|
+
set label(v: string);
|
|
21
|
+
get placeholder(): string;
|
|
22
|
+
set placeholder(v: string);
|
|
23
|
+
get disabled(): boolean;
|
|
24
|
+
set disabled(v: boolean);
|
|
25
|
+
get state(): InputState;
|
|
26
|
+
set state(v: InputState);
|
|
27
|
+
get helper(): string;
|
|
28
|
+
set helper(v: string);
|
|
29
|
+
private get _inputElement();
|
|
30
|
+
connectedCallback(): void;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
33
|
+
private _handleInput;
|
|
34
|
+
private _handleChange;
|
|
35
|
+
private _addEventListeners;
|
|
36
|
+
private _removeEventListeners;
|
|
37
|
+
private _syncAttribute;
|
|
38
|
+
private _render;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const selector = "ds-text-input";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ToggleVariant = 'primary' | 'success' | 'warning' | 'error';
|
|
2
|
+
export type ToggleSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export declare class ToggleComponent extends HTMLElement {
|
|
4
|
+
private static readonly _checkedAttribute;
|
|
5
|
+
private static readonly _disabledAttribute;
|
|
6
|
+
private static readonly _variantAttribute;
|
|
7
|
+
private static readonly _sizeAttribute;
|
|
8
|
+
private static readonly _nameAttribute;
|
|
9
|
+
private static readonly _valueAttribute;
|
|
10
|
+
constructor();
|
|
11
|
+
static get observedAttributes(): string[];
|
|
12
|
+
get checked(): boolean;
|
|
13
|
+
set checked(v: boolean);
|
|
14
|
+
get disabled(): boolean;
|
|
15
|
+
set disabled(v: boolean);
|
|
16
|
+
private get _inputElement();
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
20
|
+
private _handleChange;
|
|
21
|
+
private _addEventListeners;
|
|
22
|
+
private _removeEventListeners;
|
|
23
|
+
private _render;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const selector = "ds-toggle";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class LoaderBarsComponent extends HTMLElement {
|
|
2
|
+
private static readonly _labelAttribute;
|
|
3
|
+
private static readonly _loadingAttribute;
|
|
4
|
+
/**
|
|
5
|
+
* @constructor
|
|
6
|
+
*/
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Specifies which attributes should be observed for changes.
|
|
10
|
+
*/
|
|
11
|
+
static get observedAttributes(): string[];
|
|
12
|
+
set loading(value: boolean);
|
|
13
|
+
set label(value: string);
|
|
14
|
+
/**
|
|
15
|
+
* Lifecycle hook: component inserted into DOM
|
|
16
|
+
*/
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Lifecycle hook: component removed from DOM
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Lifecycle hook: observed attribute changed
|
|
23
|
+
*/
|
|
24
|
+
attributeChangedCallback(name: string, _oldValue: string | null, _newValue: string | null): void;
|
|
25
|
+
/**
|
|
26
|
+
* Render the component's Shadow DOM structure
|
|
27
|
+
*/
|
|
28
|
+
private _render;
|
|
29
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type ProgressBarVariant = 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
2
|
+
export type ProgressBarSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export declare class ProgressBarComponent extends HTMLElement {
|
|
4
|
+
private static readonly _valueAttribute;
|
|
5
|
+
private static readonly _variantAttribute;
|
|
6
|
+
private static readonly _sizeAttribute;
|
|
7
|
+
private static readonly _indeterminateAttribute;
|
|
8
|
+
private static readonly _showLabelAttribute;
|
|
9
|
+
private static readonly _labelAttribute;
|
|
10
|
+
constructor();
|
|
11
|
+
static get observedAttributes(): string[];
|
|
12
|
+
get value(): number;
|
|
13
|
+
set value(v: number);
|
|
14
|
+
get variant(): ProgressBarVariant;
|
|
15
|
+
set variant(v: ProgressBarVariant);
|
|
16
|
+
get indeterminate(): boolean;
|
|
17
|
+
set indeterminate(v: boolean);
|
|
18
|
+
get showLabel(): boolean;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
attributeChangedCallback(_name: string, oldValue: string | null, newValue: string | null): void;
|
|
21
|
+
private _render;
|
|
22
|
+
private _update;
|
|
23
|
+
}
|