@brett_lamy/ui 1.1.0 → 2.0.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.
Files changed (183) hide show
  1. package/README.md +36 -22
  2. package/dist/components/button.stories.d.ts +2 -0
  3. package/dist/components/button.stories.d.ts.map +1 -1
  4. package/dist/components/chat/chat-column.stories.d.ts +2 -0
  5. package/dist/components/chat/chat-column.stories.d.ts.map +1 -1
  6. package/dist/components/chat/floating-chat.d.ts +19 -0
  7. package/dist/components/chat/floating-chat.d.ts.map +1 -1
  8. package/dist/components/chat/floating-chat.stories.d.ts.map +1 -1
  9. package/dist/components/chat/floating-sheet.d.ts +21 -1
  10. package/dist/components/chat/floating-sheet.d.ts.map +1 -1
  11. package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -1
  12. package/dist/components/command-menu.d.ts +210 -0
  13. package/dist/components/command-menu.d.ts.map +1 -0
  14. package/dist/components/command-menu.stories.d.ts +17 -0
  15. package/dist/components/command-menu.stories.d.ts.map +1 -0
  16. package/dist/components/credenza.d.ts +7 -2
  17. package/dist/components/credenza.d.ts.map +1 -1
  18. package/dist/components/edge-drawer.d.ts +14 -2
  19. package/dist/components/edge-drawer.d.ts.map +1 -1
  20. package/dist/components/index-bar.d.ts.map +1 -1
  21. package/dist/components/list-row.stories.d.ts +3 -0
  22. package/dist/components/list-row.stories.d.ts.map +1 -1
  23. package/dist/components/list.d.ts +15 -1
  24. package/dist/components/list.d.ts.map +1 -1
  25. package/dist/components/morph.d.ts +6 -3
  26. package/dist/components/morph.d.ts.map +1 -1
  27. package/dist/components/navigation-stack.d.ts +13 -2
  28. package/dist/components/navigation-stack.d.ts.map +1 -1
  29. package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -1
  30. package/dist/components/pencilkit/pencil-toolbar.d.ts +7 -5
  31. package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
  32. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -1
  33. package/dist/components/progress-ring.d.ts +34 -15
  34. package/dist/components/progress-ring.d.ts.map +1 -1
  35. package/dist/components/segmented.d.ts +1 -1
  36. package/dist/components/segmented.d.ts.map +1 -1
  37. package/dist/components/side-drawer.d.ts +6 -1
  38. package/dist/components/side-drawer.d.ts.map +1 -1
  39. package/dist/components/sidebar.d.ts.map +1 -1
  40. package/dist/components/slider.d.ts +9 -3
  41. package/dist/components/slider.d.ts.map +1 -1
  42. package/dist/components/split-view.d.ts +34 -5
  43. package/dist/components/split-view.d.ts.map +1 -1
  44. package/dist/components/split-view.stories.d.ts +7 -0
  45. package/dist/components/split-view.stories.d.ts.map +1 -1
  46. package/dist/components/switch.d.ts +1 -1
  47. package/dist/components/switch.d.ts.map +1 -1
  48. package/dist/components/tab-view.d.ts +7 -6
  49. package/dist/components/tab-view.d.ts.map +1 -1
  50. package/dist/components/tab-view.stories.d.ts +9 -0
  51. package/dist/components/tab-view.stories.d.ts.map +1 -1
  52. package/dist/components/toast.d.ts +8 -0
  53. package/dist/components/toast.d.ts.map +1 -1
  54. package/dist/components/workbench/chat.d.ts +2 -2
  55. package/dist/components/workbench/chat.d.ts.map +1 -1
  56. package/dist/components/workbench/composer.d.ts +8 -8
  57. package/dist/components/workbench/composer.d.ts.map +1 -1
  58. package/dist/components/workbench/fixtures.d.ts.map +1 -1
  59. package/dist/components/workbench/markdown.d.ts.map +1 -1
  60. package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -1
  61. package/dist/components/workbench/model-picker.d.ts.map +1 -1
  62. package/dist/components/workbench/snap-sheet.d.ts +3 -2
  63. package/dist/components/workbench/snap-sheet.d.ts.map +1 -1
  64. package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -1
  65. package/dist/components/workbench/surfaces.d.ts +2 -2
  66. package/dist/components/workbench/surfaces.d.ts.map +1 -1
  67. package/dist/components/workbench/terminal.d.ts +10 -2
  68. package/dist/components/workbench/terminal.d.ts.map +1 -1
  69. package/dist/components/workbench/terminal.stories.d.ts.map +1 -1
  70. package/dist/components/workbench/wb-popover.d.ts +2 -4
  71. package/dist/components/workbench/wb-popover.d.ts.map +1 -1
  72. package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
  73. package/dist/demos/haptics-playground.d.ts.map +1 -1
  74. package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
  75. package/dist/demos/map-chat/tile-map.d.ts +36 -0
  76. package/dist/demos/map-chat/tile-map.d.ts.map +1 -1
  77. package/dist/demos/pencilkit/pencilkit-demo.d.ts +2 -0
  78. package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -1
  79. package/dist/demos/sidebar-demo.d.ts +0 -3
  80. package/dist/demos/sidebar-demo.d.ts.map +1 -1
  81. package/dist/demos/split-view-demos.d.ts.map +1 -1
  82. package/dist/index.css +1 -1
  83. package/dist/index.d.ts +24 -44
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +8610 -8452
  86. package/dist/lib/chat/chat-shell-context.d.ts +2 -1
  87. package/dist/lib/chat/chat-shell-context.d.ts.map +1 -1
  88. package/dist/lib/icon-shapes/chat.d.ts +32 -0
  89. package/dist/lib/icon-shapes/chat.d.ts.map +1 -0
  90. package/dist/lib/icon-shapes/pencilkit.d.ts +49 -0
  91. package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -0
  92. package/dist/lib/icon-shapes/workbench.d.ts +199 -0
  93. package/dist/lib/icon-shapes/workbench.d.ts.map +1 -0
  94. package/dist/lib/icon.d.ts +352 -1
  95. package/dist/lib/icon.d.ts.map +1 -1
  96. package/dist/lib/pencilkit/constants.d.ts +8 -8
  97. package/dist/lib/pencilkit/constants.d.ts.map +1 -1
  98. package/dist/lib/primitives.d.ts +1 -1
  99. package/dist/lib/primitives.d.ts.map +1 -1
  100. package/dist/lib/row-label.d.ts +9 -0
  101. package/dist/lib/row-label.d.ts.map +1 -0
  102. package/dist/lib/sheet-drag.d.ts +22 -7
  103. package/dist/lib/sheet-drag.d.ts.map +1 -1
  104. package/dist/lib/theme.d.ts +36 -5
  105. package/dist/lib/theme.d.ts.map +1 -1
  106. package/dist/lib/workbench/icons.d.ts +5 -15
  107. package/dist/lib/workbench/icons.d.ts.map +1 -1
  108. package/dist/lib/workbench/motion.d.ts +0 -64
  109. package/dist/lib/workbench/motion.d.ts.map +1 -1
  110. package/dist/lib/workbench/theme.d.ts +2 -3
  111. package/dist/lib/workbench/theme.d.ts.map +1 -1
  112. package/dist/lib/workbench/util.d.ts +5 -3
  113. package/dist/lib/workbench/util.d.ts.map +1 -1
  114. package/dist/templates/artifact-chat-container.d.ts +6 -1
  115. package/dist/templates/artifact-chat-container.d.ts.map +1 -1
  116. package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -1
  117. package/dist/templates/chat-shell.d.ts +6 -5
  118. package/dist/templates/chat-shell.d.ts.map +1 -1
  119. package/dist/templates/workbench-shell.d.ts +7 -7
  120. package/dist/templates/workbench-shell.d.ts.map +1 -1
  121. package/dist/templates/workbench-shell.stories.d.ts.map +1 -1
  122. package/dist/theme.css +325 -0
  123. package/package.json +5 -1
  124. package/dist/components/chat/channel-list.d.ts +0 -35
  125. package/dist/components/chat/channel-list.d.ts.map +0 -1
  126. package/dist/components/chat/channel-list.stories.d.ts +0 -13
  127. package/dist/components/chat/channel-list.stories.d.ts.map +0 -1
  128. package/dist/components/chat/chat-avatar.d.ts +0 -13
  129. package/dist/components/chat/chat-avatar.d.ts.map +0 -1
  130. package/dist/components/chat/chat-avatar.stories.d.ts +0 -9
  131. package/dist/components/chat/chat-avatar.stories.d.ts.map +0 -1
  132. package/dist/components/chat/chat-composer.d.ts +0 -22
  133. package/dist/components/chat/chat-composer.d.ts.map +0 -1
  134. package/dist/components/chat/chat-composer.stories.d.ts +0 -16
  135. package/dist/components/chat/chat-composer.stories.d.ts.map +0 -1
  136. package/dist/components/chat/chat.fixtures.d.ts +0 -29
  137. package/dist/components/chat/chat.fixtures.d.ts.map +0 -1
  138. package/dist/components/chat/member-list.d.ts +0 -21
  139. package/dist/components/chat/member-list.d.ts.map +0 -1
  140. package/dist/components/chat/message-list.d.ts +0 -34
  141. package/dist/components/chat/message-list.d.ts.map +0 -1
  142. package/dist/components/chat/message.d.ts +0 -47
  143. package/dist/components/chat/message.d.ts.map +0 -1
  144. package/dist/components/chat/message.stories.d.ts +0 -30
  145. package/dist/components/chat/message.stories.d.ts.map +0 -1
  146. package/dist/components/chat/rich-text.d.ts +0 -8
  147. package/dist/components/chat/rich-text.d.ts.map +0 -1
  148. package/dist/components/chat/rich-text.stories.d.ts +0 -9
  149. package/dist/components/chat/rich-text.stories.d.ts.map +0 -1
  150. package/dist/components/chat/server-header.d.ts +0 -10
  151. package/dist/components/chat/server-header.d.ts.map +0 -1
  152. package/dist/components/chat/thread-preview.d.ts +0 -25
  153. package/dist/components/chat/thread-preview.d.ts.map +0 -1
  154. package/dist/components/chat/thread-preview.stories.d.ts +0 -18
  155. package/dist/components/chat/thread-preview.stories.d.ts.map +0 -1
  156. package/dist/components/chat/user-panel.d.ts +0 -16
  157. package/dist/components/chat/user-panel.d.ts.map +0 -1
  158. package/dist/components/chat/workspace-rail.d.ts +0 -56
  159. package/dist/components/chat/workspace-rail.d.ts.map +0 -1
  160. package/dist/components/chat/workspace-rail.stories.d.ts +0 -12
  161. package/dist/components/chat/workspace-rail.stories.d.ts.map +0 -1
  162. package/dist/components/pencilkit/pk-icon.d.ts +0 -8
  163. package/dist/components/pencilkit/pk-icon.d.ts.map +0 -1
  164. package/dist/components/pill-button.d.ts +0 -11
  165. package/dist/components/pill-button.d.ts.map +0 -1
  166. package/dist/components/pill-button.stories.d.ts +0 -9
  167. package/dist/components/pill-button.stories.d.ts.map +0 -1
  168. package/dist/components/workbench/thread-sidebar.d.ts +0 -100
  169. package/dist/components/workbench/thread-sidebar.d.ts.map +0 -1
  170. package/dist/components/workbench/thread-sidebar.stories.d.ts +0 -9
  171. package/dist/components/workbench/thread-sidebar.stories.d.ts.map +0 -1
  172. package/dist/lib/chat/chat-icon.d.ts +0 -24
  173. package/dist/lib/chat/chat-icon.d.ts.map +0 -1
  174. package/dist/lib/chat/chat-tokens.d.ts +0 -72
  175. package/dist/lib/chat/chat-tokens.d.ts.map +0 -1
  176. package/dist/lib/chat/chat-users.d.ts +0 -18
  177. package/dist/lib/chat/chat-users.d.ts.map +0 -1
  178. package/dist/lib/chat/kvib.d.ts +0 -3
  179. package/dist/lib/chat/kvib.d.ts.map +0 -1
  180. package/dist/lib/chat/title-ref.d.ts +0 -3
  181. package/dist/lib/chat/title-ref.d.ts.map +0 -1
  182. package/dist/templates/chat-shell.stories.d.ts +0 -22
  183. package/dist/templates/chat-shell.stories.d.ts.map +0 -1
@@ -23,6 +23,221 @@ export type IconShape = {
23
23
  rx?: number;
24
24
  };
25
25
  declare const SHAPES: {
26
+ readonly 'pencil-tip': readonly [{
27
+ readonly d: "M13.2 4.6l6.2 6.2L9 21.2H3.2V15z";
28
+ }, {
29
+ readonly d: "M11 7l6 6";
30
+ }];
31
+ readonly highlighter: readonly [{
32
+ readonly d: "M14.6 3.6l5.8 5.8-8.6 8.6H6.4v-5.4z";
33
+ }, {
34
+ readonly d: "M6.4 17.6L4 21.2";
35
+ }, {
36
+ readonly d: "M3 21.2h17";
37
+ }];
38
+ readonly 'pencil-sketch': readonly [{
39
+ readonly d: "M4.5 19.5l1-4L16.8 4.2a2 2 0 0 1 2.8 2.8L8.5 18.3l-4 1.2z";
40
+ }, {
41
+ readonly d: "M14.6 6.4l3 3";
42
+ }];
43
+ readonly eraser: readonly [{
44
+ readonly d: "M7.8 20.5h8.7";
45
+ }, {
46
+ readonly d: "M4.6 15.1l8.3-8.3a2 2 0 0 1 2.8 0l2.5 2.5a2 2 0 0 1 0 2.8l-7.4 7.4H8.4a2 2 0 0 1-1.4-.6z";
47
+ }, {
48
+ readonly d: "M10.3 10.2l4.6 4.6";
49
+ }];
50
+ readonly 'arrow-uturn-backward': readonly [{
51
+ readonly d: "M7.5 9.2H14a5 5 0 0 1 0 10h-3.4";
52
+ }, {
53
+ readonly d: "M10.8 5.8L7.4 9.2l3.4 3.4";
54
+ }];
55
+ readonly 'arrow-uturn-forward': readonly [{
56
+ readonly d: "M16.5 9.2H10a5 5 0 0 0 0 10h3.4";
57
+ }, {
58
+ readonly d: "M13.2 5.8l3.4 3.4-3.4 3.4";
59
+ }];
60
+ readonly 'trash-slim': readonly [{
61
+ readonly d: "M5 7h14M9.5 7V5.4A1.4 1.4 0 0 1 10.9 4h2.2a1.4 1.4 0 0 1 1.4 1.4V7M7 7l.8 12a1.4 1.4 0 0 0 1.4 1.3h5.6a1.4 1.4 0 0 0 1.4-1.3L17 7";
62
+ }];
63
+ readonly number: readonly [{
64
+ readonly d: "M9 4L7 20M17 4l-2 16M4 9h17M3 15h17";
65
+ }];
66
+ readonly 'chevron-right-compact': readonly [{
67
+ readonly d: "M9 6l6 6-6 6";
68
+ }];
69
+ readonly 'text-bubble': readonly [{
70
+ readonly d: "M7 8h10M7 12h6M5 4h14v12H9l-4 4z";
71
+ }];
72
+ readonly 'bell-simple': readonly [{
73
+ readonly d: "M6 9a6 6 0 0112 0c0 5 2 6 2 6H4s2-1 2-6M10 20a2 2 0 004 0";
74
+ }];
75
+ readonly 'bubble-oval': readonly [{
76
+ readonly d: "M12 4.5c4.7 0 8.5 3 8.5 6.8s-3.8 6.8-8.5 6.8c-1 0-1.9-.1-2.8-.4L5 19.5l1.1-3.4C4.5 14.9 3.5 13.2 3.5 11.3c0-3.8 3.8-6.8 8.5-6.8z";
77
+ }];
78
+ readonly 'bolt-simple': readonly [{
79
+ readonly d: "M13 2L4 14h6l-1 8 9-12h-6z";
80
+ }];
81
+ readonly sparkle: readonly [{
82
+ readonly d: "M12 3l2.2 6.2L20 12l-5.8 2.8L12 21l-2.2-6.2L4 12l5.8-2.8z";
83
+ }];
84
+ readonly 'people-simple': readonly [{
85
+ readonly d: "M9 11a3.5 3.5 0 100-7 3.5 3.5 0 000 7zM2.5 20c0-3.6 2.9-5.5 6.5-5.5s6.5 1.9 6.5 5.5M16 4.6a3.5 3.5 0 010 6.8M18 15c2.1.7 3.5 2.2 3.5 5";
86
+ }];
87
+ readonly 'sidebar-left': readonly [{
88
+ readonly d: "M4 5.5h16a1.5 1.5 0 0 1 1.5 1.5v10a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 17V7A1.5 1.5 0 0 1 4 5.5z";
89
+ }, {
90
+ readonly d: "M9 5.5v13";
91
+ }];
92
+ readonly 'sidebar-right': readonly [{
93
+ readonly d: "M4 5.5h16a1.5 1.5 0 0 1 1.5 1.5v10a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 17V7A1.5 1.5 0 0 1 4 5.5z";
94
+ }, {
95
+ readonly d: "M15 5.5v13";
96
+ }];
97
+ readonly 'panel-bottom': readonly [{
98
+ readonly d: "M4 5.5h16a1.5 1.5 0 0 1 1.5 1.5v10a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 17V7A1.5 1.5 0 0 1 4 5.5z";
99
+ }, {
100
+ readonly d: "M2.5 13.5h19";
101
+ }];
102
+ readonly 'square-pencil': readonly [{
103
+ readonly d: "M11 5H6a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-5";
104
+ }, {
105
+ readonly d: "M17.3 4.2a1.9 1.9 0 0 1 2.7 2.7l-7.6 7.6-3.4.7.7-3.4z";
106
+ }];
107
+ readonly magnifier: readonly [{
108
+ readonly d: "M10.8 4a6.8 6.8 0 1 1 0 13.6 6.8 6.8 0 0 1 0-13.6z";
109
+ }, {
110
+ readonly d: "M15.9 15.9L20.5 20.5";
111
+ }];
112
+ readonly 'folder-closed': readonly [{
113
+ readonly d: "M3.5 7A1.5 1.5 0 0 1 5 5.5h4l2 2.5h8A1.5 1.5 0 0 1 20.5 9.5V17A1.5 1.5 0 0 1 19 18.5H5A1.5 1.5 0 0 1 3.5 17z";
114
+ }];
115
+ readonly 'folder-plus': readonly [{
116
+ readonly d: "M3.5 7A1.5 1.5 0 0 1 5 5.5h4l2 2.5h8A1.5 1.5 0 0 1 20.5 9.5V17A1.5 1.5 0 0 1 19 18.5H5A1.5 1.5 0 0 1 3.5 17z";
117
+ }, {
118
+ readonly d: "M12 11.2v4M10 13.2h4";
119
+ }];
120
+ readonly 'chevron-down-wide': readonly [{
121
+ readonly d: "M6 9.5l6 6 6-6";
122
+ }];
123
+ readonly 'chevron-right-wide': readonly [{
124
+ readonly d: "M9.5 6l6 6-6 6";
125
+ }];
126
+ readonly 'chevron-up-wide': readonly [{
127
+ readonly d: "M6 14.5l6-6 6 6";
128
+ }];
129
+ readonly 'xmark-large': readonly [{
130
+ readonly d: "M6 6l12 12M18 6L6 18";
131
+ }];
132
+ readonly gearshape: readonly [{
133
+ readonly d: "M12 8.6a3.4 3.4 0 1 1 0 6.8 3.4 3.4 0 0 1 0-6.8z";
134
+ }, {
135
+ readonly d: "M12 2.8l.9 2.4a7 7 0 0 1 2.1.9l2.4-1 1.5 1.5-1 2.4c.4.6.7 1.3.9 2.1l2.4.9v2l-2.4.9a7 7 0 0 1-.9 2.1l1 2.4-1.5 1.5-2.4-1a7 7 0 0 1-2.1.9l-.9 2.4h-2l-.9-2.4a7 7 0 0 1-2.1-.9l-2.4 1-1.5-1.5 1-2.4a7 7 0 0 1-.9-2.1l-2.4-.9v-2l2.4-.9c.2-.8.5-1.5.9-2.1l-1-2.4L6.1 5l2.4 1a7 7 0 0 1 2.1-.9l.9-2.4z";
136
+ }];
137
+ readonly terminal: readonly [{
138
+ readonly d: "M4 5h16a1.5 1.5 0 0 1 1.5 1.5v11A1.5 1.5 0 0 1 20 19H4a1.5 1.5 0 0 1-1.5-1.5v-11A1.5 1.5 0 0 1 4 5z";
139
+ }, {
140
+ readonly d: "M6.5 9l3 3-3 3M12 15h5";
141
+ }];
142
+ readonly network: readonly [{
143
+ readonly d: "M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18z";
144
+ }, {
145
+ readonly d: "M3 12h18M12 3c2.6 2.3 4 5.5 4 9s-1.4 6.7-4 9c-2.6-2.3-4-5.5-4-9s1.4-6.7 4-9z";
146
+ }];
147
+ readonly 'square-on-square': readonly [{
148
+ readonly d: "M8 7.5V5.4A1.4 1.4 0 0 1 9.4 4h9.2A1.4 1.4 0 0 1 20 5.4v9.2a1.4 1.4 0 0 1-1.4 1.4h-2.1";
149
+ }, {
150
+ readonly d: "M4 9.4A1.4 1.4 0 0 1 5.4 8h9.2A1.4 1.4 0 0 1 16 9.4v9.2a1.4 1.4 0 0 1-1.4 1.4H5.4A1.4 1.4 0 0 1 4 18.6z";
151
+ }];
152
+ readonly 'doc-text': readonly [{
153
+ readonly d: "M13.5 3.5H7A1.5 1.5 0 0 0 5.5 5v14A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5V8.5z";
154
+ }, {
155
+ readonly d: "M13.5 3.5V8.5h5M9.4 12h5.2M12 15.8h-2.6";
156
+ }];
157
+ readonly robot: readonly [{
158
+ readonly d: "M7 9.5h10A2.5 2.5 0 0 1 19.5 12v4A2.5 2.5 0 0 1 17 18.5H7A2.5 2.5 0 0 1 4.5 16v-4A2.5 2.5 0 0 1 7 9.5z";
159
+ }, {
160
+ readonly d: "M12 9.5V6.2M12 6a1.3 1.3 0 1 1 0-2.6 1.3 1.3 0 0 1 0 2.6zM9 13.3v1.4M15 13.3v1.4";
161
+ }];
162
+ readonly 'arrows-expand': readonly [{
163
+ readonly d: "M14 4.5h5.5V10M10 19.5H4.5V14M19.5 4.5L14 10M4.5 19.5L10 14";
164
+ }];
165
+ readonly 'arrows-collapse': readonly [{
166
+ readonly d: "M9.5 4v5.5H4M14.5 20v-5.5H20M9.5 9.5L4 4M14.5 14.5L20 20";
167
+ }];
168
+ readonly 'arrow-up-compact': readonly [{
169
+ readonly d: "M12 19V5M6 11l6-6 6 6";
170
+ }];
171
+ readonly 'stop-square': readonly [{
172
+ readonly d: "M8 8h8v8H8z";
173
+ }];
174
+ readonly branch: readonly [{
175
+ readonly d: "M7 4.5a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6zM7 15.9a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6zM17 6.1a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6z";
176
+ }, {
177
+ readonly d: "M7 8.1v7.8M17 9.7c0 3.2-3.4 3.5-6 4.1a4.3 4.3 0 0 0-2.7 1.5";
178
+ }];
179
+ readonly bin: readonly [{
180
+ readonly d: "M5 7h14M9.5 7V5.2A1.2 1.2 0 0 1 10.7 4h2.6a1.2 1.2 0 0 1 1.2 1.2V7M7 7l.8 12a1.4 1.4 0 0 0 1.4 1.3h5.6a1.4 1.4 0 0 0 1.4-1.3L17 7";
181
+ }];
182
+ readonly 'rectangle-split': readonly [{
183
+ readonly d: "M5 4.5h14A1.5 1.5 0 0 1 20.5 6v12a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18V6A1.5 1.5 0 0 1 5 4.5z";
184
+ }, {
185
+ readonly d: "M12 4.5v15";
186
+ }];
187
+ readonly checkmark: readonly [{
188
+ readonly d: "M4.5 12.5l5 5 10-11";
189
+ }];
190
+ readonly 'checkmark-circle': readonly [{
191
+ readonly d: "M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18z";
192
+ }, {
193
+ readonly d: "M8.2 12.4l2.6 2.6 5-5.6";
194
+ }];
195
+ readonly 'clock-dial': readonly [{
196
+ readonly d: "M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17z";
197
+ }, {
198
+ readonly d: "M12 7.5V12l3.2 2";
199
+ }];
200
+ readonly 'lock-rounded': readonly [{
201
+ readonly d: "M7 10.5V8a5 5 0 0 1 10 0v2.5";
202
+ }, {
203
+ readonly d: "M6.5 10.5h11A1.5 1.5 0 0 1 19 12v6a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 18v-6a1.5 1.5 0 0 1 1.5-1.5z";
204
+ }];
205
+ readonly asterisk: readonly [{
206
+ readonly d: "M12 3v18M4.2 7.5l15.6 9M19.8 7.5l-15.6 9";
207
+ }];
208
+ readonly 'doc-corner': readonly [{
209
+ readonly d: "M13.5 3.5H7A1.5 1.5 0 0 0 5.5 5v14A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5V8.5z";
210
+ }, {
211
+ readonly d: "M13.5 3.5V8.5h5";
212
+ }];
213
+ readonly 'bubble-left': readonly [{
214
+ readonly d: "M4.5 6.5A2 2 0 0 1 6.5 4.5h11a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H9l-4.5 3.5z";
215
+ }];
216
+ readonly 'arrow-down-to-line': readonly [{
217
+ readonly d: "M12 4v11M7 10.5l5 5 5-5M5 19.5h14";
218
+ }];
219
+ readonly at: readonly [{
220
+ readonly d: "M12 8a4 4 0 1 0 4 4v-4";
221
+ }, {
222
+ readonly d: "M16 12a4 4 0 1 1-1.2-2.9";
223
+ }, {
224
+ readonly d: "M12 3a9 9 0 1 0 6.4 15.3";
225
+ }];
226
+ readonly 'line-3-horizontal': readonly [{
227
+ readonly d: "M4 6.5h16M4 12h16M4 17.5h16";
228
+ }];
229
+ readonly 'play-outline': readonly [{
230
+ readonly d: "M8 5.5l11 6.5-11 6.5z";
231
+ }];
232
+ readonly 'paperclip-diagonal': readonly [{
233
+ readonly d: "M20 11.4l-7.9 7.9a5 5 0 0 1-7.1-7.1l8.3-8.3a3.3 3.3 0 0 1 4.7 4.7l-8.3 8.3a1.7 1.7 0 0 1-2.4-2.4l7.6-7.6";
234
+ }];
235
+ readonly 'star-sharp': readonly [{
236
+ readonly d: "M12 3.8l2.5 5.2 5.7.8-4.1 4 1 5.7-5.1-2.7-5.1 2.7 1-5.7-4.1-4 5.7-.8z";
237
+ }];
238
+ readonly 'grip-dots': readonly [{
239
+ readonly d: "M9 7h.01M15 7h.01M9 12h.01M15 12h.01M9 17h.01M15 17h.01";
240
+ }];
26
241
  readonly play: readonly [{
27
242
  readonly d: "M7.2 4.6c0-1 1.1-1.6 1.9-1.1l11 6.9c.8.5.8 1.7 0 2.2l-11 6.9c-.8.5-1.9-.1-1.9-1.1z";
28
243
  readonly f: 1;
@@ -179,6 +394,27 @@ declare const SHAPES: {
179
394
  readonly c: readonly [16.8, 15.4, 2.3];
180
395
  readonly f: 1;
181
396
  }];
397
+ readonly 'music-note-list': readonly [{
398
+ readonly d: "M4 6.5h10M4 11h10M4 15.5h6";
399
+ }, {
400
+ readonly d: "M18 5v10.4";
401
+ }, {
402
+ readonly c: readonly [15.8, 15.6, 2.2];
403
+ readonly f: 2;
404
+ }];
405
+ readonly 'books-vertical': readonly [{
406
+ readonly d: "M5 4.5v15M9 4.5v15";
407
+ }, {
408
+ readonly d: "M13 5.2l3.6-1 3.8 14.6-3.6 1z";
409
+ }];
410
+ readonly 'e-square-fill': readonly [{
411
+ readonly r: readonly [4, 4, 16, 16, 3];
412
+ readonly f: 1;
413
+ }, {
414
+ readonly d: "M14.4 8H9.8v8h4.6M9.8 12h4";
415
+ readonly k: 1;
416
+ readonly w: 1.1;
417
+ }];
182
418
  readonly waveform: readonly [{
183
419
  readonly d: "M4.5 10.2v3.6";
184
420
  }, {
@@ -259,6 +495,16 @@ declare const SHAPES: {
259
495
  }, {
260
496
  readonly d: "M8.6 10.6V8a3.4 3.4 0 0 1 6.59-1.16";
261
497
  }];
498
+ readonly 'lock-rotation': readonly [{
499
+ readonly d: "M19.6 12a7.6 7.6 0 1 1-2.2-5.4";
500
+ }, {
501
+ readonly d: "M17.8 3.4v3.4h-3.4";
502
+ }, {
503
+ readonly r: readonly [9.1, 11, 5.8, 4.6, 1];
504
+ readonly f: 1;
505
+ }, {
506
+ readonly d: "M10.4 11V9.9a1.6 1.6 0 0 1 3.2 0V11";
507
+ }];
262
508
  readonly key: readonly [{
263
509
  readonly c: readonly [7.6, 12, 4.4];
264
510
  }, {
@@ -305,6 +551,14 @@ declare const SHAPES: {
305
551
  readonly d: "M9 12l2.2 2.2L15.2 10";
306
552
  readonly k: 1;
307
553
  }];
554
+ readonly 'shield-exclamation': readonly [{
555
+ readonly d: "M12 3.3L19 6v5.4c0 4.3-2.9 7.7-7 9.3-4.1-1.6-7-5-7-9.3V6z";
556
+ }, {
557
+ readonly d: "M12 8v5";
558
+ }, {
559
+ readonly c: readonly [12, 16, 0.4];
560
+ readonly f: 2;
561
+ }];
308
562
  readonly eye: readonly [{
309
563
  readonly d: "M2.4 12s3.5-6.4 9.6-6.4 9.6 6.4 9.6 6.4-3.5 6.4-9.6 6.4S2.4 12 2.4 12z";
310
564
  }, {
@@ -548,6 +802,52 @@ declare const SHAPES: {
548
802
  }, {
549
803
  readonly d: "M2.8 18.4h18.4";
550
804
  }];
805
+ readonly applewatch: readonly [{
806
+ readonly d: "M8.4 6.4h7.2c1.1 0 2 .9 2 2v7.2c0 1.1-.9 2-2 2H8.4c-1.1 0-2-.9-2-2V8.4c0-1.1.9-2 2-2z";
807
+ }, {
808
+ readonly d: "M9 6.4l.6-3h4.8l.6 3M9 17.6l.6 3h4.8l.6-3";
809
+ }];
810
+ readonly keyboard: readonly [{
811
+ readonly d: "M3 7c0-.8.6-1.4 1.4-1.4h15.2c.8 0 1.4.6 1.4 1.4v10c0 .8-.6 1.4-1.4 1.4H4.4c-.8 0-1.4-.6-1.4-1.4z";
812
+ }, {
813
+ readonly d: "M6.6 9.4h.1M10 9.4h.1M13.4 9.4h.1M16.8 9.4h.1M6.6 12.4h.1M10 12.4h.1M13.4 12.4h.1M16.8 12.4h.1M8.4 15.4h7.2";
814
+ }];
815
+ readonly internaldrive: readonly [{
816
+ readonly d: "M4 6.5c0-1 .8-1.8 1.8-1.8h12.4c1 0 1.8.8 1.8 1.8v11c0 1-.8 1.8-1.8 1.8H5.8c-1 0-1.8-.8-1.8-1.8z";
817
+ }, {
818
+ readonly d: "M4 13.6h16";
819
+ }, {
820
+ readonly c: readonly [16.4, 16.5, 0.9];
821
+ readonly f: 1;
822
+ }];
823
+ readonly 'switch-2': readonly [{
824
+ readonly d: "M7.5 4.6h9a3.6 3.6 0 0 1 0 7.2h-9a3.6 3.6 0 0 1 0-7.2z";
825
+ }, {
826
+ readonly c: readonly [16.5, 8.2, 2];
827
+ readonly f: 1;
828
+ }, {
829
+ readonly d: "M7.5 12.8h9a3.6 3.6 0 0 1 0 7.2h-9a3.6 3.6 0 0 1 0-7.2z";
830
+ }, {
831
+ readonly c: readonly [7.5, 16.4, 2];
832
+ readonly f: 1;
833
+ }];
834
+ readonly car: readonly [{
835
+ readonly d: "M4 15.6v-3l1.8-4.8c.2-.6.8-1 1.4-1h9.6c.6 0 1.2.4 1.4 1l1.8 4.8v3z";
836
+ }, {
837
+ readonly d: "M5.4 15.6v2.2M18.6 15.6v2.2M4.4 12.4h15.2";
838
+ }, {
839
+ readonly c: readonly [7.6, 13.8, 0.9];
840
+ readonly f: 1;
841
+ }, {
842
+ readonly c: readonly [16.4, 13.8, 0.9];
843
+ readonly f: 1;
844
+ }];
845
+ readonly bed: readonly [{
846
+ readonly d: "M3.5 18V7M3.5 14.5h17V18M20.5 14.5V12c0-1.4-1.1-2.5-2.5-2.5h-7v5";
847
+ }, {
848
+ readonly c: readonly [7.2, 11.2, 1.8];
849
+ readonly f: 1;
850
+ }];
551
851
  readonly cart: readonly [{
552
852
  readonly d: "M3 4h2.4l2.2 10.4c.1.6.7 1 1.3 1h8.6c.6 0 1.1-.4 1.3-1L20.4 8H6.4";
553
853
  }, {
@@ -587,6 +887,13 @@ declare const SHAPES: {
587
887
  }, {
588
888
  readonly d: "M10 13h4";
589
889
  }];
890
+ readonly 'xmark-bin': readonly [{
891
+ readonly r: readonly [3.5, 5, 17, 4, 1];
892
+ }, {
893
+ readonly d: "M5 9v9.5A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5V9";
894
+ }, {
895
+ readonly d: "M10 12.5l4 4M14 12.5l-4 4";
896
+ }];
590
897
  readonly 'archivebox-fill': readonly [{
591
898
  readonly r: readonly [3.5, 5, 17, 4, 1];
592
899
  readonly f: 2;
@@ -635,6 +942,13 @@ declare const SHAPES: {
635
942
  }, {
636
943
  readonly d: "M12 10.6v5.6M9.2 13.4h5.6";
637
944
  }];
945
+ readonly 'folder-badge-gear': readonly [{
946
+ readonly d: "M11 18.8H5.4c-.9 0-1.6-.7-1.6-1.6V7.2c0-.9.7-1.6 1.6-1.6h4.1l1.9 2h7.2c.9 0 1.6.7 1.6 1.6v2.3";
947
+ }, {
948
+ readonly c: readonly [17.2, 16.4, 1.6];
949
+ }, {
950
+ readonly d: "M17.2 12.6v1.2M17.2 19v1.2M13.4 16.4h1.2M19.8 16.4H21M14.5 13.7l.8.8M19.1 18.3l.8.8M14.5 19.1l.8-.8M19.1 14.5l.8-.8";
951
+ }];
638
952
  readonly pushpin: readonly [{
639
953
  readonly d: "M9 3.8h6";
640
954
  }, {
@@ -713,6 +1027,26 @@ declare const SHAPES: {
713
1027
  }, {
714
1028
  readonly r: readonly [13, 13, 7, 7, 1.6];
715
1029
  }];
1030
+ readonly 'grid-fill': readonly [{
1031
+ readonly r: readonly [4, 4, 7, 7, 1.6];
1032
+ readonly f: 2;
1033
+ }, {
1034
+ readonly r: readonly [13, 4, 7, 7, 1.6];
1035
+ readonly f: 2;
1036
+ }, {
1037
+ readonly r: readonly [4, 13, 7, 7, 1.6];
1038
+ readonly f: 2;
1039
+ }, {
1040
+ readonly r: readonly [13, 13, 7, 7, 1.6];
1041
+ readonly f: 2;
1042
+ }];
1043
+ readonly wallet: readonly [{
1044
+ readonly d: "M4 7.4c0-1 .8-1.8 1.8-1.8h12.4c1 0 1.8.8 1.8 1.8v9.2c0 1-.8 1.8-1.8 1.8H5.8c-1 0-1.8-.8-1.8-1.8z";
1045
+ }, {
1046
+ readonly d: "M4 9.8h16";
1047
+ }, {
1048
+ readonly d: "M14.6 14.6h3";
1049
+ }];
716
1050
  readonly share: readonly [{
717
1051
  readonly d: "M12 3.8v11";
718
1052
  }, {
@@ -745,6 +1079,16 @@ declare const SHAPES: {
745
1079
  }, {
746
1080
  readonly d: "M4.2 9.6h15.6M8.4 3.4v3.2M15.6 3.4v3.2";
747
1081
  }];
1082
+ readonly 'calendar-fill': readonly [{
1083
+ readonly d: "M4.2 6.6c0-.9.7-1.6 1.6-1.6h12.4c.9 0 1.6.7 1.6 1.6v11.8c0 .9-.7 1.6-1.6 1.6H5.8c-.9 0-1.6-.7-1.6-1.6z";
1084
+ readonly f: 2;
1085
+ }, {
1086
+ readonly d: "M4.2 9.6h15.6";
1087
+ readonly k: 1;
1088
+ readonly w: 0.7;
1089
+ }, {
1090
+ readonly d: "M8.4 3.4v3.2M15.6 3.4v3.2";
1091
+ }];
748
1092
  readonly clock: readonly [{
749
1093
  readonly c: readonly [12, 12, 8.4];
750
1094
  }, {
@@ -837,6 +1181,13 @@ declare const SHAPES: {
837
1181
  }, {
838
1182
  readonly d: "M8 9.3h8M9.6 12.3h4.8M11 15.3h2";
839
1183
  }];
1184
+ readonly 'filter-circle-fill': readonly [{
1185
+ readonly c: readonly [12, 12, 8.6];
1186
+ readonly f: 2;
1187
+ }, {
1188
+ readonly d: "M8 9.3h8M9.6 12.3h4.8M11 15.3h2";
1189
+ readonly k: 1;
1190
+ }];
840
1191
  readonly layers: readonly [{
841
1192
  readonly d: "M12 3.6l8.2 4.6L12 12.8 3.8 8.2 12 3.6z";
842
1193
  }, {
@@ -1274,7 +1625,7 @@ export declare const IC: Readonly<Record<IconName, readonly IconShape[]>> & {
1274
1625
  readonly [name: string]: readonly IconShape[] | undefined;
1275
1626
  };
1276
1627
  /** Canonical names, sorted. */
1277
- export declare const ICON_NAMES: ("warning" | "link" | "menu" | "table" | "video" | "copy" | "drop" | "pause" | "play" | "tray" | "grid" | "repeat" | "stop" | "circle" | "key" | "ellipsis" | "power" | "list" | "note" | "forward" | "backward" | "play-circle" | "play-circle-fill" | "shuffle" | "repeat-1" | "quote-bubble" | "queue" | "airplay" | "speaker" | "speaker-fill" | "speaker-low" | "speaker-low-fill" | "speaker-high" | "speaker-high-fill" | "speaker-slash" | "speaker-slash-fill" | "mic" | "mic-fill" | "music-note" | "music-notes" | "waveform" | "radiowaves" | "headphones" | "photo" | "camera" | "camera-fill" | "video-fill" | "lock" | "lock-fill" | "lock-open" | "lock-open-fill" | "key-fill" | "passkey" | "shield" | "shield-fill" | "shield-check" | "shield-check-fill" | "eye" | "eye-slash" | "faceid" | "qrcode" | "warning-fill" | "wifi" | "bluetooth" | "antenna" | "cellularbars" | "hotspot" | "vpn" | "airplane" | "battery" | "battery-full" | "battery-empty" | "bolt" | "bolt-fill" | "hourglass" | "hand" | "moon" | "moon-fill" | "bell" | "bell-fill" | "bell-slash" | "gear" | "sliders" | "sun" | "sun-fill" | "accessibility" | "sos" | "flower" | "location" | "location-fill" | "cloud" | "cloud-fill" | "iphone" | "laptop" | "cart" | "flag" | "flag-fill" | "tray-fill" | "archivebox" | "archivebox-fill" | "trash" | "trash-fill" | "folder" | "folder-fill" | "folder-badge-plus" | "pushpin" | "pushpin-fill" | "pushpin-slash" | "mappin" | "mappin-fill" | "checklist" | "share" | "download" | "compose" | "pencil" | "paperclip" | "calendar" | "clock" | "clock-fill" | "tag" | "tag-fill" | "doc" | "bookmark" | "bookmark-fill" | "book" | "briefcase" | "briefcase-fill" | "gift" | "chart-bar" | "textformat" | "filter-circle" | "layers" | "envelope" | "envelope-fill" | "envelope-open" | "envelope-badge" | "paperplane" | "paperplane-fill" | "reply" | "reply-all" | "arrow-forward" | "phone-fill" | "message-fill" | "bubble" | "person" | "person-fill" | "person-bust" | "person-bust-fill" | "people" | "people-fill" | "globe" | "chevron-right" | "chevron-left" | "chevron-up" | "chevron-down" | "chevron-up-down" | "arrow-right" | "arrow-left" | "arrow-up" | "arrow-down" | "arrow-up-right" | "arrow-clockwise" | "arrow-counterclockwise" | "arrow-up-circle" | "arrow-down-circle" | "house" | "house-fill" | "magnifyingglass" | "sidebar" | "ellipsis-circle" | "ellipsis-circle-fill" | "plus" | "minus" | "xmark" | "check" | "circle-fill" | "check-circle" | "check-circle-fill" | "xmark-circle" | "xmark-circle-fill" | "plus-circle" | "plus-circle-fill" | "minus-circle" | "minus-circle-fill" | "info" | "info-fill" | "exclamation-circle" | "exclamation-circle-fill" | "question-circle" | "question-circle-fill" | "star" | "star-fill" | "heart" | "heart-fill" | "pulse")[];
1628
+ export declare const ICON_NAMES: ("number" | "warning" | "link" | "menu" | "table" | "video" | "copy" | "drop" | "pause" | "play" | "tray" | "at" | "grid" | "repeat" | "stop" | "circle" | "key" | "ellipsis" | "power" | "list" | "note" | "sidebar-left" | "sidebar-right" | "panel-bottom" | "square-pencil" | "magnifier" | "folder-closed" | "folder-plus" | "chevron-down-wide" | "chevron-right-wide" | "chevron-up-wide" | "xmark-large" | "gearshape" | "terminal" | "network" | "square-on-square" | "doc-text" | "robot" | "arrows-expand" | "arrows-collapse" | "arrow-up-compact" | "stop-square" | "branch" | "bin" | "rectangle-split" | "checkmark" | "checkmark-circle" | "clock-dial" | "lock-rounded" | "asterisk" | "doc-corner" | "bubble-left" | "arrow-down-to-line" | "line-3-horizontal" | "play-outline" | "paperclip-diagonal" | "star-sharp" | "grip-dots" | "chevron-right-compact" | "text-bubble" | "bell-simple" | "bubble-oval" | "bolt-simple" | "sparkle" | "people-simple" | "pencil-tip" | "highlighter" | "pencil-sketch" | "eraser" | "arrow-uturn-backward" | "arrow-uturn-forward" | "trash-slim" | "forward" | "backward" | "play-circle" | "play-circle-fill" | "shuffle" | "repeat-1" | "quote-bubble" | "queue" | "airplay" | "speaker" | "speaker-fill" | "speaker-low" | "speaker-low-fill" | "speaker-high" | "speaker-high-fill" | "speaker-slash" | "speaker-slash-fill" | "mic" | "mic-fill" | "music-note" | "music-notes" | "music-note-list" | "books-vertical" | "e-square-fill" | "waveform" | "radiowaves" | "headphones" | "photo" | "camera" | "camera-fill" | "video-fill" | "lock" | "lock-fill" | "lock-open" | "lock-open-fill" | "lock-rotation" | "key-fill" | "passkey" | "shield" | "shield-fill" | "shield-check" | "shield-check-fill" | "shield-exclamation" | "eye" | "eye-slash" | "faceid" | "qrcode" | "warning-fill" | "wifi" | "bluetooth" | "antenna" | "cellularbars" | "hotspot" | "vpn" | "airplane" | "battery" | "battery-full" | "battery-empty" | "bolt" | "bolt-fill" | "hourglass" | "hand" | "moon" | "moon-fill" | "bell" | "bell-fill" | "bell-slash" | "gear" | "sliders" | "sun" | "sun-fill" | "accessibility" | "sos" | "flower" | "location" | "location-fill" | "cloud" | "cloud-fill" | "iphone" | "laptop" | "applewatch" | "keyboard" | "internaldrive" | "switch-2" | "car" | "bed" | "cart" | "flag" | "flag-fill" | "tray-fill" | "archivebox" | "xmark-bin" | "archivebox-fill" | "trash" | "trash-fill" | "folder" | "folder-fill" | "folder-badge-plus" | "folder-badge-gear" | "pushpin" | "pushpin-fill" | "pushpin-slash" | "mappin" | "mappin-fill" | "checklist" | "grid-fill" | "wallet" | "share" | "download" | "compose" | "pencil" | "paperclip" | "calendar" | "calendar-fill" | "clock" | "clock-fill" | "tag" | "tag-fill" | "doc" | "bookmark" | "bookmark-fill" | "book" | "briefcase" | "briefcase-fill" | "gift" | "chart-bar" | "textformat" | "filter-circle" | "filter-circle-fill" | "layers" | "envelope" | "envelope-fill" | "envelope-open" | "envelope-badge" | "paperplane" | "paperplane-fill" | "reply" | "reply-all" | "arrow-forward" | "phone-fill" | "message-fill" | "bubble" | "person" | "person-fill" | "person-bust" | "person-bust-fill" | "people" | "people-fill" | "globe" | "chevron-right" | "chevron-left" | "chevron-up" | "chevron-down" | "chevron-up-down" | "arrow-right" | "arrow-left" | "arrow-up" | "arrow-down" | "arrow-up-right" | "arrow-clockwise" | "arrow-counterclockwise" | "arrow-up-circle" | "arrow-down-circle" | "house" | "house-fill" | "magnifyingglass" | "sidebar" | "ellipsis-circle" | "ellipsis-circle-fill" | "plus" | "minus" | "xmark" | "check" | "circle-fill" | "check-circle" | "check-circle-fill" | "xmark-circle" | "xmark-circle-fill" | "plus-circle" | "plus-circle-fill" | "minus-circle" | "minus-circle-fill" | "info" | "info-fill" | "exclamation-circle" | "exclamation-circle-fill" | "question-circle" | "question-circle-fill" | "star" | "star-fill" | "heart" | "heart-fill" | "pulse")[];
1278
1629
  export type IconCategory = 'media' | 'security' | 'system' | 'productivity' | 'communication' | 'navigation' | 'status';
1279
1630
  /** Canonical names grouped for galleries, in drawing order (the grouping follows the source above). */
1280
1631
  export declare const ICON_CATEGORIES: Record<IconCategory, readonly IconCanonicalName[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/lib/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAGlD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AA0DF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAyCpE,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,YAAY;;;;;;;CAA8F,CAAC;AACxH,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC;AAEnD,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAChC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IAC9B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,iDAAiD;IACjD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,uHAAuH;IACvH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAaD,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,SAAS,2CA+BnH"}
@@ -1,6 +1,4 @@
1
1
  import { StrokeOptions } from 'perfect-freehand';
2
- export declare const PFONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
3
- export declare const PMONO = "ui-monospace,'SF Mono',Menlo,Consolas,monospace";
4
2
  export type PencilDrawTool = 'pen' | 'marker' | 'pencil';
5
3
  export type PencilTool = PencilDrawTool | 'eraser';
6
4
  export interface PencilToolDef {
@@ -10,6 +8,7 @@ export interface PencilToolDef {
10
8
  alpha: number;
11
9
  }
12
10
  export declare const PK_TOOLS: Record<PencilDrawTool, PencilToolDef>;
11
+ /** The ink swatches (content colors: they are drawn into the strokes, so they don't follow the theme). */
13
12
  export declare const PK_INKS: string[];
14
13
  export declare const PK_W: {
15
14
  m: number;
@@ -24,10 +23,11 @@ export interface PencilStroke {
24
23
  points: PencilPoint[];
25
24
  done: boolean;
26
25
  }
27
- export type PKIconName = 'pen' | 'marker' | 'pencil' | 'eraser' | 'undo' | 'redo' | 'trash';
28
- export declare const PKI: Record<PKIconName, {
29
- d: string;
30
- }[]>;
31
- export declare const PK_LIGHT: Record<string, string>;
32
- export declare const PK_DARK: Record<string, string>;
26
+ /** The Icon each tool draws (the former PencilKit icon set now lives in `Icon`). */
27
+ export declare const PK_TOOL_ICONS: {
28
+ readonly pen: "pencil-tip";
29
+ readonly marker: "highlighter";
30
+ readonly pencil: "pencil-sketch";
31
+ readonly eraser: "eraser";
32
+ };
33
33
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/lib/pencilkit/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,KAAK,iGAC8E,CAAC;AACjG,eAAO,MAAM,KAAK,oDAAoD,CAAC;AAEvE,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACzD,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,aAAa,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,cAAc,EAAE,aAAa,CAO1D,CAAC;AAEF,eAAO,MAAM,OAAO,UAAqE,CAAC;AAE1F,eAAO,MAAM,IAAI,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAK1C,CAA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,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAK1C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,oFAAoF;AACpF,eAAO,MAAM,aAAa;;;;;CAKqB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /** Keyboard focus ring for react-aria elements (data-focus-visible). */
2
2
  export declare const focusRing = "outline-none data-focus-visible:ring-[3px] data-focus-visible:ring-ring/45";
3
3
  /** Floating surface for popovers, menus and select/combobox lists. */
4
- export declare const popoverSurface = "rounded-[14px] bg-popover text-popover-foreground shadow-[0_12px_40px_rgba(0,0,0,.2),0_0_0_.5px_var(--bl-sep)] outline-none";
4
+ export declare const popoverSurface = "rounded-[14px] bg-popover text-popover-foreground shadow-[0_12px_40px_--alpha(black/20%),0_0_0_.5px_var(--border)] outline-none";
5
5
  /** Enter/exit for anchored overlays: grows out of the trigger (scale from the anchor point, drifting a few px
6
6
  away from it) on the snappy spring; exits are quicker. */
7
7
  export declare const popoverMotion: string;
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/lib/primitives.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,eAAO,MAAM,SAAS,+EAA+E,CAAC;AAEtG,sEAAsE;AACtE,eAAO,MAAM,cAAc,gIACoG,CAAC;AAEhI;6DAC6D;AAC7D,eAAO,MAAM,aAAa,QAIf,CAAC;AAEZ,8FAA8F;AAC9F,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC,mFAAmF;AACnF,eAAO,MAAM,cAAc,2CAA2C,CAAC"}
1
+ {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/lib/primitives.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,eAAO,MAAM,SAAS,+EAA+E,CAAC;AAEtG,sEAAsE;AACtE,eAAO,MAAM,cAAc,oIACwG,CAAC;AAEpI;6DAC6D;AAC7D,eAAO,MAAM,aAAa,QAIf,CAAC;AAEZ,8FAA8F;AAC9F,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC,mFAAmF;AACnF,eAAO,MAAM,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** The id of the element that names the controls inside it — ListRow publishes its title's id, so a Switch or
2
+ Slider anywhere in the row (even wrapped in the caller's own component) is labelled by the row title. */
3
+ export declare const RowLabelContext: import('react').Context<string | undefined>;
4
+ /** `aria-labelledby` for a control: its own label wins; else the enclosing row's title. */
5
+ export declare function useRowLabel(props: {
6
+ 'aria-label'?: string;
7
+ 'aria-labelledby'?: string;
8
+ }): string | undefined;
9
+ //# sourceMappingURL=row-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-label.d.ts","sourceRoot":"","sources":["../../src/lib/row-label.ts"],"names":[],"mappings":"AAEA;4GAC4G;AAC5G,eAAO,MAAM,eAAe,6CAA+C,CAAC;AAE5E,2FAA2F;AAC3F,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,sBAIvF"}
@@ -1,10 +1,9 @@
1
1
  import { PointerEvent as ReactPointerEvent } from 'react';
2
+ import { SpringName } from './motion';
2
3
  /** Pointer travel below which a handle drag counts as a tap. */
3
4
  export declare const SHEET_TAP_SLOP = 4;
4
5
  /** Extra downward travel (past the peek) that folds the surface into its FAB. */
5
6
  export declare const SHEET_MINIMIZE_TRAVEL = 96;
6
- /** Fraction of the open travel past which a release snaps open. */
7
- export declare const SHEET_OPEN_THRESHOLD = 0.35;
8
7
  export interface SheetDragOptions {
9
8
  open: boolean;
10
9
  onOpenChange: (open: boolean) => void;
@@ -12,17 +11,26 @@ export interface SheetDragOptions {
12
11
  peek: number;
13
12
  /** Body height when fully open. */
14
13
  maxReveal: number;
14
+ /** Extra resting heights between `peek` and `maxReveal` (px of body). */
15
+ detents?: number[];
15
16
  /** Allow dragging below the resting height to fold into a FAB. */
16
17
  minimizable?: boolean;
17
18
  minimized?: boolean;
18
19
  onMinimizedChange?: (minimized: boolean) => void;
20
+ /** Spring the body settles with (default `tray`). */
21
+ spring?: SpringName;
19
22
  }
20
23
  export interface SheetDragState {
21
- /** Live body height while dragging; null when settled. */
22
- dragReveal: number | null;
23
- /** Live fold progress (0–1) while dragging below rest; null when settled. */
24
- dragMinimize: number | null;
24
+ /** The body height to draw this frame (follows the finger, then springs to rest). */
25
+ reveal: number;
26
+ /** 0–1 fold towards the FAB to draw this frame. */
27
+ minimize: number;
28
+ /** A finger is on the handle. */
25
29
  dragging: boolean;
30
+ /** The spring is carrying the body to rest after a release or a state change. */
31
+ settling: boolean;
32
+ /** The middle detent the sheet rests at (px), or null at peek/open. */
33
+ detent: number | null;
26
34
  /** Spread on the handle element. */
27
35
  handlers: {
28
36
  onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void;
@@ -34,5 +42,12 @@ export interface SheetDragState {
34
42
  /** A tap on the handle: toggles open (ignored right after a drag). */
35
43
  toggle: () => void;
36
44
  }
37
- export declare function useSheetDrag({ open, onOpenChange, peek, maxReveal, minimizable, onMinimizedChange, }: SheetDragOptions): SheetDragState;
45
+ /**
46
+ * The grow / snap / fold gesture behind FloatingSheet's cap and Composer's draggable bump. The body follows
47
+ * the pointer one-to-one (rubber-banding past its ends); on release the pointer's velocity is projected
48
+ * forward to pick a stop (peek, a detent, open, or the FAB) and a spring carries the body there *from that
49
+ * velocity*, so a flick keeps its momentum. Grabbing mid-flight catches the body where it is. State changes
50
+ * from outside (a tap, Escape, `peek` changing) spring too. Snaps tick.
51
+ */
52
+ export declare function useSheetDrag({ open, onOpenChange, peek, maxReveal, detents, minimizable, minimized, onMinimizedChange, spring, }: SheetDragOptions): SheetDragState;
38
53
  //# sourceMappingURL=sheet-drag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheet-drag.d.ts","sourceRoot":"","sources":["../../src/lib/sheet-drag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQjF,gEAAgE;AAChE,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,iFAAiF;AACjF,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,mEAAmE;AACnE,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,6EAA6E;IAC7E,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,oCAAoC;IACpC,QAAQ,EAAE;QACR,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC/D,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC/D,WAAW,EAAE,CA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