@nice2dev/icons-cursor 1.0.10
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 +241 -0
- package/dist/createCursorIcon-CCO9eeBk.mjs +170 -0
- package/dist/createCursorIcon-CCO9eeBk.mjs.map +1 -0
- package/dist/createCursorIcon-Crwdo_Qk.js +169 -0
- package/dist/createCursorIcon-Crwdo_Qk.js.map +1 -0
- package/dist/createCursorIcon.d.ts +11 -0
- package/dist/createCursorIcon.d.ts.map +1 -0
- package/dist/cursorBuilder.d.ts +242 -0
- package/dist/cursorBuilder.d.ts.map +1 -0
- package/dist/index.cjs +288 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +292 -0
- package/dist/index.mjs.map +1 -0
- package/dist/pointers-DW_cbtGT.mjs +90 -0
- package/dist/pointers-DW_cbtGT.mjs.map +1 -0
- package/dist/pointers-DxPqgPxN.js +89 -0
- package/dist/pointers-DxPqgPxN.js.map +1 -0
- package/dist/pointers.cjs +21 -0
- package/dist/pointers.cjs.map +1 -0
- package/dist/pointers.d.ts +36 -0
- package/dist/pointers.d.ts.map +1 -0
- package/dist/pointers.mjs +21 -0
- package/dist/pointers.mjs.map +1 -0
- package/dist/selection-CINU3bsI.js +101 -0
- package/dist/selection-CINU3bsI.js.map +1 -0
- package/dist/selection-W-1ZhqSv.mjs +102 -0
- package/dist/selection-W-1ZhqSv.mjs.map +1 -0
- package/dist/selection.cjs +21 -0
- package/dist/selection.cjs.map +1 -0
- package/dist/selection.d.ts +36 -0
- package/dist/selection.d.ts.map +1 -0
- package/dist/selection.mjs +21 -0
- package/dist/selection.mjs.map +1 -0
- package/dist/status-BBrDqBw_.mjs +111 -0
- package/dist/status-BBrDqBw_.mjs.map +1 -0
- package/dist/status-L6N47QMq.js +110 -0
- package/dist/status-L6N47QMq.js.map +1 -0
- package/dist/status.cjs +21 -0
- package/dist/status.cjs.map +1 -0
- package/dist/status.d.ts +36 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.mjs +21 -0
- package/dist/status.mjs.map +1 -0
- package/dist/tools-DbPCbk54.mjs +108 -0
- package/dist/tools-DbPCbk54.mjs.map +1 -0
- package/dist/tools-ttgDzC_5.js +107 -0
- package/dist/tools-ttgDzC_5.js.map +1 -0
- package/dist/tools.cjs +21 -0
- package/dist/tools.cjs.map +1 -0
- package/dist/tools.d.ts +36 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.mjs +21 -0
- package/dist/tools.mjs.map +1 -0
- package/dist/types.d.ts +55 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("./createCursorIcon-Crwdo_Qk.js");
|
|
4
|
+
const pointers = require("./pointers-DxPqgPxN.js");
|
|
5
|
+
exports.Crosshair = pointers.Crosshair;
|
|
6
|
+
exports.Move = pointers.Move;
|
|
7
|
+
exports.Pointer = pointers.Pointer;
|
|
8
|
+
exports.PointerFinger = pointers.PointerFinger;
|
|
9
|
+
exports.ResizeAll = pointers.ResizeAll;
|
|
10
|
+
exports.ResizeE = pointers.ResizeE;
|
|
11
|
+
exports.ResizeHorizontal = pointers.ResizeHorizontal;
|
|
12
|
+
exports.ResizeN = pointers.ResizeN;
|
|
13
|
+
exports.ResizeNE = pointers.ResizeNE;
|
|
14
|
+
exports.ResizeNW = pointers.ResizeNW;
|
|
15
|
+
exports.ResizeS = pointers.ResizeS;
|
|
16
|
+
exports.ResizeSE = pointers.ResizeSE;
|
|
17
|
+
exports.ResizeSW = pointers.ResizeSW;
|
|
18
|
+
exports.ResizeVertical = pointers.ResizeVertical;
|
|
19
|
+
exports.ResizeW = pointers.ResizeW;
|
|
20
|
+
exports.pointerIcons = pointers.pointerIcons;
|
|
21
|
+
//# sourceMappingURL=pointers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointers.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const Pointer: import('./types').CursorIcon;
|
|
2
|
+
export declare const PointerFinger: import('./types').CursorIcon;
|
|
3
|
+
export declare const Crosshair: import('./types').CursorIcon;
|
|
4
|
+
export declare const Move: import('./types').CursorIcon;
|
|
5
|
+
export declare const ResizeN: import('./types').CursorIcon;
|
|
6
|
+
export declare const ResizeS: import('./types').CursorIcon;
|
|
7
|
+
export declare const ResizeE: import('./types').CursorIcon;
|
|
8
|
+
export declare const ResizeW: import('./types').CursorIcon;
|
|
9
|
+
export declare const ResizeNE: import('./types').CursorIcon;
|
|
10
|
+
export declare const ResizeNW: import('./types').CursorIcon;
|
|
11
|
+
export declare const ResizeSE: import('./types').CursorIcon;
|
|
12
|
+
export declare const ResizeSW: import('./types').CursorIcon;
|
|
13
|
+
export declare const ResizeHorizontal: import('./types').CursorIcon;
|
|
14
|
+
export declare const ResizeVertical: import('./types').CursorIcon;
|
|
15
|
+
export declare const ResizeAll: import('./types').CursorIcon;
|
|
16
|
+
/**
|
|
17
|
+
* All pointer icons grouped for export
|
|
18
|
+
*/
|
|
19
|
+
export declare const pointerIcons: {
|
|
20
|
+
readonly Pointer: import('./types').CursorIcon;
|
|
21
|
+
readonly PointerFinger: import('./types').CursorIcon;
|
|
22
|
+
readonly Crosshair: import('./types').CursorIcon;
|
|
23
|
+
readonly Move: import('./types').CursorIcon;
|
|
24
|
+
readonly ResizeN: import('./types').CursorIcon;
|
|
25
|
+
readonly ResizeS: import('./types').CursorIcon;
|
|
26
|
+
readonly ResizeE: import('./types').CursorIcon;
|
|
27
|
+
readonly ResizeW: import('./types').CursorIcon;
|
|
28
|
+
readonly ResizeNE: import('./types').CursorIcon;
|
|
29
|
+
readonly ResizeNW: import('./types').CursorIcon;
|
|
30
|
+
readonly ResizeSE: import('./types').CursorIcon;
|
|
31
|
+
readonly ResizeSW: import('./types').CursorIcon;
|
|
32
|
+
readonly ResizeHorizontal: import('./types').CursorIcon;
|
|
33
|
+
readonly ResizeVertical: import('./types').CursorIcon;
|
|
34
|
+
readonly ResizeAll: import('./types').CursorIcon;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=pointers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointers.d.ts","sourceRoot":"","sources":["../src/pointers.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,8BAAyE,CAAC;AAG9F,eAAO,MAAM,aAAa,8BAGzB,CAAC;AAGF,eAAO,MAAM,SAAS,8BAGrB,CAAC;AAGF,eAAO,MAAM,IAAI,8BAGhB,CAAC;AAGF,eAAO,MAAM,OAAO,8BAAwD,CAAC;AAG7E,eAAO,MAAM,OAAO,8BAAuD,CAAC;AAG5E,eAAO,MAAM,OAAO,8BAAuD,CAAC;AAG5E,eAAO,MAAM,OAAO,8BAAuD,CAAC;AAG5E,eAAO,MAAM,QAAQ,8BAA0D,CAAC;AAGhF,eAAO,MAAM,QAAQ,8BAAyD,CAAC;AAG/E,eAAO,MAAM,QAAQ,8BAA2D,CAAC;AAGjF,eAAO,MAAM,QAAQ,8BAA2D,CAAC;AAGjF,eAAO,MAAM,gBAAgB,8BAG5B,CAAC;AAGF,eAAO,MAAM,cAAc,8BAG1B,CAAC;AAGF,eAAO,MAAM,SAAS,8BAGrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAgBf,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./createCursorIcon-CCO9eeBk.mjs";
|
|
2
|
+
import { C, M, P, a, R, b, c, d, e, f, g, h, i, j, k, p } from "./pointers-DW_cbtGT.mjs";
|
|
3
|
+
export {
|
|
4
|
+
C as Crosshair,
|
|
5
|
+
M as Move,
|
|
6
|
+
P as Pointer,
|
|
7
|
+
a as PointerFinger,
|
|
8
|
+
R as ResizeAll,
|
|
9
|
+
b as ResizeE,
|
|
10
|
+
c as ResizeHorizontal,
|
|
11
|
+
d as ResizeN,
|
|
12
|
+
e as ResizeNE,
|
|
13
|
+
f as ResizeNW,
|
|
14
|
+
g as ResizeS,
|
|
15
|
+
h as ResizeSE,
|
|
16
|
+
i as ResizeSW,
|
|
17
|
+
j as ResizeVertical,
|
|
18
|
+
k as ResizeW,
|
|
19
|
+
p as pointerIcons
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=pointers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const createCursorIcon = require("./createCursorIcon-Crwdo_Qk.js");
|
|
3
|
+
const TextCursor = createCursorIcon.createCursorIcon(
|
|
4
|
+
"TextCursor",
|
|
5
|
+
"M9 4h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H9m6-16h-1a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h1M12 7v10"
|
|
6
|
+
);
|
|
7
|
+
const TextSelect = createCursorIcon.createCursorIcon(
|
|
8
|
+
"TextSelect",
|
|
9
|
+
"M9 4h6M9 20h6m-3-16v16M6 4h3M6 20h3m9-16h-3m3 16h-3"
|
|
10
|
+
);
|
|
11
|
+
const CellSelection = createCursorIcon.createCursorIcon("CellSelection", "M3 3h18v18H3V3zm6 6h6v6H9V9z");
|
|
12
|
+
const ColumnSelect = createCursorIcon.createCursorIcon("ColumnSelect", "M9 3v18m6-18v18M9 3h6M9 21h6");
|
|
13
|
+
const RowSelect = createCursorIcon.createCursorIcon("RowSelect", "M3 9h18M3 15h18M3 9v6m18-6v6");
|
|
14
|
+
const RangeSelect = createCursorIcon.createCursorIcon("RangeSelect", "M5 5h14v14H5V5zm2 2v10h10V7H7z");
|
|
15
|
+
const Grab = createCursorIcon.createCursorIcon(
|
|
16
|
+
"Grab",
|
|
17
|
+
"M8 14V7.5a1.5 1.5 0 0 1 3 0V12m-3 2V7.5a1.5 1.5 0 0 1 3 0V12m0 0V6.5a1.5 1.5 0 0 1 3 0V12m0 0V7.5a1.5 1.5 0 0 1 3 0V14a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-3.5a1.5 1.5 0 0 1 3 0V14"
|
|
18
|
+
);
|
|
19
|
+
const Grabbing = createCursorIcon.createCursorIcon(
|
|
20
|
+
"Grabbing",
|
|
21
|
+
"M8 15V9a1.5 1.5 0 0 1 3 0v4m-3 2V9a1.5 1.5 0 0 1 3 0v6m0 0V8a1.5 1.5 0 0 1 3 0v7m0 0V9a1.5 1.5 0 0 1 3 0v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V9a1.5 1.5 0 0 1 3 0v6"
|
|
22
|
+
);
|
|
23
|
+
const Drag = createCursorIcon.createCursorIcon("Drag", "M12 2v8m0 4v8m-4-4l4 4 4-4m-8-8l4-4 4 4");
|
|
24
|
+
const DragHandle = createCursorIcon.createCursorIcon(
|
|
25
|
+
"DragHandle",
|
|
26
|
+
"M9 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"
|
|
27
|
+
);
|
|
28
|
+
const Lasso = createCursorIcon.createCursorIcon(
|
|
29
|
+
"Lasso",
|
|
30
|
+
"M7 17c-2.5-2-4-5.5-4-8a9 9 0 0 1 18 0c0 4-3 7-6.5 7S10 13.5 10 10a4.5 4.5 0 0 1 9 0c0 2-1.5 3-3 3s-3-1-3-3m-6 7l4 4"
|
|
31
|
+
);
|
|
32
|
+
const MagicWand = createCursorIcon.createCursorIcon(
|
|
33
|
+
"MagicWand",
|
|
34
|
+
"M15 4V2m4.5 3.5L21 4M4 15l2-2m2.5-4.5L7 7l1.5 1.5L10 7l2 2-1.5 1.5L12 12l-2-2zM9 9l8.5 8.5a2.12 2.12 0 0 0 3-3L12 6l-3 3z"
|
|
35
|
+
);
|
|
36
|
+
const SelectAll = createCursorIcon.createCursorIcon(
|
|
37
|
+
"SelectAll",
|
|
38
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm4 4h10v6H7V9zm2 2v2h6v-2H9z"
|
|
39
|
+
);
|
|
40
|
+
const Deselect = createCursorIcon.createCursorIcon(
|
|
41
|
+
"Deselect",
|
|
42
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm18 0L3 19M3 5l18 14"
|
|
43
|
+
);
|
|
44
|
+
const InvertSelection = createCursorIcon.createCursorIcon(
|
|
45
|
+
"InvertSelection",
|
|
46
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm9 0v18m0-18L3 12l9 9"
|
|
47
|
+
);
|
|
48
|
+
const selectionIcons = {
|
|
49
|
+
TextCursor,
|
|
50
|
+
TextSelect,
|
|
51
|
+
CellSelection,
|
|
52
|
+
ColumnSelect,
|
|
53
|
+
RowSelect,
|
|
54
|
+
RangeSelect,
|
|
55
|
+
Grab,
|
|
56
|
+
Grabbing,
|
|
57
|
+
Drag,
|
|
58
|
+
DragHandle,
|
|
59
|
+
Lasso,
|
|
60
|
+
MagicWand,
|
|
61
|
+
SelectAll,
|
|
62
|
+
Deselect,
|
|
63
|
+
InvertSelection
|
|
64
|
+
};
|
|
65
|
+
const selection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
66
|
+
__proto__: null,
|
|
67
|
+
CellSelection,
|
|
68
|
+
ColumnSelect,
|
|
69
|
+
Deselect,
|
|
70
|
+
Drag,
|
|
71
|
+
DragHandle,
|
|
72
|
+
Grab,
|
|
73
|
+
Grabbing,
|
|
74
|
+
InvertSelection,
|
|
75
|
+
Lasso,
|
|
76
|
+
MagicWand,
|
|
77
|
+
RangeSelect,
|
|
78
|
+
RowSelect,
|
|
79
|
+
SelectAll,
|
|
80
|
+
TextCursor,
|
|
81
|
+
TextSelect,
|
|
82
|
+
selectionIcons
|
|
83
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
84
|
+
exports.CellSelection = CellSelection;
|
|
85
|
+
exports.ColumnSelect = ColumnSelect;
|
|
86
|
+
exports.Deselect = Deselect;
|
|
87
|
+
exports.Drag = Drag;
|
|
88
|
+
exports.DragHandle = DragHandle;
|
|
89
|
+
exports.Grab = Grab;
|
|
90
|
+
exports.Grabbing = Grabbing;
|
|
91
|
+
exports.InvertSelection = InvertSelection;
|
|
92
|
+
exports.Lasso = Lasso;
|
|
93
|
+
exports.MagicWand = MagicWand;
|
|
94
|
+
exports.RangeSelect = RangeSelect;
|
|
95
|
+
exports.RowSelect = RowSelect;
|
|
96
|
+
exports.SelectAll = SelectAll;
|
|
97
|
+
exports.TextCursor = TextCursor;
|
|
98
|
+
exports.TextSelect = TextSelect;
|
|
99
|
+
exports.selection = selection;
|
|
100
|
+
exports.selectionIcons = selectionIcons;
|
|
101
|
+
//# sourceMappingURL=selection-CINU3bsI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-CINU3bsI.js","sources":["../src/selection.tsx"],"sourcesContent":["/**\r\n * Selection and text cursor icons\r\n * @packageDocumentation\r\n */\r\nimport { createCursorIcon } from './createCursorIcon';\r\n\r\n// Text cursor (I-beam)\r\nexport const TextCursor = createCursorIcon(\r\n 'TextCursor',\r\n 'M9 4h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H9m6-16h-1a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h1M12 7v10',\r\n);\r\n\r\n// Text select cursor\r\nexport const TextSelect = createCursorIcon(\r\n 'TextSelect',\r\n 'M9 4h6M9 20h6m-3-16v16M6 4h3M6 20h3m9-16h-3m3 16h-3',\r\n);\r\n\r\n// Cell selection (spreadsheet)\r\nexport const CellSelection = createCursorIcon('CellSelection', 'M3 3h18v18H3V3zm6 6h6v6H9V9z');\r\n\r\n// Column select\r\nexport const ColumnSelect = createCursorIcon('ColumnSelect', 'M9 3v18m6-18v18M9 3h6M9 21h6');\r\n\r\n// Row select\r\nexport const RowSelect = createCursorIcon('RowSelect', 'M3 9h18M3 15h18M3 9v6m18-6v6');\r\n\r\n// Range select\r\nexport const RangeSelect = createCursorIcon('RangeSelect', 'M5 5h14v14H5V5zm2 2v10h10V7H7z');\r\n\r\n// Grab cursor (open hand)\r\nexport const Grab = createCursorIcon(\r\n 'Grab',\r\n 'M8 14V7.5a1.5 1.5 0 0 1 3 0V12m-3 2V7.5a1.5 1.5 0 0 1 3 0V12m0 0V6.5a1.5 1.5 0 0 1 3 0V12m0 0V7.5a1.5 1.5 0 0 1 3 0V14a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-3.5a1.5 1.5 0 0 1 3 0V14',\r\n);\r\n\r\n// Grabbing cursor (closed hand)\r\nexport const Grabbing = createCursorIcon(\r\n 'Grabbing',\r\n 'M8 15V9a1.5 1.5 0 0 1 3 0v4m-3 2V9a1.5 1.5 0 0 1 3 0v6m0 0V8a1.5 1.5 0 0 1 3 0v7m0 0V9a1.5 1.5 0 0 1 3 0v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V9a1.5 1.5 0 0 1 3 0v6',\r\n);\r\n\r\n// Drag cursor\r\nexport const Drag = createCursorIcon('Drag', 'M12 2v8m0 4v8m-4-4l4 4 4-4m-8-8l4-4 4 4');\r\n\r\n// Drag handle (6 dots)\r\nexport const DragHandle = createCursorIcon(\r\n 'DragHandle',\r\n 'M9 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z',\r\n);\r\n\r\n// Lasso selection\r\nexport const Lasso = createCursorIcon(\r\n 'Lasso',\r\n 'M7 17c-2.5-2-4-5.5-4-8a9 9 0 0 1 18 0c0 4-3 7-6.5 7S10 13.5 10 10a4.5 4.5 0 0 1 9 0c0 2-1.5 3-3 3s-3-1-3-3m-6 7l4 4',\r\n);\r\n\r\n// Magic wand selection\r\nexport const MagicWand = createCursorIcon(\r\n 'MagicWand',\r\n 'M15 4V2m4.5 3.5L21 4M4 15l2-2m2.5-4.5L7 7l1.5 1.5L10 7l2 2-1.5 1.5L12 12l-2-2zM9 9l8.5 8.5a2.12 2.12 0 0 0 3-3L12 6l-3 3z',\r\n);\r\n\r\n// Select all\r\nexport const SelectAll = createCursorIcon(\r\n 'SelectAll',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm4 4h10v6H7V9zm2 2v2h6v-2H9z',\r\n);\r\n\r\n// Deselect\r\nexport const Deselect = createCursorIcon(\r\n 'Deselect',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm18 0L3 19M3 5l18 14',\r\n);\r\n\r\n// Invert selection\r\nexport const InvertSelection = createCursorIcon(\r\n 'InvertSelection',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm9 0v18m0-18L3 12l9 9',\r\n);\r\n\r\n/**\r\n * All selection icons grouped for export\r\n */\r\nexport const selectionIcons = {\r\n TextCursor,\r\n TextSelect,\r\n CellSelection,\r\n ColumnSelect,\r\n RowSelect,\r\n RangeSelect,\r\n Grab,\r\n Grabbing,\r\n Drag,\r\n DragHandle,\r\n Lasso,\r\n MagicWand,\r\n SelectAll,\r\n Deselect,\r\n InvertSelection,\r\n} as const;\r\n"],"names":["createCursorIcon"],"mappings":";;AAOO,MAAM,aAAaA,iBAAAA;AAAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,aAAaA,iBAAAA;AAAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,gBAAgBA,iBAAAA,iBAAiB,iBAAiB,8BAA8B;AAGtF,MAAM,eAAeA,iBAAAA,iBAAiB,gBAAgB,8BAA8B;AAGpF,MAAM,YAAYA,iBAAAA,iBAAiB,aAAa,8BAA8B;AAG9E,MAAM,cAAcA,iBAAAA,iBAAiB,eAAe,gCAAgC;AAGpF,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,WAAWA,iBAAAA;AAAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,OAAOA,iBAAAA,iBAAiB,QAAQ,yCAAyC;AAG/E,MAAM,aAAaA,iBAAAA;AAAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,QAAQA,iBAAAA;AAAAA,EACnB;AAAA,EACA;AACF;AAGO,MAAM,YAAYA,iBAAAA;AAAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,YAAYA,iBAAAA;AAAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,WAAWA,iBAAAA;AAAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,kBAAkBA,iBAAAA;AAAAA,EAC7B;AAAA,EACA;AACF;AAKO,MAAM,iBAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { c as createCursorIcon } from "./createCursorIcon-CCO9eeBk.mjs";
|
|
2
|
+
const TextCursor = createCursorIcon(
|
|
3
|
+
"TextCursor",
|
|
4
|
+
"M9 4h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H9m6-16h-1a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h1M12 7v10"
|
|
5
|
+
);
|
|
6
|
+
const TextSelect = createCursorIcon(
|
|
7
|
+
"TextSelect",
|
|
8
|
+
"M9 4h6M9 20h6m-3-16v16M6 4h3M6 20h3m9-16h-3m3 16h-3"
|
|
9
|
+
);
|
|
10
|
+
const CellSelection = createCursorIcon("CellSelection", "M3 3h18v18H3V3zm6 6h6v6H9V9z");
|
|
11
|
+
const ColumnSelect = createCursorIcon("ColumnSelect", "M9 3v18m6-18v18M9 3h6M9 21h6");
|
|
12
|
+
const RowSelect = createCursorIcon("RowSelect", "M3 9h18M3 15h18M3 9v6m18-6v6");
|
|
13
|
+
const RangeSelect = createCursorIcon("RangeSelect", "M5 5h14v14H5V5zm2 2v10h10V7H7z");
|
|
14
|
+
const Grab = createCursorIcon(
|
|
15
|
+
"Grab",
|
|
16
|
+
"M8 14V7.5a1.5 1.5 0 0 1 3 0V12m-3 2V7.5a1.5 1.5 0 0 1 3 0V12m0 0V6.5a1.5 1.5 0 0 1 3 0V12m0 0V7.5a1.5 1.5 0 0 1 3 0V14a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-3.5a1.5 1.5 0 0 1 3 0V14"
|
|
17
|
+
);
|
|
18
|
+
const Grabbing = createCursorIcon(
|
|
19
|
+
"Grabbing",
|
|
20
|
+
"M8 15V9a1.5 1.5 0 0 1 3 0v4m-3 2V9a1.5 1.5 0 0 1 3 0v6m0 0V8a1.5 1.5 0 0 1 3 0v7m0 0V9a1.5 1.5 0 0 1 3 0v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V9a1.5 1.5 0 0 1 3 0v6"
|
|
21
|
+
);
|
|
22
|
+
const Drag = createCursorIcon("Drag", "M12 2v8m0 4v8m-4-4l4 4 4-4m-8-8l4-4 4 4");
|
|
23
|
+
const DragHandle = createCursorIcon(
|
|
24
|
+
"DragHandle",
|
|
25
|
+
"M9 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"
|
|
26
|
+
);
|
|
27
|
+
const Lasso = createCursorIcon(
|
|
28
|
+
"Lasso",
|
|
29
|
+
"M7 17c-2.5-2-4-5.5-4-8a9 9 0 0 1 18 0c0 4-3 7-6.5 7S10 13.5 10 10a4.5 4.5 0 0 1 9 0c0 2-1.5 3-3 3s-3-1-3-3m-6 7l4 4"
|
|
30
|
+
);
|
|
31
|
+
const MagicWand = createCursorIcon(
|
|
32
|
+
"MagicWand",
|
|
33
|
+
"M15 4V2m4.5 3.5L21 4M4 15l2-2m2.5-4.5L7 7l1.5 1.5L10 7l2 2-1.5 1.5L12 12l-2-2zM9 9l8.5 8.5a2.12 2.12 0 0 0 3-3L12 6l-3 3z"
|
|
34
|
+
);
|
|
35
|
+
const SelectAll = createCursorIcon(
|
|
36
|
+
"SelectAll",
|
|
37
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm4 4h10v6H7V9zm2 2v2h6v-2H9z"
|
|
38
|
+
);
|
|
39
|
+
const Deselect = createCursorIcon(
|
|
40
|
+
"Deselect",
|
|
41
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm18 0L3 19M3 5l18 14"
|
|
42
|
+
);
|
|
43
|
+
const InvertSelection = createCursorIcon(
|
|
44
|
+
"InvertSelection",
|
|
45
|
+
"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm9 0v18m0-18L3 12l9 9"
|
|
46
|
+
);
|
|
47
|
+
const selectionIcons = {
|
|
48
|
+
TextCursor,
|
|
49
|
+
TextSelect,
|
|
50
|
+
CellSelection,
|
|
51
|
+
ColumnSelect,
|
|
52
|
+
RowSelect,
|
|
53
|
+
RangeSelect,
|
|
54
|
+
Grab,
|
|
55
|
+
Grabbing,
|
|
56
|
+
Drag,
|
|
57
|
+
DragHandle,
|
|
58
|
+
Lasso,
|
|
59
|
+
MagicWand,
|
|
60
|
+
SelectAll,
|
|
61
|
+
Deselect,
|
|
62
|
+
InvertSelection
|
|
63
|
+
};
|
|
64
|
+
const selection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
65
|
+
__proto__: null,
|
|
66
|
+
CellSelection,
|
|
67
|
+
ColumnSelect,
|
|
68
|
+
Deselect,
|
|
69
|
+
Drag,
|
|
70
|
+
DragHandle,
|
|
71
|
+
Grab,
|
|
72
|
+
Grabbing,
|
|
73
|
+
InvertSelection,
|
|
74
|
+
Lasso,
|
|
75
|
+
MagicWand,
|
|
76
|
+
RangeSelect,
|
|
77
|
+
RowSelect,
|
|
78
|
+
SelectAll,
|
|
79
|
+
TextCursor,
|
|
80
|
+
TextSelect,
|
|
81
|
+
selectionIcons
|
|
82
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
83
|
+
export {
|
|
84
|
+
CellSelection as C,
|
|
85
|
+
Deselect as D,
|
|
86
|
+
Grab as G,
|
|
87
|
+
InvertSelection as I,
|
|
88
|
+
Lasso as L,
|
|
89
|
+
MagicWand as M,
|
|
90
|
+
RangeSelect as R,
|
|
91
|
+
SelectAll as S,
|
|
92
|
+
TextCursor as T,
|
|
93
|
+
ColumnSelect as a,
|
|
94
|
+
Drag as b,
|
|
95
|
+
DragHandle as c,
|
|
96
|
+
Grabbing as d,
|
|
97
|
+
RowSelect as e,
|
|
98
|
+
TextSelect as f,
|
|
99
|
+
selection as g,
|
|
100
|
+
selectionIcons as s
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=selection-W-1ZhqSv.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-W-1ZhqSv.mjs","sources":["../src/selection.tsx"],"sourcesContent":["/**\r\n * Selection and text cursor icons\r\n * @packageDocumentation\r\n */\r\nimport { createCursorIcon } from './createCursorIcon';\r\n\r\n// Text cursor (I-beam)\r\nexport const TextCursor = createCursorIcon(\r\n 'TextCursor',\r\n 'M9 4h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H9m6-16h-1a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h1M12 7v10',\r\n);\r\n\r\n// Text select cursor\r\nexport const TextSelect = createCursorIcon(\r\n 'TextSelect',\r\n 'M9 4h6M9 20h6m-3-16v16M6 4h3M6 20h3m9-16h-3m3 16h-3',\r\n);\r\n\r\n// Cell selection (spreadsheet)\r\nexport const CellSelection = createCursorIcon('CellSelection', 'M3 3h18v18H3V3zm6 6h6v6H9V9z');\r\n\r\n// Column select\r\nexport const ColumnSelect = createCursorIcon('ColumnSelect', 'M9 3v18m6-18v18M9 3h6M9 21h6');\r\n\r\n// Row select\r\nexport const RowSelect = createCursorIcon('RowSelect', 'M3 9h18M3 15h18M3 9v6m18-6v6');\r\n\r\n// Range select\r\nexport const RangeSelect = createCursorIcon('RangeSelect', 'M5 5h14v14H5V5zm2 2v10h10V7H7z');\r\n\r\n// Grab cursor (open hand)\r\nexport const Grab = createCursorIcon(\r\n 'Grab',\r\n 'M8 14V7.5a1.5 1.5 0 0 1 3 0V12m-3 2V7.5a1.5 1.5 0 0 1 3 0V12m0 0V6.5a1.5 1.5 0 0 1 3 0V12m0 0V7.5a1.5 1.5 0 0 1 3 0V14a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-3.5a1.5 1.5 0 0 1 3 0V14',\r\n);\r\n\r\n// Grabbing cursor (closed hand)\r\nexport const Grabbing = createCursorIcon(\r\n 'Grabbing',\r\n 'M8 15V9a1.5 1.5 0 0 1 3 0v4m-3 2V9a1.5 1.5 0 0 1 3 0v6m0 0V8a1.5 1.5 0 0 1 3 0v7m0 0V9a1.5 1.5 0 0 1 3 0v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V9a1.5 1.5 0 0 1 3 0v6',\r\n);\r\n\r\n// Drag cursor\r\nexport const Drag = createCursorIcon('Drag', 'M12 2v8m0 4v8m-4-4l4 4 4-4m-8-8l4-4 4 4');\r\n\r\n// Drag handle (6 dots)\r\nexport const DragHandle = createCursorIcon(\r\n 'DragHandle',\r\n 'M9 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM9 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm6 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z',\r\n);\r\n\r\n// Lasso selection\r\nexport const Lasso = createCursorIcon(\r\n 'Lasso',\r\n 'M7 17c-2.5-2-4-5.5-4-8a9 9 0 0 1 18 0c0 4-3 7-6.5 7S10 13.5 10 10a4.5 4.5 0 0 1 9 0c0 2-1.5 3-3 3s-3-1-3-3m-6 7l4 4',\r\n);\r\n\r\n// Magic wand selection\r\nexport const MagicWand = createCursorIcon(\r\n 'MagicWand',\r\n 'M15 4V2m4.5 3.5L21 4M4 15l2-2m2.5-4.5L7 7l1.5 1.5L10 7l2 2-1.5 1.5L12 12l-2-2zM9 9l8.5 8.5a2.12 2.12 0 0 0 3-3L12 6l-3 3z',\r\n);\r\n\r\n// Select all\r\nexport const SelectAll = createCursorIcon(\r\n 'SelectAll',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm4 4h10v6H7V9zm2 2v2h6v-2H9z',\r\n);\r\n\r\n// Deselect\r\nexport const Deselect = createCursorIcon(\r\n 'Deselect',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm18 0L3 19M3 5l18 14',\r\n);\r\n\r\n// Invert selection\r\nexport const InvertSelection = createCursorIcon(\r\n 'InvertSelection',\r\n 'M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm9 0v18m0-18L3 12l9 9',\r\n);\r\n\r\n/**\r\n * All selection icons grouped for export\r\n */\r\nexport const selectionIcons = {\r\n TextCursor,\r\n TextSelect,\r\n CellSelection,\r\n ColumnSelect,\r\n RowSelect,\r\n RangeSelect,\r\n Grab,\r\n Grabbing,\r\n Drag,\r\n DragHandle,\r\n Lasso,\r\n MagicWand,\r\n SelectAll,\r\n Deselect,\r\n InvertSelection,\r\n} as const;\r\n"],"names":[],"mappings":";AAOO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,gBAAgB,iBAAiB,iBAAiB,8BAA8B;AAGtF,MAAM,eAAe,iBAAiB,gBAAgB,8BAA8B;AAGpF,MAAM,YAAY,iBAAiB,aAAa,8BAA8B;AAG9E,MAAM,cAAc,iBAAiB,eAAe,gCAAgC;AAGpF,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,OAAO,iBAAiB,QAAQ,yCAAyC;AAG/E,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,QAAQ;AAAA,EACnB;AAAA,EACA;AACF;AAGO,MAAM,YAAY;AAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,YAAY;AAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AACF;AAKO,MAAM,iBAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("./createCursorIcon-Crwdo_Qk.js");
|
|
4
|
+
const selection = require("./selection-CINU3bsI.js");
|
|
5
|
+
exports.CellSelection = selection.CellSelection;
|
|
6
|
+
exports.ColumnSelect = selection.ColumnSelect;
|
|
7
|
+
exports.Deselect = selection.Deselect;
|
|
8
|
+
exports.Drag = selection.Drag;
|
|
9
|
+
exports.DragHandle = selection.DragHandle;
|
|
10
|
+
exports.Grab = selection.Grab;
|
|
11
|
+
exports.Grabbing = selection.Grabbing;
|
|
12
|
+
exports.InvertSelection = selection.InvertSelection;
|
|
13
|
+
exports.Lasso = selection.Lasso;
|
|
14
|
+
exports.MagicWand = selection.MagicWand;
|
|
15
|
+
exports.RangeSelect = selection.RangeSelect;
|
|
16
|
+
exports.RowSelect = selection.RowSelect;
|
|
17
|
+
exports.SelectAll = selection.SelectAll;
|
|
18
|
+
exports.TextCursor = selection.TextCursor;
|
|
19
|
+
exports.TextSelect = selection.TextSelect;
|
|
20
|
+
exports.selectionIcons = selection.selectionIcons;
|
|
21
|
+
//# sourceMappingURL=selection.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const TextCursor: import('./types').CursorIcon;
|
|
2
|
+
export declare const TextSelect: import('./types').CursorIcon;
|
|
3
|
+
export declare const CellSelection: import('./types').CursorIcon;
|
|
4
|
+
export declare const ColumnSelect: import('./types').CursorIcon;
|
|
5
|
+
export declare const RowSelect: import('./types').CursorIcon;
|
|
6
|
+
export declare const RangeSelect: import('./types').CursorIcon;
|
|
7
|
+
export declare const Grab: import('./types').CursorIcon;
|
|
8
|
+
export declare const Grabbing: import('./types').CursorIcon;
|
|
9
|
+
export declare const Drag: import('./types').CursorIcon;
|
|
10
|
+
export declare const DragHandle: import('./types').CursorIcon;
|
|
11
|
+
export declare const Lasso: import('./types').CursorIcon;
|
|
12
|
+
export declare const MagicWand: import('./types').CursorIcon;
|
|
13
|
+
export declare const SelectAll: import('./types').CursorIcon;
|
|
14
|
+
export declare const Deselect: import('./types').CursorIcon;
|
|
15
|
+
export declare const InvertSelection: import('./types').CursorIcon;
|
|
16
|
+
/**
|
|
17
|
+
* All selection icons grouped for export
|
|
18
|
+
*/
|
|
19
|
+
export declare const selectionIcons: {
|
|
20
|
+
readonly TextCursor: import('./types').CursorIcon;
|
|
21
|
+
readonly TextSelect: import('./types').CursorIcon;
|
|
22
|
+
readonly CellSelection: import('./types').CursorIcon;
|
|
23
|
+
readonly ColumnSelect: import('./types').CursorIcon;
|
|
24
|
+
readonly RowSelect: import('./types').CursorIcon;
|
|
25
|
+
readonly RangeSelect: import('./types').CursorIcon;
|
|
26
|
+
readonly Grab: import('./types').CursorIcon;
|
|
27
|
+
readonly Grabbing: import('./types').CursorIcon;
|
|
28
|
+
readonly Drag: import('./types').CursorIcon;
|
|
29
|
+
readonly DragHandle: import('./types').CursorIcon;
|
|
30
|
+
readonly Lasso: import('./types').CursorIcon;
|
|
31
|
+
readonly MagicWand: import('./types').CursorIcon;
|
|
32
|
+
readonly SelectAll: import('./types').CursorIcon;
|
|
33
|
+
readonly Deselect: import('./types').CursorIcon;
|
|
34
|
+
readonly InvertSelection: import('./types').CursorIcon;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../src/selection.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,8BAGtB,CAAC;AAGF,eAAO,MAAM,UAAU,8BAGtB,CAAC;AAGF,eAAO,MAAM,aAAa,8BAAoE,CAAC;AAG/F,eAAO,MAAM,YAAY,8BAAmE,CAAC;AAG7F,eAAO,MAAM,SAAS,8BAAgE,CAAC;AAGvF,eAAO,MAAM,WAAW,8BAAoE,CAAC;AAG7F,eAAO,MAAM,IAAI,8BAGhB,CAAC;AAGF,eAAO,MAAM,QAAQ,8BAGpB,CAAC;AAGF,eAAO,MAAM,IAAI,8BAAsE,CAAC;AAGxF,eAAO,MAAM,UAAU,8BAGtB,CAAC;AAGF,eAAO,MAAM,KAAK,8BAGjB,CAAC;AAGF,eAAO,MAAM,SAAS,8BAGrB,CAAC;AAGF,eAAO,MAAM,SAAS,8BAGrB,CAAC;AAGF,eAAO,MAAM,QAAQ,8BAGpB,CAAC;AAGF,eAAO,MAAM,eAAe,8BAG3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;CAgBjB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./createCursorIcon-CCO9eeBk.mjs";
|
|
2
|
+
import { C, a, D, b, c, G, d, I, L, M, R, e, S, T, f, s } from "./selection-W-1ZhqSv.mjs";
|
|
3
|
+
export {
|
|
4
|
+
C as CellSelection,
|
|
5
|
+
a as ColumnSelect,
|
|
6
|
+
D as Deselect,
|
|
7
|
+
b as Drag,
|
|
8
|
+
c as DragHandle,
|
|
9
|
+
G as Grab,
|
|
10
|
+
d as Grabbing,
|
|
11
|
+
I as InvertSelection,
|
|
12
|
+
L as Lasso,
|
|
13
|
+
M as MagicWand,
|
|
14
|
+
R as RangeSelect,
|
|
15
|
+
e as RowSelect,
|
|
16
|
+
S as SelectAll,
|
|
17
|
+
T as TextCursor,
|
|
18
|
+
f as TextSelect,
|
|
19
|
+
s as selectionIcons
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=selection.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { c as createCursorIcon } from "./createCursorIcon-CCO9eeBk.mjs";
|
|
2
|
+
const Wait = createCursorIcon(
|
|
3
|
+
"Wait",
|
|
4
|
+
"M6 2h12v4l-4 4 4 4v4H6v-4l4-4-4-4V2zm2 2v2l4 4-4 4v2h8v-2l-4-4 4-4V4H8z"
|
|
5
|
+
);
|
|
6
|
+
const Progress = createCursorIcon(
|
|
7
|
+
"Progress",
|
|
8
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16V4z"
|
|
9
|
+
);
|
|
10
|
+
const Forbidden = createCursorIcon(
|
|
11
|
+
"Forbidden",
|
|
12
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM5.93 7.34l10.73 10.73A8 8 0 0 1 5.93 7.34zm12.14-.68L7.34 17.39A8 8 0 0 1 18.07 6.66z"
|
|
13
|
+
);
|
|
14
|
+
const NotAllowed = createCursorIcon(
|
|
15
|
+
"NotAllowed",
|
|
16
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-7 10a7 7 0 0 1 11.95-4.95L6.05 17.95A6.97 6.97 0 0 1 5 12zm7 7c-1.87 0-3.56-.74-4.81-1.93L17.93 7.33A6.97 6.97 0 0 1 19 12c0 3.87-3.13 7-7 7z"
|
|
17
|
+
);
|
|
18
|
+
const Help = createCursorIcon(
|
|
19
|
+
"Help",
|
|
20
|
+
"M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-15a3 3 0 0 0-3 3h2a1 1 0 1 1 2 0c0 1-1.5 1.5-1.5 3h2c0-1.5 1.5-2 1.5-3a3 3 0 0 0-3-3zm-1 7h2v2h-2v-2z"
|
|
21
|
+
);
|
|
22
|
+
const ContextMenu = createCursorIcon(
|
|
23
|
+
"ContextMenu",
|
|
24
|
+
"M4 4h16v16H4V4zm2 4h12m-12 4h12m-12 4h8"
|
|
25
|
+
);
|
|
26
|
+
const Alias = createCursorIcon(
|
|
27
|
+
"Alias",
|
|
28
|
+
"M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21zm10 8.79c0-2.76 2.24-5 5-5v3a2 2 0 0 0-2 2v5h-3v-5z"
|
|
29
|
+
);
|
|
30
|
+
const Copy = createCursorIcon(
|
|
31
|
+
"Copy",
|
|
32
|
+
"M5.5 3.21V16.8l4-4h5l-9-9.59zM14 10h6v10H10v-6m4-4v6h6"
|
|
33
|
+
);
|
|
34
|
+
const NoDrop = createCursorIcon(
|
|
35
|
+
"NoDrop",
|
|
36
|
+
"M12 2l6 9c1.5 2.5 1.5 5.5 0 8-2 3-6 3.5-8.5 1.5M3 7l18 14"
|
|
37
|
+
);
|
|
38
|
+
const Loading = createCursorIcon(
|
|
39
|
+
"Loading",
|
|
40
|
+
"M12 2v4m0 12v4m-6.93-2.93l2.83-2.83m8.2-8.2l2.83-2.83M2 12h4m12 0h4m-2.93 6.93l-2.83-2.83m-8.2-8.2L4.21 5.07"
|
|
41
|
+
);
|
|
42
|
+
const Busy = createCursorIcon("Busy", "M12 6v6l4 2m6-2a10 10 0 1 1-20 0 10 10 0 0 1 20 0z");
|
|
43
|
+
const Default = createCursorIcon("Default", "M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21z");
|
|
44
|
+
const Auto = createCursorIcon(
|
|
45
|
+
"Auto",
|
|
46
|
+
"M5.5 3.21V16.8l3-3h5L5.5 3.21zM15 14h4l-2 6-2-6zm2-4V7h-3l3-5 3 5h-3v3"
|
|
47
|
+
);
|
|
48
|
+
const None = createCursorIcon(
|
|
49
|
+
"None",
|
|
50
|
+
"M12 12m-1 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0m-6-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m12 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0"
|
|
51
|
+
);
|
|
52
|
+
const Inherit = createCursorIcon(
|
|
53
|
+
"Inherit",
|
|
54
|
+
"M8 4v8m0-6l-3 3m3-3l3 3m5 4v8m0-6l-3 3m3-3l3 3"
|
|
55
|
+
);
|
|
56
|
+
const statusIcons = {
|
|
57
|
+
Wait,
|
|
58
|
+
Progress,
|
|
59
|
+
Forbidden,
|
|
60
|
+
NotAllowed,
|
|
61
|
+
Help,
|
|
62
|
+
ContextMenu,
|
|
63
|
+
Alias,
|
|
64
|
+
Copy,
|
|
65
|
+
NoDrop,
|
|
66
|
+
Loading,
|
|
67
|
+
Busy,
|
|
68
|
+
Default,
|
|
69
|
+
Auto,
|
|
70
|
+
None,
|
|
71
|
+
Inherit
|
|
72
|
+
};
|
|
73
|
+
const status = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
74
|
+
__proto__: null,
|
|
75
|
+
Alias,
|
|
76
|
+
Auto,
|
|
77
|
+
Busy,
|
|
78
|
+
ContextMenu,
|
|
79
|
+
Copy,
|
|
80
|
+
Default,
|
|
81
|
+
Forbidden,
|
|
82
|
+
Help,
|
|
83
|
+
Inherit,
|
|
84
|
+
Loading,
|
|
85
|
+
NoDrop,
|
|
86
|
+
None,
|
|
87
|
+
NotAllowed,
|
|
88
|
+
Progress,
|
|
89
|
+
Wait,
|
|
90
|
+
statusIcons
|
|
91
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
92
|
+
export {
|
|
93
|
+
Alias as A,
|
|
94
|
+
Busy as B,
|
|
95
|
+
ContextMenu as C,
|
|
96
|
+
Default as D,
|
|
97
|
+
Forbidden as F,
|
|
98
|
+
Help as H,
|
|
99
|
+
Inherit as I,
|
|
100
|
+
Loading as L,
|
|
101
|
+
NoDrop as N,
|
|
102
|
+
Progress as P,
|
|
103
|
+
Wait as W,
|
|
104
|
+
Auto as a,
|
|
105
|
+
Copy as b,
|
|
106
|
+
None as c,
|
|
107
|
+
NotAllowed as d,
|
|
108
|
+
status as e,
|
|
109
|
+
statusIcons as s
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=status-BBrDqBw_.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-BBrDqBw_.mjs","sources":["../src/status.tsx"],"sourcesContent":["/**\r\n * Status cursor icons for system states\r\n * @packageDocumentation\r\n */\r\nimport { createCursorIcon } from './createCursorIcon';\r\n\r\n// Wait cursor (hourglass)\r\nexport const Wait = createCursorIcon(\r\n 'Wait',\r\n 'M6 2h12v4l-4 4 4 4v4H6v-4l4-4-4-4V2zm2 2v2l4 4-4 4v2h8v-2l-4-4 4-4V4H8z',\r\n);\r\n\r\n// Progress cursor (loading circle)\r\nexport const Progress = createCursorIcon(\r\n 'Progress',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16V4z',\r\n);\r\n\r\n// Forbidden / not allowed\r\nexport const Forbidden = createCursorIcon(\r\n 'Forbidden',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM5.93 7.34l10.73 10.73A8 8 0 0 1 5.93 7.34zm12.14-.68L7.34 17.39A8 8 0 0 1 18.07 6.66z',\r\n);\r\n\r\n// Not allowed (circle with line)\r\nexport const NotAllowed = createCursorIcon(\r\n 'NotAllowed',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-7 10a7 7 0 0 1 11.95-4.95L6.05 17.95A6.97 6.97 0 0 1 5 12zm7 7c-1.87 0-3.56-.74-4.81-1.93L17.93 7.33A6.97 6.97 0 0 1 19 12c0 3.87-3.13 7-7 7z',\r\n);\r\n\r\n// Help cursor (question mark)\r\nexport const Help = createCursorIcon(\r\n 'Help',\r\n 'M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-15a3 3 0 0 0-3 3h2a1 1 0 1 1 2 0c0 1-1.5 1.5-1.5 3h2c0-1.5 1.5-2 1.5-3a3 3 0 0 0-3-3zm-1 7h2v2h-2v-2z',\r\n);\r\n\r\n// Context menu\r\nexport const ContextMenu = createCursorIcon(\r\n 'ContextMenu',\r\n 'M4 4h16v16H4V4zm2 4h12m-12 4h12m-12 4h8',\r\n);\r\n\r\n// Alias (shortcut arrow)\r\nexport const Alias = createCursorIcon(\r\n 'Alias',\r\n 'M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21zm10 8.79c0-2.76 2.24-5 5-5v3a2 2 0 0 0-2 2v5h-3v-5z',\r\n);\r\n\r\n// Copy cursor\r\nexport const Copy = createCursorIcon(\r\n 'Copy',\r\n 'M5.5 3.21V16.8l4-4h5l-9-9.59zM14 10h6v10H10v-6m4-4v6h6',\r\n);\r\n\r\n// No drop\r\nexport const NoDrop = createCursorIcon(\r\n 'NoDrop',\r\n 'M12 2l6 9c1.5 2.5 1.5 5.5 0 8-2 3-6 3.5-8.5 1.5M3 7l18 14',\r\n);\r\n\r\n// Loading (spinner)\r\nexport const Loading = createCursorIcon(\r\n 'Loading',\r\n 'M12 2v4m0 12v4m-6.93-2.93l2.83-2.83m8.2-8.2l2.83-2.83M2 12h4m12 0h4m-2.93 6.93l-2.83-2.83m-8.2-8.2L4.21 5.07',\r\n);\r\n\r\n// Busy cursor\r\nexport const Busy = createCursorIcon('Busy', 'M12 6v6l4 2m6-2a10 10 0 1 1-20 0 10 10 0 0 1 20 0z');\r\n\r\n// Default cursor\r\nexport const Default = createCursorIcon('Default', 'M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21z');\r\n\r\n// Auto cursor\r\nexport const Auto = createCursorIcon(\r\n 'Auto',\r\n 'M5.5 3.21V16.8l3-3h5L5.5 3.21zM15 14h4l-2 6-2-6zm2-4V7h-3l3-5 3 5h-3v3',\r\n);\r\n\r\n// None (invisible cursor marker)\r\nexport const None = createCursorIcon(\r\n 'None',\r\n 'M12 12m-1 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0m-6-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m12 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0',\r\n);\r\n\r\n// Inherit (cascading arrow)\r\nexport const Inherit = createCursorIcon(\r\n 'Inherit',\r\n 'M8 4v8m0-6l-3 3m3-3l3 3m5 4v8m0-6l-3 3m3-3l3 3',\r\n);\r\n\r\n/**\r\n * All status icons grouped for export\r\n */\r\nexport const statusIcons = {\r\n Wait,\r\n Progress,\r\n Forbidden,\r\n NotAllowed,\r\n Help,\r\n ContextMenu,\r\n Alias,\r\n Copy,\r\n NoDrop,\r\n Loading,\r\n Busy,\r\n Default,\r\n Auto,\r\n None,\r\n Inherit,\r\n} as const;\r\n"],"names":[],"mappings":";AAOO,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,YAAY;AAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,cAAc;AAAA,EACzB;AAAA,EACA;AACF;AAGO,MAAM,QAAQ;AAAA,EACnB;AAAA,EACA;AACF;AAGO,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA;AACF;AAGO,MAAM,UAAU;AAAA,EACrB;AAAA,EACA;AACF;AAGO,MAAM,OAAO,iBAAiB,QAAQ,oDAAoD;AAG1F,MAAM,UAAU,iBAAiB,WAAW,yCAAyC;AAGrF,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,UAAU;AAAA,EACrB;AAAA,EACA;AACF;AAKO,MAAM,cAAc;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const createCursorIcon = require("./createCursorIcon-Crwdo_Qk.js");
|
|
3
|
+
const Wait = createCursorIcon.createCursorIcon(
|
|
4
|
+
"Wait",
|
|
5
|
+
"M6 2h12v4l-4 4 4 4v4H6v-4l4-4-4-4V2zm2 2v2l4 4-4 4v2h8v-2l-4-4 4-4V4H8z"
|
|
6
|
+
);
|
|
7
|
+
const Progress = createCursorIcon.createCursorIcon(
|
|
8
|
+
"Progress",
|
|
9
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16V4z"
|
|
10
|
+
);
|
|
11
|
+
const Forbidden = createCursorIcon.createCursorIcon(
|
|
12
|
+
"Forbidden",
|
|
13
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM5.93 7.34l10.73 10.73A8 8 0 0 1 5.93 7.34zm12.14-.68L7.34 17.39A8 8 0 0 1 18.07 6.66z"
|
|
14
|
+
);
|
|
15
|
+
const NotAllowed = createCursorIcon.createCursorIcon(
|
|
16
|
+
"NotAllowed",
|
|
17
|
+
"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-7 10a7 7 0 0 1 11.95-4.95L6.05 17.95A6.97 6.97 0 0 1 5 12zm7 7c-1.87 0-3.56-.74-4.81-1.93L17.93 7.33A6.97 6.97 0 0 1 19 12c0 3.87-3.13 7-7 7z"
|
|
18
|
+
);
|
|
19
|
+
const Help = createCursorIcon.createCursorIcon(
|
|
20
|
+
"Help",
|
|
21
|
+
"M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-15a3 3 0 0 0-3 3h2a1 1 0 1 1 2 0c0 1-1.5 1.5-1.5 3h2c0-1.5 1.5-2 1.5-3a3 3 0 0 0-3-3zm-1 7h2v2h-2v-2z"
|
|
22
|
+
);
|
|
23
|
+
const ContextMenu = createCursorIcon.createCursorIcon(
|
|
24
|
+
"ContextMenu",
|
|
25
|
+
"M4 4h16v16H4V4zm2 4h12m-12 4h12m-12 4h8"
|
|
26
|
+
);
|
|
27
|
+
const Alias = createCursorIcon.createCursorIcon(
|
|
28
|
+
"Alias",
|
|
29
|
+
"M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21zm10 8.79c0-2.76 2.24-5 5-5v3a2 2 0 0 0-2 2v5h-3v-5z"
|
|
30
|
+
);
|
|
31
|
+
const Copy = createCursorIcon.createCursorIcon(
|
|
32
|
+
"Copy",
|
|
33
|
+
"M5.5 3.21V16.8l4-4h5l-9-9.59zM14 10h6v10H10v-6m4-4v6h6"
|
|
34
|
+
);
|
|
35
|
+
const NoDrop = createCursorIcon.createCursorIcon(
|
|
36
|
+
"NoDrop",
|
|
37
|
+
"M12 2l6 9c1.5 2.5 1.5 5.5 0 8-2 3-6 3.5-8.5 1.5M3 7l18 14"
|
|
38
|
+
);
|
|
39
|
+
const Loading = createCursorIcon.createCursorIcon(
|
|
40
|
+
"Loading",
|
|
41
|
+
"M12 2v4m0 12v4m-6.93-2.93l2.83-2.83m8.2-8.2l2.83-2.83M2 12h4m12 0h4m-2.93 6.93l-2.83-2.83m-8.2-8.2L4.21 5.07"
|
|
42
|
+
);
|
|
43
|
+
const Busy = createCursorIcon.createCursorIcon("Busy", "M12 6v6l4 2m6-2a10 10 0 1 1-20 0 10 10 0 0 1 20 0z");
|
|
44
|
+
const Default = createCursorIcon.createCursorIcon("Default", "M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21z");
|
|
45
|
+
const Auto = createCursorIcon.createCursorIcon(
|
|
46
|
+
"Auto",
|
|
47
|
+
"M5.5 3.21V16.8l3-3h5L5.5 3.21zM15 14h4l-2 6-2-6zm2-4V7h-3l3-5 3 5h-3v3"
|
|
48
|
+
);
|
|
49
|
+
const None = createCursorIcon.createCursorIcon(
|
|
50
|
+
"None",
|
|
51
|
+
"M12 12m-1 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0m-6-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m12 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0"
|
|
52
|
+
);
|
|
53
|
+
const Inherit = createCursorIcon.createCursorIcon(
|
|
54
|
+
"Inherit",
|
|
55
|
+
"M8 4v8m0-6l-3 3m3-3l3 3m5 4v8m0-6l-3 3m3-3l3 3"
|
|
56
|
+
);
|
|
57
|
+
const statusIcons = {
|
|
58
|
+
Wait,
|
|
59
|
+
Progress,
|
|
60
|
+
Forbidden,
|
|
61
|
+
NotAllowed,
|
|
62
|
+
Help,
|
|
63
|
+
ContextMenu,
|
|
64
|
+
Alias,
|
|
65
|
+
Copy,
|
|
66
|
+
NoDrop,
|
|
67
|
+
Loading,
|
|
68
|
+
Busy,
|
|
69
|
+
Default,
|
|
70
|
+
Auto,
|
|
71
|
+
None,
|
|
72
|
+
Inherit
|
|
73
|
+
};
|
|
74
|
+
const status = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
75
|
+
__proto__: null,
|
|
76
|
+
Alias,
|
|
77
|
+
Auto,
|
|
78
|
+
Busy,
|
|
79
|
+
ContextMenu,
|
|
80
|
+
Copy,
|
|
81
|
+
Default,
|
|
82
|
+
Forbidden,
|
|
83
|
+
Help,
|
|
84
|
+
Inherit,
|
|
85
|
+
Loading,
|
|
86
|
+
NoDrop,
|
|
87
|
+
None,
|
|
88
|
+
NotAllowed,
|
|
89
|
+
Progress,
|
|
90
|
+
Wait,
|
|
91
|
+
statusIcons
|
|
92
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
93
|
+
exports.Alias = Alias;
|
|
94
|
+
exports.Auto = Auto;
|
|
95
|
+
exports.Busy = Busy;
|
|
96
|
+
exports.ContextMenu = ContextMenu;
|
|
97
|
+
exports.Copy = Copy;
|
|
98
|
+
exports.Default = Default;
|
|
99
|
+
exports.Forbidden = Forbidden;
|
|
100
|
+
exports.Help = Help;
|
|
101
|
+
exports.Inherit = Inherit;
|
|
102
|
+
exports.Loading = Loading;
|
|
103
|
+
exports.NoDrop = NoDrop;
|
|
104
|
+
exports.None = None;
|
|
105
|
+
exports.NotAllowed = NotAllowed;
|
|
106
|
+
exports.Progress = Progress;
|
|
107
|
+
exports.Wait = Wait;
|
|
108
|
+
exports.status = status;
|
|
109
|
+
exports.statusIcons = statusIcons;
|
|
110
|
+
//# sourceMappingURL=status-L6N47QMq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-L6N47QMq.js","sources":["../src/status.tsx"],"sourcesContent":["/**\r\n * Status cursor icons for system states\r\n * @packageDocumentation\r\n */\r\nimport { createCursorIcon } from './createCursorIcon';\r\n\r\n// Wait cursor (hourglass)\r\nexport const Wait = createCursorIcon(\r\n 'Wait',\r\n 'M6 2h12v4l-4 4 4 4v4H6v-4l4-4-4-4V2zm2 2v2l4 4-4 4v2h8v-2l-4-4 4-4V4H8z',\r\n);\r\n\r\n// Progress cursor (loading circle)\r\nexport const Progress = createCursorIcon(\r\n 'Progress',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16V4z',\r\n);\r\n\r\n// Forbidden / not allowed\r\nexport const Forbidden = createCursorIcon(\r\n 'Forbidden',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM5.93 7.34l10.73 10.73A8 8 0 0 1 5.93 7.34zm12.14-.68L7.34 17.39A8 8 0 0 1 18.07 6.66z',\r\n);\r\n\r\n// Not allowed (circle with line)\r\nexport const NotAllowed = createCursorIcon(\r\n 'NotAllowed',\r\n 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-7 10a7 7 0 0 1 11.95-4.95L6.05 17.95A6.97 6.97 0 0 1 5 12zm7 7c-1.87 0-3.56-.74-4.81-1.93L17.93 7.33A6.97 6.97 0 0 1 19 12c0 3.87-3.13 7-7 7z',\r\n);\r\n\r\n// Help cursor (question mark)\r\nexport const Help = createCursorIcon(\r\n 'Help',\r\n 'M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-15a3 3 0 0 0-3 3h2a1 1 0 1 1 2 0c0 1-1.5 1.5-1.5 3h2c0-1.5 1.5-2 1.5-3a3 3 0 0 0-3-3zm-1 7h2v2h-2v-2z',\r\n);\r\n\r\n// Context menu\r\nexport const ContextMenu = createCursorIcon(\r\n 'ContextMenu',\r\n 'M4 4h16v16H4V4zm2 4h12m-12 4h12m-12 4h8',\r\n);\r\n\r\n// Alias (shortcut arrow)\r\nexport const Alias = createCursorIcon(\r\n 'Alias',\r\n 'M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21zm10 8.79c0-2.76 2.24-5 5-5v3a2 2 0 0 0-2 2v5h-3v-5z',\r\n);\r\n\r\n// Copy cursor\r\nexport const Copy = createCursorIcon(\r\n 'Copy',\r\n 'M5.5 3.21V16.8l4-4h5l-9-9.59zM14 10h6v10H10v-6m4-4v6h6',\r\n);\r\n\r\n// No drop\r\nexport const NoDrop = createCursorIcon(\r\n 'NoDrop',\r\n 'M12 2l6 9c1.5 2.5 1.5 5.5 0 8-2 3-6 3.5-8.5 1.5M3 7l18 14',\r\n);\r\n\r\n// Loading (spinner)\r\nexport const Loading = createCursorIcon(\r\n 'Loading',\r\n 'M12 2v4m0 12v4m-6.93-2.93l2.83-2.83m8.2-8.2l2.83-2.83M2 12h4m12 0h4m-2.93 6.93l-2.83-2.83m-8.2-8.2L4.21 5.07',\r\n);\r\n\r\n// Busy cursor\r\nexport const Busy = createCursorIcon('Busy', 'M12 6v6l4 2m6-2a10 10 0 1 1-20 0 10 10 0 0 1 20 0z');\r\n\r\n// Default cursor\r\nexport const Default = createCursorIcon('Default', 'M5.5 3.21V20.8l5.25-5.25h6.56L5.5 3.21z');\r\n\r\n// Auto cursor\r\nexport const Auto = createCursorIcon(\r\n 'Auto',\r\n 'M5.5 3.21V16.8l3-3h5L5.5 3.21zM15 14h4l-2 6-2-6zm2-4V7h-3l3-5 3 5h-3v3',\r\n);\r\n\r\n// None (invisible cursor marker)\r\nexport const None = createCursorIcon(\r\n 'None',\r\n 'M12 12m-1 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 12a1 1 0 1 0 2 0 1 1 0 1 0-2 0m-6-6a1 1 0 1 0 2 0 1 1 0 1 0-2 0m12 0a1 1 0 1 0 2 0 1 1 0 1 0-2 0',\r\n);\r\n\r\n// Inherit (cascading arrow)\r\nexport const Inherit = createCursorIcon(\r\n 'Inherit',\r\n 'M8 4v8m0-6l-3 3m3-3l3 3m5 4v8m0-6l-3 3m3-3l3 3',\r\n);\r\n\r\n/**\r\n * All status icons grouped for export\r\n */\r\nexport const statusIcons = {\r\n Wait,\r\n Progress,\r\n Forbidden,\r\n NotAllowed,\r\n Help,\r\n ContextMenu,\r\n Alias,\r\n Copy,\r\n NoDrop,\r\n Loading,\r\n Busy,\r\n Default,\r\n Auto,\r\n None,\r\n Inherit,\r\n} as const;\r\n"],"names":["createCursorIcon"],"mappings":";;AAOO,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,WAAWA,iBAAAA;AAAAA,EACtB;AAAA,EACA;AACF;AAGO,MAAM,YAAYA,iBAAAA;AAAAA,EACvB;AAAA,EACA;AACF;AAGO,MAAM,aAAaA,iBAAAA;AAAAA,EACxB;AAAA,EACA;AACF;AAGO,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,cAAcA,iBAAAA;AAAAA,EACzB;AAAA,EACA;AACF;AAGO,MAAM,QAAQA,iBAAAA;AAAAA,EACnB;AAAA,EACA;AACF;AAGO,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,SAASA,iBAAAA;AAAAA,EACpB;AAAA,EACA;AACF;AAGO,MAAM,UAAUA,iBAAAA;AAAAA,EACrB;AAAA,EACA;AACF;AAGO,MAAM,OAAOA,iBAAAA,iBAAiB,QAAQ,oDAAoD;AAG1F,MAAM,UAAUA,iBAAAA,iBAAiB,WAAW,yCAAyC;AAGrF,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,OAAOA,iBAAAA;AAAAA,EAClB;AAAA,EACA;AACF;AAGO,MAAM,UAAUA,iBAAAA;AAAAA,EACrB;AAAA,EACA;AACF;AAKO,MAAM,cAAc;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|