@apple-pie/slice 0.0.8 → 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/dist/cjs/chunks/{Avatar-0EXaRG4e.js → Avatar-zAhrTMO4.js} +1 -1
- package/dist/cjs/chunks/{AvatarGroup-BsRUAZl0.js → AvatarGroup-qI2wNIKO.js} +1 -1
- package/dist/cjs/chunks/{Button-DFAWHJmQ.js → Button-CNrcvIUu.js} +2 -2
- package/dist/cjs/chunks/{ButtonBar-DOgYDAda.js → ButtonBar-CcL0wFXX.js} +1 -1
- package/dist/cjs/chunks/{Card-BPClSuHa.js → Card-pxbzaSWm.js} +2 -2
- package/dist/cjs/chunks/{CheckBox-tsExpwtr.js → CheckBox-tcFDVDGG.js} +9 -8
- package/dist/cjs/chunks/{Chip-CPHF1zn-.js → Chip-DfMVpYjg.js} +2 -2
- package/dist/cjs/chunks/{DivInput-DDQVtlot.js → DivInput-hHsbuscc.js} +1 -1
- package/dist/cjs/chunks/{DrggablePanel-wWLPesc8.js → DrggablePanel-BbDhV-a9.js} +3 -3
- package/dist/cjs/chunks/{DropDown-COdCr77A.js → DropDown-C0vV24pv.js} +2 -2
- package/dist/cjs/chunks/{FileList-J2EgJyCo.js → FileList-C8Aq-iCW.js} +2 -2
- package/dist/cjs/chunks/{Grouper-QwwunKen.js → Grouper-B16IH2YM.js} +1 -1
- package/dist/cjs/chunks/{IconButton-B53y3z1_.js → IconButton-BDKARPkc.js} +1 -1
- package/dist/cjs/chunks/{Label-DoiS07-y.js → Label-ZlQVpETS.js} +1 -1
- package/dist/cjs/chunks/{Pager-CN2z8M9E.js → Pager-Bp1rPImK.js} +1 -1
- package/dist/cjs/chunks/{ProgressIndicator-BbrZ7Aoc.js → ProgressIndicator-Qx3jfv8r.js} +29 -63
- package/dist/cjs/chunks/{PromptInput-BXDqUXFQ.js → PromptInput-7rftpDc1.js} +2 -2
- package/dist/cjs/chunks/{RadioButton-GKRhZEmb.js → RadioButton-D5EJdMlL.js} +12 -16
- package/dist/cjs/chunks/{RadioButtonList-CFpZmyAX.js → RadioButtonList-DqsaDvEr.js} +5 -4
- package/dist/cjs/chunks/{Switch-C94aofxQ.js → Switch-C9UtaIAt.js} +1 -1
- package/dist/cjs/chunks/{TabBar-D6akzNUf.js → TabBar-DlhY_3G4.js} +1 -1
- package/dist/cjs/chunks/{TextArea-DjF8Koup.js → TextArea-D0i83Jjq.js} +2 -2
- package/dist/cjs/chunks/{TextField-Cg6mQcYl.js → TextField-DRhQUqYA.js} +2 -2
- package/dist/cjs/chunks/{Toast-Cdyh6T-l.js → Toast-BdrI0h64.js} +1 -1
- package/dist/cjs/chunks/{UploadArea-BmZ50EEl.js → UploadArea-DBsMosuN.js} +1 -1
- package/dist/cjs/chunks/{_types-B5xXv4NA.js → _types-BMRxxH7h.js} +36 -425
- package/dist/cjs/hooks/useKeyboardShortcuts.js +6 -2
- package/dist/cjs/hooks/useObserveTheme.js +1 -1
- package/dist/cjs/hooks/useTheme.js +2 -1
- package/dist/cjs/hooks.js +4 -3
- package/dist/cjs/index.js +6 -5
- package/dist/cjs/providers/ThemeProvider.js +3 -1
- package/dist/cjs/providers.js +1 -1
- package/dist/cjs/theme/motion.js +12 -0
- package/dist/cjs/theme/themes.js +5 -3
- package/dist/cjs/theme.js +2 -2
- package/dist/cjs/uikit/Avatar/index.js +1 -1
- package/dist/cjs/uikit/AvatarGroup/index.js +2 -2
- package/dist/cjs/uikit/Button/index.js +5 -5
- package/dist/cjs/uikit/ButtonBar/index.js +5 -5
- package/dist/cjs/uikit/Card/index.js +6 -5
- package/dist/cjs/uikit/CheckBox/index.js +5 -4
- package/dist/cjs/uikit/Chip/index.js +5 -5
- package/dist/cjs/uikit/DivInput/index.js +1 -1
- package/dist/cjs/uikit/DocIcon/index.js +2 -2
- package/dist/cjs/uikit/DraggablePanel/index.js +3 -3
- package/dist/cjs/uikit/DropDown/index.js +4 -4
- package/dist/cjs/uikit/FileIcon/index.js +2 -2
- package/dist/cjs/uikit/FileList/index.js +6 -5
- package/dist/cjs/uikit/Grouper/index.js +5 -5
- package/dist/cjs/uikit/Icon/index.js +5 -4
- package/dist/cjs/uikit/IconButton/index.js +4 -4
- package/dist/cjs/uikit/Label/index.js +3 -3
- package/dist/cjs/uikit/Logos/index.js +2 -2
- package/dist/cjs/uikit/Pager/index.js +1 -1
- package/dist/cjs/uikit/Progress/index.js +8 -7
- package/dist/cjs/uikit/PromptInput/index.js +9 -9
- package/dist/cjs/uikit/RadioButton/index.js +5 -7
- package/dist/cjs/uikit/RadioButtonList/index.js +6 -8
- package/dist/cjs/uikit/Switch/index.js +1 -1
- package/dist/cjs/uikit/TabBar/index.js +5 -5
- package/dist/cjs/uikit/TextArea/index.js +7 -7
- package/dist/cjs/uikit/Textfield/index.js +8 -7
- package/dist/cjs/uikit/Toast/index.js +5 -5
- package/dist/cjs/uikit/UploadArea/index.js +10 -9
- package/dist/esm/chunks/{Avatar-D_W5zErj.mjs → Avatar-D5mMmaIi.mjs} +1 -1
- package/dist/esm/chunks/{AvatarGroup-Dbfmz0Yz.mjs → AvatarGroup-B3_zWk_-.mjs} +1 -1
- package/dist/esm/chunks/{Button-B_aIY6wE.mjs → Button-qeCEnTFJ.mjs} +3 -3
- package/dist/esm/chunks/{ButtonBar-Cr6TFvvD.mjs → ButtonBar-jMNpQysA.mjs} +1 -1
- package/dist/esm/chunks/{Card-BzKBF0ny.mjs → Card-4u4hpBAM.mjs} +2 -2
- package/dist/esm/chunks/{CheckBox-CYggPKaT.mjs → CheckBox-D2jWAviD.mjs} +9 -8
- package/dist/esm/chunks/{Chip-B3wb9g1U.mjs → Chip-DnsTVVmp.mjs} +2 -2
- package/dist/esm/chunks/{DivInput-_VL6PAqT.mjs → DivInput-B4ohgnLJ.mjs} +1 -1
- package/dist/esm/chunks/{DrggablePanel-Bg3UKK1k.mjs → DrggablePanel-CEg9sHHt.mjs} +3 -3
- package/dist/esm/chunks/{DropDown-D7KyGLkM.mjs → DropDown-CCePGFHd.mjs} +2 -2
- package/dist/esm/chunks/{FileList-DUzgHfE-.mjs → FileList-db86wx1X.mjs} +3 -3
- package/dist/esm/chunks/{Grouper-CRldBHSw.mjs → Grouper-D8mQt9_Q.mjs} +1 -1
- package/dist/esm/chunks/{IconButton-BBiZrXlS.mjs → IconButton-DlgZO9hb.mjs} +1 -1
- package/dist/esm/chunks/{Label-DPIAVkn1.mjs → Label-Cj_LkQLx.mjs} +1 -1
- package/dist/esm/chunks/{Pager-B-1ZRUzU.mjs → Pager-6mBRDV3D.mjs} +1 -1
- package/dist/esm/chunks/{ProgressIndicator-CNOBQ_Fv.mjs → ProgressIndicator-DsN3c0J5.mjs} +37 -67
- package/dist/esm/chunks/{PromptInput-DdsIgZ3T.mjs → PromptInput-BGt0FgwF.mjs} +3 -3
- package/dist/esm/chunks/{RadioButton-D-TdQu3a.mjs → RadioButton-D9qz4XDZ.mjs} +13 -17
- package/dist/esm/chunks/{RadioButtonList-CEScWkbT.mjs → RadioButtonList-DCaC7MnI.mjs} +5 -4
- package/dist/esm/chunks/{Switch-obpmvCGd.mjs → Switch-Dt4ynf5r.mjs} +1 -1
- package/dist/esm/chunks/{TabBar-DFj021UP.mjs → TabBar-CYGdcsab.mjs} +2 -2
- package/dist/esm/chunks/{TextArea-D_hq6VF3.mjs → TextArea-BWnMMBN0.mjs} +2 -2
- package/dist/esm/chunks/{TextField-Co0u-xdd.mjs → TextField-D8j5hLhv.mjs} +4 -4
- package/dist/esm/chunks/{Toast-BiXzVFtM.mjs → Toast-MzHPO4x3.mjs} +1 -1
- package/dist/esm/chunks/{UploadArea-B9685Z06.mjs → UploadArea-DwGsYUhY.mjs} +3 -3
- package/dist/esm/chunks/{_types-KZDzhaiK.mjs → _types-B0zIFpYY.mjs} +39 -424
- package/dist/esm/hooks/useKeyboardShortcuts.mjs +6 -2
- package/dist/esm/hooks/useObserveTheme.mjs +2 -0
- package/dist/esm/hooks/useTheme.mjs +2 -0
- package/dist/esm/hooks.mjs +2 -0
- package/dist/esm/index.mjs +28 -26
- package/dist/esm/providers/ThemeProvider.mjs +4 -0
- package/dist/esm/providers.mjs +2 -0
- package/dist/esm/theme/motion.mjs +13 -0
- package/dist/esm/theme/themes.mjs +6 -2
- package/dist/esm/theme.mjs +2 -0
- package/dist/esm/uikit/Avatar/index.mjs +1 -1
- package/dist/esm/uikit/AvatarGroup/index.mjs +2 -2
- package/dist/esm/uikit/Button/index.mjs +5 -3
- package/dist/esm/uikit/ButtonBar/index.mjs +5 -3
- package/dist/esm/uikit/Card/index.mjs +4 -2
- package/dist/esm/uikit/CheckBox/index.mjs +4 -2
- package/dist/esm/uikit/Chip/index.mjs +6 -4
- package/dist/esm/uikit/DivInput/index.mjs +1 -1
- package/dist/esm/uikit/DocIcon/index.mjs +2 -0
- package/dist/esm/uikit/DraggablePanel/index.mjs +3 -1
- package/dist/esm/uikit/DropDown/index.mjs +4 -2
- package/dist/esm/uikit/FileIcon/index.mjs +2 -0
- package/dist/esm/uikit/FileList/index.mjs +7 -5
- package/dist/esm/uikit/Grouper/index.mjs +4 -2
- package/dist/esm/uikit/Icon/index.mjs +5 -1
- package/dist/esm/uikit/IconButton/index.mjs +4 -2
- package/dist/esm/uikit/Label/index.mjs +3 -1
- package/dist/esm/uikit/Logos/index.mjs +2 -0
- package/dist/esm/uikit/Pager/index.mjs +1 -1
- package/dist/esm/uikit/Progress/index.mjs +11 -5
- package/dist/esm/uikit/PromptInput/index.mjs +7 -5
- package/dist/esm/uikit/RadioButton/index.mjs +7 -15
- package/dist/esm/uikit/RadioButtonList/index.mjs +8 -16
- package/dist/esm/uikit/Switch/index.mjs +1 -1
- package/dist/esm/uikit/TabBar/index.mjs +5 -3
- package/dist/esm/uikit/TextArea/index.mjs +6 -4
- package/dist/esm/uikit/Textfield/index.mjs +7 -5
- package/dist/esm/uikit/Toast/index.mjs +4 -2
- package/dist/esm/uikit/UploadArea/index.mjs +8 -6
- package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/providers/ThemeProvider.d.ts +1 -0
- package/dist/types/stories/playHelpers.d.ts +35 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/motion/_types.d.ts +8 -0
- package/dist/types/theme/motion/motion.d.ts +5 -0
- package/dist/types/theme/themes.d.ts +2 -0
- package/dist/types/uikit/CheckBox/_types.d.ts +1 -1
- package/dist/types/uikit/Icon/_types.d.ts +3 -18
- package/dist/types/uikit/Progress/DoneCheck/_types.d.ts +0 -1
- package/dist/types/uikit/RadioButton/_types.d.ts +2 -0
- package/dist/types/uikit/RadioButtonList/_types.d.ts +1 -0
- package/dist/types/uikit/Switch/Switch.stories.d.ts +5 -0
- package/dist/types/util/files.d.ts +1 -1
- package/package.json +6 -1
|
@@ -12,41 +12,17 @@ import "../hooks/useWindow.mjs";
|
|
|
12
12
|
|
|
13
13
|
import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
14
14
|
|
|
15
|
+
import { s as styleInject } from "./style-inject.es-D0BjEaN8.mjs";
|
|
16
|
+
|
|
17
|
+
var css_icon = "Icon-module_icon__PBjJX";
|
|
18
|
+
|
|
19
|
+
styleInject(".Icon-module_icon__PBjJX {\n\tcursor: var(--cursor);\n\tuser-select: none;\n\t--webkit-user-select: none;\n\t-webkit-tap-highlight-color: transparent;\n\toutline: none;\n\tborder: 0;\n\ttransition: stroke, fill var(--motion-water-duration) var(--motion-water);\n}\n\npath,\ncircle,\nrect,\npolyline,\npolygon,\nline {\n\ttransition: stroke, fill var(--motion-water-duration) var(--motion-water);\n}\n");
|
|
20
|
+
|
|
15
21
|
/**
|
|
16
22
|
* Static icon registry created once at module load.
|
|
17
23
|
* Each entry stores only icon line content renderers.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
children: [ jsx("path", {
|
|
21
|
-
d: "M11 6L21 6",
|
|
22
|
-
stroke: strokeColor,
|
|
23
|
-
strokeWidth: stroke,
|
|
24
|
-
strokeLinecap: "round"
|
|
25
|
-
}), jsx("path", {
|
|
26
|
-
d: "M11 12L21 12",
|
|
27
|
-
stroke: strokeColor,
|
|
28
|
-
strokeWidth: stroke,
|
|
29
|
-
strokeLinecap: "round"
|
|
30
|
-
}), jsx("path", {
|
|
31
|
-
d: "M11 18L21 18",
|
|
32
|
-
stroke: strokeColor,
|
|
33
|
-
strokeWidth: stroke,
|
|
34
|
-
strokeLinecap: "round"
|
|
35
|
-
}), jsx("path", {
|
|
36
|
-
d: "M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",
|
|
37
|
-
stroke: strokeColor,
|
|
38
|
-
strokeWidth: stroke,
|
|
39
|
-
strokeLinecap: "round",
|
|
40
|
-
strokeLinejoin: "round"
|
|
41
|
-
}), jsx("path", {
|
|
42
|
-
d: "M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",
|
|
43
|
-
stroke: strokeColor,
|
|
44
|
-
strokeWidth: stroke,
|
|
45
|
-
strokeLinecap: "round",
|
|
46
|
-
strokeLinejoin: "round"
|
|
47
|
-
}) ]
|
|
48
|
-
})
|
|
49
|
-
} ], [ "highlight", {
|
|
24
|
+
*/
|
|
25
|
+
const STATIC_ICON_REGISTRY = new Map([ [ "highlight", {
|
|
50
26
|
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
51
27
|
children: [ jsx("path", {
|
|
52
28
|
d: "M 0 0 L 24 0 L 24 24 L 0 24 Z",
|
|
@@ -56,259 +32,6 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
56
32
|
fill: strokeColor
|
|
57
33
|
}) ]
|
|
58
34
|
})
|
|
59
|
-
} ], [ "bold", {
|
|
60
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
61
|
-
children: [ jsx("path", {
|
|
62
|
-
fillRule: "evenodd",
|
|
63
|
-
clipRule: "evenodd",
|
|
64
|
-
d: "M5 6C5 4.58579 5 3.87868 5.43934 3.43934C5.87868 3 6.58579 3 8 3H12.5789C15.0206 3 17 5.01472 17 7.5C17 9.98528 15.0206 12 12.5789 12H5V6Z",
|
|
65
|
-
stroke: strokeColor,
|
|
66
|
-
strokeWidth: stroke,
|
|
67
|
-
strokeLinecap: "round",
|
|
68
|
-
strokeLinejoin: "round"
|
|
69
|
-
}), jsx("path", {
|
|
70
|
-
d: "M12.4286 12H13.6667C16.0599 12 18 14.0147 18 16.5C18 18.9853 16.0599 21 13.6667 21H8C6.58579 21 5.87868 21 5.43934 20.5607C5 20.1213 5 19.4142 5 18V12",
|
|
71
|
-
stroke: strokeColor,
|
|
72
|
-
strokeWidth: stroke,
|
|
73
|
-
strokeLinecap: "round",
|
|
74
|
-
strokeLinejoin: "round"
|
|
75
|
-
}) ]
|
|
76
|
-
})
|
|
77
|
-
} ], [ "italic", {
|
|
78
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
79
|
-
children: [ jsx("path", {
|
|
80
|
-
d: "M12 4H19",
|
|
81
|
-
stroke: strokeColor,
|
|
82
|
-
strokeWidth: stroke,
|
|
83
|
-
strokeLinecap: "round",
|
|
84
|
-
strokeLinejoin: "round"
|
|
85
|
-
}), jsx("path", {
|
|
86
|
-
d: "M8 20L16 4",
|
|
87
|
-
stroke: strokeColor,
|
|
88
|
-
strokeWidth: stroke,
|
|
89
|
-
strokeLinecap: "round",
|
|
90
|
-
strokeLinejoin: "round"
|
|
91
|
-
}), jsx("path", {
|
|
92
|
-
d: "M5 20H12",
|
|
93
|
-
stroke: strokeColor,
|
|
94
|
-
strokeWidth: stroke,
|
|
95
|
-
strokeLinecap: "round",
|
|
96
|
-
strokeLinejoin: "round"
|
|
97
|
-
}) ]
|
|
98
|
-
})
|
|
99
|
-
} ], [ "underline", {
|
|
100
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
101
|
-
children: [ jsx("path", {
|
|
102
|
-
d: "M5.5 3V11.5C5.5 15.0899 8.41015 18 12 18C15.5899 18 18.5 15.0899 18.5 11.5V3",
|
|
103
|
-
stroke: strokeColor,
|
|
104
|
-
strokeWidth: stroke,
|
|
105
|
-
strokeLinecap: "round",
|
|
106
|
-
strokeLinejoin: "round"
|
|
107
|
-
}), jsx("path", {
|
|
108
|
-
d: "M3 21H21",
|
|
109
|
-
stroke: strokeColor,
|
|
110
|
-
strokeWidth: stroke,
|
|
111
|
-
strokeLinecap: "round"
|
|
112
|
-
}) ]
|
|
113
|
-
})
|
|
114
|
-
} ], [ "strike", {
|
|
115
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
116
|
-
children: [ jsx("path", {
|
|
117
|
-
d: "M4 12H20",
|
|
118
|
-
stroke: strokeColor,
|
|
119
|
-
strokeWidth: stroke,
|
|
120
|
-
strokeLinecap: "round",
|
|
121
|
-
strokeLinejoin: "round"
|
|
122
|
-
}), jsx("path", {
|
|
123
|
-
d: "M17.5 7.66667C17.5 5.08934 15.0376 3 12 3C8.96243 3 6.5 5.08934 6.5 7.66667C6.5 8.15279 6.55336 8.59783 6.6668 9M6 16.3333C6 18.9107 8.68629 21 12 21C15.3137 21 18 19.6667 18 16.3333C18 13.9404 16.9693 12.5782 14.9079 12",
|
|
124
|
-
stroke: strokeColor,
|
|
125
|
-
strokeWidth: stroke,
|
|
126
|
-
strokeLinecap: "round"
|
|
127
|
-
}) ]
|
|
128
|
-
})
|
|
129
|
-
} ], [ "link", {
|
|
130
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
131
|
-
children: [ jsx("path", {
|
|
132
|
-
d: "M 0 0 L 24 0 L 24 24 L 0 24 Z",
|
|
133
|
-
fill: "transparent"
|
|
134
|
-
}), jsx("path", {
|
|
135
|
-
d: "M 12.251 18.425 C 15.169 18.425 17.041 16.923 17.041 14.629 C 17.041 12.8 15.925 11.834 13.323 11.219 L 11.891 10.876 C 10.106 10.445 9.35 9.9 9.35 8.924 C 9.35 7.694 10.562 6.824 12.241 6.824 C 13.753 6.824 14.834 7.509 15.265 8.722 C 15.405 9.056 15.616 9.214 15.968 9.214 C 16.425 9.214 16.706 8.951 16.706 8.511 C 16.706 8.379 16.688 8.239 16.653 8.107 C 16.26 6.507 14.501 5.4 12.242 5.4 C 9.597 5.4 7.69 6.912 7.69 9.039 C 7.69 10.77 8.78 11.781 11.17 12.343 L 12.788 12.73 C 14.616 13.17 15.381 13.767 15.381 14.822 C 15.381 16.087 14.089 17.01 12.252 17.01 C 10.626 17.01 9.404 16.263 8.956 15.015 C 8.798 14.637 8.605 14.47 8.236 14.47 C 7.761 14.47 7.471 14.76 7.471 15.217 C 7.471 15.376 7.497 15.543 7.541 15.71 C 8.007 17.37 9.835 18.425 12.252 18.425 Z",
|
|
136
|
-
fill: strokeColor
|
|
137
|
-
}), jsx("path", {
|
|
138
|
-
d: "M 5.36 11.75 L 19.15 11.75 C 19.352 11.75 19.51 11.592 19.51 11.39 C 19.511 11.294 19.474 11.202 19.406 11.134 C 19.338 11.066 19.246 11.029 19.15 11.03 L 5.36 11.03 C 5.264 11.029 5.172 11.066 5.104 11.134 C 5.037 11.202 4.999 11.294 5 11.39 C 5 11.592 5.158 11.75 5.36 11.75 Z",
|
|
139
|
-
fill: strokeColor
|
|
140
|
-
}) ]
|
|
141
|
-
})
|
|
142
|
-
} ], [ "bullet list", {
|
|
143
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
144
|
-
children: [ jsx("path", {
|
|
145
|
-
d: "M8 5L20 5",
|
|
146
|
-
stroke: strokeColor,
|
|
147
|
-
strokeWidth: stroke,
|
|
148
|
-
strokeLinecap: "round"
|
|
149
|
-
}), jsx("path", {
|
|
150
|
-
d: "M4 5H4.00898",
|
|
151
|
-
stroke: strokeColor,
|
|
152
|
-
strokeWidth: stroke,
|
|
153
|
-
strokeLinecap: "round",
|
|
154
|
-
strokeLinejoin: "round"
|
|
155
|
-
}), jsx("path", {
|
|
156
|
-
d: "M4 12H4.00898",
|
|
157
|
-
stroke: strokeColor,
|
|
158
|
-
strokeWidth: stroke,
|
|
159
|
-
strokeLinecap: "round",
|
|
160
|
-
strokeLinejoin: "round"
|
|
161
|
-
}), jsx("path", {
|
|
162
|
-
d: "M4 19H4.00898",
|
|
163
|
-
stroke: strokeColor,
|
|
164
|
-
strokeWidth: stroke,
|
|
165
|
-
strokeLinecap: "round",
|
|
166
|
-
strokeLinejoin: "round"
|
|
167
|
-
}), jsx("path", {
|
|
168
|
-
d: "M8 12L20 12",
|
|
169
|
-
stroke: strokeColor,
|
|
170
|
-
strokeWidth: stroke,
|
|
171
|
-
strokeLinecap: "round"
|
|
172
|
-
}), jsx("path", {
|
|
173
|
-
d: "M8 19L20 19",
|
|
174
|
-
stroke: strokeColor,
|
|
175
|
-
strokeWidth: stroke,
|
|
176
|
-
strokeLinecap: "round"
|
|
177
|
-
}) ]
|
|
178
|
-
})
|
|
179
|
-
} ], [ "numbered list", {
|
|
180
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
181
|
-
children: [ jsx("path", {
|
|
182
|
-
d: "M11 6L21 6",
|
|
183
|
-
stroke: strokeColor,
|
|
184
|
-
strokeWidth: stroke,
|
|
185
|
-
strokeLinecap: "round"
|
|
186
|
-
}), jsx("path", {
|
|
187
|
-
d: "M11 12L21 12",
|
|
188
|
-
stroke: strokeColor,
|
|
189
|
-
strokeWidth: stroke,
|
|
190
|
-
strokeLinecap: "round"
|
|
191
|
-
}), jsx("path", {
|
|
192
|
-
d: "M11 18L21 18",
|
|
193
|
-
stroke: strokeColor,
|
|
194
|
-
strokeWidth: stroke,
|
|
195
|
-
strokeLinecap: "round"
|
|
196
|
-
}), jsx("path", {
|
|
197
|
-
d: "M3 15H4.5C4.77879 15 4.91819 15 5.03411 15.0231C5.51014 15.1177 5.88225 15.4899 5.97694 15.9659C6 16.0818 6 16.2212 6 16.5C6 16.7788 6 16.9182 5.97694 17.0341C5.88225 17.5101 5.51014 17.8823 5.03411 17.9769C4.91819 18 4.77879 18 4.5 18C4.22121 18 4.08181 18 3.96589 18.0231C3.48986 18.1177 3.11775 18.4899 3.02306 18.9659C3 19.0818 3 19.2212 3 19.5V20.4C3 20.6828 3 20.8243 3.08787 20.9121C3.17574 21 3.31716 21 3.6 21H6",
|
|
198
|
-
stroke: strokeColor,
|
|
199
|
-
strokeWidth: stroke,
|
|
200
|
-
strokeLinecap: "round",
|
|
201
|
-
strokeLinejoin: "round"
|
|
202
|
-
}), jsx("path", {
|
|
203
|
-
d: "M3 3H4.2C4.36569 3 4.5 3.13431 4.5 3.3V9M4.5 9H3M4.5 9H6",
|
|
204
|
-
stroke: strokeColor,
|
|
205
|
-
strokeWidth: stroke,
|
|
206
|
-
strokeLinecap: "round",
|
|
207
|
-
strokeLinejoin: "round"
|
|
208
|
-
}) ]
|
|
209
|
-
})
|
|
210
|
-
} ], [ "sink", {
|
|
211
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
212
|
-
children: [ jsx("path", {
|
|
213
|
-
d: "M15 4.5H20",
|
|
214
|
-
stroke: strokeColor,
|
|
215
|
-
strokeWidth: stroke,
|
|
216
|
-
strokeLinecap: "round",
|
|
217
|
-
strokeLinejoin: "round"
|
|
218
|
-
}), jsx("path", {
|
|
219
|
-
d: "M15 9.5H18",
|
|
220
|
-
stroke: strokeColor,
|
|
221
|
-
strokeWidth: stroke,
|
|
222
|
-
strokeLinecap: "round",
|
|
223
|
-
strokeLinejoin: "round"
|
|
224
|
-
}), jsx("path", {
|
|
225
|
-
d: "M15 14.5H20",
|
|
226
|
-
stroke: strokeColor,
|
|
227
|
-
strokeWidth: stroke,
|
|
228
|
-
strokeLinecap: "round",
|
|
229
|
-
strokeLinejoin: "round"
|
|
230
|
-
}), jsx("path", {
|
|
231
|
-
d: "M15 19.5H18",
|
|
232
|
-
stroke: strokeColor,
|
|
233
|
-
strokeWidth: stroke,
|
|
234
|
-
strokeLinecap: "round",
|
|
235
|
-
strokeLinejoin: "round"
|
|
236
|
-
}), jsx("path", {
|
|
237
|
-
d: "M11 3V21",
|
|
238
|
-
stroke: strokeColor,
|
|
239
|
-
strokeWidth: stroke,
|
|
240
|
-
strokeLinecap: "round",
|
|
241
|
-
strokeLinejoin: "round"
|
|
242
|
-
}), jsx("path", {
|
|
243
|
-
d: "M4 8.5L5.54218 9.74227C6.84739 10.7937 7.5 11.3193 7.5 12C7.5 12.6807 6.84739 13.2063 5.54218 14.2577L4 15.5",
|
|
244
|
-
stroke: strokeColor,
|
|
245
|
-
strokeWidth: stroke,
|
|
246
|
-
strokeLinecap: "round",
|
|
247
|
-
strokeLinejoin: "round"
|
|
248
|
-
}) ]
|
|
249
|
-
})
|
|
250
|
-
} ], [ "lift", {
|
|
251
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
252
|
-
children: [ jsx("path", {
|
|
253
|
-
d: "M4 4.5H9",
|
|
254
|
-
stroke: strokeColor,
|
|
255
|
-
strokeWidth: stroke,
|
|
256
|
-
strokeLinecap: "round",
|
|
257
|
-
strokeLinejoin: "round"
|
|
258
|
-
}), jsx("path", {
|
|
259
|
-
d: "M6 9.5H9",
|
|
260
|
-
stroke: strokeColor,
|
|
261
|
-
strokeWidth: stroke,
|
|
262
|
-
strokeLinecap: "round",
|
|
263
|
-
strokeLinejoin: "round"
|
|
264
|
-
}), jsx("path", {
|
|
265
|
-
d: "M4 14.5H9",
|
|
266
|
-
stroke: strokeColor,
|
|
267
|
-
strokeWidth: stroke,
|
|
268
|
-
strokeLinecap: "round",
|
|
269
|
-
strokeLinejoin: "round"
|
|
270
|
-
}), jsx("path", {
|
|
271
|
-
d: "M6 19.5H9",
|
|
272
|
-
stroke: strokeColor,
|
|
273
|
-
strokeWidth: stroke,
|
|
274
|
-
strokeLinecap: "round",
|
|
275
|
-
strokeLinejoin: "round"
|
|
276
|
-
}), jsx("path", {
|
|
277
|
-
d: "M13 3V21",
|
|
278
|
-
stroke: strokeColor,
|
|
279
|
-
strokeWidth: stroke,
|
|
280
|
-
strokeLinecap: "round",
|
|
281
|
-
strokeLinejoin: "round"
|
|
282
|
-
}), jsx("path", {
|
|
283
|
-
d: "M20 8.5L18.4578 9.74227C17.1526 10.7937 16.5 11.3193 16.5 12C16.5 12.6807 17.1526 13.2063 18.4578 14.2577L20 15.5",
|
|
284
|
-
stroke: strokeColor,
|
|
285
|
-
strokeWidth: stroke,
|
|
286
|
-
strokeLinecap: "round",
|
|
287
|
-
strokeLinejoin: "round"
|
|
288
|
-
}) ]
|
|
289
|
-
})
|
|
290
|
-
} ], [ "code", {
|
|
291
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
292
|
-
children: [ jsx("path", {
|
|
293
|
-
d: "M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15",
|
|
294
|
-
stroke: strokeColor,
|
|
295
|
-
strokeWidth: stroke,
|
|
296
|
-
strokeLinecap: "round",
|
|
297
|
-
strokeLinejoin: "round"
|
|
298
|
-
}), jsx("path", {
|
|
299
|
-
d: "M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15",
|
|
300
|
-
stroke: strokeColor,
|
|
301
|
-
strokeWidth: stroke,
|
|
302
|
-
strokeLinecap: "round",
|
|
303
|
-
strokeLinejoin: "round"
|
|
304
|
-
}), jsx("path", {
|
|
305
|
-
d: "M14.5 4L9.5 20",
|
|
306
|
-
stroke: strokeColor,
|
|
307
|
-
strokeWidth: stroke,
|
|
308
|
-
strokeLinecap: "round",
|
|
309
|
-
strokeLinejoin: "round"
|
|
310
|
-
}) ]
|
|
311
|
-
})
|
|
312
35
|
} ], [ "like", {
|
|
313
36
|
line: ({stroke: stroke, strokeColor: strokeColor}) => jsx("path", {
|
|
314
37
|
d: "M 13.447 16.354 C 13.167 16.759 12.706 17 12.214 17 L 3.5 17 C 2.672 17 2 16.328 2 15.5 L 2 8.5 C 2 7.672 2.672 7 3.5 7 L 4.343 7 C 4.762 7 5.161 6.825 5.445 6.517 L 9.265 2.379 C 9.883 1.71 11 2.147 11 3.058 L 11 7 L 16 7 C 16.828 7 17.5 7.672 17.5 8.5 L 17.5 10.031 C 17.5 10.336 17.407 10.634 17.233 10.885 Z M 5 6.5 L 5 17",
|
|
@@ -675,18 +398,6 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
675
398
|
d: "M14.0272 0.966797L14.5303 1.46995L16.5303 3.46995L17.0893 4.02893L16.5017 4.55775L6.50172 13.5577L6.2878 13.7503H6H4H3.25V13.0003V11.0003V10.6663L3.49828 10.4428L13.4983 1.44281L14.0272 0.966797ZM4.75 11.3343V12.2503H5.7122L14.9107 3.97163L13.9728 3.03376L4.75 11.3343ZM17 16.7503H5V15.2503H17V16.7503ZM2 17.0003C2.55228 17.0003 3 16.5526 3 16.0003C3 15.448 2.55228 15.0003 2 15.0003C1.44772 15.0003 1 15.448 1 16.0003C1 16.5526 1.44772 17.0003 2 17.0003Z",
|
|
676
399
|
fill: strokeColor
|
|
677
400
|
})
|
|
678
|
-
} ], [ "compliance check", {
|
|
679
|
-
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
680
|
-
children: [ jsx("path", {
|
|
681
|
-
d: "M3 3.313a1.5 1.5 0 0 1 1.302-1.487L10.5 1l5.228.804A1.5 1.5 0 0 1 17 3.287v10.875a1.5 1.5 0 0 1-.714 1.277L10.5 19l-6.706-3.576A1.5 1.5 0 0 1 3 14.1V3.313Z",
|
|
682
|
-
stroke: strokeColor,
|
|
683
|
-
strokeWidth: stroke
|
|
684
|
-
}), jsx("path", {
|
|
685
|
-
d: "M7.385 9.25a4.48 4.48 0 0 0 2.865-2.865 4.48 4.48 0 0 0 2.865 2.865 4.48 4.48 0 0 0-2.865 2.865A4.48 4.48 0 0 0 7.385 9.25Z",
|
|
686
|
-
stroke: strokeColor,
|
|
687
|
-
strokeWidth: stroke
|
|
688
|
-
}) ]
|
|
689
|
-
})
|
|
690
401
|
} ], [ "text document", {
|
|
691
402
|
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
692
403
|
d: "M 12.5 5.5 L 12.5 2.5 L 4.5 2.5 L 4.5 17.5 L 15.5 17.5 L 15.5 5.5 Z M 15.5 19 L 4.5 19 C 3.672 19 3 18.328 3 17.5 L 3 2.5 C 3 1.672 3.672 1 4.5 1 L 12.5 1 C 13.328 1 14 1.672 14 2.5 L 14 4 L 15.5 4 C 16.328 4 17 4.672 17 5.5 L 17 17.5 C 17 18.328 16.328 19 15.5 19 Z M 14 14.75 L 6 14.75 L 6 13.25 L 14 13.25 Z M 6 10.75 L 12 10.75 L 12 9.25 L 6 9.25 Z",
|
|
@@ -944,58 +655,6 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
944
655
|
})
|
|
945
656
|
}) ]
|
|
946
657
|
})
|
|
947
|
-
} ], [ "ctrl key", {
|
|
948
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
949
|
-
children: [ jsx("path", {
|
|
950
|
-
d: "M 0 0 L 33 0 L 33 24 L 0 24 Z",
|
|
951
|
-
fill: "transparent"
|
|
952
|
-
}), jsxs("g", {
|
|
953
|
-
transform: "translate(3 2.998)",
|
|
954
|
-
children: [ jsx("path", {
|
|
955
|
-
d: "M 8.646 12.49 C 9.898 12.49 10.445 11.717 10.879 11.717 C 11.125 11.717 11.288 11.911 11.288 12.213 C 11.288 12.757 10.107 13.409 8.646 13.409 C 6.239 13.409 5 11.268 5 9.032 C 5 6.795 6.239 4.654 8.705 4.654 C 10.178 4.654 11.112 5.475 11.112 5.911 C 11.112 6.188 10.949 6.42 10.691 6.42 C 10.224 6.42 9.99 5.574 8.705 5.574 C 6.86 5.574 6.098 7.387 6.098 9.032 C 6.098 10.677 6.882 12.49 8.644 12.49 Z M 13.062 5.513 C 13.062 5.163 13.262 4.944 13.576 4.944 C 13.89 4.944 14.089 5.161 14.089 5.513 L 14.089 6.904 L 14.511 6.904 C 14.849 6.904 15.024 7.072 15.024 7.362 C 15.024 7.652 14.849 7.82 14.511 7.82 L 14.089 7.82 L 14.089 12.838 C 14.089 13.188 13.89 13.407 13.576 13.407 C 13.262 13.407 13.062 13.19 13.062 12.838 L 13.062 7.823 L 12.641 7.823 C 12.303 7.823 12.127 7.654 12.127 7.364 C 12.127 7.075 12.303 6.906 12.641 6.906 L 13.062 6.906 L 13.062 5.516 Z M 16.263 7.4 C 16.263 7.05 16.463 6.83 16.777 6.83 C 17.091 6.83 17.29 7.047 17.29 7.4 L 17.29 7.944 L 17.315 7.944 C 17.549 7.448 18.121 6.83 18.717 6.83 C 19.08 6.83 19.289 7.072 19.289 7.375 C 19.289 7.677 19.08 7.871 18.646 7.954 C 18.038 8.062 17.29 8.533 17.29 9.78 L 17.29 12.84 C 17.29 13.19 17.091 13.409 16.777 13.409 C 16.463 13.409 16.263 13.193 16.263 12.84 Z M 21.463 12.84 C 21.463 13.19 21.263 13.409 20.949 13.409 C 20.635 13.409 20.436 13.193 20.436 12.84 L 20.436 4.571 C 20.436 4.221 20.635 4.002 20.949 4.002 C 21.263 4.002 21.463 4.219 21.463 4.571 Z",
|
|
956
|
-
fill: strokeColor,
|
|
957
|
-
strokeWidth: "0.5",
|
|
958
|
-
stroke: strokeColor,
|
|
959
|
-
strokeMiterlimit: "10",
|
|
960
|
-
strokeDasharray: ""
|
|
961
|
-
}), jsx("path", {
|
|
962
|
-
d: "M 0 14.98 L 0 3.032 C 0 1.018 1.026 0.001 3.07 0 L 7 0 L 7 0.002 L 21.965 0 L 23.93 0 C 25.983 0 27 1.017 27 3.031 L 27 14.981 C 27 16.994 25.984 18.001 23.93 18.001 L 21.965 18.001 L 7 18.002 L 7 18.001 L 3.07 18.001 C 1.026 18.001 0 16.994 0 14.98 Z M 3.09 1.576 C 2.112 1.576 1.574 2.104 1.574 3.12 L 1.574 14.891 C 1.574 15.909 2.112 16.426 3.09 16.426 L 7 16.427 L 7 16.43 L 21.955 16.428 L 23.91 16.428 C 24.878 16.428 25.426 15.909 25.426 14.893 L 25.426 3.12 C 25.426 2.104 24.878 1.576 23.91 1.576 L 21.955 1.576 L 7 1.58 L 7 1.576 Z",
|
|
963
|
-
fill: strokeColor
|
|
964
|
-
}) ]
|
|
965
|
-
}) ]
|
|
966
|
-
})
|
|
967
|
-
} ], [ "g key", {
|
|
968
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
969
|
-
children: [ jsx("path", {
|
|
970
|
-
d: "M 0 0 L 24 0 L 24 24 L 0 24 Z",
|
|
971
|
-
fill: "transparent"
|
|
972
|
-
}), jsxs("g", {
|
|
973
|
-
transform: "translate(3 2.998)",
|
|
974
|
-
children: [ jsx("path", {
|
|
975
|
-
d: "M 3.07 18.001 L 14.93 18.001 C 16.984 18.001 18 16.994 18 14.981 L 18 3.031 C 18 1.017 16.983 0 14.93 0 L 3.07 0 C 1.026 0.001 0 1.018 0 3.032 L 0 14.98 C 0 16.994 1.026 18.001 3.07 18.001 Z M 3.09 16.426 C 2.112 16.426 1.574 15.909 1.574 14.891 L 1.574 3.12 C 1.574 2.104 2.112 1.576 3.09 1.576 L 14.91 1.576 C 15.878 1.576 16.426 2.104 16.426 3.12 L 16.426 14.893 C 16.426 15.909 15.878 16.428 14.91 16.428 Z",
|
|
976
|
-
fill: strokeColor
|
|
977
|
-
}), jsx("path", {
|
|
978
|
-
d: "M 9.044 13.581 C 11.43 13.581 12.847 12.184 12.847 10.169 L 12.847 9.456 C 12.847 8.927 12.534 8.615 12.026 8.615 L 9.513 8.615 C 9.152 8.615 8.937 8.849 8.937 9.182 C 8.937 9.475 9.152 9.739 9.513 9.739 L 11.293 9.739 L 11.293 10.375 C 11.293 11.528 10.54 12.291 9.063 12.291 C 7.49 12.291 6.444 10.952 6.444 8.908 C 6.444 6.884 7.48 5.515 9.034 5.515 C 10.139 5.515 10.961 6.043 11.362 7.011 C 11.527 7.344 11.713 7.481 12.016 7.481 C 12.417 7.481 12.681 7.226 12.681 6.816 C 12.681 6.649 12.662 6.522 12.593 6.365 C 12.134 5.134 10.833 4.224 9.014 4.224 C 6.483 4.224 4.859 6.053 4.859 8.908 C 4.859 11.773 6.483 13.581 9.044 13.581 Z",
|
|
979
|
-
fill: strokeColor
|
|
980
|
-
}) ]
|
|
981
|
-
}) ]
|
|
982
|
-
})
|
|
983
|
-
} ], [ "cmd key", {
|
|
984
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
985
|
-
children: [ jsx("path", {
|
|
986
|
-
d: "M 0 0 L 24 0 L 24 24 L 0 24 Z",
|
|
987
|
-
fill: "transparent"
|
|
988
|
-
}), jsxs("g", {
|
|
989
|
-
transform: "translate(3 2.998)",
|
|
990
|
-
children: [ jsx("path", {
|
|
991
|
-
d: "M 3.07 18.001 L 14.93 18.001 C 16.984 18.001 18 16.994 18 14.981 L 18 3.031 C 18 1.017 16.983 0 14.93 0 L 3.07 0 C 1.026 0.001 0 1.018 0 3.032 L 0 14.98 C 0 16.994 1.026 18.001 3.07 18.001 Z M 3.09 16.426 C 2.112 16.426 1.574 15.909 1.574 14.891 L 1.574 3.12 C 1.574 2.104 2.112 1.576 3.09 1.576 L 14.91 1.576 C 15.878 1.576 16.426 2.104 16.426 3.12 L 16.426 14.893 C 16.426 15.909 15.878 16.428 14.91 16.428 Z",
|
|
992
|
-
fill: strokeColor
|
|
993
|
-
}), jsx("path", {
|
|
994
|
-
d: "M 6.708 8.096 L 6.708 9.905 L 5.974 9.905 C 5.426 9.901 4.9 10.116 4.511 10.501 C 4.122 10.886 3.902 11.411 3.901 11.959 C 3.898 12.51 4.115 13.04 4.504 13.431 C 4.893 13.823 5.422 14.042 5.974 14.041 C 7.119 14.033 8.044 13.104 8.047 11.959 L 8.047 11.216 L 9.826 11.216 L 9.826 11.959 C 9.826 13.105 10.753 14.036 11.899 14.041 C 12.45 14.04 12.979 13.82 13.367 13.43 C 13.756 13.039 13.974 12.51 13.972 11.959 C 13.972 10.824 13.043 9.906 11.899 9.906 L 11.157 9.906 L 11.157 8.096 L 11.899 8.096 C 12.448 8.097 12.975 7.881 13.364 7.494 C 13.752 7.107 13.971 6.581 13.972 6.032 C 13.971 4.888 13.044 3.961 11.899 3.96 C 10.756 3.963 9.83 4.889 9.826 6.032 L 9.826 6.776 L 8.047 6.776 L 8.047 6.033 C 8.04 4.891 7.116 3.967 5.974 3.96 C 5.424 3.958 4.896 4.176 4.507 4.566 C 4.118 4.955 3.9 5.483 3.901 6.033 C 3.9 6.582 4.119 7.109 4.508 7.497 C 4.897 7.884 5.425 8.1 5.974 8.096 Z M 8.047 9.915 L 8.047 8.086 L 9.826 8.086 L 9.826 9.914 Z M 5.974 6.787 C 5.774 6.788 5.581 6.709 5.44 6.568 C 5.298 6.426 5.219 6.233 5.221 6.033 C 5.221 5.633 5.563 5.281 5.974 5.281 C 6.374 5.281 6.708 5.633 6.708 6.033 L 6.708 6.787 Z M 11.899 6.787 L 11.157 6.787 L 11.157 6.033 C 11.157 5.633 11.499 5.281 11.899 5.281 C 12.3 5.281 12.652 5.633 12.652 6.033 C 12.652 6.454 12.31 6.787 11.899 6.787 Z M 5.974 11.196 L 6.708 11.196 L 6.708 11.949 C 6.708 12.359 6.375 12.692 5.965 12.692 C 5.554 12.692 5.221 12.359 5.221 11.949 C 5.221 11.548 5.563 11.196 5.974 11.196 Z M 11.899 11.196 C 12.3 11.196 12.652 11.548 12.652 11.949 C 12.652 12.369 12.31 12.702 11.899 12.702 C 11.487 12.697 11.155 12.361 11.157 11.949 L 11.157 11.196 Z",
|
|
995
|
-
fill: strokeColor
|
|
996
|
-
}) ]
|
|
997
|
-
}) ]
|
|
998
|
-
})
|
|
999
658
|
} ], [ "person", {
|
|
1000
659
|
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
1001
660
|
fillRule: "evenodd",
|
|
@@ -1022,16 +681,18 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1022
681
|
fill: strokeColor
|
|
1023
682
|
})
|
|
1024
683
|
} ], [ "check circle", {
|
|
1025
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
1026
|
-
children: [ jsx("
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
684
|
+
line: ({strokeColor: strokeColor, stroke: stroke}) => jsxs(Fragment, {
|
|
685
|
+
children: [ jsx("circle", {
|
|
686
|
+
cx: "10",
|
|
687
|
+
cy: "10",
|
|
688
|
+
r: "8.25",
|
|
689
|
+
fill: "none",
|
|
690
|
+
stroke: strokeColor,
|
|
691
|
+
strokeWidth: stroke
|
|
692
|
+
}), jsx("polyline", {
|
|
693
|
+
points: "6.66 9.94 9.05 12.06 13.26 7.86",
|
|
694
|
+
strokeWidth: stroke,
|
|
695
|
+
stroke: strokeColor
|
|
1035
696
|
}) ]
|
|
1036
697
|
})
|
|
1037
698
|
} ], [ "share", {
|
|
@@ -1040,43 +701,6 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1040
701
|
stroke: strokeColor,
|
|
1041
702
|
strokeWidth: stroke
|
|
1042
703
|
})
|
|
1043
|
-
} ], [ "g-p assist", {
|
|
1044
|
-
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
1045
|
-
children: [ jsxs("g", {
|
|
1046
|
-
children: [ jsx("defs", {
|
|
1047
|
-
children: jsxs("linearGradient", {
|
|
1048
|
-
id: "iddX7xoI2TUg1057052775",
|
|
1049
|
-
x1: "0.49751243781094523",
|
|
1050
|
-
x2: "0.5024875621890548",
|
|
1051
|
-
y1: "0",
|
|
1052
|
-
y2: "1",
|
|
1053
|
-
children: [ jsx("stop", {
|
|
1054
|
-
offset: "0",
|
|
1055
|
-
stopColor: strokeColor,
|
|
1056
|
-
stopOpacity: "1"
|
|
1057
|
-
}), jsx("stop", {
|
|
1058
|
-
offset: "0.50",
|
|
1059
|
-
stopColor: strokeColor,
|
|
1060
|
-
stopOpacity: "1"
|
|
1061
|
-
}), jsx("stop", {
|
|
1062
|
-
offset: "1",
|
|
1063
|
-
stopColor: strokeColor,
|
|
1064
|
-
stopOpacity: "1"
|
|
1065
|
-
}) ]
|
|
1066
|
-
})
|
|
1067
|
-
}), jsx("path", {
|
|
1068
|
-
d: "M 10.5 0.016 C 10.509 4.815 14.401 8.7 19.2 8.7 L 19.2 10.5 C 14.395 10.5 10.5 14.395 10.5 19.2 L 8.7 19.2 C 8.7 14.401 4.815 10.509 0.016 10.5 L 0 10.5 L 0 8.7 L 0.016 8.7 C 4.808 8.691 8.691 4.808 8.7 0.016 L 8.7 0 L 10.5 0 Z M 9.6 14.94 C 10.659 12.562 12.562 10.659 14.94 9.6 C 12.562 8.541 10.659 6.638 9.6 4.26 C 8.541 6.639 6.639 8.541 4.26 9.6 C 6.638 10.659 8.541 12.562 9.6 14.94 Z",
|
|
1069
|
-
transform: "translate(1.4 1.4) rotate(90 9.6 9.6)",
|
|
1070
|
-
fill: "url(#iddX7xoI2TUg1057052775)"
|
|
1071
|
-
}) ]
|
|
1072
|
-
}), jsx("path", {
|
|
1073
|
-
d: "M 18.2 5 C 18.863 5 19.4 4.463 19.4 3.8 C 19.4 3.137 18.863 2.6 18.2 2.6 C 17.537 2.6 17 3.137 17 3.8 C 17 4.463 17.537 5 18.2 5 Z",
|
|
1074
|
-
fill: strokeColor
|
|
1075
|
-
}), jsx("path", {
|
|
1076
|
-
d: "M 3.8 19.4 C 4.463 19.4 5 18.863 5 18.2 C 5 17.537 4.463 17 3.8 17 C 3.137 17 2.6 17.537 2.6 18.2 C 2.6 18.863 3.137 19.4 3.8 19.4 Z",
|
|
1077
|
-
fill: strokeColor
|
|
1078
|
-
}) ]
|
|
1079
|
-
})
|
|
1080
704
|
} ], [ "search", {
|
|
1081
705
|
line: ({strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
1082
706
|
children: [ jsx("path", {
|
|
@@ -1135,14 +759,14 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1135
759
|
stroke: strokeColor,
|
|
1136
760
|
strokeWidth: stroke
|
|
1137
761
|
})
|
|
1138
|
-
} ], [ "checked", {
|
|
762
|
+
} ], [ "checkbox checked", {
|
|
1139
763
|
line: ({strokeColor: strokeColor}) => jsx("path", {
|
|
1140
764
|
fillRule: "evenodd",
|
|
1141
765
|
clipRule: "evenodd",
|
|
1142
766
|
d: "M3.5 2A1.5 1.5 0 0 0 2 3.5v13A1.5 1.5 0 0 0 3.5 18h13a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 16.5 2h-13Zm9.47 4.97L9 10.94 7.03 8.97l-1.06 1.06 2.5 2.5.53.53.53-.53 4.5-4.5-1.06-1.06Z",
|
|
1143
767
|
fill: strokeColor
|
|
1144
768
|
})
|
|
1145
|
-
} ], [ "
|
|
769
|
+
} ], [ "checkbox", {
|
|
1146
770
|
line: ({stroke: stroke, strokeColor: strokeColor}) => jsx("rect", {
|
|
1147
771
|
x: "2.75",
|
|
1148
772
|
y: "2.75",
|
|
@@ -1152,7 +776,7 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1152
776
|
stroke: strokeColor,
|
|
1153
777
|
strokeWidth: stroke
|
|
1154
778
|
})
|
|
1155
|
-
} ], [ "partial", {
|
|
779
|
+
} ], [ "checkbox partial", {
|
|
1156
780
|
line: ({stroke: stroke, strokeColor: strokeColor}) => jsxs(Fragment, {
|
|
1157
781
|
children: [ jsx("rect", {
|
|
1158
782
|
x: "2",
|
|
@@ -1160,7 +784,8 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1160
784
|
width: "16",
|
|
1161
785
|
height: "16",
|
|
1162
786
|
rx: "1.5",
|
|
1163
|
-
|
|
787
|
+
stroke: strokeColor,
|
|
788
|
+
strokeWidth: stroke
|
|
1164
789
|
}), jsx("path", {
|
|
1165
790
|
d: "M14 10H6",
|
|
1166
791
|
stroke: strokeColor,
|
|
@@ -1325,16 +950,11 @@ import { a as accessibleKeyDown } from "./utils-BQ1v7VE4.mjs";
|
|
|
1325
950
|
} ] ]), Icon = React.memo(props => {
|
|
1326
951
|
var _a;
|
|
1327
952
|
const theme = useTheme(), {name: name = "home", size: size = 20, stroke: stroke = 1.5, strokeColor: strokeColor = theme.current.colors["core-icon-primary"], fillColor: fillColor = "transparent", coverUp: coverUp = theme.current.colors["core-surface-primary"], toggle: toggle = !1, pointer: pointer = !1, disabled: disabled = !1, onClick: onClick = () => null} = props, svgAttributes = __rest(props, [ "name", "size", "stroke", "strokeColor", "fillColor", "coverUp", "toggle", "pointer", "disabled", "onClick" ]), {id: svgId, className: className, style: style} = svgAttributes, rest = __rest(svgAttributes, [ "id", "className", "style" ]), cursor = useMemo(() => disabled ? "default" : pointer ? "pointer" : "inherit", [ disabled, pointer ]), iconStyle = useMemo(() => ({
|
|
1328
|
-
cursor: cursor
|
|
1329
|
-
userSelect: "none",
|
|
1330
|
-
WebkitUserSelect: "none",
|
|
1331
|
-
WebkitTapHighlightColor: "transparent",
|
|
1332
|
-
outline: "none",
|
|
1333
|
-
border: 0
|
|
953
|
+
"--cursor": cursor
|
|
1334
954
|
}), [ cursor ]), variantKey = toggle ? "lineOn" : "line", iconVariant = STATIC_ICON_REGISTRY.get(name), shape = null !== (_a = null == iconVariant ? void 0 : iconVariant[variantKey]) && void 0 !== _a ? _a : null == iconVariant ? void 0 : iconVariant.line;
|
|
1335
955
|
return shape ? jsxs("svg", Object.assign({
|
|
1336
956
|
id: svgId,
|
|
1337
|
-
className: className
|
|
957
|
+
className: `${css_icon} ${className}`,
|
|
1338
958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1339
959
|
width: size,
|
|
1340
960
|
height: size,
|
|
@@ -1364,13 +984,12 @@ Icon.displayName = "Icon", function(IconNames) {
|
|
|
1364
984
|
IconNames.people = "people", IconNames.wallet = "wallet", IconNames.invoice = "invoice",
|
|
1365
985
|
IconNames.payment = "payment", IconNames.heart = "heart", IconNames.clock = "clock",
|
|
1366
986
|
IconNames.book = "book", IconNames.search = "search", IconNames.filter = "filter",
|
|
1367
|
-
IconNames.more = "more", IconNames.
|
|
1368
|
-
IconNames.
|
|
1369
|
-
IconNames.
|
|
1370
|
-
IconNames.
|
|
987
|
+
IconNames.more = "more", IconNames.checkbox = "checkbox", IconNames.checkboxChecked = "checkbox checked",
|
|
988
|
+
IconNames.checkboxPartial = "checkbox partial", IconNames.chevronDown = "chevron down",
|
|
989
|
+
IconNames.chevronUp = "chevron up", IconNames.plus = "plus", IconNames.plusCircle = "plus circle",
|
|
990
|
+
IconNames.x = "x", IconNames.upload = "upload", IconNames.download = "download",
|
|
1371
991
|
IconNames.share = "share", IconNames.checkCircle = "check circle", IconNames.circle = "circle",
|
|
1372
|
-
IconNames.circleFill = "circle fill", IconNames.person = "person", IconNames.
|
|
1373
|
-
IconNames.commandKey = "cmd key", IconNames.gKey = "g key", IconNames.attach = "attach",
|
|
992
|
+
IconNames.circleFill = "circle fill", IconNames.person = "person", IconNames.attach = "attach",
|
|
1374
993
|
IconNames.menu = "menu", IconNames.help = "help", IconNames.blank = "blank", IconNames.check = "check",
|
|
1375
994
|
IconNames.message = "message", IconNames.info = "info", IconNames.alert = "alert",
|
|
1376
995
|
IconNames.notification = "notification", IconNames.arrowUp = "arrow up", IconNames.arrowLeft = "arrow left",
|
|
@@ -1379,17 +998,13 @@ Icon.displayName = "Icon", function(IconNames) {
|
|
|
1379
998
|
IconNames.dollar = "dollar", IconNames.apple = "apple", IconNames.view = "view",
|
|
1380
999
|
IconNames.openCircle = "open circle", IconNames.expanded = "expanded", IconNames.concise = "concise",
|
|
1381
1000
|
IconNames.moderate = "moderate", IconNames.mail = "mail", IconNames.textDocument = "text document",
|
|
1382
|
-
IconNames.
|
|
1383
|
-
IconNames.
|
|
1384
|
-
IconNames.
|
|
1385
|
-
IconNames.
|
|
1386
|
-
IconNames.
|
|
1387
|
-
IconNames.
|
|
1388
|
-
IconNames.
|
|
1389
|
-
IconNames.bold = "bold", IconNames.italic = "italic", IconNames.underline = "underline",
|
|
1390
|
-
IconNames.strike = "strike", IconNames.bulletList = "bullet list", IconNames.numberedList = "numbered list",
|
|
1391
|
-
IconNames.sink = "sink", IconNames.lift = "lift", IconNames.code = "code", IconNames.taskList = "task list",
|
|
1392
|
-
IconNames.highlight = "highlight";
|
|
1001
|
+
IconNames.edit = "edit", IconNames.characterBeam = "character beam", IconNames.undo = "undo",
|
|
1002
|
+
IconNames.chat = "chat", IconNames.exclamation = "exclamation", IconNames.chart = "chart",
|
|
1003
|
+
IconNames.lightBulb = "light bulb", IconNames.settings = "settings", IconNames.documentEditor = "document editor",
|
|
1004
|
+
IconNames.chartArrow = "chart arrow", IconNames.focus = "focus", IconNames.briefcase = "briefcase",
|
|
1005
|
+
IconNames.globeLocation = "globe location", IconNames.barChart = "bar chart", IconNames.fontSmaller = "font smaller",
|
|
1006
|
+
IconNames.fontLarger = "font larger", IconNames.copy = "copy", IconNames.stop = "stop",
|
|
1007
|
+
IconNames.like = "like", IconNames.unlike = "unlike", IconNames.highlight = "highlight";
|
|
1393
1008
|
}(IconNames || (IconNames = {}));
|
|
1394
1009
|
|
|
1395
1010
|
export { Icon as I, IconNames as a };
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { useCallback, useEffect } from "react";
|
|
2
2
|
|
|
3
|
+
function normalizeShortcutKey(key) {
|
|
4
|
+
return key.length, key.toLowerCase();
|
|
5
|
+
}
|
|
6
|
+
|
|
3
7
|
function useKeyboardShortcuts(shortcuts, shortCutHandler, isAppleDevice) {
|
|
4
8
|
const isEditable = useCallback(e => {
|
|
5
9
|
const target = e.target;
|
|
@@ -10,8 +14,8 @@ function useKeyboardShortcuts(shortcuts, shortCutHandler, isAppleDevice) {
|
|
|
10
14
|
return !1;
|
|
11
15
|
}, []), handleKeyPress = useCallback(e => {
|
|
12
16
|
if (isEditable(e)) return;
|
|
13
|
-
const isMeta = isAppleDevice && e.metaKey || !isAppleDevice && e.ctrlKey;
|
|
14
|
-
for (const s of shortcuts) if ((
|
|
17
|
+
const isMeta = isAppleDevice && e.metaKey || !isAppleDevice && e.ctrlKey, normalizedEventKey = normalizeShortcutKey(e.key);
|
|
18
|
+
for (const s of shortcuts) if (Boolean(s.metaPressed) === isMeta && Boolean(s.shiftPressed) === e.shiftKey && Boolean(s.altPressed) === e.altKey && normalizeShortcutKey(s.key) === normalizedEventKey) {
|
|
15
19
|
e.preventDefault(), shortCutHandler(s);
|
|
16
20
|
break;
|
|
17
21
|
}
|