@tangible/ui 0.2.21 → 0.2.23

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.
Files changed (36) hide show
  1. package/figma-tokens.json +234 -18
  2. package/icons/icons.svg +15 -0
  3. package/icons/manifest.json +120 -0
  4. package/icons/registry.d.ts +30 -0
  5. package/icons/registry.js +15 -0
  6. package/icons/system/index.d.ts +30 -0
  7. package/icons/system/index.js +165 -0
  8. package/package.json +1 -1
  9. package/skills/building-with-tui/SKILL.md +16 -6
  10. package/styles/all.css +1 -1
  11. package/styles/all.expanded.css +196 -74
  12. package/styles/all.expanded.unlayered.css +196 -74
  13. package/styles/all.unlayered.css +1 -1
  14. package/styles/components/accordion.scss +5 -0
  15. package/styles/components/button.scss +13 -9
  16. package/styles/components/card.scss +14 -0
  17. package/styles/components/color-picker.scss +1 -0
  18. package/styles/components/combobox.scss +35 -10
  19. package/styles/components/content-indicator.scss +1 -1
  20. package/styles/components/date-picker.scss +15 -0
  21. package/styles/components/dropdown.scss +27 -8
  22. package/styles/components/gradient-picker.scss +1 -0
  23. package/styles/components/multi-combobox.scss +26 -11
  24. package/styles/components/multi-select.scss +31 -9
  25. package/styles/components/search-select.scss +46 -10
  26. package/styles/components/segmented-control.scss +6 -0
  27. package/styles/components/select.scss +35 -10
  28. package/styles/components/sidebar.scss +4 -0
  29. package/styles/components/table.scss +8 -1
  30. package/styles/components/tabs.scss +4 -1
  31. package/styles/core.css +1 -1
  32. package/styles/core.unlayered.css +1 -1
  33. package/styles/system/_palettes.scss +19 -1
  34. package/styles/system/_tokens.scss +6 -6
  35. package/tui-manifest.json +40 -7
  36. package/utils/portal.js +34 -5
@@ -20,6 +20,16 @@ export function AlertCircleOutline(props) {
20
20
  }, props), _c("path", {d:"M13 17h-2v-2h2zm0-4h-2V7h2z"}), _c("path", {fillRule:"evenodd",d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13",clipRule:"evenodd"}));
21
21
  }
22
22
 
23
+ export function AlertTriangle(props) {
24
+ return _c("svg", Object.assign({
25
+ xmlns: "http://www.w3.org/2000/svg",
26
+ viewBox: "0 0 24 24",
27
+ width: "1em",
28
+ height: "1em",
29
+ fill: "currentColor"
30
+ }, props), _c("g", null, _c("path", {d:"M13 17h-2v-2h2zM13 14h-2V9h2z"}), _c("path", {fillRule:"evenodd",d:"M10.475 4.431c.67-1.189 2.382-1.189 3.05 0l7.29 12.96C21.473 18.558 20.63 20 19.29 20H4.71c-1.338 0-2.181-1.442-1.525-2.609zm1.743.736a.25.25 0 0 0-.435 0l-7.29 12.96a.25.25 0 0 0 .217.373h14.58a.25.25 0 0 0 .218-.373z",clipRule:"evenodd"})));
31
+ }
32
+
23
33
  export function ArrowClockwise(props) {
24
34
  return _c("svg", Object.assign({
25
35
  xmlns: "http://www.w3.org/2000/svg",
@@ -150,6 +160,26 @@ export function BoltPlusOutline(props) {
150
160
  }, props), _c("path", {fillRule:"evenodd",d:"M12.335 12.5h3.344l-.593.519q.204-.02.414-.019c.55 0 1.078.099 1.566.28l.603-.527a.95.95 0 0 0 .25-1.106.94.94 0 0 0-.91-.647h-3.487l2.405-5.606a1.002 1.002 0 0 0-1.58-1.147l-8.005 7a1 1 0 0 0-.278 1.106c.147.388.52.647.909.647h3.515l-2.405 5.606a1 1 0 0 0 1.58 1.147l1.446-1.265a4.5 4.5 0 0 1 .004-1.996l-.786.687zm-.66-1H8.33l5.35-4.678z",clipRule:"evenodd"}), _c("path", {fillRule:"evenodd",d:"M19 17.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0m-1.577.577a.577.577 0 0 0 0-1.154h-1.346v-1.346a.577.577 0 1 0-1.154 0v1.346h-1.346a.577.577 0 1 0 0 1.154h1.346v1.346a.577.577 0 1 0 1.154 0v-1.346z",clipRule:"evenodd"}));
151
161
  }
152
162
 
163
+ export function Building(props) {
164
+ return _c("svg", Object.assign({
165
+ xmlns: "http://www.w3.org/2000/svg",
166
+ viewBox: "0 0 24 24",
167
+ width: "1em",
168
+ height: "1em",
169
+ fill: "currentColor"
170
+ }, props), _c("g", null, _c("path", {d:"M9 11.75H7v-1.5h2zM12 11.75h-2v-1.5h2zM9 8.75H7v-1.5h2zM12 8.75h-2v-1.5h2zM17.5 16.75H16v-1.5h1.5zM17.5 13.75H16v-1.5h1.5z"}), _c("path", {fillRule:"evenodd",d:"M13.204 4.01A2 2 0 0 1 15 6v3h3a2 2 0 0 1 2 2v7l-.01.204a2 2 0 0 1-1.786 1.785L18 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h7zM6 5.5a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h1V15a1 1 0 0 1 .897-.995L8 14h3l.102.005A1 1 0 0 1 12 15v3.5h1.5V6a.5.5 0 0 0-.5-.5zm2.5 13h2v-3h-2zm6.5 0h3a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-3z",clipRule:"evenodd"})));
171
+ }
172
+
173
+ export function Chart(props) {
174
+ return _c("svg", Object.assign({
175
+ xmlns: "http://www.w3.org/2000/svg",
176
+ viewBox: "0 0 24 24",
177
+ width: "1em",
178
+ height: "1em",
179
+ fill: "currentColor"
180
+ }, props), _c("g", null, _c("path", {d:"M5.75 20h-1.5v-5h1.5zM9.25 20h-1.5v-9h1.5zM12.75 20h-1.5v-6h1.5zM16.25 20h-1.5v-8h1.5zM19.75 20h-1.5V9h1.5zM20.443 4.604l-8.018 5.881L8.438 6.5 4.461 9.592l-.922-1.184 4.5-3.5.524-.406 4.013 4.014 6.98-5.12z"})));
181
+ }
182
+
153
183
  export function CheckCircleFill(props) {
154
184
  return _c("svg", Object.assign({
155
185
  xmlns: "http://www.w3.org/2000/svg",
@@ -420,6 +450,16 @@ export function Copy(props) {
420
450
  }, props), _c("path", {d:"M17 10.25h-7v1.5h7zm-7 2.5h7v1.5h-7zm7 2.5h-7v1.5h7z"}), _c("path", {fillRule:"evenodd",d:"M17 6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-1zm1 2.5a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H9a.5.5 0 0 1-.5-.5V9a.5.5 0 0 1 .5-.5zm-12 7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1H9a2 2 0 0 0-2 2v6.5z",clipRule:"evenodd"}));
421
451
  }
422
452
 
453
+ export function CreditCard(props) {
454
+ return _c("svg", Object.assign({
455
+ xmlns: "http://www.w3.org/2000/svg",
456
+ viewBox: "0 0 24 24",
457
+ width: "1em",
458
+ height: "1em",
459
+ fill: "currentColor"
460
+ }, props), _c("g", null, _c("path", {d:"M8.5 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"}), _c("path", {fillRule:"evenodd",d:"M18 5a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zM5.5 17a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-6h-13zM6 6.5a.5.5 0 0 0-.5.5v1h13V7a.5.5 0 0 0-.5-.5z",clipRule:"evenodd"})));
461
+ }
462
+
423
463
  export function CustomFunction(props) {
424
464
  return _c("svg", Object.assign({
425
465
  xmlns: "http://www.w3.org/2000/svg",
@@ -520,6 +560,16 @@ export function ExternalLink(props) {
520
560
  }, props), _c("path", {d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5z"}), _c("path", {d:"M6.5 5.5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5z"}));
521
561
  }
522
562
 
563
+ export function Folder(props) {
564
+ return _c("svg", Object.assign({
565
+ xmlns: "http://www.w3.org/2000/svg",
566
+ viewBox: "0 0 24 24",
567
+ width: "1em",
568
+ height: "1em",
569
+ fill: "currentColor"
570
+ }, props), _c("path", {fillRule:"evenodd",d:"M9.37 4.01a2 2 0 0 1 1.216.576l.828.828A2 2 0 0 0 12.828 6H18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3.172zM5.5 10.75V18a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-7.25zM6 5.5a.5.5 0 0 0-.5.5v3.25h13V8a.5.5 0 0 0-.5-.5h-5.172a3.5 3.5 0 0 1-2.474-1.025l-.829-.829a.5.5 0 0 0-.353-.146z",clipRule:"evenodd"}));
571
+ }
572
+
523
573
  export function Funnel(props) {
524
574
  return _c("svg", Object.assign({
525
575
  xmlns: "http://www.w3.org/2000/svg",
@@ -590,6 +640,36 @@ export function Highlight(props) {
590
640
  }, props), _c("path", {d:"M14 18.5V20H6v-1.5zm.567-4.626a1.5 1.5 0 0 1-.346.237l-2.825 1.397L10.5 17h-3l1.731-2.742-.203-3.145a1.5 1.5 0 0 1 .033-.418zm3.979-9.25a1.25 1.25 0 0 1 .457 1.708l-3.625 6.279L9.75 9.36l3.625-6.279a1.25 1.25 0 0 1 1.707-.457z"}));
591
641
  }
592
642
 
643
+ export function HomeFill(props) {
644
+ return _c("svg", Object.assign({
645
+ xmlns: "http://www.w3.org/2000/svg",
646
+ viewBox: "0 0 24 24",
647
+ width: "1em",
648
+ height: "1em",
649
+ fill: "currentColor"
650
+ }, props), _c("g", null, _c("path", {d:"M10.683 4.153c.754-.66 1.88-.66 2.634 0l6 5.25A2 2 0 0 1 20 10.908V18a2 2 0 0 1-2 2h-3v-6a1 1 0 0 0-.898-.995L14 13h-4a1 1 0 0 0-1 1v6H6a2 2 0 0 1-2-2v-7.092a2 2 0 0 1 .683-1.505z"}), _c("path", {d:"M13.5 14.5V20h-3v-5.5z"})));
651
+ }
652
+
653
+ export function HomeOutline(props) {
654
+ return _c("svg", Object.assign({
655
+ xmlns: "http://www.w3.org/2000/svg",
656
+ viewBox: "0 0 24 24",
657
+ width: "1em",
658
+ height: "1em",
659
+ fill: "currentColor"
660
+ }, props), _c("path", {fillRule:"evenodd",d:"M10.683 4.153c.754-.66 1.88-.66 2.634 0l6 5.25A2 2 0 0 1 20 10.908V18a2 2 0 0 1-2 2H6a2 2 0 0 1-1.99-1.796L4 18v-7.092a2 2 0 0 1 .683-1.505zm1.646 1.129a.5.5 0 0 0-.658 0l-6 5.25a.5.5 0 0 0-.171.376V18a.5.5 0 0 0 .5.5h3V14a1 1 0 0 1 1-1h4l.102.005A1 1 0 0 1 15 14v4.5h3a.5.5 0 0 0 .5-.5v-7.092a.5.5 0 0 0-.17-.377zM10.5 18.5h3v-4h-3z",clipRule:"evenodd"}));
661
+ }
662
+
663
+ export function Image(props) {
664
+ return _c("svg", Object.assign({
665
+ xmlns: "http://www.w3.org/2000/svg",
666
+ viewBox: "0 0 24 24",
667
+ width: "1em",
668
+ height: "1em",
669
+ fill: "currentColor"
670
+ }, props), _c("g", {fillRule:"evenodd",clipRule:"evenodd"}, _c("path", {d:"M14.5 7.25a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5m0 1.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"}), _c("path", {d:"M18 4c1.105 0 2 1.024 2 2.286v11.428C20 18.976 19.105 20 18 20H6q-.096 0-.19-.012-.023-.002-.044-.006a2 2 0 0 1-.144-.025l-.048-.01a2 2 0 0 1-.125-.037q-.03-.009-.06-.02a2 2 0 0 1-.155-.065l-.063-.033a2 2 0 0 1-.316-.205l-.069-.06a2 2 0 0 1-.119-.112l-.06-.062-.08-.097-.027-.033-.08-.11-.02-.032c-.25-.382-.4-.854-.4-1.367V6.286C4 5.024 4.895 4 6 4zm-8.613 7.842a.5.5 0 0 0-.774 0L5.5 15.646v2.068c0 .278.1.497.215.629.113.129.217.157.285.157h8.834zM6 5.5c-.068 0-.172.028-.285.157a.96.96 0 0 0-.215.63v6.99l1.952-2.385a2 2 0 0 1 3.096 0l6.225 7.608H18c.068 0 .172-.028.285-.157a.96.96 0 0 0 .215-.63V6.287c0-.278-.1-.496-.215-.629-.113-.129-.217-.157-.285-.157z"})));
671
+ }
672
+
593
673
  export function Inbox(props) {
594
674
  return _c("svg", Object.assign({
595
675
  xmlns: "http://www.w3.org/2000/svg",
@@ -650,6 +730,16 @@ export function LockSmall(props) {
650
730
  }, props), _c("path", {fillRule:"evenodd",d:"M12 6.25A2.75 2.75 0 0 0 9.25 9v2H9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-.25V9A2.75 2.75 0 0 0 12 6.25M13.25 11V9a1.25 1.25 0 1 0-2.5 0v2z",clipRule:"evenodd"}));
651
731
  }
652
732
 
733
+ export function LogOut(props) {
734
+ return _c("svg", Object.assign({
735
+ xmlns: "http://www.w3.org/2000/svg",
736
+ viewBox: "0 0 24 24",
737
+ width: "1em",
738
+ height: "1em",
739
+ fill: "currentColor"
740
+ }, props), _c("g", null, _c("path", {d:"M10.5 4a2 2 0 0 1 2 2v3H11V6a.5.5 0 0 0-.5-.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h4.75a.25.25 0 0 0 .25-.25V15h1.5v3.25A1.75 1.75 0 0 1 10.75 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z"}), _c("path", {d:"m21.004 12-4.443 4.998-1.121-.996 2.89-3.252H9v-1.5h9.33l-2.89-3.252 1.12-.996z"})));
741
+ }
742
+
653
743
  export function Loop(props) {
654
744
  return _c("svg", Object.assign({
655
745
  xmlns: "http://www.w3.org/2000/svg",
@@ -690,6 +780,26 @@ export function Minus(props) {
690
780
  }, props), _c("path", {fillRule:"evenodd",d:"M17 13H7v-1.5h10z",clipRule:"evenodd"}));
691
781
  }
692
782
 
783
+ export function MoonFill(props) {
784
+ return _c("svg", Object.assign({
785
+ xmlns: "http://www.w3.org/2000/svg",
786
+ viewBox: "0 0 24 24",
787
+ width: "1em",
788
+ height: "1em",
789
+ fill: "currentColor"
790
+ }, props), _c("path", {d:"M10.75 8a6.25 6.25 0 0 0 8.03 5.991.75.75 0 0 1 .911.99 8.25 8.25 0 1 1-8.91-11.141.75.75 0 0 1 .765 1.11A6.2 6.2 0 0 0 10.75 8"}));
791
+ }
792
+
793
+ export function MoonOutline(props) {
794
+ return _c("svg", Object.assign({
795
+ xmlns: "http://www.w3.org/2000/svg",
796
+ viewBox: "0 0 24 24",
797
+ width: "1em",
798
+ height: "1em",
799
+ fill: "currentColor"
800
+ }, props), _c("path", {d:"M9.25 8c0-.805.123-1.58.352-2.31A6.752 6.752 0 0 0 12 18.75a6.74 6.74 0 0 0 5.627-3.027A7.75 7.75 0 0 1 9.25 8m1.5 0a6.25 6.25 0 0 0 8.03 5.991.75.75 0 0 1 .911.99 8.25 8.25 0 1 1-8.91-11.141.75.75 0 0 1 .765 1.11A6.2 6.2 0 0 0 10.75 8"}));
801
+ }
802
+
693
803
  export function Nest(props) {
694
804
  return _c("svg", Object.assign({
695
805
  xmlns: "http://www.w3.org/2000/svg",
@@ -890,6 +1000,26 @@ export function StarOutline(props) {
890
1000
  }, props), _c("path", {fillRule:"evenodd",d:"M11.186 14.734a1.75 1.75 0 0 1 1.629 0l1.895.996-.362-2.11a1.75 1.75 0 0 1 .503-1.55l1.534-1.495-2.12-.308.216-1.484 4.626.672a.25.25 0 0 1 .139.427l-3.347 3.262a.25.25 0 0 0-.072.222l.79 4.607a.25.25 0 0 1-.363.264l-4.138-2.176a.25.25 0 0 0-.232 0l-4.138 2.175a.25.25 0 0 1-.362-.263l.79-4.607a.25.25 0 0 0-.072-.222L4.754 9.882a.25.25 0 0 1 .139-.427l4.626-.672.216 1.484-2.12.308L9.15 12.07c.412.402.6.982.503 1.55l-.362 2.11zM9.707 8.645a.25.25 0 0 1-.188.137l.216 1.484a1.75 1.75 0 0 0 1.317-.957L12 7.39l.948 1.92a1.75 1.75 0 0 0 1.318.957l.215-1.484a.25.25 0 0 1-.188-.137l-2.069-4.192a.25.25 0 0 0-.448 0z",clipRule:"evenodd"}));
891
1001
  }
892
1002
 
1003
+ export function SunFill(props) {
1004
+ return _c("svg", Object.assign({
1005
+ xmlns: "http://www.w3.org/2000/svg",
1006
+ viewBox: "0 0 24 24",
1007
+ width: "1em",
1008
+ height: "1em",
1009
+ fill: "currentColor"
1010
+ }, props), _c("g", null, _c("path", {d:"M12 17.25a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75M15.73 15.719a.75.75 0 0 1 1.061 0l1.414 1.414a.75.75 0 0 1-1.06 1.06L15.73 16.78a.75.75 0 0 1 0-1.06M7.238 15.709a.75.75 0 0 1 1.06 1.06l-1.413 1.415a.75.75 0 0 1-1.06-1.061zM12.193 8.255a3.73 3.73 0 0 1 2.582 1.224 3.8 3.8 0 0 1 .806 1.406 3.73 3.73 0 0 1 .093 1.87 3.73 3.73 0 0 1-.899 1.766 3.8 3.8 0 0 1-.988.777 3.73 3.73 0 0 1-2.17.432 3.7 3.7 0 0 1-.907-.207 3.751 3.751 0 0 1 1.483-7.268M6.005 11.245a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zM20.005 11.245a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zM5.831 5.82a.75.75 0 0 1 1.06 0l1.415 1.413a.75.75 0 0 1-1.06 1.061L5.83 6.88a.75.75 0 0 1 0-1.06M17.138 5.81a.75.75 0 0 1 1.06 1.06l-1.414 1.414a.75.75 0 0 1-1.06-1.06zM12 3.25a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0V4a.75.75 0 0 1 .75-.75"})));
1011
+ }
1012
+
1013
+ export function SunOutline(props) {
1014
+ return _c("svg", Object.assign({
1015
+ xmlns: "http://www.w3.org/2000/svg",
1016
+ viewBox: "0 0 24 24",
1017
+ width: "1em",
1018
+ height: "1em",
1019
+ fill: "currentColor"
1020
+ }, props), _c("g", null, _c("path", {d:"M12 17.25a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75M15.73 15.719a.75.75 0 0 1 1.06 0l1.415 1.414a.75.75 0 1 1-1.06 1.06L15.73 16.78a.75.75 0 0 1 0-1.06M7.238 15.709a.75.75 0 1 1 1.06 1.06l-1.413 1.415a.75.75 0 0 1-1.061-1.061z"}), _c("path", {fillRule:"evenodd",d:"M12 8.25a3.75 3.75 0 1 1 0 7.5 3.75 3.75 0 0 1 0-7.5m0 1.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5",clipRule:"evenodd"}), _c("path", {d:"M6.005 11.245a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zM20.005 11.245a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zM5.83 5.82a.75.75 0 0 1 1.061 0l1.415 1.413a.75.75 0 1 1-1.061 1.061L5.831 6.88a.75.75 0 0 1 0-1.06M17.138 5.81a.75.75 0 1 1 1.06 1.06l-1.414 1.414a.75.75 0 0 1-1.06-1.06zM12 3.25a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0V4a.75.75 0 0 1 .75-.75"})));
1021
+ }
1022
+
893
1023
  export function Tool(props) {
894
1024
  return _c("svg", Object.assign({
895
1025
  xmlns: "http://www.w3.org/2000/svg",
@@ -950,6 +1080,16 @@ export function UnlockOutline(props) {
950
1080
  }, props), _c("path", {d:"M12 13a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1"}), _c("path", {fillRule:"evenodd",d:"M18 9a2 2 0 0 1 2 2v7l-.01.204A2 2 0 0 1 18 20H6a2 2 0 0 1-1.99-1.796L4 18v-7a2 2 0 0 1 2-2h8.25V7a4.75 4.75 0 1 1 9.5 0v2h-1.5V7a3.25 3.25 0 0 0-6.5 0v2zM6 10.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5z",clipRule:"evenodd"}));
951
1081
  }
952
1082
 
1083
+ export function Upload(props) {
1084
+ return _c("svg", Object.assign({
1085
+ xmlns: "http://www.w3.org/2000/svg",
1086
+ viewBox: "0 0 24 24",
1087
+ width: "1em",
1088
+ height: "1em",
1089
+ fill: "currentColor"
1090
+ }, props), _c("g", null, _c("path", {d:"M5.5 18a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-4.25H20V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4.25h1.5z"}), _c("path", {d:"m16.998 8.44-.996 1.12-3.252-2.89V17h-1.5V6.67L7.998 9.56l-.996-1.12L12 3.995z"})));
1091
+ }
1092
+
953
1093
  export function UserCircleFill(props) {
954
1094
  return _c("svg", Object.assign({
955
1095
  xmlns: "http://www.w3.org/2000/svg",
@@ -970,6 +1110,16 @@ export function UserCircleOutline(props) {
970
1110
  }, props), _c("path", {fillRule:"evenodd",d:"M7.05 18.286a8 8 0 1 1 9.9-12.571 8 8 0 0 1-9.898 12.57m8.177-.643A6.47 6.47 0 0 1 12 18.5a6.47 6.47 0 0 1-3.227-.857 3.5 3.5 0 0 1 6.454 0m1.23-.912a5 5 0 0 0-8.914 0 6.5 6.5 0 1 1 8.914 0",clipRule:"evenodd"}), _c("path", {fillRule:"evenodd",d:"M12 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m0 1.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6",clipRule:"evenodd"}));
971
1111
  }
972
1112
 
1113
+ export function Users(props) {
1114
+ return _c("svg", Object.assign({
1115
+ xmlns: "http://www.w3.org/2000/svg",
1116
+ viewBox: "0 0 24 24",
1117
+ width: "1em",
1118
+ height: "1em",
1119
+ fill: "currentColor"
1120
+ }, props), _c("g", null, _c("path", {d:"M8 15.25A4.75 4.75 0 0 1 12.75 20h-1.5a3.25 3.25 0 0 0-6.5 0h-1.5A4.75 4.75 0 0 1 8 15.25M16 12.25A4.75 4.75 0 0 1 20.75 17h-1.5a3.25 3.25 0 0 0-5.788-2.031l-1.17-.938A4.74 4.74 0 0 1 16 12.25"}), _c("path", {fillRule:"evenodd",d:"M8 7a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m0 1.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4M16 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m0 1.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})));
1121
+ }
1122
+
973
1123
  export function ViewOff(props) {
974
1124
  return _c("svg", Object.assign({
975
1125
  xmlns: "http://www.w3.org/2000/svg",
@@ -993,6 +1143,7 @@ export function View(props) {
993
1143
  export const systemIcons = {
994
1144
  'alert-circle-fill': AlertCircleFill,
995
1145
  'alert-circle-outline': AlertCircleOutline,
1146
+ 'alert-triangle': AlertTriangle,
996
1147
  'arrow-clockwise': ArrowClockwise,
997
1148
  'arrow-counterclockwise': ArrowCounterclockwise,
998
1149
  'arrow-down': ArrowDown,
@@ -1002,6 +1153,8 @@ export const systemIcons = {
1002
1153
  'attachment': Attachment,
1003
1154
  'bell-unread': BellUnread,
1004
1155
  'bell': Bell,
1156
+ 'building': Building,
1157
+ 'chart': Chart,
1005
1158
  'check-circle-fill': CheckCircleFill,
1006
1159
  'check-circle-outline': CheckCircleOutline,
1007
1160
  'check-small': CheckSmall,
@@ -1029,6 +1182,7 @@ export const systemIcons = {
1029
1182
  'cloud': Cloud,
1030
1183
  'cog': Cog,
1031
1184
  'copy': Copy,
1185
+ 'credit-card': CreditCard,
1032
1186
  'drag': Drag,
1033
1187
  'download': Download,
1034
1188
  'duplicate': Duplicate,
@@ -1038,6 +1192,7 @@ export const systemIcons = {
1038
1192
  'ellipsis-v': EllipsisV,
1039
1193
  'envelope': Envelope,
1040
1194
  'external-link': ExternalLink,
1195
+ 'folder': Folder,
1041
1196
  'funnel': Funnel,
1042
1197
  'globe': Globe,
1043
1198
  'handle-alt': HandleAlt,
@@ -1045,6 +1200,9 @@ export const systemIcons = {
1045
1200
  'help': Help,
1046
1201
  'hide': Hide,
1047
1202
  'highlight': Highlight,
1203
+ 'home-fill': HomeFill,
1204
+ 'home-outline': HomeOutline,
1205
+ 'image': Image,
1048
1206
  'inbox': Inbox,
1049
1207
  'key': Key,
1050
1208
  'link': Link,
@@ -1052,9 +1210,12 @@ export const systemIcons = {
1052
1210
  'lock-outline': LockOutline,
1053
1211
  'lock-small': LockSmall,
1054
1212
  'lock': LockFill,
1213
+ 'log-out': LogOut,
1055
1214
  'minus-circle-fill': MinusCircleFill,
1056
1215
  'minus-circle-outline': MinusCircleOutline,
1057
1216
  'minus': Minus,
1217
+ 'moon-fill': MoonFill,
1218
+ 'moon-outline': MoonOutline,
1058
1219
  'paste': Paste,
1059
1220
  'pin-small': PinSmall,
1060
1221
  'pin': Pin,
@@ -1064,6 +1225,8 @@ export const systemIcons = {
1064
1225
  'plus': Plus,
1065
1226
  'recurring': Recurring,
1066
1227
  'redo': Redo,
1228
+ 'sun-fill': SunFill,
1229
+ 'sun-outline': SunOutline,
1067
1230
  'undo': Undo,
1068
1231
  'reverse': Reverse,
1069
1232
  'search': Search,
@@ -1088,8 +1251,10 @@ export const systemIcons = {
1088
1251
  'unlock-fill': UnlockFill,
1089
1252
  'unlock-outline': UnlockOutline,
1090
1253
  'unlock': UnlockFill,
1254
+ 'upload': Upload,
1091
1255
  'user-circle-fill': UserCircleFill,
1092
1256
  'user-circle-outline': UserCircleOutline,
1257
+ 'users': Users,
1093
1258
  'view': View,
1094
1259
  'view-off': ViewOff,
1095
1260
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangible/ui",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "Tangible Design System",
5
5
  "type": "module",
6
6
  "main": "./components/index.js",
@@ -130,8 +130,10 @@ node silently does nothing. For the rest of the family, the fix is to put the *t
130
130
  `.tui-interface`. `getPortalRootFor` is importable from `@tangible/ui/utils/portal` if you need to
131
131
  resolve the same root yourself.
132
132
 
133
+ If `<html>` itself is the `.tui-interface`, portal roots mount inside `<body>`, not on `<html>`.
134
+
133
135
  **3. Dark mode is `data-theme`, not a class.** TUI's palette is gated on `[data-theme="dark"]`
134
- (`"auto"` follows `prefers-color-scheme`; absent means light and inherits the host's colour). A host
136
+ (`"auto"` follows `prefers-color-scheme`; absent means light and inherits the host's colour). With `data-theme="dark"`/`"auto"` on an ancestor such as `<html>` and an un-themed `.tui-interface` on `<body>`, TUI surfaces (panels, cards, filled controls) render correctly because they own their text colour, but in-flow text directly inside the interface still inherits the HOST's colour by design — so set the host's own body colour (e.g. `color: var(--tui-color-fg)` on `body`) if you want TUI's. A host
135
137
  that toggles a `.dark` class (Tailwind's strategy) drives nothing in TUI. Translate it: observe what
136
138
  is actually applied to the document — a `MutationObserver` on `<html>`'s `class` catches boot,
137
139
  explicit toggles and OS changes alike — and mirror it onto your wrapper. Resolve to explicit
@@ -239,6 +241,19 @@ Useful primitives:
239
241
  `--tui-control-font-size-{sm,md,lg}` to decouple type size from the height tier. One override
240
242
  normalises a whole host context at once.
241
243
 
244
+ Two families share a token layer, so you can restyle the whole family in one place:
245
+
246
+ - **Control chrome:** `--tui-input-{bg,fg,border,border-focus,radius}` reaches TextInput,
247
+ SearchInput, the pickers and every select-family trigger.
248
+ - **Listbox panels and options** (Select, MultiSelect, Combobox, MultiCombobox, SearchSelect;
249
+ 0.2.23+):
250
+ - Panel: `--tui-listbox-{bg,fg,border,shadow,radius}`.
251
+ - Options: `--tui-listbox-option-{radius,gap,bg-hover,fg-hover,bg-selected,fg-selected,bg-selected-hover,check}`.
252
+
253
+ A component's own token (e.g. `--tui-combobox-option-bg-selected`) overrides the shared one for
254
+ that component only. If you re-point an option state's background, set its `-fg-*` partner too:
255
+ the text defaults to the panel's own fg, which is tuned for TUI's default fills.
256
+
242
257
  `className` is for layout integration (margin, grid placement), not appearance. Beyond the token
243
258
  API the sanctioned escape hatch is to **swizzle** — copy the component source and own the fork.
244
259
 
@@ -458,11 +473,6 @@ Re-verify before you work around anything.
458
473
  ([#86](https://github.com/TangibleInc/tangible-ui/issues/86))
459
474
  - **`tui-manifest.json` is lossy** — see "Where the API lives" above for the shape of it.
460
475
  ([#87](https://github.com/TangibleInc/tangible-ui/issues/87))
461
- - **Two `.tui-interface` wrappers can end up sharing one portal root** — `reconcileFallback()`
462
- adopts a stranded root into the *first* interface in document order. Most likely to fire in
463
- exactly the apps that hit the portal wiring above, since a portal created before any interface is
464
- in the DOM is what strands a root in the first place.
465
- ([#88](https://github.com/TangibleInc/tangible-ui/issues/88))
466
476
 
467
477
  ## Verify
468
478