@work-rjkashyap/unified-ui 0.2.1 → 0.2.3

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQEFOXYBO_cjs = require('./chunk-QEFOXYBO.cjs');
3
+ var chunkZBGR7MUW_cjs = require('./chunk-ZBGR7MUW.cjs');
4
4
  var chunkECIGDEAH_cjs = require('./chunk-ECIGDEAH.cjs');
5
5
  var chunkXCKK6P46_cjs = require('./chunk-XCKK6P46.cjs');
6
6
  var chunk4ON3M3OM_cjs = require('./chunk-4ON3M3OM.cjs');
@@ -138,10 +138,10 @@ function mapRecord(varNames, values) {
138
138
  }
139
139
  function buildLightThemeVars() {
140
140
  return {
141
- ...mapRecord(colorVarNames, chunkQEFOXYBO_cjs.semanticLight),
142
- ...mapRecord(radiusVarNames, chunkQEFOXYBO_cjs.radius),
143
- ...mapRecord(shadowVarNames, chunkQEFOXYBO_cjs.shadow),
144
- ...mapRecord(zIndexVarNames, chunkQEFOXYBO_cjs.zIndex),
141
+ ...mapRecord(colorVarNames, chunkZBGR7MUW_cjs.semanticLight),
142
+ ...mapRecord(radiusVarNames, chunkZBGR7MUW_cjs.radius),
143
+ ...mapRecord(shadowVarNames, chunkZBGR7MUW_cjs.shadow),
144
+ ...mapRecord(zIndexVarNames, chunkZBGR7MUW_cjs.zIndex),
145
145
  ...mapRecord(durationVarNames, chunkXCKK6P46_cjs.durationCSS),
146
146
  ...mapRecord(easingVarNames, chunkXCKK6P46_cjs.easingCSS),
147
147
  ...mapRecord(fontFamilyVarNames, chunkECIGDEAH_cjs.fontFamily)
@@ -149,10 +149,10 @@ function buildLightThemeVars() {
149
149
  }
150
150
  function buildDarkThemeVars() {
151
151
  return {
152
- ...mapRecord(colorVarNames, chunkQEFOXYBO_cjs.semanticDark),
153
- ...mapRecord(radiusVarNames, chunkQEFOXYBO_cjs.radius),
154
- ...mapRecord(shadowVarNames, chunkQEFOXYBO_cjs.shadowDark),
155
- ...mapRecord(zIndexVarNames, chunkQEFOXYBO_cjs.zIndex),
152
+ ...mapRecord(colorVarNames, chunkZBGR7MUW_cjs.semanticDark),
153
+ ...mapRecord(radiusVarNames, chunkZBGR7MUW_cjs.radius),
154
+ ...mapRecord(shadowVarNames, chunkZBGR7MUW_cjs.shadowDark),
155
+ ...mapRecord(zIndexVarNames, chunkZBGR7MUW_cjs.zIndex),
156
156
  ...mapRecord(durationVarNames, chunkXCKK6P46_cjs.durationCSS),
157
157
  ...mapRecord(easingVarNames, chunkXCKK6P46_cjs.easingCSS),
158
158
  ...mapRecord(fontFamilyVarNames, chunkECIGDEAH_cjs.fontFamily)
@@ -215,48 +215,48 @@ var cssVar = {
215
215
 
216
216
  // src/theme/presets.ts
217
217
  var STATUS_LIGHT = {
218
- success: chunkQEFOXYBO_cjs.green[600],
218
+ success: chunkZBGR7MUW_cjs.green[600],
219
219
  successForeground: "oklch(0.145 0 0)",
220
- successMuted: chunkQEFOXYBO_cjs.green[50],
221
- successMutedForeground: chunkQEFOXYBO_cjs.green[700],
222
- warning: chunkQEFOXYBO_cjs.amber[500],
220
+ successMuted: chunkZBGR7MUW_cjs.green[50],
221
+ successMutedForeground: chunkZBGR7MUW_cjs.green[700],
222
+ warning: chunkZBGR7MUW_cjs.amber[500],
223
223
  warningForeground: "oklch(0.145 0 0)",
224
- warningMuted: chunkQEFOXYBO_cjs.amber[50],
225
- warningMutedForeground: chunkQEFOXYBO_cjs.amber[700],
226
- danger: chunkQEFOXYBO_cjs.red[600],
224
+ warningMuted: chunkZBGR7MUW_cjs.amber[50],
225
+ warningMutedForeground: chunkZBGR7MUW_cjs.amber[700],
226
+ danger: chunkZBGR7MUW_cjs.red[600],
227
227
  dangerForeground: "oklch(0.985 0 0)",
228
- dangerHover: chunkQEFOXYBO_cjs.red[700],
229
- dangerActive: chunkQEFOXYBO_cjs.red[800],
230
- dangerMuted: chunkQEFOXYBO_cjs.red[50],
231
- dangerMutedForeground: chunkQEFOXYBO_cjs.red[700],
232
- destructive: chunkQEFOXYBO_cjs.red[600],
228
+ dangerHover: chunkZBGR7MUW_cjs.red[700],
229
+ dangerActive: chunkZBGR7MUW_cjs.red[800],
230
+ dangerMuted: chunkZBGR7MUW_cjs.red[50],
231
+ dangerMutedForeground: chunkZBGR7MUW_cjs.red[700],
232
+ destructive: chunkZBGR7MUW_cjs.red[600],
233
233
  destructiveForeground: "oklch(0.985 0 0)",
234
- info: chunkQEFOXYBO_cjs.blue[600],
234
+ info: chunkZBGR7MUW_cjs.blue[600],
235
235
  infoForeground: "oklch(0.985 0 0)",
236
- infoMuted: chunkQEFOXYBO_cjs.blue[50],
237
- infoMutedForeground: chunkQEFOXYBO_cjs.blue[700]
236
+ infoMuted: chunkZBGR7MUW_cjs.blue[50],
237
+ infoMutedForeground: chunkZBGR7MUW_cjs.blue[700]
238
238
  };
239
239
  var STATUS_DARK = {
240
- success: chunkQEFOXYBO_cjs.green[500],
240
+ success: chunkZBGR7MUW_cjs.green[500],
241
241
  successForeground: "oklch(0.145 0 0)",
242
- successMuted: chunkQEFOXYBO_cjs.green[950],
243
- successMutedForeground: chunkQEFOXYBO_cjs.green[300],
244
- warning: chunkQEFOXYBO_cjs.amber[400],
242
+ successMuted: chunkZBGR7MUW_cjs.green[950],
243
+ successMutedForeground: chunkZBGR7MUW_cjs.green[300],
244
+ warning: chunkZBGR7MUW_cjs.amber[400],
245
245
  warningForeground: "oklch(0.145 0 0)",
246
- warningMuted: chunkQEFOXYBO_cjs.amber[950],
247
- warningMutedForeground: chunkQEFOXYBO_cjs.amber[300],
248
- danger: chunkQEFOXYBO_cjs.red[500],
246
+ warningMuted: chunkZBGR7MUW_cjs.amber[950],
247
+ warningMutedForeground: chunkZBGR7MUW_cjs.amber[300],
248
+ danger: chunkZBGR7MUW_cjs.red[500],
249
249
  dangerForeground: "oklch(0.985 0 0)",
250
- dangerHover: chunkQEFOXYBO_cjs.red[400],
251
- dangerActive: chunkQEFOXYBO_cjs.red[300],
252
- dangerMuted: chunkQEFOXYBO_cjs.red[950],
253
- dangerMutedForeground: chunkQEFOXYBO_cjs.red[300],
254
- destructive: chunkQEFOXYBO_cjs.red[500],
250
+ dangerHover: chunkZBGR7MUW_cjs.red[400],
251
+ dangerActive: chunkZBGR7MUW_cjs.red[300],
252
+ dangerMuted: chunkZBGR7MUW_cjs.red[950],
253
+ dangerMutedForeground: chunkZBGR7MUW_cjs.red[300],
254
+ destructive: chunkZBGR7MUW_cjs.red[500],
255
255
  destructiveForeground: "oklch(0.985 0 0)",
256
- info: chunkQEFOXYBO_cjs.blue[400],
256
+ info: chunkZBGR7MUW_cjs.blue[400],
257
257
  infoForeground: "oklch(0.145 0 0)",
258
- infoMuted: chunkQEFOXYBO_cjs.blue[950],
259
- infoMutedForeground: chunkQEFOXYBO_cjs.blue[300]
258
+ infoMuted: chunkZBGR7MUW_cjs.blue[950],
259
+ infoMutedForeground: chunkZBGR7MUW_cjs.blue[300]
260
260
  };
261
261
  var CHART_LIGHT = {
262
262
  chart1: "oklch(0.646 0.222 41.116)",
@@ -416,7 +416,7 @@ function buildNeutralPreset(name, key, palette) {
416
416
  disabledForeground: palette[600],
417
417
  sidebar: palette[900],
418
418
  sidebarForeground: palette[50],
419
- sidebarPrimary: chunkQEFOXYBO_cjs.blue[600],
419
+ sidebarPrimary: chunkZBGR7MUW_cjs.blue[600],
420
420
  sidebarPrimaryForeground: palette[50],
421
421
  sidebarAccent: palette[800],
422
422
  sidebarAccentForeground: palette[50],
@@ -425,7 +425,7 @@ function buildNeutralPreset(name, key, palette) {
425
425
  }
426
426
  };
427
427
  }
428
- function buildChromaticPreset(name, key, primary, surface = chunkQEFOXYBO_cjs.zinc) {
428
+ function buildChromaticPreset(name, key, primary, surface = chunkZBGR7MUW_cjs.zinc) {
429
429
  return {
430
430
  name,
431
431
  key,
@@ -527,16 +527,16 @@ var COLOR_PRESETS = [
527
527
  // Neutral Presets (achromatic primaries)
528
528
  // -------------------------------------------------------------------------
529
529
  {
530
- swatch: chunkQEFOXYBO_cjs.zinc[900],
531
- ...buildNeutralPreset("Zinc", "zinc", chunkQEFOXYBO_cjs.zinc)
530
+ swatch: chunkZBGR7MUW_cjs.zinc[900],
531
+ ...buildNeutralPreset("Zinc", "zinc", chunkZBGR7MUW_cjs.zinc)
532
532
  },
533
533
  {
534
- swatch: chunkQEFOXYBO_cjs.slate[900],
535
- ...buildNeutralPreset("Slate", "slate", chunkQEFOXYBO_cjs.slate)
534
+ swatch: chunkZBGR7MUW_cjs.slate[900],
535
+ ...buildNeutralPreset("Slate", "slate", chunkZBGR7MUW_cjs.slate)
536
536
  },
537
537
  {
538
- swatch: chunkQEFOXYBO_cjs.gray[900],
539
- ...buildNeutralPreset("Gray", "gray", chunkQEFOXYBO_cjs.gray)
538
+ swatch: chunkZBGR7MUW_cjs.gray[900],
539
+ ...buildNeutralPreset("Gray", "gray", chunkZBGR7MUW_cjs.gray)
540
540
  },
541
541
  {
542
542
  swatch: stone[900],
@@ -550,12 +550,12 @@ var COLOR_PRESETS = [
550
550
  // Chromatic Presets (colored primaries)
551
551
  // -------------------------------------------------------------------------
552
552
  {
553
- swatch: chunkQEFOXYBO_cjs.blue[600],
554
- ...buildChromaticPreset("Blue", "blue", chunkQEFOXYBO_cjs.blue)
553
+ swatch: chunkZBGR7MUW_cjs.blue[600],
554
+ ...buildChromaticPreset("Blue", "blue", chunkZBGR7MUW_cjs.blue)
555
555
  },
556
556
  {
557
- swatch: chunkQEFOXYBO_cjs.green[600],
558
- ...buildChromaticPreset("Green", "green", chunkQEFOXYBO_cjs.green)
557
+ swatch: chunkZBGR7MUW_cjs.green[600],
558
+ ...buildChromaticPreset("Green", "green", chunkZBGR7MUW_cjs.green)
559
559
  },
560
560
  {
561
561
  swatch: violet[600],
@@ -570,16 +570,16 @@ var COLOR_PRESETS = [
570
570
  ...buildChromaticPreset("Orange", "orange", orange)
571
571
  },
572
572
  {
573
- swatch: chunkQEFOXYBO_cjs.red[600],
574
- ...buildChromaticPreset("Red", "red", chunkQEFOXYBO_cjs.red)
573
+ swatch: chunkZBGR7MUW_cjs.red[600],
574
+ ...buildChromaticPreset("Red", "red", chunkZBGR7MUW_cjs.red)
575
575
  },
576
576
  {
577
- swatch: chunkQEFOXYBO_cjs.teal[600],
578
- ...buildChromaticPreset("Teal", "teal", chunkQEFOXYBO_cjs.teal)
577
+ swatch: chunkZBGR7MUW_cjs.teal[600],
578
+ ...buildChromaticPreset("Teal", "teal", chunkZBGR7MUW_cjs.teal)
579
579
  },
580
580
  {
581
- swatch: chunkQEFOXYBO_cjs.brand[600],
582
- ...buildChromaticPreset("Brand", "brand", chunkQEFOXYBO_cjs.brand)
581
+ swatch: chunkZBGR7MUW_cjs.brand[600],
582
+ ...buildChromaticPreset("Brand", "brand", chunkZBGR7MUW_cjs.brand)
583
583
  }
584
584
  ];
585
585
  function getColorPreset(key) {