@xenosystem/blocks 0.13.7 → 0.13.9

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.
@@ -1,107 +0,0 @@
1
- import {
2
- fromElement
3
- } from "./chunk-K7YLLV2W.js";
4
-
5
- // src/time/transport/react/icons.tsx
6
- import Pause from "@xenosystem/elements/elements/pause";
7
- import Play from "@xenosystem/elements/elements/play";
8
- import Stop from "@xenosystem/elements/elements/stop";
9
- import { jsx, jsxs } from "react/jsx-runtime";
10
- var base = (size) => ({
11
- width: size,
12
- height: size,
13
- viewBox: "0 0 24 24",
14
- fill: "none",
15
- stroke: "currentColor",
16
- strokeWidth: 1.5,
17
- strokeLinecap: "round",
18
- strokeLinejoin: "round",
19
- "aria-hidden": true
20
- });
21
- var PlayIcon = fromElement(Play, 12);
22
- var PauseIcon = fromElement(Pause, 12);
23
- var StopIcon = fromElement(Stop);
24
- function RecordIcon({ size = 11 }) {
25
- return /* @__PURE__ */ jsx("svg", { ...base(size), fill: "currentColor", stroke: "none", children: /* @__PURE__ */ jsx("rect", { x: "6", y: "6", width: "12", height: "12", rx: "3" }) });
26
- }
27
- function StartIcon({ size = 11 }) {
28
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
29
- /* @__PURE__ */ jsx("path", { d: "M19 20 9 12l10-8z" }),
30
- /* @__PURE__ */ jsx("path", { d: "M5 19V5" })
31
- ] });
32
- }
33
- function EndIcon({ size = 11 }) {
34
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
35
- /* @__PURE__ */ jsx("path", { d: "m5 4 10 8-10 8z" }),
36
- /* @__PURE__ */ jsx("path", { d: "M19 5v14" })
37
- ] });
38
- }
39
- function StepBackIcon({ size = 11 }) {
40
- return /* @__PURE__ */ jsx("svg", { ...base(size), children: /* @__PURE__ */ jsx("path", { d: "M15 18 9 12l6-6" }) });
41
- }
42
- function StepForwardIcon({ size = 11 }) {
43
- return /* @__PURE__ */ jsx("svg", { ...base(size), children: /* @__PURE__ */ jsx("path", { d: "m9 6 6 6-6 6" }) });
44
- }
45
- function ShuttleLeftIcon({ size = 11 }) {
46
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
47
- /* @__PURE__ */ jsx("path", { d: "M11 19 2 12l9-7z" }),
48
- /* @__PURE__ */ jsx("path", { d: "M22 19l-9-7 9-7z" })
49
- ] });
50
- }
51
- function ShuttleRightIcon({ size = 11 }) {
52
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
53
- /* @__PURE__ */ jsx("path", { d: "m13 19 9-7-9-7z" }),
54
- /* @__PURE__ */ jsx("path", { d: "m2 19 9-7-9-7z" })
55
- ] });
56
- }
57
- function LoopIcon({ size = 11 }) {
58
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
59
- /* @__PURE__ */ jsx("path", { d: "m17 2 4 4-4 4" }),
60
- /* @__PURE__ */ jsx("path", { d: "M3 11v-1a4 4 0 0 1 4-4h14" }),
61
- /* @__PURE__ */ jsx("path", { d: "m7 22-4-4 4-4" }),
62
- /* @__PURE__ */ jsx("path", { d: "M21 13v1a4 4 0 0 1-4 4H3" })
63
- ] });
64
- }
65
- function MetronomeIcon({ size = 11 }) {
66
- return /* @__PURE__ */ jsxs("svg", { ...base(size), children: [
67
- /* @__PURE__ */ jsx("path", { d: "M9 3h6l4 18H5z" }),
68
- /* @__PURE__ */ jsx("path", { d: "m12 18 4-11" })
69
- ] });
70
- }
71
- function PlayPauseIcon({ playing, size }) {
72
- return playing ? /* @__PURE__ */ jsx(PauseIcon, { size }) : /* @__PURE__ */ jsx(PlayIcon, { size });
73
- }
74
- var TRANSPORT_ICONS = {
75
- "transport/PlayIcon": PlayIcon,
76
- "transport/PauseIcon": PauseIcon,
77
- "transport/PlayPauseIcon": PlayPauseIcon,
78
- "transport/StopIcon": StopIcon,
79
- "transport/RecordIcon": RecordIcon,
80
- "transport/StartIcon": StartIcon,
81
- "transport/EndIcon": EndIcon,
82
- "transport/StepBackIcon": StepBackIcon,
83
- "transport/StepForwardIcon": StepForwardIcon,
84
- "transport/ShuttleLeftIcon": ShuttleLeftIcon,
85
- "transport/ShuttleRightIcon": ShuttleRightIcon,
86
- "transport/LoopIcon": LoopIcon,
87
- "transport/MetronomeIcon": MetronomeIcon
88
- };
89
- var TRANSPORT_RUNTIME_UNITS = [];
90
-
91
- export {
92
- PlayIcon,
93
- PauseIcon,
94
- StopIcon,
95
- RecordIcon,
96
- StartIcon,
97
- EndIcon,
98
- StepBackIcon,
99
- StepForwardIcon,
100
- ShuttleLeftIcon,
101
- ShuttleRightIcon,
102
- LoopIcon,
103
- MetronomeIcon,
104
- PlayPauseIcon,
105
- TRANSPORT_ICONS,
106
- TRANSPORT_RUNTIME_UNITS
107
- };