@ikatec/nebula-tokens 0.0.1-alpha.15 → 0.0.1-alpha.17
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.d.mts +24 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +20 -1
- package/dist/index.mjs +25 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -318,6 +318,28 @@ interface Drawer {
|
|
|
318
318
|
border: string;
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
+
interface Switch {
|
|
322
|
+
background: {
|
|
323
|
+
off: {
|
|
324
|
+
default: string;
|
|
325
|
+
hover: string;
|
|
326
|
+
focus: string;
|
|
327
|
+
disabled: string;
|
|
328
|
+
};
|
|
329
|
+
on: {
|
|
330
|
+
default: string;
|
|
331
|
+
hover: string;
|
|
332
|
+
focus: string;
|
|
333
|
+
disabled: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
ring: string;
|
|
337
|
+
circle: string;
|
|
338
|
+
}
|
|
339
|
+
interface Tooltip {
|
|
340
|
+
background: string;
|
|
341
|
+
text: string;
|
|
342
|
+
}
|
|
321
343
|
declare const colors: {
|
|
322
344
|
primary: {
|
|
323
345
|
50: string;
|
|
@@ -400,6 +422,8 @@ declare const colors: {
|
|
|
400
422
|
dialog: Dialog;
|
|
401
423
|
checkbox: Checkbox;
|
|
402
424
|
drawer: Drawer;
|
|
425
|
+
switch: Switch;
|
|
426
|
+
tooltip: Tooltip;
|
|
403
427
|
};
|
|
404
428
|
|
|
405
429
|
declare const space: {
|
package/dist/index.d.ts
CHANGED
|
@@ -318,6 +318,24 @@ interface Drawer {
|
|
|
318
318
|
border: string;
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
+
interface Switch {
|
|
322
|
+
background: {
|
|
323
|
+
off: {
|
|
324
|
+
default: string;
|
|
325
|
+
hover: string;
|
|
326
|
+
focus: string;
|
|
327
|
+
disabled: string;
|
|
328
|
+
};
|
|
329
|
+
on: {
|
|
330
|
+
default: string;
|
|
331
|
+
hover: string;
|
|
332
|
+
focus: string;
|
|
333
|
+
disabled: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
ring: string;
|
|
337
|
+
circle: string;
|
|
338
|
+
}
|
|
321
339
|
declare const colors: {
|
|
322
340
|
primary: {
|
|
323
341
|
50: string;
|
|
@@ -400,6 +418,7 @@ declare const colors: {
|
|
|
400
418
|
dialog: Dialog;
|
|
401
419
|
checkbox: Checkbox;
|
|
402
420
|
drawer: Drawer;
|
|
421
|
+
switch: Switch;
|
|
403
422
|
};
|
|
404
423
|
|
|
405
424
|
declare const space: {
|
package/dist/index.js
CHANGED
|
@@ -358,6 +358,24 @@ var drawer = {
|
|
|
358
358
|
border: "var(--drawer-footer-border)"
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
|
+
var switchColors = {
|
|
362
|
+
background: {
|
|
363
|
+
off: {
|
|
364
|
+
default: "var(--switch-background-off-default)",
|
|
365
|
+
hover: "var(--switch-background-off-hover)",
|
|
366
|
+
focus: "var(--switch-background-off-focus)",
|
|
367
|
+
disabled: "var(--switch-background-off-disabled)"
|
|
368
|
+
},
|
|
369
|
+
on: {
|
|
370
|
+
default: "var(--switch-background-on-default)",
|
|
371
|
+
hover: "var(--switch-background-on-hover)",
|
|
372
|
+
focus: "var(--switch-background-on-focus)",
|
|
373
|
+
disabled: "var(--switch-background-on-disabled)"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
ring: "var(--switch-ring)",
|
|
377
|
+
circle: "var(--switch-circle)"
|
|
378
|
+
};
|
|
361
379
|
var colors = {
|
|
362
380
|
primary: {
|
|
363
381
|
50: "var(--primary-50)",
|
|
@@ -439,7 +457,8 @@ var colors = {
|
|
|
439
457
|
inputText,
|
|
440
458
|
dialog,
|
|
441
459
|
checkbox,
|
|
442
|
-
drawer
|
|
460
|
+
drawer,
|
|
461
|
+
switch: switchColors
|
|
443
462
|
};
|
|
444
463
|
|
|
445
464
|
// src/space.ts
|
package/dist/index.mjs
CHANGED
|
@@ -326,6 +326,28 @@ var drawer = {
|
|
|
326
326
|
border: "var(--drawer-footer-border)"
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
+
var switchColors = {
|
|
330
|
+
background: {
|
|
331
|
+
off: {
|
|
332
|
+
default: "var(--switch-background-off-default)",
|
|
333
|
+
hover: "var(--switch-background-off-hover)",
|
|
334
|
+
focus: "var(--switch-background-off-focus)",
|
|
335
|
+
disabled: "var(--switch-background-off-disabled)"
|
|
336
|
+
},
|
|
337
|
+
on: {
|
|
338
|
+
default: "var(--switch-background-on-default)",
|
|
339
|
+
hover: "var(--switch-background-on-hover)",
|
|
340
|
+
focus: "var(--switch-background-on-focus)",
|
|
341
|
+
disabled: "var(--switch-background-on-disabled)"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
ring: "var(--switch-ring)",
|
|
345
|
+
circle: "var(--switch-circle)"
|
|
346
|
+
};
|
|
347
|
+
var tooltip = {
|
|
348
|
+
background: "var(--tooltip-background)",
|
|
349
|
+
text: "var(--tooltip-text)"
|
|
350
|
+
};
|
|
329
351
|
var colors = {
|
|
330
352
|
primary: {
|
|
331
353
|
50: "var(--primary-50)",
|
|
@@ -407,7 +429,9 @@ var colors = {
|
|
|
407
429
|
inputText,
|
|
408
430
|
dialog,
|
|
409
431
|
checkbox,
|
|
410
|
-
drawer
|
|
432
|
+
drawer,
|
|
433
|
+
switch: switchColors,
|
|
434
|
+
tooltip
|
|
411
435
|
};
|
|
412
436
|
|
|
413
437
|
// src/space.ts
|