@situaction/traq-ui-ste 1.1.29 → 1.1.31

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,79 +1,171 @@
1
- import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
- import { useState as f, useRef as N, useEffect as w } from "react";
3
- import { Button as _ } from "../button/Button.js";
4
- import '../../styles/Size.css';import '../../styles/index.css';import '../../styles/Select.css';/* empty css */
5
- import { IconButton as S } from "../icon-button/IconButton.js";
6
- import { Icon as i } from "../icon/Icon.js";
7
- import { Modal as g } from "../modal/Modal.js";
1
+ import { jsxs as K, jsx as r } from "react/jsx-runtime";
2
+ import { useState as k, useRef as h, useEffect as w } from "react";
3
+ import { Button as E } from "../button/Button.js";
4
+ import { IconButton as I } from "../icon-button/IconButton.js";
5
+ import { Icon as p } from "../icon/Icon.js";
6
+ import { Modal as M } from "../modal/Modal.js";
8
7
  import "../theme/ThemeContext.js";
9
- /* empty css */
10
- const R = "_selectContainer_1o5wx_54", y = "_selected_1o5wx_57", z = "_children_1o5wx_61", B = "_active_1o5wx_78", F = "_selectList_1o5wx_82", j = "_modal_1o5wx_91", U = "_dropdownFadeIn_1o5wx_1", $ = "_itemLabel_1o5wx_98", c = {
11
- selectContainer: R,
8
+ import '../../styles/Size.css';import '../../styles/Select.css';/* empty css */
9
+ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_1o5wx_61", D = "_active_1o5wx_78", G = "_selectList_1o5wx_82", H = "_modal_1o5wx_91", J = "_dropdownFadeIn_1o5wx_1", Q = "_itemLabel_1o5wx_98", m = {
10
+ selectContainer: O,
11
+ selected: q,
12
+ children: A,
13
+ active: D,
14
+ selectList: G,
15
+ modal: H,
16
+ dropdownFadeIn: J,
17
+ itemLabel: Q
18
+ }, re = ({
12
19
  selected: y,
13
- children: z,
14
- active: B,
15
- selectList: F,
16
- modal: j,
17
- dropdownFadeIn: U,
18
- itemLabel: $
19
- }, K = ({ selected: a, size: s = "m", listItem: h, modeDisplay: r = "all", onSelect: p, positionOverride: d }) => {
20
- const [n, l] = f(!1), C = N(null), [x, L] = f({ top: "calc(100% + 6px)" }), v = a ?? h[0], [t, b] = f(v);
20
+ size: _ = "m",
21
+ listItem: a,
22
+ modeDisplay: x = "all",
23
+ onSelect: S,
24
+ positionOverride: g,
25
+ placeholder: N = "Sélectionner",
26
+ autoCloseCondition: W
27
+ }) => {
28
+ const [t, u] = k(!1), $ = h(null), [j, B] = k({
29
+ top: "calc(100% + 6px)",
30
+ left: "0px",
31
+ width: "100%"
32
+ }), [c, P] = k(y ?? null);
21
33
  w(() => {
22
- a && b(a);
23
- }, [a]), w(() => {
24
- d && L(d);
25
- }, [d]);
26
- const I = (e) => {
27
- b(e), l(!1), p && p(e);
28
- }, k = () => {
29
- const e = !!t.icon, m = !!t.label;
30
- return t.icon && r === "icon" && e ? /* @__PURE__ */ o(S, { mode: "tertiary", size: s ?? "m", onClick: () => l(!n), children: /* @__PURE__ */ o(i, { icon: t.icon }) }) : t.label && r === "text" && m ? /* @__PURE__ */ o(
31
- _,
34
+ P(y ?? null);
35
+ }, [y]), w(() => {
36
+ g && B(g);
37
+ }, [g]);
38
+ const U = (e) => {
39
+ P(e), u(!1), S && S(e);
40
+ }, V = () => {
41
+ const e = c == null ? void 0 : c.icon, o = (c == null ? void 0 : c.label) || N || "Sélectionner";
42
+ return x === "icon" && e ? /* @__PURE__ */ r(I, { ref: d, mode: "tertiary", size: _, onClick: () => u(!t), children: /* @__PURE__ */ r(p, { icon: c.icon }) }) : x === "text" ? /* @__PURE__ */ r(
43
+ E,
32
44
  {
45
+ ref: d,
33
46
  mode: "tertiary",
34
- label: t.label,
35
- childrenRight: /* @__PURE__ */ o(i, { icon: n ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
36
- size: s ?? "m",
37
- onClick: () => l(!n)
47
+ label: o,
48
+ childrenRight: /* @__PURE__ */ r(p, { icon: t ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
49
+ size: _,
50
+ onClick: () => u(!t)
38
51
  }
39
- ) : t.label && t.icon && r === "all" && (e || m) ? /* @__PURE__ */ o(
40
- _,
52
+ ) : x === "all" ? /* @__PURE__ */ r(
53
+ E,
41
54
  {
55
+ ref: d,
42
56
  mode: "tertiary",
43
- label: m ? t.label : "",
44
- size: s ?? "m",
45
- childrenLeft: e && /* @__PURE__ */ o(i, { icon: t.icon }),
46
- childrenRight: /* @__PURE__ */ o(i, { icon: n ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
47
- onClick: () => l(!n)
57
+ label: o,
58
+ size: _,
59
+ childrenLeft: e && /* @__PURE__ */ r(p, { icon: c.icon }),
60
+ childrenRight: /* @__PURE__ */ r(p, { icon: t ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
61
+ onClick: () => u(!t)
48
62
  }
49
- ) : /* @__PURE__ */ o(
50
- _,
63
+ ) : /* @__PURE__ */ r(
64
+ E,
51
65
  {
66
+ ref: d,
52
67
  mode: "tertiary",
53
- label: "Sélectionner",
54
- size: s ?? "m",
55
- onClick: () => l(!n)
68
+ label: N ?? "Sélectionner",
69
+ size: _,
70
+ onClick: () => u(!t)
56
71
  }
57
72
  );
73
+ }, R = h(null), b = h({}), [L, v] = k(""), f = h(null), F = h({}), T = (e) => {
74
+ if (!t) return;
75
+ const o = e.key.length === 1 ? e.key.toLowerCase() : "";
76
+ if (!o) return;
77
+ const i = L + o;
78
+ v(i);
79
+ const l = a.find((n) => {
80
+ var s;
81
+ return (s = n.label) == null ? void 0 : s.toLowerCase().startsWith(i);
82
+ });
83
+ if (l) {
84
+ const n = b.current[l.value];
85
+ n == null || n.scrollIntoView({ behavior: "smooth", block: "nearest" });
86
+ }
87
+ f.current && clearTimeout(f.current), f.current = setTimeout(() => {
88
+ v("");
89
+ }, 500);
58
90
  };
59
- return /* @__PURE__ */ u("div", { className: c.selectContainer, children: [
60
- k(),
61
- /* @__PURE__ */ o(
62
- g,
91
+ w(() => (t ? window.addEventListener("keydown", T) : (window.removeEventListener("keydown", T), v("")), () => {
92
+ window.removeEventListener("keydown", T);
93
+ }), [t, L, a]), w(() => {
94
+ const e = (o) => {
95
+ if (!t) return;
96
+ const i = o.key.length === 1 ? o.key.toLowerCase() : "";
97
+ if (!i) return;
98
+ const l = L + i;
99
+ v(l);
100
+ const n = a.find(
101
+ (s) => {
102
+ var C;
103
+ return (C = s.label) == null ? void 0 : C.toLowerCase().startsWith(l);
104
+ }
105
+ );
106
+ if (n && R.current && n.value in b.current && b.current[n.value]) {
107
+ const s = R.current, C = b.current[n.value];
108
+ s.scrollTo({
109
+ top: C.offsetTop - s.offsetTop,
110
+ behavior: "smooth"
111
+ });
112
+ }
113
+ f.current && clearTimeout(f.current), f.current = setTimeout(() => {
114
+ v("");
115
+ }, 700);
116
+ };
117
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
118
+ }, [t, a, L]), w(() => {
119
+ if (!t) return;
120
+ const e = (o) => {
121
+ const i = o.key.toLowerCase();
122
+ if (i.length === 1) {
123
+ const l = a.find(
124
+ (n) => {
125
+ var s;
126
+ return (s = n.label) == null ? void 0 : s.toLowerCase().startsWith(i);
127
+ }
128
+ );
129
+ if (l) {
130
+ const n = F.current[l.value];
131
+ n && n.scrollIntoView({ block: "start", behavior: "smooth" });
132
+ }
133
+ }
134
+ };
135
+ return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
136
+ }, [t, a]);
137
+ const d = h(null);
138
+ return w(() => {
139
+ if (t && d.current) {
140
+ const e = d.current.getBoundingClientRect().height;
141
+ B({
142
+ top: `${e + 6}px`,
143
+ left: "0px",
144
+ width: "100%"
145
+ });
146
+ }
147
+ }, [t]), /* @__PURE__ */ K("div", { className: m.selectContainer, children: [
148
+ V(),
149
+ /* @__PURE__ */ r(
150
+ M,
63
151
  {
64
- ref: C,
65
- open: n,
66
- onClose: () => l(!1),
67
- className: c.modal,
68
- position: x,
69
- children: /* @__PURE__ */ o("div", { className: c.selectList, children: h.map((e) => /* @__PURE__ */ u(
152
+ ref: $,
153
+ anchorRef: d,
154
+ open: t,
155
+ onClose: () => u(!1),
156
+ position: j,
157
+ disableOverlay: !0,
158
+ className: m.modal,
159
+ autoCloseCondition: W,
160
+ children: /* @__PURE__ */ r("div", { className: m.selectList, ref: R, children: a.map((e) => /* @__PURE__ */ K(
70
161
  "div",
71
162
  {
72
- className: `${c.children} ${e.value === t.value ? c.active : ""}`,
73
- onClick: () => I(e),
163
+ ref: (o) => F.current[e.value] = o,
164
+ className: `${m.children} ${(c == null ? void 0 : c.value) === e.value ? m.active : ""}`,
165
+ onClick: () => U(e),
74
166
  children: [
75
- e.icon && /* @__PURE__ */ o(i, { icon: e.icon }),
76
- e.label && /* @__PURE__ */ o("div", { className: c.itemLabel, children: e.label })
167
+ e.icon && /* @__PURE__ */ r(p, { icon: e.icon }),
168
+ e.label && /* @__PURE__ */ r("div", { className: m.itemLabel, children: e.label })
77
169
  ]
78
170
  },
79
171
  e.value
@@ -83,5 +175,5 @@ const R = "_selectContainer_1o5wx_54", y = "_selected_1o5wx_57", z = "_children_
83
175
  ] });
84
176
  };
85
177
  export {
86
- K as Select
178
+ re as Select
87
179
  };
@@ -1,20 +1,21 @@
1
1
  import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import '../../styles/Size.css';import '../../styles/index.css';import '../../styles/SelectFilterInputTags.css';/* empty css */
2
+ import "../button/Button.js";
3
3
  import "react";
4
4
  import { Input as c } from "../input/Input.js";
5
+ import "../icon-button/IconButton.js";
5
6
  import "../modal/Modal.js";
6
7
  import "../theme/ThemeContext.js";
7
- /* empty css */
8
- const a = "_listTagSelect_2v3fb_6", u = "_flexAutoSize_2v3fb_24", n = {
8
+ import '../../styles/Size.css';import '../../styles/SelectFilterInputTags.css';/* empty css */
9
+ const a = "_listTagSelect_2v3fb_6", p = "_flexAutoSize_2v3fb_24", u = {
9
10
  listTagSelect: a,
10
- flexAutoSize: u
11
- }, v = ({ children: l, inputValue: o, handleInputChange: s, handleKeyDown: i }) => /* @__PURE__ */ e("div", { className: n.listTagSelect, children: /* @__PURE__ */ r("div", { children: [
12
- l,
11
+ flexAutoSize: p
12
+ }, _ = ({ children: o, inputValue: l, handleInputChange: s, handleKeyDown: i }) => /* @__PURE__ */ e("div", { className: u.listTagSelect, children: /* @__PURE__ */ r("div", { children: [
13
+ o,
13
14
  /* @__PURE__ */ e("div", { className: "flexAutoSize", children: /* @__PURE__ */ e(
14
15
  c,
15
16
  {
16
17
  type: "text",
17
- value: o,
18
+ value: l,
18
19
  onKeyDown: (t) => {
19
20
  t.key === "Enter" && i && i(t);
20
21
  },
@@ -27,5 +28,5 @@ const a = "_listTagSelect_2v3fb_6", u = "_flexAutoSize_2v3fb_24", n = {
27
28
  ) })
28
29
  ] }) });
29
30
  export {
30
- v as SelectFilterInputTags
31
+ _ as SelectFilterInputTags
31
32
  };
@@ -2,11 +2,11 @@ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as _, useRef as h } from "react";
3
3
  import { R as v, I as C, D as x } from "../../X-Bd1VjKAF.mjs";
4
4
  import { Button as M } from "../button/Button.js";
5
- import '../../styles/Size.css';import '../../styles/index.css';import '../../styles/SelectMultiItems.css';/* empty css */
5
+ import "../icon-button/IconButton.js";
6
6
  import { TagCounter as R } from "../tag-counter/TagCounter.js";
7
7
  import { Modal as w } from "../modal/Modal.js";
8
8
  import "../theme/ThemeContext.js";
9
- /* empty css */
9
+ import '../../styles/Size.css';import '../../styles/SelectMultiItems.css';/* empty css */
10
10
  const y = "_relative_w7e9a_6", I = "_tagCounter_w7e9a_10", N = "_modal_w7e9a_18", r = {
11
11
  relative: y,
12
12
  tagCounter: I,
@@ -1,11 +1,11 @@
1
1
  import { jsxs as m, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as $, useEffect as b } from "react";
3
- import '../../styles/Size.css';import '../../styles/index.css';import '../../styles/Switch.css';/* empty css */
3
+ import "../button/Button.js";
4
4
  import { IconButton as k } from "../icon-button/IconButton.js";
5
5
  import { Icon as g } from "../icon/Icon.js";
6
6
  import "../modal/Modal.js";
7
7
  import "../theme/ThemeContext.js";
8
- /* empty css */
8
+ import '../../styles/Size.css';import '../../styles/Switch.css';/* empty css */
9
9
  const y = "_slider_1mxgk_21", I = "_s_1mxgk_6", N = "_m_1mxgk_58", S = "_l_1mxgk_75", j = "_xl_1mxgk_92", B = "_disabled_1mxgk_110", E = "_wrapper_1mxgk_121", R = "_button_1mxgk_136", T = "_active_1mxgk_145", t = {
10
10
  switch: "_switch_1mxgk_6",
11
11
  slider: y,
@@ -11,7 +11,10 @@ export interface TabsProps {
11
11
  position?: 'center' | 'right' | 'left';
12
12
  /** Callback function to handle tab selection, receiving the selected tab's label */
13
13
  onTabSelect: (selectedItem: string | ReactNode) => void;
14
+ /** Full width*/
14
15
  fullWidth?: boolean;
16
+ /** tabs disabled */
17
+ disabledTabs?: number[];
15
18
  }
16
19
  /**
17
20
  * Tabs component that allows tab navigation with text, icons, or buttons.
@@ -1,9 +1,8 @@
1
- import { jsxs as $, jsx as a } from "react/jsx-runtime";
2
- import { useState as u, useRef as s, useLayoutEffect as C } from "react";
3
- import '../../styles/index.css';import '../../styles/Tabs.css';/* empty css */
4
- import { Button as N } from "../button/Button.js";
5
- import { IconButton as p } from "../icon-button/IconButton.js";
6
- const w = "_underline_6o3gh_70", n = {
1
+ import { jsxs as w, jsx as l } from "react/jsx-runtime";
2
+ import { useState as f, useRef as u, useLayoutEffect as B } from "react";
3
+ import { Button as p } from "../button/Button.js";
4
+ import { IconButton as S } from "../icon-button/IconButton.js";
5
+ import '../../styles/Tabs.css';const j = "_underline_6o3gh_70", e = {
7
6
  "tab-container": "_tab-container_6o3gh_30",
8
7
  "tab-container-button": "_tab-container-button_6o3gh_34",
9
8
  "tab-container-icon": "_tab-container-icon_6o3gh_39",
@@ -13,68 +12,85 @@ const w = "_underline_6o3gh_70", n = {
13
12
  "tab-full-width": "_tab-full-width_6o3gh_51",
14
13
  "selected-button": "_selected-button_6o3gh_57",
15
14
  "selected-text": "_selected-text_6o3gh_63",
16
- underline: w,
15
+ underline: j,
17
16
  "flexHorizontal-center": "_flexHorizontal-center_6o3gh_78",
18
17
  "flexHorizontal-left": "_flexHorizontal-left_6o3gh_84",
19
18
  "flexHorizontal-right": "_flexHorizontal-right_6o3gh_90"
20
- }, A = ({
21
- listItems: i,
19
+ }, q = ({
20
+ listItems: c,
22
21
  type: o,
23
- onTabSelect: f,
24
- defaultActiveTab: d = 0,
25
- position: h = "left",
26
- fullWidth: m = !1
22
+ onTabSelect: h,
23
+ defaultActiveTab: g = 0,
24
+ position: m = "left",
25
+ fullWidth: x = !1,
26
+ disabledTabs: b = []
27
+ // ✅ par défaut vide
27
28
  }) => {
28
- const [l, g] = u(d), [x, z] = u({}), c = s(null), v = s(null), _ = s([]), b = (t) => {
29
- g(t), f(i[t]);
30
- }, R = (t) => {
31
- if (c.current && t) {
32
- const e = t.getBoundingClientRect(), r = c.current.getBoundingClientRect();
33
- z({
34
- left: `${e.left - r.left}px`,
35
- width: `${e.width}px`
29
+ const [s, v] = f(g), [z, $] = f({}), r = u(null), R = u(null), _ = u([]), d = (t) => {
30
+ b.includes(t) || (v(t), h(c[t]));
31
+ }, H = (t) => {
32
+ if (r.current && t) {
33
+ const n = t.getBoundingClientRect(), i = r.current.getBoundingClientRect();
34
+ $({
35
+ left: `${n.left - i.left}px`,
36
+ width: `${n.width}px`
36
37
  });
37
38
  }
38
- }, H = [
39
- n[`flexHorizontal-${h}`],
40
- o === "button" ? n["tab-items-button"] : n["tab-items"]
39
+ }, C = [
40
+ e[`flexHorizontal-${m}`],
41
+ o === "button" ? e["tab-items-button"] : e["tab-items"]
41
42
  ].filter(Boolean).join(" ");
42
- return C(() => {
43
- const t = _.current[l];
43
+ return B(() => {
44
+ const t = _.current[s];
44
45
  t && requestAnimationFrame(() => {
45
- R(t);
46
+ H(t);
46
47
  });
47
- }, [l, i.length]), /* @__PURE__ */ $("div", { className: `tab ${n["tab-container"]} ${n[`tab-container-${o}`]} ${m && n["tab-full-width"]}`, ref: c, children: [
48
- /* @__PURE__ */ a("div", { className: H, children: i.map((t, e) => /* @__PURE__ */ a(
49
- "div",
50
- {
51
- ref: (r) => _.current[e] = r,
52
- className: o === "button" && e === l ? n["selected-button"] : "",
53
- children: o === "icon" ? /* @__PURE__ */ a(
54
- p,
55
- {
56
- mode: "icon",
57
- size: "s",
58
- selected: e === l,
59
- onClick: () => b(e),
60
- children: t
61
- }
62
- ) : /* @__PURE__ */ a("div", { className: e === l ? n["selected-text"] : void 0, children: /* @__PURE__ */ a(
63
- N,
64
- {
65
- size: "s",
66
- label: t,
67
- mode: o === "text" ? "text" : "ghost",
68
- selected: e === l,
69
- onClick: () => b(e)
70
- }
71
- ) })
72
- },
73
- e
74
- )) }),
75
- o !== "button" && /* @__PURE__ */ a("div", { ref: v, className: n.underline, style: x })
76
- ] });
48
+ }, [s, c.length]), /* @__PURE__ */ w(
49
+ "div",
50
+ {
51
+ className: `tab ${e["tab-container"]} ${e[`tab-container-${o}`]} ${x && e["tab-full-width"]}`,
52
+ ref: r,
53
+ children: [
54
+ /* @__PURE__ */ l("div", { className: C, children: c.map((t, n) => {
55
+ const i = b.includes(n), a = n === s;
56
+ return /* @__PURE__ */ l(
57
+ "div",
58
+ {
59
+ ref: (N) => _.current[n] = N,
60
+ className: `
61
+ ${o === "button" && a ? e["selected-button"] : ""}
62
+ ${i ? e["tab-disabled"] : ""}
63
+ `,
64
+ children: o === "icon" ? /* @__PURE__ */ l(
65
+ S,
66
+ {
67
+ mode: "icon",
68
+ size: "s",
69
+ selected: a,
70
+ onClick: () => d(n),
71
+ disabled: i,
72
+ children: t
73
+ }
74
+ ) : /* @__PURE__ */ l("div", { className: a ? e["selected-text"] : void 0, children: /* @__PURE__ */ l(
75
+ p,
76
+ {
77
+ size: "s",
78
+ label: t,
79
+ mode: o === "text" ? "text" : "ghost",
80
+ selected: a,
81
+ onClick: () => d(n),
82
+ disabled: i
83
+ }
84
+ ) })
85
+ },
86
+ n
87
+ );
88
+ }) }),
89
+ o !== "button" && /* @__PURE__ */ l("div", { ref: R, className: e.underline, style: z })
90
+ ]
91
+ }
92
+ );
77
93
  };
78
94
  export {
79
- A as Tabs
95
+ q as Tabs
80
96
  };
package/dist/main.d.ts CHANGED
@@ -27,4 +27,5 @@ export { SidePanel } from './components/panel/side-panel/SidePanel';
27
27
  export { SidePanelHeader } from './components/panel/side-panel-header/SidePanelHeader';
28
28
  export { InputLabel } from './components/input-label/InputLabel';
29
29
  export { EditableField } from './components/editable-field/EditableField';
30
+ export { EditableSelect } from './components/editable-select/EditableSelect';
30
31
  export { ThemeProvider, useTheme } from './components/theme/ThemeContext';
package/dist/main.js CHANGED
@@ -1,63 +1,64 @@
1
- import { Button as m } from "./components/button/Button.js";
2
- import { ButtonControlledScroll as x } from "./components/buttonControledScroll/ButtonControlledScroll.js";
3
- import { Input as l } from "./components/input/Input.js";
4
- import { Tabs as n } from "./components/tabs/Tabs.js";
5
- import { IconButton as a } from "./components/icon-button/IconButton.js";
6
- import { Tag as s } from "./components/tag/Tag.js";
7
- import { Title as I } from "./components/title/Title.js";
1
+ import { Button as t } from "./components/button/Button.js";
2
+ import { ButtonControlledScroll as p } from "./components/buttonControledScroll/ButtonControlledScroll.js";
3
+ import { Input as f } from "./components/input/Input.js";
4
+ import { Tabs as i } from "./components/tabs/Tabs.js";
5
+ import { IconButton as d } from "./components/icon-button/IconButton.js";
6
+ import { Tag as c } from "./components/tag/Tag.js";
7
+ import { Title as u } from "./components/title/Title.js";
8
8
  import { TagCounter as S } from "./components/tag-counter/TagCounter.js";
9
- import { Checkbox as b } from "./components/checkbox/Checkbox.js";
10
- import { Tooltip as L } from "./components/tooltip/Tooltip.js";
11
- import { Select as B } from "./components/select/Select.js";
12
- import { Calendar as P } from "./components/calendar/Calendar.js";
13
- import { Accordion as F } from "./components/accordion/Accordion.js";
14
- import { AccordionItem as k } from "./components/accordion/item/AccordionItem.js";
15
- import { Card as w } from "./components/card/Card.js";
16
- import { Icon as H } from "./components/icon/Icon.js";
17
- import { Menu as q } from "./components/menu/Menu.js";
18
- import { Modal as z } from "./components/modal/Modal.js";
19
- import { SelectMultiItems as G } from "./components/select-multi-items/SelectMultiItems.js";
20
- import { SelectFilterInputTags as K } from "./components/select-filter-input-tags/SelectFilterInputTags.js";
21
- import { ListControls as Q } from "./components/list/list-controls/ListControls.js";
22
- import { NestedList as U } from "./components/list/nested-list/NestedList.js";
23
- import { NestedListItem as W } from "./components/list/nested-list/item/NestedListItem.js";
24
- import { Switch as Y } from "./components/switch/Switch.js";
25
- import { SidePanel as _ } from "./components/panel/side-panel/SidePanel.js";
26
- import { SidePanelHeader as oo } from "./components/panel/side-panel-header/SidePanelHeader.js";
27
- import { InputLabel as eo } from "./components/input-label/InputLabel.js";
28
- import { EditableField as mo } from "./components/editable-field/EditableField.js";
29
- import { ThemeProvider as xo, useTheme as fo } from "./components/theme/ThemeContext.js";
30
- import './styles/Size.css';import './styles/index.css';/* empty css */
31
- /* empty css */
9
+ import { Checkbox as C } from "./components/checkbox/Checkbox.js";
10
+ import { Tooltip as h } from "./components/tooltip/Tooltip.js";
11
+ import { Select as g } from "./components/select/Select.js";
12
+ import { Calendar as M } from "./components/calendar/Calendar.js";
13
+ import { Accordion as A } from "./components/accordion/Accordion.js";
14
+ import { AccordionItem as F } from "./components/accordion/item/AccordionItem.js";
15
+ import { Card as k } from "./components/card/Card.js";
16
+ import { Icon as w } from "./components/icon/Icon.js";
17
+ import { Menu as j } from "./components/menu/Menu.js";
18
+ import { Modal as y } from "./components/modal/Modal.js";
19
+ import { SelectMultiItems as D } from "./components/select-multi-items/SelectMultiItems.js";
20
+ import { SelectFilterInputTags as J } from "./components/select-filter-input-tags/SelectFilterInputTags.js";
21
+ import { ListControls as O } from "./components/list/list-controls/ListControls.js";
22
+ import { NestedList as R } from "./components/list/nested-list/NestedList.js";
23
+ import { NestedListItem as V } from "./components/list/nested-list/item/NestedListItem.js";
24
+ import { Switch as X } from "./components/switch/Switch.js";
25
+ import { SidePanel as Z } from "./components/panel/side-panel/SidePanel.js";
26
+ import { SidePanelHeader as $ } from "./components/panel/side-panel-header/SidePanelHeader.js";
27
+ import { InputLabel as ro } from "./components/input-label/InputLabel.js";
28
+ import { EditableField as to } from "./components/editable-field/EditableField.js";
29
+ import { EditableSelect as po } from "./components/editable-select/EditableSelect.js";
30
+ import { ThemeProvider as fo, useTheme as lo } from "./components/theme/ThemeContext.js";
31
+ import './styles/Size.css';/* empty css */
32
32
  export {
33
- F as Accordion,
34
- k as AccordionItem,
35
- m as Button,
36
- x as ButtonControlledScroll,
37
- P as Calendar,
38
- w as Card,
39
- b as Checkbox,
40
- mo as EditableField,
41
- H as Icon,
42
- a as IconButton,
43
- l as Input,
44
- eo as InputLabel,
45
- Q as ListControls,
46
- q as Menu,
47
- z as Modal,
48
- U as NestedList,
49
- W as NestedListItem,
50
- B as Select,
51
- K as SelectFilterInputTags,
52
- G as SelectMultiItems,
53
- _ as SidePanel,
54
- oo as SidePanelHeader,
55
- Y as Switch,
56
- n as Tabs,
57
- s as Tag,
33
+ A as Accordion,
34
+ F as AccordionItem,
35
+ t as Button,
36
+ p as ButtonControlledScroll,
37
+ M as Calendar,
38
+ k as Card,
39
+ C as Checkbox,
40
+ to as EditableField,
41
+ po as EditableSelect,
42
+ w as Icon,
43
+ d as IconButton,
44
+ f as Input,
45
+ ro as InputLabel,
46
+ O as ListControls,
47
+ j as Menu,
48
+ y as Modal,
49
+ R as NestedList,
50
+ V as NestedListItem,
51
+ g as Select,
52
+ J as SelectFilterInputTags,
53
+ D as SelectMultiItems,
54
+ Z as SidePanel,
55
+ $ as SidePanelHeader,
56
+ X as Switch,
57
+ i as Tabs,
58
+ c as Tag,
58
59
  S as TagCounter,
59
- xo as ThemeProvider,
60
- I as Title,
61
- L as Tooltip,
62
- fo as useTheme
60
+ fo as ThemeProvider,
61
+ u as Title,
62
+ h as Tooltip,
63
+ lo as useTheme
63
64
  };
@@ -1 +1 @@
1
- ._button_mzv5s_30{font-family:var(--font-family);font-weight:500;font-style:normal;line-height:1.25rem;border:0;cursor:pointer;width:fit-content}._button_mzv5s_30:focus-visible{outline:2px solid var(--button-focus-mode);outline-offset:2px}._button_mzv5s_30:disabled{background:var(--button-primary-disabled-background);color:var(--button-primary-disabled-text);border:1px solid var(--button-primary-disabled-border);cursor:initial;pointer-events:none}._button_mzv5s_30:disabled *{fill:var(--button-primary-disabled-text)}._button-primary_mzv5s_54{color:var(--button-primary-default-text);background:var(--button-primary-default-background)}._button-primary_mzv5s_54:hover{background:var(--button-primary-hover-background)}._button-primary_mzv5s_54:active{background:var(--button-primary-pressed-background);outline:none}._button-primary_mzv5s_54 *{fill:var(--button-primary-default-text)}._button-secondary_mzv5s_68{color:var(--button-secondary-default-text);border:1px solid var(--button-secondary-default-border);background:var(--button-secondary-default-background)}._button-secondary_mzv5s_68:hover{border:1px solid var(--button-secondary-hover-border);background:var(--button-secondary-hover-background)}._button-secondary_mzv5s_68:active{border:1px solid var(--button-secondary-pressed-border);background:var(--button-secondary-pressed-background)}._button-secondary_mzv5s_68 *{fill:var(--button-secondary-default-text)}._button-tertiary_mzv5s_84{color:var(--button-tertiary-default-text);background-color:transparent;border:1px solid var(--button-tertiary-default-border)}._button-tertiary_mzv5s_84:hover{border:1px solid var(--button-tertiary-hover-border);background:var(--button-tertiary-hover-background)}._button-tertiary_mzv5s_84:active{border:1px solid var(--button-tertiary-pressed-border);background:var(--button-tertiary-pressed-background)}._button-tertiary_mzv5s_84 *{fill:var(--button-tertiary-default-text)}._button-ghost_mzv5s_100{color:var(--button-ghost-default-text);background-color:transparent}._button-ghost_mzv5s_100:hover{background:var(--button-ghost-hover-background)}._button-ghost_mzv5s_100:active{background-color:var(--button-ghost-pressed-background)}._button-ghost_mzv5s_100:disabled{border:none}._button-ghost_mzv5s_100 *{fill:var(--button-ghost-default-text)}._button-text_mzv5s_116{color:var(--text-button-inactive-text);background-color:transparent;padding:0!important}._button-text_mzv5s_116:hover{color:var(--text-button-inactive-hover-text)}._button-text_mzv5s_116:disabled{border:none;background-color:transparent;color:var(--text-button-disabled-text)}._button-text-selected_mzv5s_129,._button-text-selected_mzv5s_129:hover{color:var(--text-button-active-text)}._button-error_mzv5s_135{color:var(--button-destructive-default-text);background:var(--button-destructive-default-background)}._button-error_mzv5s_135:hover{background:var(--button-destructive-hover-background)}._button-error_mzv5s_135:active{background:var(--button-destructive-pressed-background)}._button-error_mzv5s_135 *{fill:var(--button-destructive-default-text)}._button-size-xl_mzv5s_148{padding:1rem 2rem;font-size:1.125em;line-height:28px;border-radius:8px}._button-size-l_mzv5s_154{padding:.75rem 1.5rem;font-size:1em;line-height:24px;border-radius:8px}._button-size-m_mzv5s_160{padding:.5rem 1rem;font-size:.875em;line-height:22px;border-radius:4px}._button-size-s_mzv5s_166{padding:.375rem .75rem;font-size:.875em;line-height:16px;border-radius:4px}._button-size-menu_mzv5s_172{padding:.5rem;font-size:1em;line-height:24px;border-radius:4px}._button-gap-menu_mzv5s_178{gap:.5rem}._button-gap-xl_mzv5s_181{gap:12px}._button-gap-l_mzv5s_184{gap:8px}._button-gap-m_mzv5s_178,._button-gap-s_mzv5s_187{gap:4px}._flexHorizontalCenter_mzv5s_191{display:flex;justify-content:center;align-items:center;flex-direction:row}
1
+ @font-face{font-family:Urbanist-Thin;src:url(../fonts/Urbanist-Thin.ttf) format("truetype");font-weight:100;font-style:normal}@font-face{font-family:Urbanist-Extra-Light;src:url(../fonts/Urbanist-ExtraLight.ttf) format("truetype");font-weight:200;font-style:normal}@font-face{font-family:Urbanist-Light;src:url(../fonts/Urbanist-Light.ttf) format("truetype");font-weight:300;font-style:normal}@font-face{font-family:Urbanist-Regular;src:url(../fonts/Urbanist-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Urbanist;src:url(../fonts/Urbanist-Medium.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:Urbanist-Back;src:url(../fonts/Urbanist-Black.ttf) format("truetype");font-weight:600;font-style:normal}@font-face{font-family:Urbanist-Semi-Bold;src:url(../fonts/Urbanist-SemiBold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Urbanist-Bold;src:url(../fonts/Urbanist-Bold.ttf) format("truetype");font-weight:800;font-style:normal}@font-face{font-family:Urbanist-Extra-Bold;src:url(../fonts/Urbanist-ExtraBold.ttf) format("truetype");font-weight:900;font-style:normal}:root,body{font-family:Urbanist,sans-serif;line-height:1;width:100vw;height:100vh}h1{font-size:1.875em;font-style:normal;font-weight:700;line-height:2.25rem}h2{font-size:1.5em;font-style:normal;font-weight:700;line-height:2rem;margin:0}h3{font-size:1.25em;font-style:normal;font-weight:700;line-height:1.75rem;margin:0}h4{font-size:1.125em;font-style:normal;font-weight:700;line-height:1.75rem;margin:0}h5{font-size:1em;font-style:normal;font-weight:700;line-height:1.5rem;margin:0}h6{font-size:.875em;font-style:normal;font-weight:700;line-height:1.25rem;margin:0}.textExtraLarge{font-size:1.25em;font-style:normal;line-height:2rem}.textLarge{font-size:1.125em;font-style:normal;line-height:1.75rem}.textMedium{font-size:1em;font-style:normal;line-height:1.5rem}.textSmall{font-size:.875em;font-style:normal;line-height:1.25rem}.textSmaller{font-size:.75em;font-style:normal;line-height:1rem}.labelExtraLarge{font-size:1.25em;font-style:normal;line-height:normal;letter-spacing:1.2px}.labelLarge{font-size:1.125em;font-style:normal;line-height:normal;letter-spacing:1.08px}.labelMedium{font-size:1em;font-style:normal;line-height:normal;letter-spacing:.96px}.labelSmall{font-size:.875em;font-style:normal;line-height:normal;letter-spacing:.84px}.labelSmaller{font-size:.75em;font-style:normal;line-height:normal;letter-spacing:.72px}.labelSmallest{font-size:.625em;font-style:normal;line-height:normal;letter-spacing:.6px}.fontWeight-100{font-weight:100}.fontWeight-200{font-weight:200}.fontWeight-300{font-weight:300}.fontWeight-400{font-weight:400}.fontWeight-500{font-weight:500}.fontWeight-600{font-weight:600}.fontWeight-700{font-weight:700}.fontWeight-800{font-weight:800}.fontWeight-900{font-weight:900}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-background);border-radius:.5rem;transition:all .3s ease;margin:.625rem;background-clip:padding-box}::-webkit-scrollbar:hover{cursor:pointer}::-webkit-scrollbar-corner{background:var(--scrollbar-background)}._button_mzv5s_30{font-family:var(--font-family);font-weight:500;font-style:normal;line-height:1.25rem;border:0;cursor:pointer;width:fit-content}._button_mzv5s_30:focus-visible{outline:2px solid var(--button-focus-mode);outline-offset:2px}._button_mzv5s_30:disabled{background:var(--button-primary-disabled-background);color:var(--button-primary-disabled-text);border:1px solid var(--button-primary-disabled-border);cursor:initial;pointer-events:none}._button_mzv5s_30:disabled *{fill:var(--button-primary-disabled-text)}._button-primary_mzv5s_54{color:var(--button-primary-default-text);background:var(--button-primary-default-background)}._button-primary_mzv5s_54:hover{background:var(--button-primary-hover-background)}._button-primary_mzv5s_54:active{background:var(--button-primary-pressed-background);outline:none}._button-primary_mzv5s_54 *{fill:var(--button-primary-default-text)}._button-secondary_mzv5s_68{color:var(--button-secondary-default-text);border:1px solid var(--button-secondary-default-border);background:var(--button-secondary-default-background)}._button-secondary_mzv5s_68:hover{border:1px solid var(--button-secondary-hover-border);background:var(--button-secondary-hover-background)}._button-secondary_mzv5s_68:active{border:1px solid var(--button-secondary-pressed-border);background:var(--button-secondary-pressed-background)}._button-secondary_mzv5s_68 *{fill:var(--button-secondary-default-text)}._button-tertiary_mzv5s_84{color:var(--button-tertiary-default-text);background-color:transparent;border:1px solid var(--button-tertiary-default-border)}._button-tertiary_mzv5s_84:hover{border:1px solid var(--button-tertiary-hover-border);background:var(--button-tertiary-hover-background)}._button-tertiary_mzv5s_84:active{border:1px solid var(--button-tertiary-pressed-border);background:var(--button-tertiary-pressed-background)}._button-tertiary_mzv5s_84 *{fill:var(--button-tertiary-default-text)}._button-ghost_mzv5s_100{color:var(--button-ghost-default-text);background-color:transparent}._button-ghost_mzv5s_100:hover{background:var(--button-ghost-hover-background)}._button-ghost_mzv5s_100:active{background-color:var(--button-ghost-pressed-background)}._button-ghost_mzv5s_100:disabled{border:none}._button-ghost_mzv5s_100 *{fill:var(--button-ghost-default-text)}._button-text_mzv5s_116{color:var(--text-button-inactive-text);background-color:transparent;padding:0!important}._button-text_mzv5s_116:hover{color:var(--text-button-inactive-hover-text)}._button-text_mzv5s_116:disabled{border:none;background-color:transparent;color:var(--text-button-disabled-text)}._button-text-selected_mzv5s_129,._button-text-selected_mzv5s_129:hover{color:var(--text-button-active-text)}._button-error_mzv5s_135{color:var(--button-destructive-default-text);background:var(--button-destructive-default-background)}._button-error_mzv5s_135:hover{background:var(--button-destructive-hover-background)}._button-error_mzv5s_135:active{background:var(--button-destructive-pressed-background)}._button-error_mzv5s_135 *{fill:var(--button-destructive-default-text)}._button-size-xl_mzv5s_148{padding:1rem 2rem;font-size:1.125em;line-height:28px;border-radius:8px}._button-size-l_mzv5s_154{padding:.75rem 1.5rem;font-size:1em;line-height:24px;border-radius:8px}._button-size-m_mzv5s_160{padding:.5rem 1rem;font-size:.875em;line-height:22px;border-radius:4px}._button-size-s_mzv5s_166{padding:.375rem .75rem;font-size:.875em;line-height:16px;border-radius:4px}._button-size-menu_mzv5s_172{padding:.5rem;font-size:1em;line-height:24px;border-radius:4px}._button-gap-menu_mzv5s_178{gap:.5rem}._button-gap-xl_mzv5s_181{gap:12px}._button-gap-l_mzv5s_184{gap:8px}._button-gap-m_mzv5s_178,._button-gap-s_mzv5s_187{gap:4px}._flexHorizontalCenter_mzv5s_191{display:flex;justify-content:center;align-items:center;flex-direction:row}