@alxgrn/telefrag-ui 0.0.28 → 0.0.30

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.
@@ -8,12 +8,12 @@ import '../../../assets/PageHeader.css';import '../../../assets/Content.css';imp
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import T from "../time/Time.js";
11
- import { Files as g } from "../files/Files.js";
12
- import { Image as C } from "../image/Image.js";
13
- import E from "../input/Input.js";
11
+ import { Files as C } from "../files/Files.js";
12
+ import { Image as E } from "../image/Image.js";
13
+ import I from "../input/Input.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
- import { RadioList as I } from "../radio/RadioList.js";
16
+ import { RadioList as g } from "../radio/RadioList.js";
17
17
  import { Select as D } from "../select/Select.js";
18
18
  import V from "../hidden/Hidden.js";
19
19
  import B from "../checkbox/Checkbox.js";
@@ -35,7 +35,7 @@ import l from "../../ui/block/Block.js";
35
35
  /* empty css */
36
36
  /* empty css */
37
37
  /* empty css */
38
- const Ce = ({
38
+ const Ee = ({
39
39
  info: d,
40
40
  error: k,
41
41
  success: b,
@@ -57,7 +57,7 @@ const Ce = ({
57
57
  const e = o.props;
58
58
  if (e.required)
59
59
  switch (o.type) {
60
- case E:
60
+ case I:
61
61
  e.value.trim() || i(!0);
62
62
  break;
63
63
  case B:
@@ -69,17 +69,17 @@ const Ce = ({
69
69
  e.options.findIndex((p) => p.value === a) < 0 && i(!0);
70
70
  }
71
71
  break;
72
- case I:
72
+ case g:
73
73
  {
74
74
  const a = e.value;
75
75
  e.options.findIndex((p) => p.value === a) < 0 && i(!0);
76
76
  }
77
77
  break;
78
- case g:
78
+ case C:
79
79
  e.files.length < 1 && i(!0);
80
80
  break;
81
- case C:
82
- e.image || i(!0);
81
+ case E:
82
+ e.value || i(!0);
83
83
  break;
84
84
  case x:
85
85
  R(e.value.trim()) || i(!0);
@@ -118,21 +118,21 @@ const Ce = ({
118
118
  switch (s.type) {
119
119
  case x:
120
120
  case T:
121
- case E:
121
+ case I:
122
122
  o(t.id, t.value.trim());
123
123
  break;
124
124
  case B:
125
125
  o(t.id, t.checked ? t.value : void 0);
126
126
  break;
127
127
  case D:
128
- case I:
128
+ case g:
129
129
  o(t.id, t.value);
130
130
  break;
131
- case g:
131
+ case C:
132
132
  o(t.id, t.files);
133
133
  break;
134
- case C:
135
- o(t.id, t.image);
134
+ case E:
135
+ o(t.id, t.value);
136
136
  break;
137
137
  case V:
138
138
  o(t.id, t.value);
@@ -162,6 +162,6 @@ const Ce = ({
162
162
  ] });
163
163
  };
164
164
  export {
165
- Ce as Form,
166
- Ce as default
165
+ Ee as Form,
166
+ Ee as default
167
167
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React, FC } from 'react';
2
2
  export interface FilesProps {
3
3
  id: string;
4
- image?: File;
4
+ value?: File;
5
5
  text?: React.ReactNode;
6
6
  label?: string | null;
7
7
  placeholder?: string | null;
@@ -1,12 +1,14 @@
1
- import { jsx as o, jsxs as $ } from "react/jsx-runtime";
2
- import { useState as f, useEffect as u } from "react";
3
- import k from "../label/Label.js";
1
+ import { jsx as r, jsxs as F, Fragment as C } from "react/jsx-runtime";
2
+ import { useState as n, useEffect as d } from "react";
3
+ import E from "../label/Label.js";
4
4
  import '../../../assets/PageHeader.css';import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/Footer.css';import '../../../assets/Header.css';import '../../../assets/Editable.css';import '../../../assets/Sidebar.css';import '../../../assets/Message.css';import '../../../assets/Modal.css';import '../../../assets/Overlay.css';import '../../../assets/Panel.css';import '../../../assets/Block.css';import '../../../assets/Select.css';import '../../../assets/RadioLabel.css';import '../../../assets/Input.css';import '../../../assets/Files.css';import '../../../assets/Fieldset.css';import '../../../assets/RequiredMark.css';import '../../../assets/Time.css';import '../../../assets/Menu.css';import '../../../assets/FormCol.css';import '../../../assets/FormRow.css';import '../../../assets/Button.css';import '../../../assets/DatePicker.css';import '../../../assets/Popup.css';import '../../../assets/Page.css';/* empty css */
5
5
  import "react-children-utilities";
6
6
  import "react-transition-group";
7
7
  import "react-dom";
8
8
  /* empty css */
9
- import E from "../../icons/Trash.js";
9
+ import L from "../../icons/Clock.js";
10
+ import N from "../../icons/Image.js";
11
+ import j from "../../icons/Trash.js";
10
12
  /* empty css */
11
13
  /* empty css */
12
14
  /* empty css */
@@ -31,73 +33,73 @@ import E from "../../icons/Trash.js";
31
33
  /* empty css */
32
34
  /* empty css */
33
35
  /* empty css */
34
- const mr = ({
35
- id: d,
36
- image: t,
37
- text: s,
38
- onChange: a,
39
- accept: v,
40
- top: g,
41
- bottom: h,
42
- label: I,
36
+ const cr = ({
37
+ id: u,
38
+ value: o,
39
+ text: l,
40
+ onChange: f,
41
+ accept: h,
42
+ top: I,
43
+ bottom: b,
44
+ label: R,
43
45
  placeholder: i,
44
- required: e = !1,
45
- disabled: m = !1
46
+ required: m = !1,
47
+ disabled: e = !1
46
48
  }) => {
47
- const [l, n] = f(!1), [c, p] = f(void 0);
48
- u(() => {
49
- n(!!(e && !t));
50
- }, [t, e]), u(() => {
51
- if (p(void 0), t) {
52
- const r = new FileReader();
53
- r.onload = function() {
54
- p({ backgroundImage: `url(${this.result}` });
55
- }, r.readAsDataURL(t);
49
+ const [c, g] = n(!1), [s, p] = n(void 0), [$, a] = n(!1);
50
+ d(() => {
51
+ g(!!(m && !o));
52
+ }, [o, m]), d(() => {
53
+ if (p(void 0), a(!1), o) {
54
+ const t = new FileReader();
55
+ a(!0), t.onload = function() {
56
+ p({ backgroundImage: `url(${this.result}` }), a(!1);
57
+ }, t.readAsDataURL(o);
56
58
  return;
57
59
  }
58
60
  i && p({ backgroundImage: `url(${i}` });
59
- }, [i, t]);
60
- const b = (r) => {
61
- const R = r.target, y = Array.from(R.files);
62
- a(y[0]);
61
+ }, [i, o]);
62
+ const k = (t) => {
63
+ const v = t.target, y = Array.from(v.files);
64
+ f(y[0]);
63
65
  };
64
- return /* @__PURE__ */ o("div", { className: "FormItem", children: /* @__PURE__ */ o(
65
- k,
66
+ return /* @__PURE__ */ r("div", { className: "FormItem", children: /* @__PURE__ */ r(
67
+ E,
66
68
  {
67
- top: g,
68
- bottom: h,
69
- label: I,
70
- required: e,
71
- disabled: m,
72
- error: l,
69
+ top: I,
70
+ bottom: b,
71
+ label: R,
72
+ required: m,
73
+ disabled: e,
74
+ error: c,
73
75
  passive: !0,
74
- children: /* @__PURE__ */ $(
76
+ children: /* @__PURE__ */ r(
75
77
  "div",
76
78
  {
77
- className: `ImageLabel ${m ? "Disabled" : ""} ${l ? "Error" : ""}`,
78
- style: c,
79
- children: [
80
- s && !c && s,
81
- t && /* @__PURE__ */ o("div", { className: "ImageRemove", onClick: (r) => {
82
- r.stopPropagation(), a();
83
- }, children: /* @__PURE__ */ o(E, {}) }),
84
- /* @__PURE__ */ o("label", { children: /* @__PURE__ */ o(
79
+ className: `ImageLabel ${e ? "Disabled" : ""} ${c ? "Error" : ""}`,
80
+ style: s,
81
+ children: $ ? /* @__PURE__ */ r(L, {}) : /* @__PURE__ */ F(C, { children: [
82
+ l ? !s && l : !s && /* @__PURE__ */ r(N, {}),
83
+ o && /* @__PURE__ */ r("div", { className: "ImageRemove", onClick: (t) => {
84
+ t.stopPropagation(), f();
85
+ }, children: /* @__PURE__ */ r(j, {}) }),
86
+ /* @__PURE__ */ r("label", { children: /* @__PURE__ */ r(
85
87
  "input",
86
88
  {
87
- id: d,
89
+ id: u,
88
90
  type: "file",
89
- accept: v ?? "image/*",
90
- onChange: (r) => b(r),
91
- disabled: !!m
91
+ accept: h ?? "image/*",
92
+ onChange: (t) => k(t),
93
+ disabled: !!e
92
94
  }
93
95
  ) })
94
- ]
96
+ ] })
95
97
  }
96
98
  )
97
99
  }
98
100
  ) });
99
101
  };
100
102
  export {
101
- mr as Image,
102
- mr as default
103
+ cr as Image,
104
+ cr as default
103
105
  };
@@ -0,0 +1,2 @@
1
+ declare const Bold: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Bold;
@@ -0,0 +1,19 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const t = () => /* @__PURE__ */ o(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: /* @__PURE__ */ o("path", { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" })
15
+ }
16
+ );
17
+ export {
18
+ t as default
19
+ };
@@ -0,0 +1,2 @@
1
+ declare const Clock: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Clock;
@@ -0,0 +1,22 @@
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ const t = () => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
16
+ /* @__PURE__ */ o("polyline", { points: "12 6 12 12 16 14" })
17
+ ]
18
+ }
19
+ );
20
+ export {
21
+ t as default
22
+ };
@@ -0,0 +1,2 @@
1
+ declare const Code: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Code;
@@ -0,0 +1,22 @@
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ const n = () => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ o("polyline", { points: "16 18 22 12 16 6" }),
16
+ /* @__PURE__ */ o("polyline", { points: "8 6 2 12 8 18" })
17
+ ]
18
+ }
19
+ );
20
+ export {
21
+ n as default
22
+ };
@@ -0,0 +1,2 @@
1
+ declare const CodeXml: () => import("react/jsx-runtime").JSX.Element;
2
+ export default CodeXml;
@@ -0,0 +1,23 @@
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ const r = () => /* @__PURE__ */ t(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ o("path", { d: "m18 16 4-4-4-4" }),
16
+ /* @__PURE__ */ o("path", { d: "m6 8-4 4 4 4" }),
17
+ /* @__PURE__ */ o("path", { d: "m14.5 4-5 16" })
18
+ ]
19
+ }
20
+ );
21
+ export {
22
+ r as default
23
+ };
@@ -0,0 +1,2 @@
1
+ declare const Italic: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Italic;
@@ -0,0 +1,23 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ const i = () => /* @__PURE__ */ o(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ e("line", { x1: "19", x2: "10", y1: "4", y2: "4" }),
16
+ /* @__PURE__ */ e("line", { x1: "14", x2: "5", y1: "20", y2: "20" }),
17
+ /* @__PURE__ */ e("line", { x1: "15", x2: "9", y1: "4", y2: "20" })
18
+ ]
19
+ }
20
+ );
21
+ export {
22
+ i as default
23
+ };
@@ -0,0 +1,2 @@
1
+ declare const Redo: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Redo;
@@ -0,0 +1,22 @@
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ const r = () => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ o("path", { d: "m15 14 5-5-5-5" }),
16
+ /* @__PURE__ */ o("path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" })
17
+ ]
18
+ }
19
+ );
20
+ export {
21
+ r as default
22
+ };
@@ -0,0 +1,2 @@
1
+ declare const Strikethrough: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Strikethrough;
@@ -0,0 +1,23 @@
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ const r = () => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ t("path", { d: "M16 4H9a3 3 0 0 0-2.83 4" }),
16
+ /* @__PURE__ */ t("path", { d: "M14 12a4 4 0 0 1 0 8H6" }),
17
+ /* @__PURE__ */ t("line", { x1: "4", x2: "20", y1: "12", y2: "12" })
18
+ ]
19
+ }
20
+ );
21
+ export {
22
+ r as default
23
+ };
@@ -0,0 +1,2 @@
1
+ declare const Underline: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Underline;
@@ -0,0 +1,22 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ const t = () => /* @__PURE__ */ o(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ e("path", { d: "M6 4v6a6 6 0 0 0 12 0V4" }),
16
+ /* @__PURE__ */ e("line", { x1: "4", x2: "20", y1: "20", y2: "20" })
17
+ ]
18
+ }
19
+ );
20
+ export {
21
+ t as default
22
+ };
@@ -0,0 +1,2 @@
1
+ declare const Undo: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Undo;
@@ -0,0 +1,22 @@
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ const r = () => /* @__PURE__ */ t(
3
+ "svg",
4
+ {
5
+ stroke: "currentColor",
6
+ fill: "none",
7
+ strokeWidth: "2",
8
+ viewBox: "0 0 24 24",
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round",
11
+ height: "1em",
12
+ width: "1em",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ children: [
15
+ /* @__PURE__ */ o("path", { d: "M9 14 4 9l5-5" }),
16
+ /* @__PURE__ */ o("path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" })
17
+ ]
18
+ }
19
+ );
20
+ export {
21
+ r as default
22
+ };
@@ -1,18 +1,27 @@
1
1
  import { default as Asterisk } from './Asterisk';
2
+ import { default as Bold } from './Bold';
2
3
  import { default as Book } from './Book';
3
4
  import { default as Calendar } from './Calendar';
4
5
  import { default as ChevronLeft } from './ChevronLeft';
5
6
  import { default as ChevronRight } from './ChevronRight';
7
+ import { default as Clock } from './Clock';
8
+ import { default as Code } from './Code';
9
+ import { default as CodeXml } from './CodeXml';
6
10
  import { default as Feather } from './Feather';
7
11
  import { default as Files } from './Files';
8
12
  import { default as Forum } from './Forum';
9
13
  import { default as Gamepad } from './Gamepad';
10
14
  import { default as Image } from './Image';
15
+ import { default as Italic } from './Italic';
11
16
  import { default as Menu } from './Menu';
12
17
  import { default as Plus } from './Plus';
18
+ import { default as Redo } from './Redo';
13
19
  import { default as Rocket } from './Rocket';
14
20
  import { default as ShowSidebar } from './ShowSidebar';
21
+ import { default as Strikethrough } from './Strikethrough';
15
22
  import { default as TelefragLogo } from './TelefragLogo';
16
23
  import { default as Trash } from './Trash';
24
+ import { default as Underline } from './Underline';
25
+ import { default as Undo } from './Undo';
17
26
  import { default as Users } from './Users';
18
- export { Asterisk, Book, Calendar, ChevronLeft, ChevronRight, Feather, Files, Forum, Gamepad, Image, Menu, Plus, Rocket, ShowSidebar, TelefragLogo, Trash, Users, };
27
+ export { Asterisk, Bold, Book, Calendar, ChevronLeft, ChevronRight, Clock, Code, CodeXml, Feather, Files, Forum, Gamepad, Image, Italic, Menu, Plus, Redo, Rocket, ShowSidebar, Strikethrough, TelefragLogo, Trash, Underline, Undo, Users, };
@@ -1,36 +1,54 @@
1
- import { default as a } from "./Asterisk.js";
2
- import { default as t } from "./Book.js";
1
+ import { default as r } from "./Asterisk.js";
2
+ import { default as t } from "./Bold.js";
3
+ import { default as d } from "./Book.js";
3
4
  import { default as s } from "./Calendar.js";
4
- import { default as d } from "./ChevronLeft.js";
5
- import { default as u } from "./ChevronRight.js";
6
- import { default as x } from "./Feather.js";
7
- import { default as g } from "./Files.js";
8
- import { default as n } from "./Forum.js";
9
- import { default as C } from "./Gamepad.js";
10
- import { default as v } from "./Image.js";
11
- import { default as R } from "./Menu.js";
12
- import { default as T } from "./Plus.js";
13
- import { default as c } from "./Rocket.js";
14
- import { default as A } from "./ShowSidebar.js";
15
- import { default as G } from "./TelefragLogo.js";
16
- import { default as M } from "./Trash.js";
17
- import { default as U } from "./Users.js";
5
+ import { default as u } from "./ChevronLeft.js";
6
+ import { default as x } from "./ChevronRight.js";
7
+ import { default as i } from "./Clock.js";
8
+ import { default as C } from "./Code.js";
9
+ import { default as k } from "./CodeXml.js";
10
+ import { default as F } from "./Feather.js";
11
+ import { default as S } from "./Files.js";
12
+ import { default as v } from "./Forum.js";
13
+ import { default as I } from "./Gamepad.js";
14
+ import { default as T } from "./Image.js";
15
+ import { default as w } from "./Italic.js";
16
+ import { default as G } from "./Menu.js";
17
+ import { default as P } from "./Plus.js";
18
+ import { default as j } from "./Redo.js";
19
+ import { default as y } from "./Rocket.js";
20
+ import { default as D } from "./ShowSidebar.js";
21
+ import { default as H } from "./Strikethrough.js";
22
+ import { default as K } from "./TelefragLogo.js";
23
+ import { default as O } from "./Trash.js";
24
+ import { default as V } from "./Underline.js";
25
+ import { default as Y } from "./Undo.js";
26
+ import { default as _ } from "./Users.js";
18
27
  export {
19
- a as Asterisk,
20
- t as Book,
28
+ r as Asterisk,
29
+ t as Bold,
30
+ d as Book,
21
31
  s as Calendar,
22
- d as ChevronLeft,
23
- u as ChevronRight,
24
- x as Feather,
25
- g as Files,
26
- n as Forum,
27
- C as Gamepad,
28
- v as Image,
29
- R as Menu,
30
- T as Plus,
31
- c as Rocket,
32
- A as ShowSidebar,
33
- G as TelefragLogo,
34
- M as Trash,
35
- U as Users
32
+ u as ChevronLeft,
33
+ x as ChevronRight,
34
+ i as Clock,
35
+ C as Code,
36
+ k as CodeXml,
37
+ F as Feather,
38
+ S as Files,
39
+ v as Forum,
40
+ I as Gamepad,
41
+ T as Image,
42
+ w as Italic,
43
+ G as Menu,
44
+ P as Plus,
45
+ j as Redo,
46
+ y as Rocket,
47
+ D as ShowSidebar,
48
+ H as Strikethrough,
49
+ K as TelefragLogo,
50
+ O as Trash,
51
+ V as Underline,
52
+ Y as Undo,
53
+ _ as Users
36
54
  };
@@ -0,0 +1,58 @@
1
+ import o from "./components/icons/Asterisk.js";
2
+ import r from "./components/icons/Bold.js";
3
+ import m from "./components/icons/Book.js";
4
+ import t from "./components/icons/Calendar.js";
5
+ import i from "./components/icons/ChevronLeft.js";
6
+ import e from "./components/icons/ChevronRight.js";
7
+ import f from "./components/icons/Clock.js";
8
+ import p from "./components/icons/Code.js";
9
+ import l from "./components/icons/CodeXml.js";
10
+ import a from "./components/icons/Feather.js";
11
+ import d from "./components/icons/Files.js";
12
+ import n from "./components/icons/Forum.js";
13
+ import s from "./components/icons/Gamepad.js";
14
+ import h from "./components/icons/Image.js";
15
+ import g from "./components/icons/Italic.js";
16
+ import u from "./components/icons/Menu.js";
17
+ import c from "./components/icons/Plus.js";
18
+ import C from "./components/icons/Redo.js";
19
+ import k from "./components/icons/Rocket.js";
20
+ import S from "./components/icons/ShowSidebar.js";
21
+ import b from "./components/icons/Strikethrough.js";
22
+ import _ from "./components/icons/TelefragLogo.js";
23
+ import v from "./components/icons/Trash.js";
24
+ import F from "./components/icons/Underline.js";
25
+ import R from "./components/icons/Undo.js";
26
+ import T from "./components/icons/Users.js";
27
+ const Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
+ __proto__: null,
29
+ Asterisk: o,
30
+ Bold: r,
31
+ Book: m,
32
+ Calendar: t,
33
+ ChevronLeft: i,
34
+ ChevronRight: e,
35
+ Clock: f,
36
+ Code: p,
37
+ CodeXml: l,
38
+ Feather: a,
39
+ Files: d,
40
+ Forum: n,
41
+ Gamepad: s,
42
+ Image: h,
43
+ Italic: g,
44
+ Menu: u,
45
+ Plus: c,
46
+ Redo: C,
47
+ Rocket: k,
48
+ ShowSidebar: S,
49
+ Strikethrough: b,
50
+ TelefragLogo: _,
51
+ Trash: v,
52
+ Underline: F,
53
+ Undo: R,
54
+ Users: T
55
+ }, Symbol.toStringTag, { value: "Module" }));
56
+ export {
57
+ Z as i
58
+ };
package/dist/main.js CHANGED
@@ -32,7 +32,7 @@ import { default as po } from "./components/ui/editable/Editable.js";
32
32
  import { default as lo } from "./components/layout/Layout.js";
33
33
  import { default as uo } from "./components/layout/Page.js";
34
34
  import { default as no } from "./components/layout/PageHeader.js";
35
- import { i as co } from "./index-BFCi4-Mt.js";
35
+ import { i as co } from "./index-j5nTzFZ2.js";
36
36
  export {
37
37
  $ as Alert,
38
38
  q as Block,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alxgrn/telefrag-ui",
3
3
  "description": "UI library for The Daily Telefrag project",
4
- "version": "0.0.28",
4
+ "version": "0.0.30",
5
5
  "private": false,
6
6
  "author": "Alexander Fedorov <alex@molner.ru>",
7
7
  "license": "Apache-2.0",
@@ -1,40 +0,0 @@
1
- import o from "./components/icons/Asterisk.js";
2
- import r from "./components/icons/Book.js";
3
- import m from "./components/icons/Calendar.js";
4
- import t from "./components/icons/ChevronLeft.js";
5
- import e from "./components/icons/ChevronRight.js";
6
- import i from "./components/icons/Feather.js";
7
- import f from "./components/icons/Files.js";
8
- import p from "./components/icons/Forum.js";
9
- import a from "./components/icons/Gamepad.js";
10
- import l from "./components/icons/Image.js";
11
- import n from "./components/icons/Menu.js";
12
- import s from "./components/icons/Plus.js";
13
- import d from "./components/icons/Rocket.js";
14
- import g from "./components/icons/ShowSidebar.js";
15
- import h from "./components/icons/TelefragLogo.js";
16
- import u from "./components/icons/Trash.js";
17
- import b from "./components/icons/Users.js";
18
- const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
- __proto__: null,
20
- Asterisk: o,
21
- Book: r,
22
- Calendar: m,
23
- ChevronLeft: t,
24
- ChevronRight: e,
25
- Feather: i,
26
- Files: f,
27
- Forum: p,
28
- Gamepad: a,
29
- Image: l,
30
- Menu: n,
31
- Plus: s,
32
- Rocket: d,
33
- ShowSidebar: g,
34
- TelefragLogo: h,
35
- Trash: u,
36
- Users: b
37
- }, Symbol.toStringTag, { value: "Module" }));
38
- export {
39
- z as i
40
- };