@axzydev/axzy_ui_system 1.0.166 → 1.0.168
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/index.cjs +2494 -589
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +659 -8
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +105 -33
- package/dist/index.d.ts +105 -33
- package/dist/index.js +2473 -573
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/theme/theme.ts +21 -21
package/package.json
CHANGED
package/src/theme/theme.ts
CHANGED
|
@@ -272,17 +272,17 @@ export const components = {
|
|
|
272
272
|
},
|
|
273
273
|
|
|
274
274
|
card: {
|
|
275
|
-
backgroundColor: '#ffffff',
|
|
275
|
+
backgroundColor: 'var(--card-bg, #ffffff)',
|
|
276
276
|
borderRadius: '1rem',
|
|
277
|
-
borderColor: semanticColors.gray[200]
|
|
277
|
+
borderColor: `var(--card-border, ${semanticColors.gray[200]})`,
|
|
278
278
|
borderWidth: '1px',
|
|
279
|
-
shadow: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
|
279
|
+
shadow: 'var(--card-shadow, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1))',
|
|
280
280
|
hover: {
|
|
281
|
-
shadow: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
|
281
|
+
shadow: 'var(--card-shadow-hover, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1))',
|
|
282
282
|
},
|
|
283
283
|
header: {
|
|
284
|
-
backgroundColor: semanticColors.gray[50]
|
|
285
|
-
borderBottom: `1px solid var(--color-secondary-200)`,
|
|
284
|
+
backgroundColor: `var(--card-header-bg, ${semanticColors.gray[50]})`,
|
|
285
|
+
borderBottom: `1px solid var(--card-header-border, var(--color-secondary-200))`,
|
|
286
286
|
padding: '1rem 1.5rem',
|
|
287
287
|
borderTopLeftRadius: '1rem',
|
|
288
288
|
borderTopRightRadius: '1rem',
|
|
@@ -293,23 +293,23 @@ export const components = {
|
|
|
293
293
|
},
|
|
294
294
|
|
|
295
295
|
input: {
|
|
296
|
-
backgroundColor: '#ffffff',
|
|
297
|
-
borderColor: semanticColors.gray[300]
|
|
296
|
+
backgroundColor: 'var(--input-bg, #ffffff)',
|
|
297
|
+
borderColor: `var(--input-border, ${semanticColors.gray[300]})`,
|
|
298
298
|
borderRadius: '0.5rem',
|
|
299
299
|
padding: '0.5rem 0.75rem',
|
|
300
300
|
fontSize: '0.875rem',
|
|
301
301
|
focus: {
|
|
302
|
-
borderColor: semanticColors.primary[500]
|
|
303
|
-
ring: `0 0 0 3px ${semanticColors.primary[100]}`,
|
|
302
|
+
borderColor: `var(--input-focus-border, ${semanticColors.primary[500]})`,
|
|
303
|
+
ring: `var(--input-focus-ring, 0 0 0 3px ${semanticColors.primary[100]})`,
|
|
304
304
|
},
|
|
305
|
-
placeholder: semanticColors.gray[400]
|
|
305
|
+
placeholder: `var(--input-placeholder, ${semanticColors.gray[400]})`,
|
|
306
306
|
disabled: {
|
|
307
|
-
backgroundColor: semanticColors.gray[100]
|
|
308
|
-
borderColor: semanticColors.gray[200]
|
|
307
|
+
backgroundColor: `var(--input-disabled-bg, ${semanticColors.gray[100]})`,
|
|
308
|
+
borderColor: `var(--input-disabled-border, ${semanticColors.gray[200]})`,
|
|
309
309
|
},
|
|
310
310
|
error: {
|
|
311
|
-
borderColor: semanticColors.danger[500]
|
|
312
|
-
ring: `0 0 0 3px ${semanticColors.danger[100]}`,
|
|
311
|
+
borderColor: `var(--input-error-border, ${semanticColors.danger[500]})`,
|
|
312
|
+
ring: `var(--input-error-ring, 0 0 0 3px ${semanticColors.danger[100]})`,
|
|
313
313
|
},
|
|
314
314
|
},
|
|
315
315
|
|
|
@@ -360,24 +360,24 @@ export const components = {
|
|
|
360
360
|
|
|
361
361
|
modal: {
|
|
362
362
|
overlay: {
|
|
363
|
-
backgroundColor: 'rgba(15, 23, 42, 0.75)',
|
|
363
|
+
backgroundColor: 'var(--modal-overlay, rgba(15, 23, 42, 0.75))',
|
|
364
364
|
},
|
|
365
365
|
content: {
|
|
366
|
-
backgroundColor: '#ffffff',
|
|
366
|
+
backgroundColor: 'var(--modal-bg, #ffffff)',
|
|
367
367
|
borderRadius: '1rem',
|
|
368
|
-
shadow: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
|
368
|
+
shadow: 'var(--modal-shadow, 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1))',
|
|
369
369
|
},
|
|
370
370
|
header: {
|
|
371
371
|
padding: '1.5rem 1.5rem 0.5rem 1.5rem',
|
|
372
|
-
borderBottom: `1px solid var(--color-secondary-200)`,
|
|
372
|
+
borderBottom: `1px solid var(--modal-header-border, var(--color-secondary-200))`,
|
|
373
373
|
},
|
|
374
374
|
body: {
|
|
375
375
|
padding: '1.5rem',
|
|
376
376
|
},
|
|
377
377
|
footer: {
|
|
378
378
|
padding: '1rem 1.5rem',
|
|
379
|
-
borderTop: `1px solid var(--color-secondary-200)`,
|
|
380
|
-
backgroundColor: semanticColors.gray[50]
|
|
379
|
+
borderTop: `1px solid var(--modal-footer-border, var(--color-secondary-200))`,
|
|
380
|
+
backgroundColor: `var(--modal-footer-bg, ${semanticColors.gray[50]})`,
|
|
381
381
|
},
|
|
382
382
|
},
|
|
383
383
|
|