@situaction/traq-ui-ste 1.2.3 → 1.2.5

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.
@@ -79,7 +79,7 @@ const O = "_selectContainer_133eb_54", Q = "_selected_133eb_57", X = "_children_
79
79
  }
80
80
  );
81
81
  }, E = m(null), g = m({}), [R, v] = b(""), h = m(null), K = m({}), j = s.filter(
82
- (e) => (e.label ?? "").toLowerCase().includes($.toLowerCase())
82
+ (e) => String(e.label ?? "").toLowerCase().includes($.toLowerCase())
83
83
  ), N = (e) => {
84
84
  if (!t) return;
85
85
  const o = e.key.length === 1 ? e.key.toLowerCase() : "";
@@ -1,15 +1,15 @@
1
- import { jsxs as g, jsx as d } from "react/jsx-runtime";
2
- import { useState as h } from "react";
3
- import '../../styles/Tooltip.css';const y = "_tooltip_7qhvn_30", s = {
4
- "tooltip-container": "_tooltip-container_7qhvn_30",
1
+ import { jsxs as g, jsx as b } from "react/jsx-runtime";
2
+ import { useState as d } from "react";
3
+ import '../../styles/Tooltip.css';const y = "_tooltip_19b26_30", s = {
4
+ "tooltip-container": "_tooltip-container_19b26_30",
5
5
  tooltip: y
6
- }, _ = ({ children: l, content: n, position: a = "top", gap: i = "xs-5", padding: r = "xs-5" }) => {
7
- const [p, o] = h(!1), c = [
6
+ }, _ = ({ children: l, content: a, position: i = "top", gap: n = "xs-5", padding: r = "xs-5" }) => {
7
+ const [p, o] = d(!1), c = [
8
8
  s.tooltip,
9
9
  "labelMedium",
10
10
  "fontWeight-600"
11
11
  ].filter(Boolean).join(" "), m = {
12
- "--dynamic-gap": `var(--spacing-${i})`,
12
+ "--dynamic-gap": `var(--spacing-${n})`,
13
13
  "--dynamic-padding": `var(--spacing-${r})`
14
14
  }, f = () => {
15
15
  const t = "calc(100% + var(--dynamic-gap))", e = {
@@ -22,7 +22,7 @@ import '../../styles/Tooltip.css';const y = "_tooltip_7qhvn_30", s = {
22
22
  left: { top: "50%", right: t, transform: "translateY(-50%)" },
23
23
  right: { top: "50%", left: t, transform: "translateY(-50%)" }
24
24
  };
25
- return { ...e[a] || e.top };
25
+ return { ...e[i] || e.top };
26
26
  };
27
27
  return /* @__PURE__ */ g(
28
28
  "div",
@@ -33,7 +33,7 @@ import '../../styles/Tooltip.css';const y = "_tooltip_7qhvn_30", s = {
33
33
  onMouseLeave: () => o(!1),
34
34
  children: [
35
35
  l,
36
- p && /* @__PURE__ */ d("div", { className: c, style: f(), children: n })
36
+ p && /* @__PURE__ */ b("div", { className: c, style: f(), children: a })
37
37
  ]
38
38
  }
39
39
  );
@@ -1 +1 @@
1
- ._tooltip-container_7qhvn_30{position:relative;width:auto;height:auto;display:flex;justify-content:center;align-items:center;cursor:pointer}._tooltip-container_7qhvn_30 ._tooltip_7qhvn_30{position:absolute;padding:var(--dynamic-padding);border:1px solid var(--general-border-window);border-radius:.5rem;font-size:12px;white-space:nowrap;z-index:10;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s;background-color:var(--background-tooltip);box-shadow:0 4px 5px 0 var(--shadow-color-minimal);color:var(--general-text-icons)}._tooltip-container_7qhvn_30:hover ._tooltip_7qhvn_30{opacity:1;visibility:visible}
1
+ ._tooltip-container_19b26_30{position:relative;width:100%;height:auto;display:flex;justify-content:center;align-items:center;cursor:pointer}._tooltip-container_19b26_30 ._tooltip_19b26_30{position:absolute;padding:var(--dynamic-padding);border:1px solid var(--general-border-window);border-radius:.5rem;font-size:12px;white-space:nowrap;z-index:10;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s;background-color:var(--background-tooltip);box-shadow:0 4px 5px 0 var(--shadow-color-minimal);color:var(--general-text-icons)}._tooltip-container_19b26_30:hover ._tooltip_19b26_30{opacity:1;visibility:visible}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@situaction/traq-ui-ste",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "library react component Situaction",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",