@ai-matrx/tap-target 0.1.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/CHANGELOG.md +36 -0
- package/LICENSE +21 -0
- package/README.md +127 -0
- package/dist/buttons.cjs +1155 -0
- package/dist/buttons.cjs.map +1 -0
- package/dist/buttons.d.cts +109 -0
- package/dist/buttons.d.ts +109 -0
- package/dist/buttons.js +1127 -0
- package/dist/buttons.js.map +1 -0
- package/dist/index.cjs +581 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +108 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.js +553 -0
- package/dist/index.js.map +1 -0
- package/dist/link-CkRpHgou.d.cts +40 -0
- package/dist/link-CkRpHgou.d.ts +40 -0
- package/dist/styles.css +110 -0
- package/package.json +96 -0
package/dist/buttons.cjs
ADDED
|
@@ -0,0 +1,1155 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
|
|
31
|
+
// src/buttons.ts
|
|
32
|
+
var buttons_exports = {};
|
|
33
|
+
__export(buttons_exports, {
|
|
34
|
+
ArrowDownUpTapButton: () => ArrowDownUpTapButton,
|
|
35
|
+
ArrowUpTapButton: () => ArrowUpTapButton,
|
|
36
|
+
BellRingTapButton: () => BellRingTapButton,
|
|
37
|
+
BellTapButton: () => BellTapButton,
|
|
38
|
+
BugTapButton: () => BugTapButton,
|
|
39
|
+
BuildTapButton: () => BuildTapButton,
|
|
40
|
+
CheckSquareTapButton: () => CheckSquareTapButton,
|
|
41
|
+
CheckTapButton: () => CheckTapButton,
|
|
42
|
+
ChevronLeftTapButton: () => ChevronLeftTapButton,
|
|
43
|
+
ChevronRightTapButton: () => ChevronRightTapButton,
|
|
44
|
+
ClearTapButton: () => ClearTapButton,
|
|
45
|
+
ClipboardListTapButton: () => ClipboardListTapButton,
|
|
46
|
+
CommandTapButton: () => CommandTapButton,
|
|
47
|
+
CopyTapButton: () => CopyTapButton,
|
|
48
|
+
DownloadTapButton: () => DownloadTapButton,
|
|
49
|
+
ExternalLinkTapButton: () => ExternalLinkTapButton,
|
|
50
|
+
FilesTapButton: () => FilesTapButton,
|
|
51
|
+
FilterTapButton: () => FilterTapButton,
|
|
52
|
+
GhostTapButton: () => GhostTapButton,
|
|
53
|
+
HistoryTapButton: () => HistoryTapButton,
|
|
54
|
+
HomeTapButton: () => HomeTapButton,
|
|
55
|
+
LayersTapButton: () => LayersTapButton,
|
|
56
|
+
LayoutGridTapButton: () => LayoutGridTapButton,
|
|
57
|
+
LinkTapButton: () => LinkTapButton,
|
|
58
|
+
ListTapButton: () => ListTapButton,
|
|
59
|
+
LoadingTapButton: () => LoadingTapButton,
|
|
60
|
+
MaximizeTapButton: () => MaximizeTapButton,
|
|
61
|
+
MenuTapButton: () => MenuTapButton,
|
|
62
|
+
MessageTapButton: () => MessageTapButton,
|
|
63
|
+
MicOffTapButton: () => MicOffTapButton,
|
|
64
|
+
MicTapButton: () => MicTapButton,
|
|
65
|
+
MoreHorizontalTapButton: () => MoreHorizontalTapButton,
|
|
66
|
+
PanelLeftTapButton: () => PanelLeftTapButton,
|
|
67
|
+
PanelRightTapButton: () => PanelRightTapButton,
|
|
68
|
+
PaperclipTapButton: () => PaperclipTapButton,
|
|
69
|
+
PartyPopperTapButton: () => PartyPopperTapButton,
|
|
70
|
+
PauseTapButton: () => PauseTapButton,
|
|
71
|
+
PencilTapButton: () => PencilTapButton,
|
|
72
|
+
PlayTapButton: () => PlayTapButton,
|
|
73
|
+
PlusTapButton: () => PlusTapButton,
|
|
74
|
+
RedoTapButton: () => RedoTapButton,
|
|
75
|
+
RefreshCwTapButton: () => RefreshCwTapButton,
|
|
76
|
+
ResetTapButton: () => ResetTapButton,
|
|
77
|
+
RetryTapButton: () => RetryTapButton,
|
|
78
|
+
RobotTapButton: () => RobotTapButton,
|
|
79
|
+
RunTapButton: () => RunTapButton,
|
|
80
|
+
SaveTapButton: () => SaveTapButton,
|
|
81
|
+
SearchTapButton: () => SearchTapButton,
|
|
82
|
+
SendTapButton: () => SendTapButton,
|
|
83
|
+
Settings2TapButton: () => Settings2TapButton,
|
|
84
|
+
SettingsTapButton: () => SettingsTapButton,
|
|
85
|
+
ShareTapButton: () => ShareTapButton,
|
|
86
|
+
ShieldAlertTapButton: () => ShieldAlertTapButton,
|
|
87
|
+
ShieldCheckTapButton: () => ShieldCheckTapButton,
|
|
88
|
+
SquarePenTapButton: () => SquarePenTapButton,
|
|
89
|
+
StopTapButton: () => StopTapButton,
|
|
90
|
+
TerminalTapButton: () => TerminalTapButton,
|
|
91
|
+
TestTubeTapButton: () => TestTubeTapButton,
|
|
92
|
+
ThumbsDownTapButton: () => ThumbsDownTapButton,
|
|
93
|
+
ThumbsUpTapButton: () => ThumbsUpTapButton,
|
|
94
|
+
TrashTapButton: () => TrashTapButton,
|
|
95
|
+
TriangleAlertTapButton: () => TriangleAlertTapButton,
|
|
96
|
+
UndoTapButton: () => UndoTapButton,
|
|
97
|
+
UploadTapButton: () => UploadTapButton,
|
|
98
|
+
VariableTapButton: () => VariableTapButton,
|
|
99
|
+
ViewTapButton: () => ViewTapButton,
|
|
100
|
+
Volume2TapButton: () => Volume2TapButton,
|
|
101
|
+
WebhookTapButton: () => WebhookTapButton,
|
|
102
|
+
WrenchTapButton: () => WrenchTapButton,
|
|
103
|
+
XTapButton: () => XTapButton,
|
|
104
|
+
ZapTapButton: () => ZapTapButton
|
|
105
|
+
});
|
|
106
|
+
module.exports = __toCommonJS(buttons_exports);
|
|
107
|
+
|
|
108
|
+
// src/tap-buttons.tsx
|
|
109
|
+
var import_react2 = require("react");
|
|
110
|
+
|
|
111
|
+
// src/tap-target-button.tsx
|
|
112
|
+
var import_react = require("react");
|
|
113
|
+
var TooltipPrimitive2 = __toESM(require("@radix-ui/react-tooltip"), 1);
|
|
114
|
+
|
|
115
|
+
// src/tooltip.tsx
|
|
116
|
+
var React = __toESM(require("react"), 1);
|
|
117
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
|
|
118
|
+
|
|
119
|
+
// src/cn.ts
|
|
120
|
+
function cn(...values) {
|
|
121
|
+
return values.filter(Boolean).join(" ").trim();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// src/tooltip.tsx
|
|
125
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
126
|
+
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
127
|
+
var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
128
|
+
TooltipPrimitive.Content,
|
|
129
|
+
{
|
|
130
|
+
ref,
|
|
131
|
+
sideOffset,
|
|
132
|
+
className: cn(
|
|
133
|
+
// Neutral, theme-aware surface (popover tokens) so tooltip text is
|
|
134
|
+
// ALWAYS legible in both light and dark mode — including rich content
|
|
135
|
+
// that uses `text-muted-foreground`. A brand-colored `bg-primary`
|
|
136
|
+
// background broke legibility for any non-default content.
|
|
137
|
+
"z-[10001] overflow-hidden rounded-md border border-border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
138
|
+
className
|
|
139
|
+
),
|
|
140
|
+
...props
|
|
141
|
+
}
|
|
142
|
+
) }));
|
|
143
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
144
|
+
|
|
145
|
+
// src/link.ts
|
|
146
|
+
var LINK_SLOT = /* @__PURE__ */ Symbol.for("@ai-matrx/tap-target:link-component");
|
|
147
|
+
function getTapTargetLinkComponent() {
|
|
148
|
+
return globalThis[LINK_SLOT] ?? null;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// src/tap-target-button.tsx
|
|
152
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
153
|
+
var EXTERNAL_RE = /^(https?:|mailto:|tel:)/i;
|
|
154
|
+
var TAP_OUTER_CLASS = "matrx-tap-target group";
|
|
155
|
+
var TAP_GROUP_OUTER_CLASS = "matrx-tap-target matrx-tap-target-sm group";
|
|
156
|
+
function IconContent({
|
|
157
|
+
icon,
|
|
158
|
+
children,
|
|
159
|
+
strokeWidth = 2,
|
|
160
|
+
className
|
|
161
|
+
}) {
|
|
162
|
+
if (icon) {
|
|
163
|
+
if ((0, import_react.isValidElement)(icon)) {
|
|
164
|
+
return (0, import_react.cloneElement)(icon, {
|
|
165
|
+
className: cn(className, icon.props.className)
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className, children: icon });
|
|
169
|
+
}
|
|
170
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
171
|
+
"svg",
|
|
172
|
+
{
|
|
173
|
+
className,
|
|
174
|
+
fill: "none",
|
|
175
|
+
viewBox: "0 0 24 24",
|
|
176
|
+
stroke: "currentColor",
|
|
177
|
+
strokeWidth,
|
|
178
|
+
children
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
function resolveTapGeometry(label, size) {
|
|
183
|
+
const inline = Boolean(label);
|
|
184
|
+
if (size === "sm") {
|
|
185
|
+
return {
|
|
186
|
+
outerClassName: inline ? "matrx-tap-target matrx-tap-target-sm matrx-tap-target-inline-sm group" : TAP_GROUP_OUTER_CLASS,
|
|
187
|
+
inlineModifier: "matrx-tap-pill-inline-sm"
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
return {
|
|
191
|
+
outerClassName: inline ? `${TAP_OUTER_CLASS} matrx-tap-target-inline` : TAP_OUTER_CLASS,
|
|
192
|
+
inlineModifier: "matrx-tap-pill-inline"
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
function buildTapInner({
|
|
196
|
+
label,
|
|
197
|
+
pillClassName,
|
|
198
|
+
iconClassName,
|
|
199
|
+
labelClassName,
|
|
200
|
+
inlineModifier,
|
|
201
|
+
icon,
|
|
202
|
+
children,
|
|
203
|
+
strokeWidth = 2
|
|
204
|
+
}) {
|
|
205
|
+
const iconEl = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
206
|
+
IconContent,
|
|
207
|
+
{
|
|
208
|
+
icon,
|
|
209
|
+
strokeWidth,
|
|
210
|
+
className: iconClassName,
|
|
211
|
+
children
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
const pillClasses = label ? `${pillClassName} ${inlineModifier}`.trim() : pillClassName;
|
|
215
|
+
if (!label) {
|
|
216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: pillClasses, children: iconEl });
|
|
217
|
+
}
|
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: pillClasses, children: [
|
|
219
|
+
iconEl,
|
|
220
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: labelClassName ?? "matrx-tap-label", children: label })
|
|
221
|
+
] });
|
|
222
|
+
}
|
|
223
|
+
function renderTapTarget({
|
|
224
|
+
size = "default",
|
|
225
|
+
pillClassName,
|
|
226
|
+
iconClassName,
|
|
227
|
+
labelClassName,
|
|
228
|
+
icon,
|
|
229
|
+
children,
|
|
230
|
+
strokeWidth,
|
|
231
|
+
label,
|
|
232
|
+
onClick,
|
|
233
|
+
as,
|
|
234
|
+
htmlFor,
|
|
235
|
+
ariaLabel,
|
|
236
|
+
disabled,
|
|
237
|
+
href,
|
|
238
|
+
target,
|
|
239
|
+
rel,
|
|
240
|
+
prefetch,
|
|
241
|
+
linkComponent,
|
|
242
|
+
tooltip,
|
|
243
|
+
tooltipSide,
|
|
244
|
+
tooltipAlign,
|
|
245
|
+
rest,
|
|
246
|
+
buttonRef
|
|
247
|
+
}) {
|
|
248
|
+
const { outerClassName, inlineModifier } = resolveTapGeometry(label, size);
|
|
249
|
+
const inner = buildTapInner({
|
|
250
|
+
label,
|
|
251
|
+
pillClassName,
|
|
252
|
+
iconClassName,
|
|
253
|
+
labelClassName,
|
|
254
|
+
inlineModifier: label ? inlineModifier : "",
|
|
255
|
+
icon,
|
|
256
|
+
children,
|
|
257
|
+
strokeWidth
|
|
258
|
+
});
|
|
259
|
+
const resolvedTooltip = tooltip !== void 0 ? tooltip : label ? false : void 0;
|
|
260
|
+
const triggerAriaLabel = label ? void 0 : ariaLabel;
|
|
261
|
+
const trigger = renderTrigger({
|
|
262
|
+
href,
|
|
263
|
+
target,
|
|
264
|
+
rel,
|
|
265
|
+
prefetch,
|
|
266
|
+
linkComponent,
|
|
267
|
+
as,
|
|
268
|
+
htmlFor,
|
|
269
|
+
onClick,
|
|
270
|
+
ariaLabel: triggerAriaLabel,
|
|
271
|
+
disabled,
|
|
272
|
+
outerClassName,
|
|
273
|
+
children: inner,
|
|
274
|
+
rest,
|
|
275
|
+
buttonRef
|
|
276
|
+
});
|
|
277
|
+
return withTooltip(trigger, {
|
|
278
|
+
tooltip: resolvedTooltip,
|
|
279
|
+
ariaLabel: triggerAriaLabel,
|
|
280
|
+
disabled,
|
|
281
|
+
tooltipSide,
|
|
282
|
+
tooltipAlign
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function renderTrigger({
|
|
286
|
+
href,
|
|
287
|
+
target,
|
|
288
|
+
rel,
|
|
289
|
+
prefetch,
|
|
290
|
+
linkComponent,
|
|
291
|
+
as,
|
|
292
|
+
htmlFor,
|
|
293
|
+
onClick,
|
|
294
|
+
ariaLabel,
|
|
295
|
+
disabled,
|
|
296
|
+
outerClassName,
|
|
297
|
+
children,
|
|
298
|
+
rest,
|
|
299
|
+
buttonRef
|
|
300
|
+
}) {
|
|
301
|
+
if (disabled && href) {
|
|
302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
303
|
+
"span",
|
|
304
|
+
{
|
|
305
|
+
"aria-disabled": "true",
|
|
306
|
+
"aria-label": ariaLabel,
|
|
307
|
+
className: `${outerClassName} opacity-40 pointer-events-none`,
|
|
308
|
+
children
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
if (href) {
|
|
313
|
+
const isExternal = EXTERNAL_RE.test(href);
|
|
314
|
+
if (isExternal) {
|
|
315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
316
|
+
"a",
|
|
317
|
+
{
|
|
318
|
+
href,
|
|
319
|
+
target: target ?? "_blank",
|
|
320
|
+
rel: rel ?? "noopener noreferrer",
|
|
321
|
+
"aria-label": ariaLabel,
|
|
322
|
+
className: outerClassName,
|
|
323
|
+
children
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
const Link = linkComponent ?? getTapTargetLinkComponent();
|
|
328
|
+
if (Link) {
|
|
329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
330
|
+
Link,
|
|
331
|
+
{
|
|
332
|
+
href,
|
|
333
|
+
target,
|
|
334
|
+
rel,
|
|
335
|
+
prefetch,
|
|
336
|
+
"aria-label": ariaLabel,
|
|
337
|
+
className: outerClassName,
|
|
338
|
+
children
|
|
339
|
+
}
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
343
|
+
"a",
|
|
344
|
+
{
|
|
345
|
+
href,
|
|
346
|
+
target,
|
|
347
|
+
rel,
|
|
348
|
+
"aria-label": ariaLabel,
|
|
349
|
+
className: outerClassName,
|
|
350
|
+
children
|
|
351
|
+
}
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
if (as === "label") {
|
|
355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
356
|
+
"label",
|
|
357
|
+
{
|
|
358
|
+
htmlFor,
|
|
359
|
+
"aria-label": ariaLabel,
|
|
360
|
+
className: outerClassName,
|
|
361
|
+
children
|
|
362
|
+
}
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
366
|
+
"button",
|
|
367
|
+
{
|
|
368
|
+
ref: buttonRef,
|
|
369
|
+
type: "button",
|
|
370
|
+
onClick,
|
|
371
|
+
"aria-label": ariaLabel,
|
|
372
|
+
disabled,
|
|
373
|
+
...rest,
|
|
374
|
+
className: outerClassName,
|
|
375
|
+
children
|
|
376
|
+
}
|
|
377
|
+
);
|
|
378
|
+
}
|
|
379
|
+
function withTooltip(trigger, {
|
|
380
|
+
tooltip,
|
|
381
|
+
ariaLabel,
|
|
382
|
+
disabled,
|
|
383
|
+
tooltipSide = "top",
|
|
384
|
+
tooltipAlign = "center"
|
|
385
|
+
}) {
|
|
386
|
+
if (tooltip === false) return trigger;
|
|
387
|
+
const label = typeof tooltip === "string" && tooltip.length > 0 ? tooltip : ariaLabel;
|
|
388
|
+
if (!label) return trigger;
|
|
389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(TooltipPrimitive2.Root, { children: [
|
|
390
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(TooltipTrigger, { asChild: true, children: disabled ? (
|
|
391
|
+
// Radix Tooltip triggers need a hoverable element; a disabled button
|
|
392
|
+
// does not dispatch pointer events, so we wrap in a span for the
|
|
393
|
+
// trigger target while keeping the disabled visual state.
|
|
394
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "inline-flex", children: trigger })
|
|
395
|
+
) : trigger }),
|
|
396
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(TooltipContent, { side: tooltipSide, align: tooltipAlign, children: label })
|
|
397
|
+
] });
|
|
398
|
+
}
|
|
399
|
+
var TapTargetButton = (0, import_react.forwardRef)(function TapTargetButton2({
|
|
400
|
+
icon,
|
|
401
|
+
children,
|
|
402
|
+
strokeWidth = 2,
|
|
403
|
+
onClick,
|
|
404
|
+
className,
|
|
405
|
+
as,
|
|
406
|
+
htmlFor,
|
|
407
|
+
ariaLabel,
|
|
408
|
+
disabled,
|
|
409
|
+
href,
|
|
410
|
+
target,
|
|
411
|
+
rel,
|
|
412
|
+
prefetch,
|
|
413
|
+
linkComponent,
|
|
414
|
+
tooltip,
|
|
415
|
+
tooltipSide,
|
|
416
|
+
tooltipAlign,
|
|
417
|
+
label,
|
|
418
|
+
...rest
|
|
419
|
+
}, ref) {
|
|
420
|
+
const color = className ?? "text-foreground";
|
|
421
|
+
return renderTapTarget({
|
|
422
|
+
icon,
|
|
423
|
+
children,
|
|
424
|
+
strokeWidth,
|
|
425
|
+
onClick,
|
|
426
|
+
as,
|
|
427
|
+
htmlFor,
|
|
428
|
+
ariaLabel,
|
|
429
|
+
disabled,
|
|
430
|
+
href,
|
|
431
|
+
target,
|
|
432
|
+
rel,
|
|
433
|
+
prefetch,
|
|
434
|
+
linkComponent,
|
|
435
|
+
tooltip,
|
|
436
|
+
tooltipSide,
|
|
437
|
+
tooltipAlign,
|
|
438
|
+
label,
|
|
439
|
+
pillClassName: "matrx-tap-pill matrx-glass-thin-border",
|
|
440
|
+
iconClassName: `matrx-tap-icon ${color}`,
|
|
441
|
+
rest,
|
|
442
|
+
buttonRef: ref
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
var TapTargetButtonTransparent = (0, import_react.forwardRef)(function TapTargetButtonTransparent2({
|
|
446
|
+
icon,
|
|
447
|
+
children,
|
|
448
|
+
strokeWidth = 2,
|
|
449
|
+
onClick,
|
|
450
|
+
className,
|
|
451
|
+
as,
|
|
452
|
+
htmlFor,
|
|
453
|
+
ariaLabel,
|
|
454
|
+
disabled,
|
|
455
|
+
href,
|
|
456
|
+
target,
|
|
457
|
+
rel,
|
|
458
|
+
prefetch,
|
|
459
|
+
linkComponent,
|
|
460
|
+
tooltip,
|
|
461
|
+
tooltipSide,
|
|
462
|
+
tooltipAlign,
|
|
463
|
+
label,
|
|
464
|
+
...rest
|
|
465
|
+
}, ref) {
|
|
466
|
+
const color = className ?? "text-foreground";
|
|
467
|
+
return renderTapTarget({
|
|
468
|
+
icon,
|
|
469
|
+
children,
|
|
470
|
+
strokeWidth,
|
|
471
|
+
onClick,
|
|
472
|
+
as,
|
|
473
|
+
htmlFor,
|
|
474
|
+
ariaLabel,
|
|
475
|
+
disabled,
|
|
476
|
+
href,
|
|
477
|
+
target,
|
|
478
|
+
rel,
|
|
479
|
+
prefetch,
|
|
480
|
+
linkComponent,
|
|
481
|
+
tooltip,
|
|
482
|
+
tooltipSide,
|
|
483
|
+
tooltipAlign,
|
|
484
|
+
label,
|
|
485
|
+
pillClassName: "matrx-tap-pill hover:bg-muted active:bg-muted-foreground/15",
|
|
486
|
+
iconClassName: `matrx-tap-icon ${color}`,
|
|
487
|
+
rest,
|
|
488
|
+
buttonRef: ref
|
|
489
|
+
});
|
|
490
|
+
});
|
|
491
|
+
var TapTargetButtonSolid = (0, import_react.forwardRef)(function TapTargetButtonSolid2({
|
|
492
|
+
icon,
|
|
493
|
+
children,
|
|
494
|
+
strokeWidth = 2,
|
|
495
|
+
onClick,
|
|
496
|
+
as,
|
|
497
|
+
htmlFor,
|
|
498
|
+
ariaLabel,
|
|
499
|
+
disabled,
|
|
500
|
+
href,
|
|
501
|
+
target,
|
|
502
|
+
rel,
|
|
503
|
+
prefetch,
|
|
504
|
+
linkComponent,
|
|
505
|
+
bgColor = "bg-primary",
|
|
506
|
+
iconColor = "text-primary-foreground",
|
|
507
|
+
hoverBgColor = "hover:bg-primary/80",
|
|
508
|
+
activeBgColor = "active:brightness-90",
|
|
509
|
+
tooltip,
|
|
510
|
+
tooltipSide,
|
|
511
|
+
tooltipAlign,
|
|
512
|
+
label,
|
|
513
|
+
...rest
|
|
514
|
+
}, ref) {
|
|
515
|
+
return renderTapTarget({
|
|
516
|
+
icon,
|
|
517
|
+
children,
|
|
518
|
+
strokeWidth,
|
|
519
|
+
onClick,
|
|
520
|
+
as,
|
|
521
|
+
htmlFor,
|
|
522
|
+
ariaLabel,
|
|
523
|
+
disabled,
|
|
524
|
+
href,
|
|
525
|
+
target,
|
|
526
|
+
rel,
|
|
527
|
+
prefetch,
|
|
528
|
+
linkComponent,
|
|
529
|
+
tooltip,
|
|
530
|
+
tooltipSide,
|
|
531
|
+
tooltipAlign,
|
|
532
|
+
label,
|
|
533
|
+
pillClassName: `matrx-tap-pill ${bgColor} ${iconColor} ${hoverBgColor} ${activeBgColor}`,
|
|
534
|
+
iconClassName: `matrx-tap-icon ${iconColor}`,
|
|
535
|
+
labelClassName: `matrx-tap-label ${iconColor}`,
|
|
536
|
+
rest,
|
|
537
|
+
buttonRef: ref
|
|
538
|
+
});
|
|
539
|
+
});
|
|
540
|
+
var TapTargetButtonDestructive = (0, import_react.forwardRef)(function TapTargetButtonDestructive2({
|
|
541
|
+
bgColor = "bg-destructive",
|
|
542
|
+
iconColor = "text-destructive-foreground",
|
|
543
|
+
hoverBgColor = "hover:bg-destructive/90",
|
|
544
|
+
...rest
|
|
545
|
+
}, ref) {
|
|
546
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
547
|
+
TapTargetButtonSolid,
|
|
548
|
+
{
|
|
549
|
+
ref,
|
|
550
|
+
bgColor,
|
|
551
|
+
iconColor,
|
|
552
|
+
hoverBgColor,
|
|
553
|
+
...rest
|
|
554
|
+
}
|
|
555
|
+
);
|
|
556
|
+
});
|
|
557
|
+
var TapTargetButtonForGroup = (0, import_react.forwardRef)(function TapTargetButtonForGroup2({
|
|
558
|
+
icon,
|
|
559
|
+
children,
|
|
560
|
+
strokeWidth = 2,
|
|
561
|
+
onClick,
|
|
562
|
+
className,
|
|
563
|
+
as,
|
|
564
|
+
htmlFor,
|
|
565
|
+
ariaLabel,
|
|
566
|
+
disabled,
|
|
567
|
+
href,
|
|
568
|
+
target,
|
|
569
|
+
rel,
|
|
570
|
+
prefetch,
|
|
571
|
+
linkComponent,
|
|
572
|
+
tooltip,
|
|
573
|
+
tooltipSide,
|
|
574
|
+
tooltipAlign,
|
|
575
|
+
label,
|
|
576
|
+
...rest
|
|
577
|
+
}, ref) {
|
|
578
|
+
const color = className ?? "text-foreground";
|
|
579
|
+
return renderTapTarget({
|
|
580
|
+
size: "sm",
|
|
581
|
+
icon,
|
|
582
|
+
children,
|
|
583
|
+
strokeWidth,
|
|
584
|
+
onClick,
|
|
585
|
+
as,
|
|
586
|
+
htmlFor,
|
|
587
|
+
ariaLabel,
|
|
588
|
+
disabled,
|
|
589
|
+
href,
|
|
590
|
+
target,
|
|
591
|
+
rel,
|
|
592
|
+
prefetch,
|
|
593
|
+
linkComponent,
|
|
594
|
+
tooltip,
|
|
595
|
+
tooltipSide,
|
|
596
|
+
tooltipAlign,
|
|
597
|
+
label,
|
|
598
|
+
pillClassName: "matrx-tap-pill matrx-tap-pill-sm matrx-glass-interactive",
|
|
599
|
+
iconClassName: `matrx-tap-icon ${color}`,
|
|
600
|
+
labelClassName: `matrx-tap-label ${color}`,
|
|
601
|
+
rest,
|
|
602
|
+
buttonRef: ref
|
|
603
|
+
});
|
|
604
|
+
});
|
|
605
|
+
|
|
606
|
+
// src/tap-buttons.tsx
|
|
607
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
608
|
+
var Wrap = (0, import_react2.forwardRef)(function Wrap2({
|
|
609
|
+
variant = "glass",
|
|
610
|
+
children,
|
|
611
|
+
bgColor,
|
|
612
|
+
iconColor,
|
|
613
|
+
hoverBgColor,
|
|
614
|
+
activeBgColor,
|
|
615
|
+
// AITapButtonProps passthrough — not a DOM attribute (see ai-tap-buttons Wrap)
|
|
616
|
+
colored: _colored,
|
|
617
|
+
...props
|
|
618
|
+
}, ref) {
|
|
619
|
+
switch (variant) {
|
|
620
|
+
case "transparent":
|
|
621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TapTargetButtonTransparent, { ref, ...props, children });
|
|
622
|
+
case "solid":
|
|
623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
624
|
+
TapTargetButtonSolid,
|
|
625
|
+
{
|
|
626
|
+
ref,
|
|
627
|
+
bgColor,
|
|
628
|
+
iconColor,
|
|
629
|
+
hoverBgColor,
|
|
630
|
+
activeBgColor,
|
|
631
|
+
...props,
|
|
632
|
+
children
|
|
633
|
+
}
|
|
634
|
+
);
|
|
635
|
+
case "group":
|
|
636
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TapTargetButtonForGroup, { ref, ...props, children });
|
|
637
|
+
default:
|
|
638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TapTargetButton, { ref, ...props, children });
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
function MenuTapButton(props) {
|
|
642
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Menu", strokeWidth: 1.75, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
643
|
+
"path",
|
|
644
|
+
{
|
|
645
|
+
strokeLinecap: "round",
|
|
646
|
+
strokeLinejoin: "round",
|
|
647
|
+
d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
|
648
|
+
}
|
|
649
|
+
) });
|
|
650
|
+
}
|
|
651
|
+
function PlusTapButton(props) {
|
|
652
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Add", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
653
|
+
"path",
|
|
654
|
+
{
|
|
655
|
+
strokeLinecap: "round",
|
|
656
|
+
strokeLinejoin: "round",
|
|
657
|
+
d: "M12 4.5v15m7.5-7.5h-15"
|
|
658
|
+
}
|
|
659
|
+
) });
|
|
660
|
+
}
|
|
661
|
+
function SearchTapButton(props) {
|
|
662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Search", ...props, children: [
|
|
663
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
|
664
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21 21-4.34-4.34" })
|
|
665
|
+
] });
|
|
666
|
+
}
|
|
667
|
+
function SettingsTapButton(props) {
|
|
668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Settings", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
669
|
+
"path",
|
|
670
|
+
{
|
|
671
|
+
strokeLinecap: "round",
|
|
672
|
+
strokeLinejoin: "round",
|
|
673
|
+
d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
|
|
674
|
+
}
|
|
675
|
+
) });
|
|
676
|
+
}
|
|
677
|
+
function MaximizeTapButton(props) {
|
|
678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Fullscreen", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
679
|
+
"path",
|
|
680
|
+
{
|
|
681
|
+
strokeLinecap: "round",
|
|
682
|
+
strokeLinejoin: "round",
|
|
683
|
+
d: "M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"
|
|
684
|
+
}
|
|
685
|
+
) });
|
|
686
|
+
}
|
|
687
|
+
function HomeTapButton(props) {
|
|
688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Hub", ...props, children: [
|
|
689
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" }),
|
|
690
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" })
|
|
691
|
+
] });
|
|
692
|
+
}
|
|
693
|
+
function LayoutGridTapButton(props) {
|
|
694
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Card view", ...props, children: [
|
|
695
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "7", height: "7", x: "3", y: "3", rx: "1" }),
|
|
696
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "7", height: "7", x: "14", y: "3", rx: "1" }),
|
|
697
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "7", height: "7", x: "14", y: "14", rx: "1" }),
|
|
698
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "7", height: "7", x: "3", y: "14", rx: "1" })
|
|
699
|
+
] });
|
|
700
|
+
}
|
|
701
|
+
function ListTapButton(props) {
|
|
702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Table view", ...props, children: [
|
|
703
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 5h.01" }),
|
|
704
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 12h.01" }),
|
|
705
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 19h.01" }),
|
|
706
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 5h13" }),
|
|
707
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 12h13" }),
|
|
708
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 19h13" })
|
|
709
|
+
] });
|
|
710
|
+
}
|
|
711
|
+
function ArrowDownUpTapButton(props) {
|
|
712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Sort", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
713
|
+
"path",
|
|
714
|
+
{
|
|
715
|
+
strokeLinecap: "round",
|
|
716
|
+
strokeLinejoin: "round",
|
|
717
|
+
d: "M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v10.5"
|
|
718
|
+
}
|
|
719
|
+
) });
|
|
720
|
+
}
|
|
721
|
+
function BellTapButton(props) {
|
|
722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Notifications", ...props, children: [
|
|
723
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10.268 21a2 2 0 0 0 3.464 0" }),
|
|
724
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" })
|
|
725
|
+
] });
|
|
726
|
+
}
|
|
727
|
+
function BellRingTapButton(props) {
|
|
728
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Notifications", ...props, children: [
|
|
729
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10.268 21a2 2 0 0 0 3.464 0" }),
|
|
730
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 8c0-2.3-.8-4.3-2-6" }),
|
|
731
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }),
|
|
732
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 2C2.8 3.7 2 5.7 2 8" })
|
|
733
|
+
] });
|
|
734
|
+
}
|
|
735
|
+
function ZapTapButton(props) {
|
|
736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Quick actions", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" }) });
|
|
737
|
+
}
|
|
738
|
+
function UploadTapButton(props) {
|
|
739
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Upload", ...props, children: [
|
|
740
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 3v12" }),
|
|
741
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m17 8-5-5-5 5" }),
|
|
742
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" })
|
|
743
|
+
] });
|
|
744
|
+
}
|
|
745
|
+
function DownloadTapButton(props) {
|
|
746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Download", ...props, children: [
|
|
747
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 15V3" }),
|
|
748
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
749
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m7 10 5 5 5-5" })
|
|
750
|
+
] });
|
|
751
|
+
}
|
|
752
|
+
function ShareTapButton(props) {
|
|
753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Share", ...props, children: [
|
|
754
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "18", cy: "5", r: "3" }),
|
|
755
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "6", cy: "12", r: "3" }),
|
|
756
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "18", cy: "19", r: "3" }),
|
|
757
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "8.59", x2: "15.42", y1: "13.51", y2: "17.49" }),
|
|
758
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "15.41", x2: "8.59", y1: "6.51", y2: "10.49" })
|
|
759
|
+
] });
|
|
760
|
+
}
|
|
761
|
+
function UndoTapButton(props) {
|
|
762
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Undo", ...props, children: [
|
|
763
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 7v6h6" }),
|
|
764
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" })
|
|
765
|
+
] });
|
|
766
|
+
}
|
|
767
|
+
function RedoTapButton(props) {
|
|
768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Redo", ...props, children: [
|
|
769
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 7v6h-6" }),
|
|
770
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" })
|
|
771
|
+
] });
|
|
772
|
+
}
|
|
773
|
+
function CopyTapButton(props) {
|
|
774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Copy", ...props, children: [
|
|
775
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
|
776
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
|
777
|
+
] });
|
|
778
|
+
}
|
|
779
|
+
function TrashTapButton(props) {
|
|
780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Delete", ...props, children: [
|
|
781
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }),
|
|
782
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 6h18" }),
|
|
783
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
784
|
+
] });
|
|
785
|
+
}
|
|
786
|
+
function FilesTapButton(props) {
|
|
787
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Copy all", ...props, children: [
|
|
788
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 7h-3a2 2 0 0 1-2-2V2" }),
|
|
789
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z" }),
|
|
790
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8" })
|
|
791
|
+
] });
|
|
792
|
+
}
|
|
793
|
+
function ChevronLeftTapButton(props) {
|
|
794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Back", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m16 19-7-7 7-7" }) });
|
|
795
|
+
}
|
|
796
|
+
function ChevronRightTapButton(props) {
|
|
797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Next", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m9 18 6-6-6-6" }) });
|
|
798
|
+
}
|
|
799
|
+
function PanelLeftTapButton(props) {
|
|
800
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Toggle sidebar", ...props, children: [
|
|
801
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
|
|
802
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 3v18" })
|
|
803
|
+
] });
|
|
804
|
+
}
|
|
805
|
+
function PanelRightTapButton(props) {
|
|
806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Toggle sidebar", ...props, children: [
|
|
807
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
|
|
808
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 3v18" })
|
|
809
|
+
] });
|
|
810
|
+
}
|
|
811
|
+
function SquarePenTapButton(props) {
|
|
812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "New chat", ...props, children: [
|
|
813
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
814
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" })
|
|
815
|
+
] });
|
|
816
|
+
}
|
|
817
|
+
function XTapButton(props) {
|
|
818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Close", ...props, children: [
|
|
819
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 6 6 18" }),
|
|
820
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m6 6 12 12" })
|
|
821
|
+
] });
|
|
822
|
+
}
|
|
823
|
+
function FilterTapButton(props) {
|
|
824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Filter", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" }) });
|
|
825
|
+
}
|
|
826
|
+
function PlayTapButton(props) {
|
|
827
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Play", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }) });
|
|
828
|
+
}
|
|
829
|
+
function PauseTapButton(props) {
|
|
830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Pause", ...props, children: [
|
|
831
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "14", y: "3", width: "5", height: "18", rx: "1" }),
|
|
832
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "5", y: "3", width: "5", height: "18", rx: "1" })
|
|
833
|
+
] });
|
|
834
|
+
}
|
|
835
|
+
function StopTapButton(props) {
|
|
836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Stop", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }) });
|
|
837
|
+
}
|
|
838
|
+
function Volume2TapButton(props) {
|
|
839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Speaker", ...props, children: [
|
|
840
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z" }),
|
|
841
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16 9a5 5 0 0 1 0 6" }),
|
|
842
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19.364 18.364a9 9 0 0 0 0-12.728" })
|
|
843
|
+
] });
|
|
844
|
+
}
|
|
845
|
+
function ArrowUpTapButton(props) {
|
|
846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Send", ...props, children: [
|
|
847
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m5 12 7-7 7 7" }),
|
|
848
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 19V5" })
|
|
849
|
+
] });
|
|
850
|
+
}
|
|
851
|
+
function MicTapButton(props) {
|
|
852
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Start recording", ...props, children: [
|
|
853
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 19v3" }),
|
|
854
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
|
|
855
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "9", y: "2", width: "6", height: "13", rx: "3" })
|
|
856
|
+
] });
|
|
857
|
+
}
|
|
858
|
+
function MicOffTapButton(props) {
|
|
859
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Stop recording", ...props, children: [
|
|
860
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 19v3" }),
|
|
861
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 9.34V5a3 3 0 0 0-5.68-1.33" }),
|
|
862
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16.95 16.95A7 7 0 0 1 5 12v-2" }),
|
|
863
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18.89 13.23A7 7 0 0 0 19 12v-2" }),
|
|
864
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m2 2 20 20" }),
|
|
865
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 9v3a3 3 0 0 0 5.12 2.12" })
|
|
866
|
+
] });
|
|
867
|
+
}
|
|
868
|
+
function TriangleAlertTapButton(props) {
|
|
869
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Alert", ...props, children: [
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }),
|
|
871
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 9v4" }),
|
|
872
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 17h.01" })
|
|
873
|
+
] });
|
|
874
|
+
}
|
|
875
|
+
function ShieldCheckTapButton(props) {
|
|
876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Context set", ...props, children: [
|
|
877
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" }),
|
|
878
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m9 12 2 2 4-4" })
|
|
879
|
+
] });
|
|
880
|
+
}
|
|
881
|
+
function ShieldAlertTapButton(props) {
|
|
882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "No context", ...props, children: [
|
|
883
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" }),
|
|
884
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 8v4" }),
|
|
885
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 16h.01" })
|
|
886
|
+
] });
|
|
887
|
+
}
|
|
888
|
+
function BugTapButton(props) {
|
|
889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Debug", ...props, children: [
|
|
890
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 20v-9" }),
|
|
891
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z" }),
|
|
892
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.12 3.88 16 2" }),
|
|
893
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 21a4 4 0 0 0-3.81-4" }),
|
|
894
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 5a4 4 0 0 1-3.55 3.97" }),
|
|
895
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 13h-4" }),
|
|
896
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 21a4 4 0 0 1 3.81-4" }),
|
|
897
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 5a4 4 0 0 0 3.55 3.97" }),
|
|
898
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M6 13H2" }),
|
|
899
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m8 2 1.88 1.88" }),
|
|
900
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 7.13V6a3 3 0 1 1 6 0v1.13" })
|
|
901
|
+
] });
|
|
902
|
+
}
|
|
903
|
+
function Settings2TapButton(props) {
|
|
904
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Settings", ...props, children: [
|
|
905
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
906
|
+
"path",
|
|
907
|
+
{
|
|
908
|
+
strokeLinecap: "round",
|
|
909
|
+
strokeLinejoin: "round",
|
|
910
|
+
d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
|
|
911
|
+
}
|
|
912
|
+
),
|
|
913
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
914
|
+
"path",
|
|
915
|
+
{
|
|
916
|
+
strokeLinecap: "round",
|
|
917
|
+
strokeLinejoin: "round",
|
|
918
|
+
d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z"
|
|
919
|
+
}
|
|
920
|
+
)
|
|
921
|
+
] });
|
|
922
|
+
}
|
|
923
|
+
function SaveTapButton(props) {
|
|
924
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Save", ...props, children: [
|
|
925
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
926
|
+
"path",
|
|
927
|
+
{
|
|
928
|
+
strokeLinecap: "round",
|
|
929
|
+
strokeLinejoin: "round",
|
|
930
|
+
d: "M4.5 6a2 2 0 012-2h9.25L20.5 9v9a2 2 0 01-2 2h-12a2 2 0 01-2-2V6z"
|
|
931
|
+
}
|
|
932
|
+
),
|
|
933
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
934
|
+
"path",
|
|
935
|
+
{
|
|
936
|
+
strokeLinecap: "round",
|
|
937
|
+
strokeLinejoin: "round",
|
|
938
|
+
d: "M8.5 4v4.5a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V4"
|
|
939
|
+
}
|
|
940
|
+
),
|
|
941
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
942
|
+
"rect",
|
|
943
|
+
{
|
|
944
|
+
x: "8",
|
|
945
|
+
y: "14",
|
|
946
|
+
width: "8",
|
|
947
|
+
height: "5.5",
|
|
948
|
+
rx: "0.5",
|
|
949
|
+
strokeLinejoin: "round"
|
|
950
|
+
}
|
|
951
|
+
)
|
|
952
|
+
] });
|
|
953
|
+
}
|
|
954
|
+
function SendTapButton(props) {
|
|
955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Send", ...props, children: [
|
|
956
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z" }),
|
|
957
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21.854 2.147-10.94 10.939" })
|
|
958
|
+
] });
|
|
959
|
+
}
|
|
960
|
+
function MessageTapButton(props) {
|
|
961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Message", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }) });
|
|
962
|
+
}
|
|
963
|
+
function VariableTapButton(props) {
|
|
964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Variable", ...props, children: [
|
|
965
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 21s-4-3-4-9 4-9 4-9" }),
|
|
966
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16 3s4 3 4 9-4 9-4 9" }),
|
|
967
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "15", x2: "9", y1: "9", y2: "15" }),
|
|
968
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "9", x2: "15", y1: "9", y2: "15" })
|
|
969
|
+
] });
|
|
970
|
+
}
|
|
971
|
+
function WrenchTapButton(props) {
|
|
972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Tool", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" }) });
|
|
973
|
+
}
|
|
974
|
+
function CommandTapButton(props) {
|
|
975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Command", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3" }) });
|
|
976
|
+
}
|
|
977
|
+
function TerminalTapButton(props) {
|
|
978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Terminal", ...props, children: [
|
|
979
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 19h8" }),
|
|
980
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m4 17 6-6-6-6" })
|
|
981
|
+
] });
|
|
982
|
+
}
|
|
983
|
+
function TestTubeTapButton(props) {
|
|
984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Test", ...props, children: [
|
|
985
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2" }),
|
|
986
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8.5 2h7" }),
|
|
987
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.5 16h-5" })
|
|
988
|
+
] });
|
|
989
|
+
}
|
|
990
|
+
function ResetTapButton(props) {
|
|
991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Reset", ...props, children: [
|
|
992
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }),
|
|
993
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 3v5h5" })
|
|
994
|
+
] });
|
|
995
|
+
}
|
|
996
|
+
function ClearTapButton(props) {
|
|
997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Clear", ...props, children: [
|
|
998
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" }),
|
|
999
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m5.082 11.09 8.828 8.828" })
|
|
1000
|
+
] });
|
|
1001
|
+
}
|
|
1002
|
+
function RetryTapButton(props) {
|
|
1003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Retry", ...props, children: [
|
|
1004
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }),
|
|
1005
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 3v5h-5" }),
|
|
1006
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }),
|
|
1007
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 16H3v5" })
|
|
1008
|
+
] });
|
|
1009
|
+
}
|
|
1010
|
+
function RefreshCwTapButton(props) {
|
|
1011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RetryTapButton, { ariaLabel: "Refresh", ...props });
|
|
1012
|
+
}
|
|
1013
|
+
function LoadingTapButton(props) {
|
|
1014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Loading", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1015
|
+
"circle",
|
|
1016
|
+
{
|
|
1017
|
+
className: "animate-spin",
|
|
1018
|
+
cx: "12",
|
|
1019
|
+
cy: "12",
|
|
1020
|
+
r: "9",
|
|
1021
|
+
strokeDasharray: "28.27",
|
|
1022
|
+
strokeDashoffset: "9",
|
|
1023
|
+
strokeLinecap: "round",
|
|
1024
|
+
style: { transformOrigin: "12px 12px" }
|
|
1025
|
+
}
|
|
1026
|
+
) });
|
|
1027
|
+
}
|
|
1028
|
+
function RobotTapButton(props) {
|
|
1029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "AI Agent", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1030
|
+
"path",
|
|
1031
|
+
{
|
|
1032
|
+
strokeLinecap: "round",
|
|
1033
|
+
strokeLinejoin: "round",
|
|
1034
|
+
d: "M9 3.75H6.912a2.25 2.25 0 00-2.15 1.588L2.35 13.177a2.25 2.25 0 00-.1.661V18a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 00-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 012.012 1.244l.256.512a2.25 2.25 0 002.013 1.244h3.218a2.25 2.25 0 002.013-1.244l.256-.512a2.25 2.25 0 012.013-1.244h3.859M12 3v8.25m0 0-3-3m3 3 3-3"
|
|
1035
|
+
}
|
|
1036
|
+
) });
|
|
1037
|
+
}
|
|
1038
|
+
function WebhookTapButton(props) {
|
|
1039
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Webhook", ...props, children: [
|
|
1040
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2" }),
|
|
1041
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06" }),
|
|
1042
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8" })
|
|
1043
|
+
] });
|
|
1044
|
+
}
|
|
1045
|
+
function ViewTapButton(props) {
|
|
1046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "View", ...props, children: [
|
|
1047
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }),
|
|
1048
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
|
1049
|
+
] });
|
|
1050
|
+
}
|
|
1051
|
+
function BuildTapButton(props) {
|
|
1052
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Build", ...props, children: [
|
|
1053
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9" }),
|
|
1054
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m18 15 4-4" }),
|
|
1055
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" })
|
|
1056
|
+
] });
|
|
1057
|
+
}
|
|
1058
|
+
function RunTapButton(props) {
|
|
1059
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Run", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }) });
|
|
1060
|
+
}
|
|
1061
|
+
function HistoryTapButton(props) {
|
|
1062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "History", ...props, children: [
|
|
1063
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }),
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 3v5h5" }),
|
|
1065
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 7v5l4 2" })
|
|
1066
|
+
] });
|
|
1067
|
+
}
|
|
1068
|
+
function PaperclipTapButton(props) {
|
|
1069
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Attach file", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }) });
|
|
1070
|
+
}
|
|
1071
|
+
function ThumbsUpTapButton(props) {
|
|
1072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Like", ...props, children: [
|
|
1073
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 10v12" }),
|
|
1074
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z" })
|
|
1075
|
+
] });
|
|
1076
|
+
}
|
|
1077
|
+
function ThumbsDownTapButton(props) {
|
|
1078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Dislike", ...props, children: [
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M17 14V2" }),
|
|
1080
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z" })
|
|
1081
|
+
] });
|
|
1082
|
+
}
|
|
1083
|
+
function CheckTapButton(props) {
|
|
1084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Wrap, { ariaLabel: "Done", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 6 9 17l-5-5" }) });
|
|
1085
|
+
}
|
|
1086
|
+
function PencilTapButton(props) {
|
|
1087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Edit", ...props, children: [
|
|
1088
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }),
|
|
1089
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m15 5 4 4" })
|
|
1090
|
+
] });
|
|
1091
|
+
}
|
|
1092
|
+
function MoreHorizontalTapButton(props) {
|
|
1093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "More options", ...props, children: [
|
|
1094
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
|
1095
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
|
1096
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
|
1097
|
+
] });
|
|
1098
|
+
}
|
|
1099
|
+
function CheckSquareTapButton(props) {
|
|
1100
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Task", ...props, children: [
|
|
1101
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m9 11 3 3L22 4" }),
|
|
1102
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" })
|
|
1103
|
+
] });
|
|
1104
|
+
}
|
|
1105
|
+
function GhostTapButton(props) {
|
|
1106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Incognito chat", ...props, children: [
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 10h.01" }),
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 10h.01" }),
|
|
1109
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z" })
|
|
1110
|
+
] });
|
|
1111
|
+
}
|
|
1112
|
+
function LinkTapButton(props) {
|
|
1113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Attach", ...props, children: [
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }),
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })
|
|
1116
|
+
] });
|
|
1117
|
+
}
|
|
1118
|
+
function ExternalLinkTapButton(props) {
|
|
1119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Open source", ...props, children: [
|
|
1120
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 3h6v6" }),
|
|
1121
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 14 21 3" }),
|
|
1122
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })
|
|
1123
|
+
] });
|
|
1124
|
+
}
|
|
1125
|
+
function ClipboardListTapButton(props) {
|
|
1126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Copy Pages", ...props, children: [
|
|
1127
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1" }),
|
|
1128
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 11h4" }),
|
|
1130
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 16h4" }),
|
|
1131
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 11h.01" }),
|
|
1132
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 16h.01" })
|
|
1133
|
+
] });
|
|
1134
|
+
}
|
|
1135
|
+
function PartyPopperTapButton(props) {
|
|
1136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "AI Clean", ...props, children: [
|
|
1137
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5.8 11.3 2 22l10.7-3.79" }),
|
|
1138
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 3h.01" }),
|
|
1139
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 8h.01" }),
|
|
1140
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 2h.01" }),
|
|
1141
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 20h.01" }),
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10" }),
|
|
1143
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17" }),
|
|
1144
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7" }),
|
|
1145
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z" })
|
|
1146
|
+
] });
|
|
1147
|
+
}
|
|
1148
|
+
function LayersTapButton(props) {
|
|
1149
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Wrap, { ariaLabel: "Open this PDF in another surface", ...props, children: [
|
|
1150
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" }),
|
|
1151
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" }),
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" })
|
|
1153
|
+
] });
|
|
1154
|
+
}
|
|
1155
|
+
//# sourceMappingURL=buttons.cjs.map
|