@phcdevworks/spectre-ui 1.2.0 → 1.3.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/index.css CHANGED
@@ -7,15 +7,18 @@
7
7
  --sp-surface-card: #ffffff;
8
8
  --sp-surface-input: #ffffff;
9
9
  --sp-surface-overlay: rgba(20, 27, 36, 0.6);
10
+ --sp-surface-alternate: #eef1f6;
10
11
  --sp-surface-hero: linear-gradient(135deg, #5b6ee1 0%, #6f3fd7 100%);
11
12
  --sp-text-on-page-default: #141b24;
12
13
  --sp-text-on-page-muted: #4b576a;
13
14
  --sp-text-on-page-subtle: #657287;
14
15
  --sp-text-on-page-meta: #657287;
16
+ --sp-text-on-page-brand: #1f57db;
15
17
  --sp-text-on-surface-default: #141b24;
16
18
  --sp-text-on-surface-muted: #4b576a;
17
19
  --sp-text-on-surface-subtle: #657287;
18
20
  --sp-text-on-surface-meta: #657287;
21
+ --sp-text-on-surface-brand: #1f57db;
19
22
  --sp-component-card-text: #141b24;
20
23
  --sp-component-card-text-muted: #4b576a;
21
24
  --sp-component-input-text: #141b24;
@@ -114,20 +117,8 @@
114
117
  --sp-color-focus-primary: #336df4;
115
118
  --sp-color-focus-error: #ef4444;
116
119
  --sp-color-focus-info: #0369a1;
117
- --sp-color-white-0: #;
118
- --sp-color-white-1: f;
119
- --sp-color-white-2: f;
120
- --sp-color-white-3: f;
121
- --sp-color-white-4: f;
122
- --sp-color-white-5: f;
123
- --sp-color-white-6: f;
124
- --sp-color-black-0: #;
125
- --sp-color-black-1: 0;
126
- --sp-color-black-2: 0;
127
- --sp-color-black-3: 0;
128
- --sp-color-black-4: 0;
129
- --sp-color-black-5: 0;
130
- --sp-color-black-6: 0;
120
+ --sp-color-white: #ffffff;
121
+ --sp-color-black: #000000;
131
122
  --sp-space-0: 0rem;
132
123
  --sp-space-4: 0.25rem;
133
124
  --sp-space-8: 0.5rem;
@@ -266,7 +257,7 @@
266
257
  --sp-button-primary-text: #ffffff;
267
258
  --sp-button-primary-textdisabled: #8a96ad;
268
259
  --sp-button-primary-focusring: rgba(14, 165, 233, 0.4);
269
- --sp-button-primary-focusvisible: {colors.info.500} / 0.4;
260
+ --sp-button-primary-focusvisible: rgba(14, 165, 233, 0.4);
270
261
  --sp-button-secondary-bg: #ffffff;
271
262
  --sp-button-secondary-bghover: #f7f8fb;
272
263
  --sp-button-secondary-bgactive: #eef1f6;
@@ -276,7 +267,7 @@
276
267
  --sp-button-secondary-border: #075985;
277
268
  --sp-button-secondary-borderdisabled: #d9dfeb;
278
269
  --sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
279
- --sp-button-secondary-focusvisible: {colors.info.500} / 0.4;
270
+ --sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
280
271
  --sp-button-ghost-bg: transparent;
281
272
  --sp-button-ghost-bghover: #f0f9ff;
282
273
  --sp-button-ghost-bgactive: #e0f2fe;
@@ -284,7 +275,7 @@
284
275
  --sp-button-ghost-text: #075985;
285
276
  --sp-button-ghost-textdisabled: #8a96ad;
286
277
  --sp-button-ghost-focusring: rgba(14, 165, 233, 0.4);
287
- --sp-button-ghost-focusvisible: {colors.info.500} / 0.4;
278
+ --sp-button-ghost-focusvisible: rgba(14, 165, 233, 0.4);
288
279
  --sp-button-danger-bg: #dc2626;
289
280
  --sp-button-danger-bghover: #b91c1c;
290
281
  --sp-button-danger-bgactive: #991b1b;
@@ -314,7 +305,7 @@
314
305
  --sp-button-accent-text: #ffffff;
315
306
  --sp-button-accent-textdisabled: #8a96ad;
316
307
  --sp-button-accent-focusring: rgba(133, 79, 247, 0.4);
317
- --sp-button-accent-focusvisible: {colors.accent.500} / 0.4;
308
+ --sp-button-accent-focusvisible: rgba(133, 79, 247, 0.4);
318
309
  --sp-form-default-bg: #ffffff;
319
310
  --sp-form-default-border: #b7c1d4;
320
311
  --sp-form-default-text: #141b24;
@@ -322,8 +313,8 @@
322
313
  --sp-form-hover-border: #0ea5e9;
323
314
  --sp-form-focus-border: #0ea5e9;
324
315
  --sp-form-focus-ring: #0ea5e9;
325
- --sp-form-focusvisible-border: {colors.info.500};
326
- --sp-form-focusvisible-ring: {colors.info.500};
316
+ --sp-form-focusvisible-border: #0ea5e9;
317
+ --sp-form-focusvisible-ring: #0ea5e9;
327
318
  --sp-form-valid-border: #22c55e;
328
319
  --sp-form-valid-bg: #f0fdf4;
329
320
  --sp-form-valid-text: #15803d;
@@ -363,15 +354,18 @@
363
354
  --sp-surface-card: #222b38;
364
355
  --sp-surface-input: #374253;
365
356
  --sp-surface-overlay: #222b38;
366
- --sp-surface-hero: linear-gradient(135deg, #401f75 0%, #5d28b8 100%);
357
+ --sp-surface-alternate: #222b38;
358
+ --sp-surface-hero: linear-gradient(135deg, #5d28b8 0%, #401f75 100%);
367
359
  --sp-text-on-page-default: #f7f8fb;
368
360
  --sp-text-on-page-muted: #b7c1d4;
369
361
  --sp-text-on-page-subtle: #8a96ad;
370
362
  --sp-text-on-page-meta: #8a96ad;
363
+ --sp-text-on-page-brand: #5a92ff;
371
364
  --sp-text-on-surface-default: #eef1f6;
372
365
  --sp-text-on-surface-muted: #b7c1d4;
373
366
  --sp-text-on-surface-subtle: #8a96ad;
374
367
  --sp-text-on-surface-meta: #8a96ad;
368
+ --sp-text-on-surface-brand: #5a92ff;
375
369
  --sp-component-card-text: #eef1f6;
376
370
  --sp-component-card-text-muted: #b7c1d4;
377
371
  --sp-component-input-text: #eef1f6;
@@ -403,13 +397,14 @@
403
397
  box-sizing: border-box;
404
398
  }
405
399
 
406
- html,
407
- body {
400
+ html {
408
401
  margin: 0;
409
402
  padding: 0;
410
403
  }
411
404
 
412
405
  body {
406
+ margin: 0;
407
+ padding: 0;
413
408
  min-height: 100vh;
414
409
  font-family: var(--sp-font-family-sans);
415
410
  font-size: var(--sp-font-md-size);
@@ -428,13 +423,13 @@
428
423
  }
429
424
 
430
425
  input,
431
- button,
432
426
  textarea,
433
427
  select {
434
428
  font: inherit;
435
429
  }
436
430
 
437
431
  button {
432
+ font: inherit;
438
433
  border: none;
439
434
  background: none;
440
435
  padding: 0;
@@ -462,7 +457,7 @@
462
457
  }
463
458
  @layer components {
464
459
 
465
- :root {
460
+ :where(:root) {
466
461
  /* structural border width */
467
462
  --sp-component-border-width: var(--sp-border-width-base);
468
463
 
@@ -518,8 +513,7 @@
518
513
 
519
514
  /* card roles */
520
515
  --sp-component-card-bg: var(--sp-surface-card);
521
- --sp-component-card-text: var(--sp-text-on-surface-default);
522
- --sp-component-card-text-muted: var(--sp-text-on-surface-muted);
516
+ /* --sp-component-card-text and --sp-component-card-text-muted are now provided directly by the token package */
523
517
  --sp-component-card-border: var(--sp-color-neutral-200);
524
518
  --sp-component-card-border-base: var(--sp-component-card-ghost-border);
525
519
  --sp-component-card-shadow: var(--sp-shadow-sm);
@@ -535,8 +529,8 @@
535
529
  /* input roles */
536
530
  --sp-component-input-role-border: var(--sp-form-default-border);
537
531
  --sp-component-input-role-bg: var(--sp-form-default-bg);
538
- --sp-component-input-role-text: var(--sp-form-default-text);
539
- --sp-component-input-role-placeholder: var(--sp-form-default-placeholder);
532
+ --sp-component-input-role-text: var(--sp-component-input-text);
533
+ --sp-component-input-role-placeholder: var(--sp-component-input-placeholder);
540
534
  --sp-component-input-role-border-hover: var(--sp-form-hover-border);
541
535
  --sp-component-input-role-border-focus: var(--sp-form-focus-border);
542
536
  --sp-component-input-role-ring: var(--sp-form-focus-ring);
@@ -597,7 +591,7 @@
597
591
  --sp-component-iconbox-success-bg: var(--sp-color-success-50);
598
592
  --sp-component-iconbox-success-text: var(--sp-icon-box-icon-success);
599
593
  --sp-component-iconbox-warning-bg: var(--sp-color-warning-50);
600
- --sp-component-iconbox-warning-text: var(--sp-icon-box-icon-warning);
594
+ --sp-component-iconbox-warning-text: var(--sp-color-warning-800);
601
595
  --sp-component-iconbox-danger-bg: var(--sp-color-error-50);
602
596
  --sp-component-iconbox-danger-text: var(--sp-icon-box-icon-danger);
603
597
  --sp-component-iconbox-info-bg: var(--sp-color-info-50);
@@ -632,7 +626,7 @@
632
626
  }
633
627
 
634
628
  /* dark mode overrides mapped from Spectre token mode definitions */
635
- :root[data-spectre-theme="dark"] {
629
+ :where(:root[data-spectre-theme="dark"]) {
636
630
  --sp-component-testimonial-bg: var(--sp-color-neutral-800);
637
631
  --sp-component-testimonial-border: var(--sp-color-neutral-700);
638
632
  --sp-component-testimonial-text: var(--sp-color-neutral-200);
@@ -648,29 +642,6 @@
648
642
  --sp-component-rating-star-filled: var(--sp-color-warning-400);
649
643
  --sp-component-rating-star-empty: var(--sp-color-neutral-700);
650
644
  --sp-component-rating-text: var(--sp-color-neutral-400);
651
-
652
- --sp-component-badge-success-bg: var(--sp-color-success-800);
653
- --sp-component-badge-success-text: var(--sp-color-success-100);
654
- --sp-component-badge-warning-bg: var(--sp-color-warning-800);
655
- --sp-component-badge-warning-text: var(--sp-color-warning-100);
656
- --sp-component-badge-danger-bg: var(--sp-color-error-800);
657
- --sp-component-badge-danger-text: var(--sp-color-error-100);
658
- --sp-component-badge-neutral-bg: var(--sp-color-neutral-700);
659
- --sp-component-badge-neutral-text: var(--sp-color-neutral-100);
660
- --sp-component-badge-info-bg: var(--sp-color-info-900);
661
- --sp-component-badge-info-text: var(--sp-color-info-100);
662
-
663
- --sp-component-badge-success-bg-hover: var(--sp-color-success-700);
664
- --sp-component-badge-warning-bg-hover: var(--sp-color-warning-800);
665
- --sp-component-badge-danger-bg-hover: var(--sp-color-error-700);
666
- --sp-component-badge-neutral-bg-hover: var(--sp-color-neutral-600);
667
- --sp-component-badge-info-bg-hover: var(--sp-color-info-700);
668
-
669
- --sp-component-iconbox-primary-bg: var(--sp-color-brand-900);
670
- --sp-component-iconbox-success-bg: var(--sp-color-success-900);
671
- --sp-component-iconbox-warning-bg: var(--sp-color-warning-900);
672
- --sp-component-iconbox-danger-bg: var(--sp-color-error-900);
673
- --sp-component-iconbox-info-bg: var(--sp-color-info-900);
674
645
  }
675
646
 
676
647
  /* BUTTONS -------------------------------------------------------------- */
@@ -684,7 +655,7 @@
684
655
  border: var(--sp-component-border-width) solid var(--sp-component-button-border-base);
685
656
  font-family: var(--sp-font-family-sans);
686
657
  font-size: var(--sp-font-md-size);
687
- line-height: 1;
658
+ line-height: var(--sp-font-md-line-height);
688
659
  font-weight: var(--sp-font-md-weight);
689
660
  text-decoration: none;
690
661
  appearance: none;
@@ -1002,10 +973,17 @@
1002
973
  }
1003
974
 
1004
975
  .sp-input:hover,
1005
- .sp-input--hover {
976
+ .sp-input--hover,
977
+ .sp-input.is-hover {
1006
978
  border-color: var(--sp-component-input-role-border-hover);
1007
979
  }
1008
980
 
981
+ .sp-input:active,
982
+ .sp-input--active,
983
+ .sp-input.is-active {
984
+ opacity: var(--sp-opacity-active);
985
+ }
986
+
1009
987
  .sp-input:focus,
1010
988
  .sp-input--focus,
1011
989
  .sp-input.is-focus {
@@ -1033,6 +1011,7 @@
1033
1011
  background-color: var(--sp-component-input-role-bg-disabled);
1034
1012
  color: var(--sp-component-input-role-text-disabled);
1035
1013
  border-color: var(--sp-component-input-role-border-disabled);
1014
+ box-shadow: none;
1036
1015
  cursor: not-allowed;
1037
1016
  pointer-events: none;
1038
1017
  }
@@ -1041,7 +1020,6 @@
1041
1020
  color: var(--sp-component-input-role-text-disabled);
1042
1021
  }
1043
1022
 
1044
- .sp-input--disabled,
1045
1023
  .sp-input--disabled:focus {
1046
1024
  box-shadow: none;
1047
1025
  }
@@ -1114,7 +1092,8 @@
1114
1092
  cursor: pointer;
1115
1093
  transition:
1116
1094
  transform var(--sp-duration-fast) var(--sp-easing-out),
1117
- box-shadow var(--sp-duration-fast) var(--sp-easing-out);
1095
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out),
1096
+ opacity var(--sp-duration-fast) var(--sp-easing-out);
1118
1097
  }
1119
1098
 
1120
1099
  .sp-card--interactive:hover,
@@ -1128,6 +1107,13 @@
1128
1107
  box-shadow: var(--sp-component-card-shadow-elevated);
1129
1108
  }
1130
1109
 
1110
+ .sp-card--interactive:active,
1111
+ .sp-card--interactive.sp-card--active,
1112
+ .sp-card--interactive.is-active {
1113
+ opacity: var(--sp-opacity-active);
1114
+ transform: translateY(0);
1115
+ }
1116
+
1131
1117
  /* BADGES --------------------------------------------------------------- */
1132
1118
 
1133
1119
  .sp-badge {
@@ -1285,7 +1271,6 @@
1285
1271
  background-color: var(--sp-component-iconbox-primary-bg);
1286
1272
  font-family: var(--sp-font-family-sans);
1287
1273
  font-weight: var(--sp-font-md-weight);
1288
- line-height: 0;
1289
1274
  transition:
1290
1275
  background-color var(--sp-duration-fast) var(--sp-easing-out),
1291
1276
  color var(--sp-duration-fast) var(--sp-easing-out),
@@ -1299,11 +1284,6 @@
1299
1284
  - force currentColor for common svg shapes
1300
1285
  - preserve stroke-only icons (fill="none")
1301
1286
  */
1302
- .sp-iconbox,
1303
- .sp-iconbox>i {
1304
- line-height: 0;
1305
- }
1306
-
1307
1287
  .sp-iconbox>i {
1308
1288
  display: inline-flex;
1309
1289
  align-items: center;
@@ -1322,7 +1302,6 @@
1322
1302
  }
1323
1303
 
1324
1304
  /* default to inheriting via currentColor */
1325
- .sp-iconbox svg,
1326
1305
  .sp-iconbox svg path,
1327
1306
  .sp-iconbox svg circle,
1328
1307
  .sp-iconbox svg rect,
@@ -1360,6 +1339,10 @@
1360
1339
  font-size: var(--sp-font-lg-size);
1361
1340
  }
1362
1341
 
1342
+ .sp-iconbox--pill {
1343
+ border-radius: var(--sp-radius-pill);
1344
+ }
1345
+
1363
1346
  .sp-iconbox--primary {
1364
1347
  background-color: var(--sp-component-iconbox-primary-bg);
1365
1348
  color: var(--sp-component-iconbox-primary-text);
@@ -1443,6 +1426,37 @@
1443
1426
  pointer-events: none;
1444
1427
  }
1445
1428
 
1429
+ .sp-testimonial--interactive {
1430
+ cursor: pointer;
1431
+ transition:
1432
+ transform var(--sp-duration-fast) var(--sp-easing-out),
1433
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out),
1434
+ opacity var(--sp-duration-fast) var(--sp-easing-out);
1435
+ }
1436
+
1437
+ .sp-testimonial--interactive:hover,
1438
+ .sp-testimonial--interactive:focus-within,
1439
+ .sp-testimonial--interactive.sp-testimonial--hover,
1440
+ .sp-testimonial--interactive.is-hover {
1441
+ transform: translateY(calc(var(--sp-component-border-width) * -1));
1442
+ box-shadow: var(--sp-shadow-lg);
1443
+ }
1444
+
1445
+ .sp-testimonial--interactive:active,
1446
+ .sp-testimonial--interactive.sp-testimonial--active,
1447
+ .sp-testimonial--interactive.is-active {
1448
+ opacity: var(--sp-opacity-active);
1449
+ transform: translateY(0);
1450
+ }
1451
+
1452
+ .sp-testimonial--interactive:focus-visible,
1453
+ .sp-testimonial--interactive.sp-testimonial--focus,
1454
+ .sp-testimonial--interactive.is-focus {
1455
+ outline: none;
1456
+ transform: translateY(calc(var(--sp-component-border-width) * -1));
1457
+ box-shadow: 0 0 0 calc(var(--sp-focus-ring-width) + var(--sp-component-border-width)) var(--sp-color-focus-primary);
1458
+ }
1459
+
1446
1460
  .sp-testimonial-quote {
1447
1461
  color: var(--sp-component-testimonial-text);
1448
1462
  font-size: var(--sp-font-lg-size);
@@ -1494,7 +1508,10 @@
1494
1508
  flex-direction: column;
1495
1509
  gap: var(--sp-space-24);
1496
1510
  position: relative;
1497
- transition: transform var(--sp-duration-fast) var(--sp-easing-out);
1511
+ transition:
1512
+ transform var(--sp-duration-fast) var(--sp-easing-out),
1513
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out),
1514
+ opacity var(--sp-duration-fast) var(--sp-easing-out);
1498
1515
  }
1499
1516
 
1500
1517
  .sp-pricing-card--featured {
@@ -1515,6 +1532,49 @@
1515
1532
  pointer-events: none;
1516
1533
  }
1517
1534
 
1535
+ .sp-pricing-card--interactive {
1536
+ cursor: pointer;
1537
+ }
1538
+
1539
+ .sp-pricing-card--interactive:hover,
1540
+ .sp-pricing-card--interactive:focus-within,
1541
+ .sp-pricing-card--interactive.sp-pricing-card--hover,
1542
+ .sp-pricing-card--interactive.is-hover {
1543
+ transform: translateY(calc(var(--sp-component-border-width) * -1));
1544
+ box-shadow: var(--sp-shadow-lg);
1545
+ }
1546
+
1547
+ .sp-pricing-card--featured.sp-pricing-card--interactive:hover,
1548
+ .sp-pricing-card--featured.sp-pricing-card--interactive:focus-visible,
1549
+ .sp-pricing-card--featured.sp-pricing-card--interactive:focus-within,
1550
+ .sp-pricing-card--featured.sp-pricing-card--interactive.sp-pricing-card--hover,
1551
+ .sp-pricing-card--featured.sp-pricing-card--interactive.is-hover,
1552
+ .sp-pricing-card--featured.sp-pricing-card--interactive.sp-pricing-card--focus,
1553
+ .sp-pricing-card--featured.sp-pricing-card--interactive.is-focus {
1554
+ transform: scale(1.05) translateY(calc(var(--sp-component-border-width) * -1));
1555
+ }
1556
+
1557
+ .sp-pricing-card--interactive:active,
1558
+ .sp-pricing-card--interactive.sp-pricing-card--active,
1559
+ .sp-pricing-card--interactive.is-active {
1560
+ opacity: var(--sp-opacity-active);
1561
+ transform: translateY(0);
1562
+ }
1563
+
1564
+ .sp-pricing-card--featured.sp-pricing-card--interactive:active,
1565
+ .sp-pricing-card--featured.sp-pricing-card--interactive.sp-pricing-card--active,
1566
+ .sp-pricing-card--featured.sp-pricing-card--interactive.is-active {
1567
+ transform: scale(1.05) translateY(0);
1568
+ }
1569
+
1570
+ .sp-pricing-card--interactive:focus-visible,
1571
+ .sp-pricing-card--interactive.sp-pricing-card--focus,
1572
+ .sp-pricing-card--interactive.is-focus {
1573
+ outline: none;
1574
+ transform: translateY(calc(var(--sp-component-border-width) * -1));
1575
+ box-shadow: 0 0 0 calc(var(--sp-focus-ring-width) + var(--sp-component-border-width)) var(--sp-color-focus-primary);
1576
+ }
1577
+
1518
1578
  .sp-pricing-card-badge {
1519
1579
  position: absolute;
1520
1580
  top: var(--sp-space-16);
@@ -1560,6 +1620,10 @@
1560
1620
  align-items: center;
1561
1621
  gap: var(--sp-space-8);
1562
1622
  font-size: var(--sp-component-rating-size-md);
1623
+ border-radius: var(--sp-radius-md);
1624
+ transition:
1625
+ opacity var(--sp-duration-fast) var(--sp-easing-out),
1626
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out);
1563
1627
  }
1564
1628
 
1565
1629
  .sp-rating--sm {
@@ -1574,9 +1638,12 @@
1574
1638
  font-size: var(--sp-component-rating-size-lg);
1575
1639
  }
1576
1640
 
1641
+ .sp-rating:disabled,
1642
+ .sp-rating[aria-disabled="true"],
1577
1643
  .sp-rating--disabled {
1578
1644
  opacity: var(--sp-opacity-disabled);
1579
1645
  pointer-events: none;
1646
+ cursor: not-allowed;
1580
1647
  }
1581
1648
 
1582
1649
  .sp-rating--loading {
@@ -1584,6 +1651,29 @@
1584
1651
  pointer-events: none;
1585
1652
  }
1586
1653
 
1654
+ .sp-rating--interactive {
1655
+ cursor: pointer;
1656
+ }
1657
+
1658
+ .sp-rating--interactive:hover,
1659
+ .sp-rating--interactive.sp-rating--hover,
1660
+ .sp-rating--interactive.is-hover {
1661
+ opacity: var(--sp-opacity-hover);
1662
+ }
1663
+
1664
+ .sp-rating--interactive:active,
1665
+ .sp-rating--interactive.sp-rating--active,
1666
+ .sp-rating--interactive.is-active {
1667
+ opacity: var(--sp-opacity-active);
1668
+ }
1669
+
1670
+ .sp-rating--interactive:focus-visible,
1671
+ .sp-rating--interactive.sp-rating--focus,
1672
+ .sp-rating--interactive.is-focus {
1673
+ outline: none;
1674
+ box-shadow: 0 0 0 calc(var(--sp-focus-ring-width) + var(--sp-component-border-width)) var(--sp-color-focus-primary);
1675
+ }
1676
+
1587
1677
  .sp-rating-stars {
1588
1678
  display: flex;
1589
1679
  gap: var(--sp-space-4);
package/dist/index.d.cts CHANGED
@@ -58,6 +58,7 @@ interface CardRecipeOptions {
58
58
  loading?: boolean;
59
59
  hovered?: boolean;
60
60
  focused?: boolean;
61
+ active?: boolean;
61
62
  }
62
63
  declare function getCardClasses(opts?: CardRecipeOptions): string;
63
64
 
@@ -82,6 +83,7 @@ interface InputRecipeOptions {
82
83
  pill?: boolean;
83
84
  focused?: boolean;
84
85
  hovered?: boolean;
86
+ active?: boolean;
85
87
  }
86
88
  declare function getInputClasses(opts?: InputRecipeOptions): string;
87
89
 
@@ -140,6 +142,7 @@ interface IconBoxRecipeOptions {
140
142
  hovered?: boolean;
141
143
  focused?: boolean;
142
144
  active?: boolean;
145
+ pill?: boolean;
143
146
  }
144
147
  declare function getIconBoxClasses(opts?: IconBoxRecipeOptions): string;
145
148
 
@@ -150,6 +153,10 @@ declare function getIconBoxClasses(opts?: IconBoxRecipeOptions): string;
150
153
  interface TestimonialRecipeOptions {
151
154
  disabled?: boolean;
152
155
  loading?: boolean;
156
+ interactive?: boolean;
157
+ hovered?: boolean;
158
+ focused?: boolean;
159
+ active?: boolean;
153
160
  }
154
161
  declare function getTestimonialClasses(opts?: TestimonialRecipeOptions): string;
155
162
  declare function getTestimonialQuoteClasses(): string;
@@ -166,6 +173,10 @@ interface PricingCardRecipeOptions {
166
173
  featured?: boolean;
167
174
  disabled?: boolean;
168
175
  loading?: boolean;
176
+ interactive?: boolean;
177
+ hovered?: boolean;
178
+ focused?: boolean;
179
+ active?: boolean;
169
180
  }
170
181
  declare function getPricingCardClasses(opts?: PricingCardRecipeOptions): string;
171
182
  declare function getPricingCardBadgeClasses(): string;
@@ -187,6 +198,10 @@ interface RatingRecipeOptions {
187
198
  size?: RatingSize;
188
199
  disabled?: boolean;
189
200
  loading?: boolean;
201
+ interactive?: boolean;
202
+ hovered?: boolean;
203
+ focused?: boolean;
204
+ active?: boolean;
190
205
  }
191
206
  declare function getRatingClasses(opts?: RatingRecipeOptions): string;
192
207
  declare function getRatingStarsClasses(): string;
package/dist/index.d.ts CHANGED
@@ -58,6 +58,7 @@ interface CardRecipeOptions {
58
58
  loading?: boolean;
59
59
  hovered?: boolean;
60
60
  focused?: boolean;
61
+ active?: boolean;
61
62
  }
62
63
  declare function getCardClasses(opts?: CardRecipeOptions): string;
63
64
 
@@ -82,6 +83,7 @@ interface InputRecipeOptions {
82
83
  pill?: boolean;
83
84
  focused?: boolean;
84
85
  hovered?: boolean;
86
+ active?: boolean;
85
87
  }
86
88
  declare function getInputClasses(opts?: InputRecipeOptions): string;
87
89
 
@@ -140,6 +142,7 @@ interface IconBoxRecipeOptions {
140
142
  hovered?: boolean;
141
143
  focused?: boolean;
142
144
  active?: boolean;
145
+ pill?: boolean;
143
146
  }
144
147
  declare function getIconBoxClasses(opts?: IconBoxRecipeOptions): string;
145
148
 
@@ -150,6 +153,10 @@ declare function getIconBoxClasses(opts?: IconBoxRecipeOptions): string;
150
153
  interface TestimonialRecipeOptions {
151
154
  disabled?: boolean;
152
155
  loading?: boolean;
156
+ interactive?: boolean;
157
+ hovered?: boolean;
158
+ focused?: boolean;
159
+ active?: boolean;
153
160
  }
154
161
  declare function getTestimonialClasses(opts?: TestimonialRecipeOptions): string;
155
162
  declare function getTestimonialQuoteClasses(): string;
@@ -166,6 +173,10 @@ interface PricingCardRecipeOptions {
166
173
  featured?: boolean;
167
174
  disabled?: boolean;
168
175
  loading?: boolean;
176
+ interactive?: boolean;
177
+ hovered?: boolean;
178
+ focused?: boolean;
179
+ active?: boolean;
169
180
  }
170
181
  declare function getPricingCardClasses(opts?: PricingCardRecipeOptions): string;
171
182
  declare function getPricingCardBadgeClasses(): string;
@@ -187,6 +198,10 @@ interface RatingRecipeOptions {
187
198
  size?: RatingSize;
188
199
  disabled?: boolean;
189
200
  loading?: boolean;
201
+ interactive?: boolean;
202
+ hovered?: boolean;
203
+ focused?: boolean;
204
+ active?: boolean;
190
205
  }
191
206
  declare function getRatingClasses(opts?: RatingRecipeOptions): string;
192
207
  declare function getRatingStarsClasses(): string;