@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.
- package/README.md +36 -22
- package/dist/components/button.stories.d.ts +2 -0
- package/dist/components/button.stories.d.ts.map +1 -1
- package/dist/components/chat/chat-column.stories.d.ts +2 -0
- package/dist/components/chat/chat-column.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.d.ts +19 -0
- package/dist/components/chat/floating-chat.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.d.ts +21 -1
- package/dist/components/chat/floating-sheet.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -1
- package/dist/components/command-menu.d.ts +210 -0
- package/dist/components/command-menu.d.ts.map +1 -0
- package/dist/components/command-menu.stories.d.ts +17 -0
- package/dist/components/command-menu.stories.d.ts.map +1 -0
- package/dist/components/credenza.d.ts +7 -2
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/edge-drawer.d.ts +14 -2
- package/dist/components/edge-drawer.d.ts.map +1 -1
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/list-row.stories.d.ts +3 -0
- package/dist/components/list-row.stories.d.ts.map +1 -1
- package/dist/components/list.d.ts +15 -1
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/morph.d.ts +6 -3
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/navigation-stack.d.ts +13 -2
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.d.ts +7 -5
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -1
- package/dist/components/progress-ring.d.ts +34 -15
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/segmented.d.ts +1 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/side-drawer.d.ts +6 -1
- package/dist/components/side-drawer.d.ts.map +1 -1
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/slider.d.ts +9 -3
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/split-view.d.ts +34 -5
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.stories.d.ts +7 -0
- package/dist/components/split-view.stories.d.ts.map +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/tab-view.d.ts +7 -6
- package/dist/components/tab-view.d.ts.map +1 -1
- package/dist/components/tab-view.stories.d.ts +9 -0
- package/dist/components/tab-view.stories.d.ts.map +1 -1
- package/dist/components/toast.d.ts +8 -0
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/workbench/chat.d.ts +2 -2
- package/dist/components/workbench/chat.d.ts.map +1 -1
- package/dist/components/workbench/composer.d.ts +8 -8
- package/dist/components/workbench/composer.d.ts.map +1 -1
- package/dist/components/workbench/fixtures.d.ts.map +1 -1
- package/dist/components/workbench/markdown.d.ts.map +1 -1
- package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -1
- package/dist/components/workbench/model-picker.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.d.ts +3 -2
- package/dist/components/workbench/snap-sheet.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -1
- package/dist/components/workbench/surfaces.d.ts +2 -2
- package/dist/components/workbench/surfaces.d.ts.map +1 -1
- package/dist/components/workbench/terminal.d.ts +10 -2
- package/dist/components/workbench/terminal.d.ts.map +1 -1
- package/dist/components/workbench/terminal.stories.d.ts.map +1 -1
- package/dist/components/workbench/wb-popover.d.ts +2 -4
- package/dist/components/workbench/wb-popover.d.ts.map +1 -1
- package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
- package/dist/demos/haptics-playground.d.ts.map +1 -1
- package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
- package/dist/demos/map-chat/tile-map.d.ts +36 -0
- package/dist/demos/map-chat/tile-map.d.ts.map +1 -1
- package/dist/demos/pencilkit/pencilkit-demo.d.ts +2 -0
- package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -1
- package/dist/demos/sidebar-demo.d.ts +0 -3
- package/dist/demos/sidebar-demo.d.ts.map +1 -1
- package/dist/demos/split-view-demos.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +24 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8610 -8452
- package/dist/lib/chat/chat-shell-context.d.ts +2 -1
- package/dist/lib/chat/chat-shell-context.d.ts.map +1 -1
- package/dist/lib/icon-shapes/chat.d.ts +32 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts +49 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -0
- package/dist/lib/icon-shapes/workbench.d.ts +199 -0
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -0
- package/dist/lib/icon.d.ts +352 -1
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/pencilkit/constants.d.ts +8 -8
- package/dist/lib/pencilkit/constants.d.ts.map +1 -1
- package/dist/lib/primitives.d.ts +1 -1
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/row-label.d.ts +9 -0
- package/dist/lib/row-label.d.ts.map +1 -0
- package/dist/lib/sheet-drag.d.ts +22 -7
- package/dist/lib/sheet-drag.d.ts.map +1 -1
- package/dist/lib/theme.d.ts +36 -5
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/workbench/icons.d.ts +5 -15
- package/dist/lib/workbench/icons.d.ts.map +1 -1
- package/dist/lib/workbench/motion.d.ts +0 -64
- package/dist/lib/workbench/motion.d.ts.map +1 -1
- package/dist/lib/workbench/theme.d.ts +2 -3
- package/dist/lib/workbench/theme.d.ts.map +1 -1
- package/dist/lib/workbench/util.d.ts +5 -3
- package/dist/lib/workbench/util.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.d.ts +6 -1
- package/dist/templates/artifact-chat-container.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -1
- package/dist/templates/chat-shell.d.ts +6 -5
- package/dist/templates/chat-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.d.ts +7 -7
- package/dist/templates/workbench-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.stories.d.ts.map +1 -1
- package/dist/theme.css +325 -0
- package/package.json +5 -1
- package/dist/components/chat/channel-list.d.ts +0 -35
- package/dist/components/chat/channel-list.d.ts.map +0 -1
- package/dist/components/chat/channel-list.stories.d.ts +0 -13
- package/dist/components/chat/channel-list.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.d.ts +0 -13
- package/dist/components/chat/chat-avatar.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.stories.d.ts +0 -9
- package/dist/components/chat/chat-avatar.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.d.ts +0 -22
- package/dist/components/chat/chat-composer.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.stories.d.ts +0 -16
- package/dist/components/chat/chat-composer.stories.d.ts.map +0 -1
- package/dist/components/chat/chat.fixtures.d.ts +0 -29
- package/dist/components/chat/chat.fixtures.d.ts.map +0 -1
- package/dist/components/chat/member-list.d.ts +0 -21
- package/dist/components/chat/member-list.d.ts.map +0 -1
- package/dist/components/chat/message-list.d.ts +0 -34
- package/dist/components/chat/message-list.d.ts.map +0 -1
- package/dist/components/chat/message.d.ts +0 -47
- package/dist/components/chat/message.d.ts.map +0 -1
- package/dist/components/chat/message.stories.d.ts +0 -30
- package/dist/components/chat/message.stories.d.ts.map +0 -1
- package/dist/components/chat/rich-text.d.ts +0 -8
- package/dist/components/chat/rich-text.d.ts.map +0 -1
- package/dist/components/chat/rich-text.stories.d.ts +0 -9
- package/dist/components/chat/rich-text.stories.d.ts.map +0 -1
- package/dist/components/chat/server-header.d.ts +0 -10
- package/dist/components/chat/server-header.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.d.ts +0 -25
- package/dist/components/chat/thread-preview.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.stories.d.ts +0 -18
- package/dist/components/chat/thread-preview.stories.d.ts.map +0 -1
- package/dist/components/chat/user-panel.d.ts +0 -16
- package/dist/components/chat/user-panel.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.d.ts +0 -56
- package/dist/components/chat/workspace-rail.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.stories.d.ts +0 -12
- package/dist/components/chat/workspace-rail.stories.d.ts.map +0 -1
- package/dist/components/pencilkit/pk-icon.d.ts +0 -8
- package/dist/components/pencilkit/pk-icon.d.ts.map +0 -1
- package/dist/components/pill-button.d.ts +0 -11
- package/dist/components/pill-button.d.ts.map +0 -1
- package/dist/components/pill-button.stories.d.ts +0 -9
- package/dist/components/pill-button.stories.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.d.ts +0 -100
- package/dist/components/workbench/thread-sidebar.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.stories.d.ts +0 -9
- package/dist/components/workbench/thread-sidebar.stories.d.ts.map +0 -1
- package/dist/lib/chat/chat-icon.d.ts +0 -24
- package/dist/lib/chat/chat-icon.d.ts.map +0 -1
- package/dist/lib/chat/chat-tokens.d.ts +0 -72
- package/dist/lib/chat/chat-tokens.d.ts.map +0 -1
- package/dist/lib/chat/chat-users.d.ts +0 -18
- package/dist/lib/chat/chat-users.d.ts.map +0 -1
- package/dist/lib/chat/kvib.d.ts +0 -3
- package/dist/lib/chat/kvib.d.ts.map +0 -1
- package/dist/lib/chat/title-ref.d.ts +0 -3
- package/dist/lib/chat/title-ref.d.ts.map +0 -1
- package/dist/templates/chat-shell.stories.d.ts +0 -22
- package/dist/templates/chat-shell.stories.d.ts.map +0 -1
package/dist/lib/icon.d.ts
CHANGED
|
@@ -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[]>;
|
package/dist/lib/icon.d.ts.map
CHANGED
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/lib/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAMlD;;;;;;;;;;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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ica 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
|
-
|
|
28
|
-
export declare const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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,
|
|
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,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,0GAA0G;AAC1G,eAAO,MAAM,OAAO,UAAqE,CAAC;AAE1F,eAAO,MAAM,IAAI,EAAE;IAAE,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"}
|
package/dist/lib/primitives.d.ts
CHANGED
|
@@ -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-[
|
|
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,
|
|
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"}
|
package/dist/lib/sheet-drag.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
|
|
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
|
-
|
|
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,
|
|
1
|
+
{"version":3,"file":"sheet-drag.d.ts","sourceRoot":"","sources":["../../src/lib/sheet-drag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgD,KAAK,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7G,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAMpD,gEAAgE;AAChE,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,iFAAiF;AACjF,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAMxC,MAAM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