@agenticindiedev/ui 0.3.2 → 0.3.4

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/styles.css CHANGED
@@ -9,8 +9,6 @@
9
9
  "Courier New", monospace;
10
10
  --color-red-50: oklch(97.1% 0.013 17.38);
11
11
  --color-red-300: oklch(80.8% 0.114 19.571);
12
- --color-red-400: oklch(70.4% 0.191 22.216);
13
- --color-red-600: oklch(57.7% 0.245 27.325);
14
12
  --color-yellow-50: oklch(98.7% 0.026 102.212);
15
13
  --color-yellow-400: oklch(85.2% 0.199 91.936);
16
14
  --color-yellow-500: oklch(79.5% 0.184 86.047);
@@ -333,6 +331,9 @@
333
331
  .-ml-2 {
334
332
  margin-left: calc(var(--spacing) * -2);
335
333
  }
334
+ .ml-4 {
335
+ margin-left: calc(var(--spacing) * 4);
336
+ }
336
337
  .ml-auto {
337
338
  margin-left: auto;
338
339
  }
@@ -414,6 +415,9 @@
414
415
  .h-px {
415
416
  height: 1px;
416
417
  }
418
+ .max-h-60 {
419
+ max-height: calc(var(--spacing) * 60);
420
+ }
417
421
  .max-h-screen {
418
422
  max-height: 100vh;
419
423
  }
@@ -703,6 +707,9 @@
703
707
  .overflow-hidden {
704
708
  overflow: hidden;
705
709
  }
710
+ .overflow-y-auto {
711
+ overflow-y: auto;
712
+ }
706
713
  .rounded {
707
714
  border-radius: 0.25rem;
708
715
  }
@@ -846,6 +853,12 @@
846
853
  .bg-muted {
847
854
  background-color: hsl(var(--muted));
848
855
  }
856
+ .bg-muted\/30 {
857
+ background-color: hsl(var(--muted));
858
+ @supports (color: color-mix(in lab, red, red)) {
859
+ background-color: color-mix(in oklab, hsl(var(--muted)) 30%, transparent);
860
+ }
861
+ }
849
862
  .bg-muted\/50 {
850
863
  background-color: hsl(var(--muted));
851
864
  @supports (color: color-mix(in lab, red, red)) {
@@ -1154,13 +1167,13 @@
1154
1167
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1155
1168
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1156
1169
  }
1157
- .ring-offset-background {
1158
- --tw-ring-offset-color: hsl(var(--background));
1159
- }
1160
1170
  .outline {
1161
1171
  outline-style: var(--tw-outline-style);
1162
1172
  outline-width: 1px;
1163
1173
  }
1174
+ .filter {
1175
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
1176
+ }
1164
1177
  .transition-all {
1165
1178
  transition-property: all;
1166
1179
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -1280,12 +1293,12 @@
1280
1293
  }
1281
1294
  }
1282
1295
  }
1283
- .hover\:border-input\/80 {
1296
+ .hover\:border-foreground\/50 {
1284
1297
  &:hover {
1285
1298
  @media (hover: hover) {
1286
- border-color: hsl(var(--input));
1299
+ border-color: hsl(var(--foreground));
1287
1300
  @supports (color: color-mix(in lab, red, red)) {
1288
- border-color: color-mix(in oklab, hsl(var(--input)) 80%, transparent);
1301
+ border-color: color-mix(in oklab, hsl(var(--foreground)) 50%, transparent);
1289
1302
  }
1290
1303
  }
1291
1304
  }
@@ -1358,16 +1371,6 @@
1358
1371
  }
1359
1372
  }
1360
1373
  }
1361
- .hover\:bg-muted\/50 {
1362
- &:hover {
1363
- @media (hover: hover) {
1364
- background-color: hsl(var(--muted));
1365
- @supports (color: color-mix(in lab, red, red)) {
1366
- background-color: color-mix(in oklab, hsl(var(--muted)) 50%, transparent);
1367
- }
1368
- }
1369
- }
1370
- }
1371
1374
  .hover\:bg-pink-50 {
1372
1375
  &:hover {
1373
1376
  @media (hover: hover) {
@@ -1580,20 +1583,15 @@
1580
1583
  opacity: 100%;
1581
1584
  }
1582
1585
  }
1583
- .focus\:ring-2 {
1586
+ .focus\:ring-0 {
1584
1587
  &:focus {
1585
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1588
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1586
1589
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1587
1590
  }
1588
1591
  }
1589
- .focus\:ring-ring {
1592
+ .focus\:ring-offset-0 {
1590
1593
  &:focus {
1591
- --tw-ring-color: hsl(var(--ring));
1592
- }
1593
- }
1594
- .focus\:ring-offset-2 {
1595
- &:focus {
1596
- --tw-ring-offset-width: 2px;
1594
+ --tw-ring-offset-width: 0px;
1597
1595
  --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1598
1596
  }
1599
1597
  }
@@ -1603,30 +1601,9 @@
1603
1601
  outline-style: none;
1604
1602
  }
1605
1603
  }
1606
- .group-\[\.destructive\]\:focus\:ring-destructive {
1607
- &:is(:where(.group):is(.destructive) *) {
1608
- &:focus {
1609
- --tw-ring-color: hsl(var(--destructive));
1610
- }
1611
- }
1612
- }
1613
- .group-\[\.destructive\]\:focus\:ring-red-400 {
1614
- &:is(:where(.group):is(.destructive) *) {
1615
- &:focus {
1616
- --tw-ring-color: var(--color-red-400);
1617
- }
1618
- }
1619
- }
1620
- .group-\[\.destructive\]\:focus\:ring-offset-red-600 {
1621
- &:is(:where(.group):is(.destructive) *) {
1622
- &:focus {
1623
- --tw-ring-offset-color: var(--color-red-600);
1624
- }
1625
- }
1626
- }
1627
- .focus-visible\:border-ring {
1604
+ .focus-visible\:border-foreground {
1628
1605
  &:focus-visible {
1629
- border-color: hsl(var(--ring));
1606
+ border-color: hsl(var(--foreground));
1630
1607
  }
1631
1608
  }
1632
1609
  .focus-visible\:ring-2 {
@@ -1635,22 +1612,6 @@
1635
1612
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1636
1613
  }
1637
1614
  }
1638
- .focus-visible\:ring-ring {
1639
- &:focus-visible {
1640
- --tw-ring-color: hsl(var(--ring));
1641
- }
1642
- }
1643
- .focus-visible\:ring-offset-2 {
1644
- &:focus-visible {
1645
- --tw-ring-offset-width: 2px;
1646
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1647
- }
1648
- }
1649
- .focus-visible\:ring-offset-background {
1650
- &:focus-visible {
1651
- --tw-ring-offset-color: hsl(var(--background));
1652
- }
1653
- }
1654
1615
  .focus-visible\:outline-none {
1655
1616
  &:focus-visible {
1656
1617
  --tw-outline-style: none;
@@ -1749,6 +1710,11 @@
1749
1710
  pointer-events: none;
1750
1711
  }
1751
1712
  }
1713
+ .data-\[disabled\]\:cursor-not-allowed {
1714
+ &[data-disabled] {
1715
+ cursor: not-allowed;
1716
+ }
1717
+ }
1752
1718
  .data-\[disabled\]\:opacity-50 {
1753
1719
  &[data-disabled] {
1754
1720
  opacity: 50%;
@@ -1797,11 +1763,6 @@
1797
1763
  animation: accordion-up 0.2s ease-out;
1798
1764
  }
1799
1765
  }
1800
- .data-\[state\=inactive\]\:text-muted-foreground {
1801
- &[data-state="inactive"] {
1802
- color: hsl(var(--muted-foreground));
1803
- }
1804
- }
1805
1766
  .data-\[state\=open\]\:animate-accordion-down {
1806
1767
  &[data-state="open"] {
1807
1768
  animation: accordion-down 0.2s ease-out;
@@ -2121,10 +2082,36 @@
2121
2082
  border-bottom-width: 1px;
2122
2083
  }
2123
2084
  }
2124
- .\[\&_tr\:last-child\]\:border-0 {
2085
+ .\[\&_tr\]\:border-input {
2086
+ & tr {
2087
+ border-color: hsl(var(--input));
2088
+ }
2089
+ }
2090
+ .\[\&_tr\:hover\]\:bg-muted\/50 {
2091
+ & tr:hover {
2092
+ background-color: hsl(var(--muted));
2093
+ @supports (color: color-mix(in lab, red, red)) {
2094
+ background-color: color-mix(in oklab, hsl(var(--muted)) 50%, transparent);
2095
+ }
2096
+ }
2097
+ }
2098
+ .\[\&_tr\:last-child\]\:border-b-0 {
2125
2099
  & tr:last-child {
2126
- border-style: var(--tw-border-style);
2127
- border-width: 0px;
2100
+ border-bottom-style: var(--tw-border-style);
2101
+ border-bottom-width: 0px;
2102
+ }
2103
+ }
2104
+ .\[\&_tr\:nth-child\(even\)\]\:bg-muted\/30 {
2105
+ & tr:nth-child(even) {
2106
+ background-color: hsl(var(--muted));
2107
+ @supports (color: color-mix(in lab, red, red)) {
2108
+ background-color: color-mix(in oklab, hsl(var(--muted)) 30%, transparent);
2109
+ }
2110
+ }
2111
+ }
2112
+ .\[\&_tr\:nth-child\(odd\)\]\:bg-background {
2113
+ & tr:nth-child(odd) {
2114
+ background-color: hsl(var(--background));
2128
2115
  }
2129
2116
  }
2130
2117
  .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
@@ -2132,6 +2119,14 @@
2132
2119
  padding-right: calc(var(--spacing) * 0);
2133
2120
  }
2134
2121
  }
2122
+ .\[\&\:nth-child\(even\)\]\:bg-muted\/30 {
2123
+ &:nth-child(even) {
2124
+ background-color: hsl(var(--muted));
2125
+ @supports (color: color-mix(in lab, red, red)) {
2126
+ background-color: color-mix(in oklab, hsl(var(--muted)) 30%, transparent);
2127
+ }
2128
+ }
2129
+ }
2135
2130
  .\[\&\>span\]\:line-clamp-1 {
2136
2131
  &>span {
2137
2132
  overflow: hidden;
@@ -2436,6 +2431,59 @@
2436
2431
  inherits: false;
2437
2432
  initial-value: solid;
2438
2433
  }
2434
+ @property --tw-blur {
2435
+ syntax: "*";
2436
+ inherits: false;
2437
+ }
2438
+ @property --tw-brightness {
2439
+ syntax: "*";
2440
+ inherits: false;
2441
+ }
2442
+ @property --tw-contrast {
2443
+ syntax: "*";
2444
+ inherits: false;
2445
+ }
2446
+ @property --tw-grayscale {
2447
+ syntax: "*";
2448
+ inherits: false;
2449
+ }
2450
+ @property --tw-hue-rotate {
2451
+ syntax: "*";
2452
+ inherits: false;
2453
+ }
2454
+ @property --tw-invert {
2455
+ syntax: "*";
2456
+ inherits: false;
2457
+ }
2458
+ @property --tw-opacity {
2459
+ syntax: "*";
2460
+ inherits: false;
2461
+ }
2462
+ @property --tw-saturate {
2463
+ syntax: "*";
2464
+ inherits: false;
2465
+ }
2466
+ @property --tw-sepia {
2467
+ syntax: "*";
2468
+ inherits: false;
2469
+ }
2470
+ @property --tw-drop-shadow {
2471
+ syntax: "*";
2472
+ inherits: false;
2473
+ }
2474
+ @property --tw-drop-shadow-color {
2475
+ syntax: "*";
2476
+ inherits: false;
2477
+ }
2478
+ @property --tw-drop-shadow-alpha {
2479
+ syntax: "<percentage>";
2480
+ inherits: false;
2481
+ initial-value: 100%;
2482
+ }
2483
+ @property --tw-drop-shadow-size {
2484
+ syntax: "*";
2485
+ inherits: false;
2486
+ }
2439
2487
  @property --tw-duration {
2440
2488
  syntax: "*";
2441
2489
  inherits: false;
@@ -2512,6 +2560,19 @@
2512
2560
  --tw-ring-offset-color: #fff;
2513
2561
  --tw-ring-offset-shadow: 0 0 #0000;
2514
2562
  --tw-outline-style: solid;
2563
+ --tw-blur: initial;
2564
+ --tw-brightness: initial;
2565
+ --tw-contrast: initial;
2566
+ --tw-grayscale: initial;
2567
+ --tw-hue-rotate: initial;
2568
+ --tw-invert: initial;
2569
+ --tw-opacity: initial;
2570
+ --tw-saturate: initial;
2571
+ --tw-sepia: initial;
2572
+ --tw-drop-shadow: initial;
2573
+ --tw-drop-shadow-color: initial;
2574
+ --tw-drop-shadow-alpha: 100%;
2575
+ --tw-drop-shadow-size: initial;
2515
2576
  --tw-duration: initial;
2516
2577
  --tw-ease: initial;
2517
2578
  }
package/package.json CHANGED
@@ -31,6 +31,7 @@
31
31
  "description": "@agenticindiedev/ui - Modern React component library",
32
32
  "devDependencies": {
33
33
  "@happy-dom/global-registrator": "20.0.11",
34
+ "@storybook/addon-a11y": "^10.1.10",
34
35
  "@storybook/addon-docs": "10.1.10",
35
36
  "@storybook/addon-links": "10.1.10",
36
37
  "@storybook/addon-vitest": "10.1.10",
@@ -70,13 +71,19 @@
70
71
  "typescript": "5.9.3",
71
72
  "vite": "7.3.0",
72
73
  "vite-plugin-dts": "4.5.4",
73
- "vitest": "4.0.16"
74
+ "vitest": "4.0.16",
75
+ "vitest-axe": "^0.1.0"
74
76
  },
75
77
  "exports": {
76
78
  ".": {
77
- "import": "./dist/index.js",
78
- "require": "./dist/index.cjs",
79
- "types": "./dist/index.d.ts"
79
+ "import": {
80
+ "types": "./dist/index.d.ts",
81
+ "default": "./dist/index.js"
82
+ },
83
+ "require": {
84
+ "types": "./dist/index.d.ts",
85
+ "default": "./dist/index.cjs"
86
+ }
80
87
  },
81
88
  "./styles.css": "./dist/styles.css",
82
89
  "./tailwind.preset": "./dist/tailwind.preset.js",
@@ -146,5 +153,5 @@
146
153
  ],
147
154
  "type": "module",
148
155
  "types": "./dist/index.d.ts",
149
- "version": "0.3.2"
156
+ "version": "0.3.4"
150
157
  }