@situaction/traq-ui-ste 1.1.31 → 1.1.32

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.
@@ -18,6 +18,8 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
18
18
  childrenRight?: ReactNode;
19
19
  /** Optional click handler */
20
20
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
21
+ /** Full size */
22
+ fullWidth?: boolean;
21
23
  }
22
24
  /**
23
25
  * Primary UI component for user interaction
@@ -1,54 +1,58 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
3
- import '../../styles/Button.css';const v = "_button_mzv5s_30", x = "_flexHorizontalCenter_mzv5s_191", t = {
4
- button: v,
5
- "button-primary": "_button-primary_mzv5s_54",
6
- "button-secondary": "_button-secondary_mzv5s_68",
7
- "button-tertiary": "_button-tertiary_mzv5s_84",
8
- "button-ghost": "_button-ghost_mzv5s_100",
9
- "button-text": "_button-text_mzv5s_116",
10
- "button-text-selected": "_button-text-selected_mzv5s_129",
11
- "button-error": "_button-error_mzv5s_135",
12
- "button-size-xl": "_button-size-xl_mzv5s_148",
13
- "button-size-l": "_button-size-l_mzv5s_154",
14
- "button-size-m": "_button-size-m_mzv5s_160",
15
- "button-size-s": "_button-size-s_mzv5s_166",
16
- "button-size-menu": "_button-size-menu_mzv5s_172",
17
- "button-gap-menu": "_button-gap-menu_mzv5s_178",
18
- "button-gap-xl": "_button-gap-xl_mzv5s_181",
19
- "button-gap-l": "_button-gap-l_mzv5s_184",
20
- "button-gap-m": "_button-gap-m_mzv5s_178",
21
- "button-gap-s": "_button-gap-s_mzv5s_187",
22
- flexHorizontalCenter: x
23
- }, f = p(
2
+ import { forwardRef as z } from "react";
3
+ import '../../styles/Button.css';const m = "_button_gxbp6_30", c = "_fullWidth_gxbp6_191", f = "_flexHorizontalCenter_gxbp6_195", d = "_flexHorizontalBetween_gxbp6_202", t = {
4
+ button: m,
5
+ "button-primary": "_button-primary_gxbp6_54",
6
+ "button-secondary": "_button-secondary_gxbp6_68",
7
+ "button-tertiary": "_button-tertiary_gxbp6_84",
8
+ "button-ghost": "_button-ghost_gxbp6_100",
9
+ "button-text": "_button-text_gxbp6_116",
10
+ "button-text-selected": "_button-text-selected_gxbp6_129",
11
+ "button-error": "_button-error_gxbp6_135",
12
+ "button-size-xl": "_button-size-xl_gxbp6_148",
13
+ "button-size-l": "_button-size-l_gxbp6_154",
14
+ "button-size-m": "_button-size-m_gxbp6_160",
15
+ "button-size-s": "_button-size-s_gxbp6_166",
16
+ "button-size-menu": "_button-size-menu_gxbp6_172",
17
+ "button-gap-menu": "_button-gap-menu_gxbp6_178",
18
+ "button-gap-xl": "_button-gap-xl_gxbp6_181",
19
+ "button-gap-l": "_button-gap-l_gxbp6_184",
20
+ "button-gap-m": "_button-gap-m_gxbp6_178",
21
+ "button-gap-s": "_button-gap-s_gxbp6_187",
22
+ fullWidth: c,
23
+ flexHorizontalCenter: f,
24
+ flexHorizontalBetween: d
25
+ }, C = z(
24
26
  ({
25
27
  mode: n = "primary",
26
28
  size: e = "m",
27
- label: u,
28
- error: b,
29
- selected: r,
30
- childrenLeft: s,
29
+ label: r,
30
+ error: l,
31
+ selected: s,
32
+ childrenLeft: b,
31
33
  childrenRight: _,
32
- ...m
34
+ fullWidth: u = !1,
35
+ ...x
33
36
  }, a) => {
34
- const z = () => b ? "error" : n, l = [
37
+ const p = () => l ? "error" : n, g = [
35
38
  t.button,
36
- t[`button-${z()}`],
39
+ t[`button-${p()}`],
37
40
  t[`button-size-${e}`],
38
41
  t[`button-gap-${e}`],
39
- r && n === "text" && t["button-text-selected"],
40
- t.flexHorizontalCenter
42
+ s && n === "text" && t["button-text-selected"],
43
+ u ? t.flexHorizontalBetween : t.flexHorizontalCenter,
44
+ u && t.fullWidth
41
45
  ].filter(Boolean).join(" ");
42
46
  return /* @__PURE__ */ i(
43
47
  "button",
44
48
  {
45
49
  ref: a,
46
50
  type: "button",
47
- className: l,
48
- ...m,
51
+ className: g,
52
+ ...x,
49
53
  children: [
50
- s && /* @__PURE__ */ o("span", { className: t.flexHorizontalCenter, children: s }),
51
- /* @__PURE__ */ o("span", { children: u }),
54
+ b && /* @__PURE__ */ o("span", { className: t.flexHorizontalCenter, children: b }),
55
+ /* @__PURE__ */ o("span", { children: r }),
52
56
  _ && /* @__PURE__ */ o("span", { className: t.flexHorizontalCenter, children: _ })
53
57
  ]
54
58
  }
@@ -56,5 +60,5 @@ import '../../styles/Button.css';const v = "_button_mzv5s_30", x = "_flexHorizon
56
60
  }
57
61
  );
58
62
  export {
59
- f as Button
63
+ C as Button
60
64
  };
@@ -34,10 +34,11 @@ export interface SelectProps {
34
34
  placeholder?: string;
35
35
  /** Condition to close the modal */
36
36
  autoCloseCondition: boolean;
37
+ fullWidth?: boolean;
37
38
  }
38
39
  /**
39
40
  * Select component that allows users to choose an option from a list.
40
41
  * It supports three display modes: 'all' (icon + text), 'icon' (only icon), and 'text' (only text).
41
42
  * The selected value is displayed in a button, and a modal opens to show the list of options.
42
43
  */
43
- export declare const Select: ({ selected, size, listItem, modeDisplay, onSelect, positionOverride, placeholder, autoCloseCondition }: SelectProps) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const Select: ({ selected, size, listItem, modeDisplay, onSelect, positionOverride, placeholder, autoCloseCondition, fullWidth }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,76 +1,80 @@
1
- import { jsxs as K, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as r } from "react/jsx-runtime";
2
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";
3
+ import { Button as S } from "../button/Button.js";
4
+ import { IconButton as O } from "../icon-button/IconButton.js";
5
5
  import { Icon as p } from "../icon/Icon.js";
6
- import { Modal as M } from "../modal/Modal.js";
6
+ import { Modal as W } from "../modal/Modal.js";
7
7
  import "../theme/ThemeContext.js";
8
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 = ({
9
+ const q = "_selectContainer_1o5wx_54", A = "_selected_1o5wx_57", D = "_children_1o5wx_61", G = "_active_1o5wx_78", H = "_selectList_1o5wx_82", J = "_modal_1o5wx_91", Q = "_dropdownFadeIn_1o5wx_1", X = "_itemLabel_1o5wx_98", m = {
10
+ selectContainer: q,
11
+ selected: A,
12
+ children: D,
13
+ active: G,
14
+ selectList: H,
15
+ modal: J,
16
+ dropdownFadeIn: Q,
17
+ itemLabel: X
18
+ }, ce = ({
19
19
  selected: y,
20
20
  size: _ = "m",
21
21
  listItem: a,
22
22
  modeDisplay: x = "all",
23
- onSelect: S,
23
+ onSelect: N,
24
24
  positionOverride: g,
25
- placeholder: N = "Sélectionner",
26
- autoCloseCondition: W
25
+ placeholder: B = "Sélectionner",
26
+ autoCloseCondition: j,
27
+ fullWidth: R = !1
27
28
  }) => {
28
- const [t, u] = k(!1), $ = h(null), [j, B] = k({
29
+ const [t, u] = k(!1), U = h(null), [V, P] = k({
29
30
  top: "calc(100% + 6px)",
30
31
  left: "0px",
31
32
  width: "100%"
32
- }), [c, P] = k(y ?? null);
33
+ }), [c, F] = k(y ?? null);
33
34
  w(() => {
34
- P(y ?? null);
35
+ F(y ?? null);
35
36
  }, [y]), w(() => {
36
- g && B(g);
37
+ g && P(g);
37
38
  }, [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,
39
+ const I = (e) => {
40
+ F(e), u(!1), N && N(e);
41
+ }, M = () => {
42
+ const e = c == null ? void 0 : c.icon, o = (c == null ? void 0 : c.label) || B || "Sélectionner";
43
+ return x === "icon" && e ? /* @__PURE__ */ r(O, { ref: d, mode: "tertiary", size: _, onClick: () => u(!t), children: /* @__PURE__ */ r(p, { icon: c.icon }) }) : x === "text" ? /* @__PURE__ */ r(
44
+ S,
44
45
  {
45
46
  ref: d,
46
47
  mode: "tertiary",
47
48
  label: o,
48
49
  childrenRight: /* @__PURE__ */ r(p, { icon: t ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
49
50
  size: _,
51
+ fullWidth: R,
50
52
  onClick: () => u(!t)
51
53
  }
52
54
  ) : x === "all" ? /* @__PURE__ */ r(
53
- E,
55
+ S,
54
56
  {
55
57
  ref: d,
56
58
  mode: "tertiary",
57
59
  label: o,
58
60
  size: _,
61
+ fullWidth: R,
59
62
  childrenLeft: e && /* @__PURE__ */ r(p, { icon: c.icon }),
60
63
  childrenRight: /* @__PURE__ */ r(p, { icon: t ? "CaretUp" : "CaretDown", size: 14, weight: "bold" }),
61
64
  onClick: () => u(!t)
62
65
  }
63
66
  ) : /* @__PURE__ */ r(
64
- E,
67
+ S,
65
68
  {
66
69
  ref: d,
67
70
  mode: "tertiary",
68
- label: N ?? "Sélectionner",
71
+ fullWidth: R,
72
+ label: B ?? "Sélectionner",
69
73
  size: _,
70
74
  onClick: () => u(!t)
71
75
  }
72
76
  );
73
- }, R = h(null), b = h({}), [L, v] = k(""), f = h(null), F = h({}), T = (e) => {
77
+ }, T = h(null), b = h({}), [L, v] = k(""), f = h(null), K = h({}), E = (e) => {
74
78
  if (!t) return;
75
79
  const o = e.key.length === 1 ? e.key.toLowerCase() : "";
76
80
  if (!o) return;
@@ -88,8 +92,8 @@ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_
88
92
  v("");
89
93
  }, 500);
90
94
  };
91
- w(() => (t ? window.addEventListener("keydown", T) : (window.removeEventListener("keydown", T), v("")), () => {
92
- window.removeEventListener("keydown", T);
95
+ w(() => (t ? window.addEventListener("keydown", E) : (window.removeEventListener("keydown", E), v("")), () => {
96
+ window.removeEventListener("keydown", E);
93
97
  }), [t, L, a]), w(() => {
94
98
  const e = (o) => {
95
99
  if (!t) return;
@@ -103,8 +107,8 @@ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_
103
107
  return (C = s.label) == null ? void 0 : C.toLowerCase().startsWith(l);
104
108
  }
105
109
  );
106
- if (n && R.current && n.value in b.current && b.current[n.value]) {
107
- const s = R.current, C = b.current[n.value];
110
+ if (n && T.current && n.value in b.current && b.current[n.value]) {
111
+ const s = T.current, C = b.current[n.value];
108
112
  s.scrollTo({
109
113
  top: C.offsetTop - s.offsetTop,
110
114
  behavior: "smooth"
@@ -127,7 +131,7 @@ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_
127
131
  }
128
132
  );
129
133
  if (l) {
130
- const n = F.current[l.value];
134
+ const n = K.current[l.value];
131
135
  n && n.scrollIntoView({ block: "start", behavior: "smooth" });
132
136
  }
133
137
  }
@@ -138,31 +142,31 @@ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_
138
142
  return w(() => {
139
143
  if (t && d.current) {
140
144
  const e = d.current.getBoundingClientRect().height;
141
- B({
145
+ P({
142
146
  top: `${e + 6}px`,
143
147
  left: "0px",
144
148
  width: "100%"
145
149
  });
146
150
  }
147
- }, [t]), /* @__PURE__ */ K("div", { className: m.selectContainer, children: [
148
- V(),
151
+ }, [t]), /* @__PURE__ */ $("div", { className: m.selectContainer, children: [
152
+ M(),
149
153
  /* @__PURE__ */ r(
150
- M,
154
+ W,
151
155
  {
152
- ref: $,
156
+ ref: U,
153
157
  anchorRef: d,
154
158
  open: t,
155
159
  onClose: () => u(!1),
156
- position: j,
160
+ position: V,
157
161
  disableOverlay: !0,
158
162
  className: m.modal,
159
- autoCloseCondition: W,
160
- children: /* @__PURE__ */ r("div", { className: m.selectList, ref: R, children: a.map((e) => /* @__PURE__ */ K(
163
+ autoCloseCondition: j,
164
+ children: /* @__PURE__ */ r("div", { className: m.selectList, ref: T, children: a.map((e) => /* @__PURE__ */ $(
161
165
  "div",
162
166
  {
163
- ref: (o) => F.current[e.value] = o,
167
+ ref: (o) => K.current[e.value] = o,
164
168
  className: `${m.children} ${(c == null ? void 0 : c.value) === e.value ? m.active : ""}`,
165
- onClick: () => U(e),
169
+ onClick: () => I(e),
166
170
  children: [
167
171
  e.icon && /* @__PURE__ */ r(p, { icon: e.icon }),
168
172
  e.label && /* @__PURE__ */ r("div", { className: m.itemLabel, children: e.label })
@@ -175,5 +179,5 @@ const O = "_selectContainer_1o5wx_54", q = "_selected_1o5wx_57", A = "_children_
175
179
  ] });
176
180
  };
177
181
  export {
178
- re as Select
182
+ ce as Select
179
183
  };
@@ -1 +1 @@
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}
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_gxbp6_30{font-family:var(--font-family);font-weight:500;font-style:normal;line-height:1.25rem;border:0;cursor:pointer;width:fit-content}._button_gxbp6_30:focus-visible{outline:2px solid var(--button-focus-mode);outline-offset:2px}._button_gxbp6_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_gxbp6_30:disabled *{fill:var(--button-primary-disabled-text)}._button-primary_gxbp6_54{color:var(--button-primary-default-text);background:var(--button-primary-default-background)}._button-primary_gxbp6_54:hover{background:var(--button-primary-hover-background)}._button-primary_gxbp6_54:active{background:var(--button-primary-pressed-background);outline:none}._button-primary_gxbp6_54 *{fill:var(--button-primary-default-text)}._button-secondary_gxbp6_68{color:var(--button-secondary-default-text);border:1px solid var(--button-secondary-default-border);background:var(--button-secondary-default-background)}._button-secondary_gxbp6_68:hover{border:1px solid var(--button-secondary-hover-border);background:var(--button-secondary-hover-background)}._button-secondary_gxbp6_68:active{border:1px solid var(--button-secondary-pressed-border);background:var(--button-secondary-pressed-background)}._button-secondary_gxbp6_68 *{fill:var(--button-secondary-default-text)}._button-tertiary_gxbp6_84{color:var(--button-tertiary-default-text);background-color:transparent;border:1px solid var(--button-tertiary-default-border)}._button-tertiary_gxbp6_84:hover{border:1px solid var(--button-tertiary-hover-border);background:var(--button-tertiary-hover-background)}._button-tertiary_gxbp6_84:active{border:1px solid var(--button-tertiary-pressed-border);background:var(--button-tertiary-pressed-background)}._button-tertiary_gxbp6_84 *{fill:var(--button-tertiary-default-text)}._button-ghost_gxbp6_100{color:var(--button-ghost-default-text);background-color:transparent}._button-ghost_gxbp6_100:hover{background:var(--button-ghost-hover-background)}._button-ghost_gxbp6_100:active{background-color:var(--button-ghost-pressed-background)}._button-ghost_gxbp6_100:disabled{border:none}._button-ghost_gxbp6_100 *{fill:var(--button-ghost-default-text)}._button-text_gxbp6_116{color:var(--text-button-inactive-text);background-color:transparent;padding:0!important}._button-text_gxbp6_116:hover{color:var(--text-button-inactive-hover-text)}._button-text_gxbp6_116:disabled{border:none;background-color:transparent;color:var(--text-button-disabled-text)}._button-text-selected_gxbp6_129,._button-text-selected_gxbp6_129:hover{color:var(--text-button-active-text)}._button-error_gxbp6_135{color:var(--button-destructive-default-text);background:var(--button-destructive-default-background)}._button-error_gxbp6_135:hover{background:var(--button-destructive-hover-background)}._button-error_gxbp6_135:active{background:var(--button-destructive-pressed-background)}._button-error_gxbp6_135 *{fill:var(--button-destructive-default-text)}._button-size-xl_gxbp6_148{padding:1rem 2rem;font-size:1.125em;line-height:28px;border-radius:8px}._button-size-l_gxbp6_154{padding:.75rem 1.5rem;font-size:1em;line-height:24px;border-radius:8px}._button-size-m_gxbp6_160{padding:.5rem 1rem;font-size:.875em;line-height:22px;border-radius:4px}._button-size-s_gxbp6_166{padding:.375rem .75rem;font-size:.875em;line-height:16px;border-radius:4px}._button-size-menu_gxbp6_172{padding:.5rem;font-size:1em;line-height:24px;border-radius:4px}._button-gap-menu_gxbp6_178{gap:.5rem}._button-gap-xl_gxbp6_181{gap:12px}._button-gap-l_gxbp6_184{gap:8px}._button-gap-m_gxbp6_178,._button-gap-s_gxbp6_187{gap:4px}._fullWidth_gxbp6_191{width:100%}._flexHorizontalCenter_gxbp6_195{display:flex;justify-content:center;align-items:center;flex-direction:row}._flexHorizontalBetween_gxbp6_202{display:flex;justify-content:space-between;align-items:center;flex-direction:row}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@situaction/traq-ui-ste",
3
- "version": "1.1.31",
3
+ "version": "1.1.32",
4
4
  "description": "library react component Situaction",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",