asma-ui-core 3.78.2 → 3.78.3
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.
- package/dist/datetime/components/date-picker/components/DatePickerButton.js +4 -4
- package/dist/datetime/components/time-picker/TimePickerInput.js +9 -9
- package/dist/datetime/components/time-picker/components/HelperText.js +1 -1
- package/dist/src/datetime/helpers/cn.d.ts +1 -2
- package/dist/src/datetime/shared-components/ClockOutlineIcon.d.ts +1 -2
- package/dist/src/table/helpers/cn.d.ts +1 -2
- package/dist/src/table/shared-components/CheckIcon.d.ts +8 -0
- package/dist/src/table/shared-components/CircleWarningOutlineIcon.d.ts +1 -2
- package/dist/src/table/shared-components/PinIcon.d.ts +1 -2
- package/dist/table/components/StyledTableIndex.js +1 -1
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +14 -14
- package/dist/table/components/columns/action-column/components/RowActionMenu.js +16 -16
- package/dist/table/components/table-header/TableHeader.js +4 -4
- package/dist/table/shared-components/CheckIcon.js +5 -11
- package/dist/table/shared-components/StyledCheckbox.js +1 -1
- package/dist/table/shared-components/StyledMenuItem.js +1 -1
- package/dist/table/shared-components/menu-item/index.js +1 -1
- package/package.json +1 -1
- package/dist/datetime/helpers/cn.js +0 -7
- package/dist/datetime/shared-components/ClockOutlineIcon.js +0 -18
- package/dist/src/datetime/shared-components/ExpandIcon.d.ts +0 -2
- package/dist/src/datetime/shared-components/StyledTooltip.d.ts +0 -1
- package/dist/src/table/shared-components/ChevronUpIcon.d.ts +0 -2
- package/dist/src/table/shared-components/FilterIcon.d.ts +0 -2
- package/dist/table/helpers/cn.js +0 -7
- package/dist/table/shared-components/CircleWarningOutlineIcon.js +0 -26
- package/dist/table/shared-components/PinIcon.js +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cn as n } from "../../../../helpers/cn.js";
|
|
2
|
+
import { StyledButton as i } from "../../../shared-components/button/StyledButton.js";
|
|
3
3
|
import { OutlineCalendarMonth as l } from "../../../shared-components/OutlineCalendarMonth.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
-
var h = ({ onClick: e, disabled: t, localeCode: o }) => /* @__PURE__ */ r(
|
|
6
|
+
var h = ({ onClick: e, disabled: t, localeCode: o }) => /* @__PURE__ */ r(i, {
|
|
7
7
|
type: "button",
|
|
8
8
|
size: "large",
|
|
9
9
|
dataTest: "DatePickerButton",
|
|
@@ -15,7 +15,7 @@ var h = ({ onClick: e, disabled: t, localeCode: o }) => /* @__PURE__ */ r(n, {
|
|
|
15
15
|
variant: "outlined",
|
|
16
16
|
disabled: t,
|
|
17
17
|
onClick: (a) => !t && e(a),
|
|
18
|
-
className:
|
|
18
|
+
className: n(t && "cursor-not-allowed")
|
|
19
19
|
});
|
|
20
20
|
export {
|
|
21
21
|
h as DatePickerButton
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ClockOutlineIcon as E } from "../../../components/icons/clock-outline-icon/ClockOutlineIcon.js";
|
|
2
|
+
import { StyledInputField as I } from "../../../components/inputs/input-field/StyledInputField.js";
|
|
3
|
+
import { useInputMask as N } from "../../../helpers/inputMask.js";
|
|
4
|
+
import { HelperText as w, defaultTimePickerHelperMessages as y } from "./components/HelperText.js";
|
|
5
5
|
import { useEffect as M, useRef as P } from "react";
|
|
6
6
|
import { jsx as r, jsxs as R } from "react/jsx-runtime";
|
|
7
7
|
var O = (x) => {
|
|
8
|
-
const { placeholder: c, disabled: e, inputClassName: f, dataTest: n, width: l, error: u, helperText: h, label: g, locale: T = "en", popupState: a, handleChange: k, isValidTime: p, isValidEndTime: m, localValue: C, title: d, readOnly: t } = x, b =
|
|
8
|
+
const { placeholder: c, disabled: e, inputClassName: f, dataTest: n, width: l, error: u, helperText: h, label: g, locale: T = "en", popupState: a, handleChange: k, isValidTime: p, isValidEndTime: m, localValue: C, title: d, readOnly: t } = x, b = N({
|
|
9
9
|
mask: "xx:xx",
|
|
10
10
|
maskChar: "x",
|
|
11
11
|
showMask: !1
|
|
@@ -17,7 +17,7 @@ var O = (x) => {
|
|
|
17
17
|
children: [d && /* @__PURE__ */ r("div", {
|
|
18
18
|
className: "pb-1 font-roboto font-semibold text-delta-800",
|
|
19
19
|
children: d
|
|
20
|
-
}), /* @__PURE__ */ r(
|
|
20
|
+
}), /* @__PURE__ */ r(I, {
|
|
21
21
|
inputRef: b,
|
|
22
22
|
autoComplete: "off",
|
|
23
23
|
type: "text",
|
|
@@ -26,13 +26,13 @@ var O = (x) => {
|
|
|
26
26
|
placeholder: c,
|
|
27
27
|
size: "small",
|
|
28
28
|
error: i,
|
|
29
|
-
helperText: /* @__PURE__ */ r(
|
|
29
|
+
helperText: /* @__PURE__ */ r(w, {
|
|
30
30
|
isValidTime: p,
|
|
31
31
|
isValidEndTime: m,
|
|
32
32
|
error: i,
|
|
33
33
|
localization: T,
|
|
34
34
|
helperText: h,
|
|
35
|
-
messages:
|
|
35
|
+
messages: y
|
|
36
36
|
}),
|
|
37
37
|
onChange: k,
|
|
38
38
|
slotProps: {
|
|
@@ -41,7 +41,7 @@ var O = (x) => {
|
|
|
41
41
|
onMouseDown: (o) => {
|
|
42
42
|
!e && !t && a.open(o);
|
|
43
43
|
},
|
|
44
|
-
endAdornment: /* @__PURE__ */ r(
|
|
44
|
+
endAdornment: /* @__PURE__ */ r(E, {
|
|
45
45
|
width: 24,
|
|
46
46
|
height: 24,
|
|
47
47
|
className: e ? "text-delta-300" : "text-delta-700",
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
1
|
+
export { cn } from '../../helpers/cn';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function ClockOutlineIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
1
|
+
export { ClockOutlineIcon } from '../../components/icons/clock-outline-icon';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
1
|
+
export { cn } from '../../helpers/cn';
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The core `CheckIcon` (identical artwork and viewBox) wrapped only to preserve the table copy's
|
|
4
|
+
* historical `1rem` default size — the core default is 24px, and table call sites override `width`
|
|
5
|
+
* but not `height`, so a plain re-export would change the rendered glyph. ASMA-8134.
|
|
6
|
+
*
|
|
7
|
+
* The core icon also carries `aria-hidden='true'`, which the table copy was missing: these glyphs
|
|
8
|
+
* are decorative cell adornments, so hiding them from the a11y tree is the intended behaviour.
|
|
9
|
+
*/
|
|
2
10
|
export declare function CheckIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function CircleWarningOutlineIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
1
|
+
export { CircleWarningOutlineIcon } from '../../components/icons/warning-circle-icon';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function PinIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
1
|
+
export { PinIcon } from '../../components/icons/pin-icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn as p } from "
|
|
1
|
+
import { cn as p } from "../../helpers/cn.js";
|
|
2
2
|
import { RootContextProvider as te } from "../context/RootContext.js";
|
|
3
3
|
import { mobileView as oe, useWindowWidthSize as re } from "../hooks/useWindowWidthSize.hook.js";
|
|
4
4
|
import { useStyledTable as ne } from "../hooks/useStyledTable.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cn as v } from "../../../../../helpers/cn.js";
|
|
2
|
+
import { PinIcon as D } from "../../../../../components/icons/pin-icon/PinIcon.js";
|
|
3
|
+
import { message as _ } from "../../../../../components/feedback/snack-bar/message.js";
|
|
4
|
+
import { StyledPopover as T } from "../../../../../components/utils/popover/StyledPopover.js";
|
|
3
5
|
import { INTERNAL_COLUMN_IDS as S } from "../../../../types.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useToggleMenuVisibility as L } from "../../../../hooks/useToggleMenuVisibility.hook.js";
|
|
8
|
-
import { PinIcon as k } from "../../../../shared-components/PinIcon.js";
|
|
6
|
+
import { StyledCheckbox as A } from "../../../../shared-components/StyledCheckbox.js";
|
|
7
|
+
import { StyledTooltip as L } from "../../../../shared-components/tooltip/index.js";
|
|
8
|
+
import { useToggleMenuVisibility as k } from "../../../../hooks/useToggleMenuVisibility.hook.js";
|
|
9
9
|
import m from "./TableActions.module.js";
|
|
10
10
|
import d from "./HeaderActionMenu.module.js";
|
|
11
11
|
import { DotsHorizontalIcon as H } from "../../../../shared-components/DotsHorizontalIcon.js";
|
|
@@ -36,7 +36,7 @@ function q({ id: n, disabled: u, children: p }) {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
function fe({ headerData: n, locale: u }) {
|
|
39
|
-
const { anchorEl: p, open: c, handleClose: h, handleOpen: b } =
|
|
39
|
+
const { anchorEl: p, open: c, handleClose: h, handleOpen: b } = k(), g = n.table.getAllLeafColumns().some((e) => e.getCanHide() && !e.getIsVisible() && !S.includes(e.id)), l = n.table.getAllLeafColumns(), y = (e) => {
|
|
40
40
|
const { active: r, over: t } = e;
|
|
41
41
|
!r || !t || r.id === t.id || l.find((i) => i.id === t.id)?.columnDef.fixedLeft || l.find((i) => i.id === t.id)?.columnDef.fixedRight || n.table.setColumnOrder((i) => {
|
|
42
42
|
const a = R(i ?? []).length ? i : n.table.getAllLeafColumns().map((C) => C.id);
|
|
@@ -52,8 +52,8 @@ function fe({ headerData: n, locale: u }) {
|
|
|
52
52
|
"aria-expanded": c,
|
|
53
53
|
className: m["actions-header"],
|
|
54
54
|
onClick: b,
|
|
55
|
-
children: [/* @__PURE__ */ o(
|
|
56
|
-
}), /* @__PURE__ */ f(
|
|
55
|
+
children: [/* @__PURE__ */ o(D, { className: m["pin-icon"] }), g && /* @__PURE__ */ o("div", { className: m["pin-indicator"] })]
|
|
56
|
+
}), /* @__PURE__ */ f(T, {
|
|
57
57
|
anchorEl: p,
|
|
58
58
|
anchorOrigin: {
|
|
59
59
|
horizontal: "left",
|
|
@@ -83,7 +83,7 @@ function fe({ headerData: n, locale: u }) {
|
|
|
83
83
|
return r && t ? i = s.column_reorder_and_hidden : r ? i = s.column_reorder : t && (i = s.column_hidden), /* @__PURE__ */ o(q, {
|
|
84
84
|
id: e.id,
|
|
85
85
|
disabled: r,
|
|
86
|
-
children: ({ listeners: a, attributes: C }) => /* @__PURE__ */ o(
|
|
86
|
+
children: ({ listeners: a, attributes: C }) => /* @__PURE__ */ o(L, {
|
|
87
87
|
title: i,
|
|
88
88
|
arrow: !0,
|
|
89
89
|
children: /* @__PURE__ */ f("button", {
|
|
@@ -104,11 +104,11 @@ function fe({ headerData: n, locale: u }) {
|
|
|
104
104
|
userSelect: "none",
|
|
105
105
|
WebkitTouchCallout: "none"
|
|
106
106
|
},
|
|
107
|
-
className:
|
|
107
|
+
className: v(d["drag-icon"], r ? d["drag-icon--disabled"] : d["drag-icon--enabled"])
|
|
108
108
|
}),
|
|
109
109
|
/* @__PURE__ */ o("span", {
|
|
110
110
|
className: "px-2",
|
|
111
|
-
children: /* @__PURE__ */ o(
|
|
111
|
+
children: /* @__PURE__ */ o(A, {
|
|
112
112
|
readOnly: t,
|
|
113
113
|
dataTest: `${e.id}-column-visibility-checkbox`,
|
|
114
114
|
size: "small",
|
|
@@ -135,7 +135,7 @@ function fe({ headerData: n, locale: u }) {
|
|
|
135
135
|
variant: "text",
|
|
136
136
|
className: "h-10",
|
|
137
137
|
onClick: () => {
|
|
138
|
-
n.table.resetColumnOrder(),
|
|
138
|
+
n.table.resetColumnOrder(), _.info(s.column_order_reset, { closeButton: !0 });
|
|
139
139
|
},
|
|
140
140
|
children: s.reset_order
|
|
141
141
|
})
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { CircleWarningOutlineIcon as S } from "../../../../../components/icons/warning-circle-icon/CircleWarningOutlineIcon.js";
|
|
2
|
+
import { StyledPopover as A } from "../../../../../components/utils/popover/StyledPopover.js";
|
|
3
|
+
import { StyledMenuList as O } from "../../../../../components/navigation/menu/StyledMenuList.js";
|
|
4
|
+
import { isCustomAction as j } from "../../../../types.js";
|
|
4
5
|
import { StyledTooltip as g } from "../../../../shared-components/tooltip/index.js";
|
|
5
|
-
import { useToggleMenuVisibility as
|
|
6
|
-
import { StyledButton as
|
|
7
|
-
import { DotsVerticalIcon as
|
|
8
|
-
import { StyledMenuItem as
|
|
9
|
-
import { CircleWarningOutlineIcon as R } from "../../../../shared-components/CircleWarningOutlineIcon.js";
|
|
6
|
+
import { useToggleMenuVisibility as k } from "../../../../hooks/useToggleMenuVisibility.hook.js";
|
|
7
|
+
import { StyledButton as F } from "../../../../shared-components/button/StyledButton.js";
|
|
8
|
+
import { DotsVerticalIcon as I } from "../../../../shared-components/DotsVerticalIcon.js";
|
|
9
|
+
import { StyledMenuItem as R } from "../../../../shared-components/StyledMenuItem.js";
|
|
10
10
|
import w, { useEffect as V, useMemo as z, useState as D } from "react";
|
|
11
11
|
import { jsx as t, jsxs as b } from "react/jsx-runtime";
|
|
12
12
|
function X({ tableData: o, actions: v, rowActionsState: C }) {
|
|
13
|
-
const { anchorEl: x, open: a, handleClose: i, handleOpen: P } =
|
|
13
|
+
const { anchorEl: x, open: a, handleClose: i, handleOpen: P } = k(), l = v(o.row), n = C?.(o.row) ?? { state: "enabled" }, p = o.table.options.meta?.locale, y = p === "no" ? "Ingen handlinger tilgjengelig" : "No actions available", N = p === "no" ? "Radhandlinger" : "Row actions", T = z(() => l.every((e) => "component" in e ? !1 : e.hide), [l]), u = l.length > 0 && !T, m = n.state === "enabled" && !u, M = n.state !== "hidden" && (u || m || n.state === "disabled"), [c, s] = D(!1);
|
|
14
14
|
if (V(() => {
|
|
15
15
|
if (!c) return;
|
|
16
16
|
const e = window.setTimeout(() => s(!1), 1600);
|
|
17
17
|
return () => window.clearTimeout(e);
|
|
18
18
|
}, [c]), !M) return /* @__PURE__ */ t("div", { className: "flex w-[40px] items-center justify-center" });
|
|
19
|
-
const d = n.state === "disabled", f = /* @__PURE__ */ t(
|
|
19
|
+
const d = n.state === "disabled", f = /* @__PURE__ */ t(F, {
|
|
20
20
|
dataTest: "row-actions-button",
|
|
21
21
|
"aria-label": N,
|
|
22
22
|
"aria-haspopup": "true",
|
|
@@ -33,7 +33,7 @@ function X({ tableData: o, actions: v, rowActionsState: C }) {
|
|
|
33
33
|
onMouseUp: (e) => {
|
|
34
34
|
e.stopPropagation(), e.preventDefault();
|
|
35
35
|
},
|
|
36
|
-
children: /* @__PURE__ */ t(
|
|
36
|
+
children: /* @__PURE__ */ t(I, {
|
|
37
37
|
className: d ? "text-delta-300" : "text-delta-700",
|
|
38
38
|
width: 20,
|
|
39
39
|
height: 20
|
|
@@ -60,7 +60,7 @@ function X({ tableData: o, actions: v, rowActionsState: C }) {
|
|
|
60
60
|
},
|
|
61
61
|
children: f
|
|
62
62
|
})
|
|
63
|
-
}) : f, n.state === "enabled" && /* @__PURE__ */ t(
|
|
63
|
+
}) : f, n.state === "enabled" && /* @__PURE__ */ t(A, {
|
|
64
64
|
open: a,
|
|
65
65
|
anchorEl: x,
|
|
66
66
|
onClose: () => {
|
|
@@ -79,14 +79,14 @@ function X({ tableData: o, actions: v, rowActionsState: C }) {
|
|
|
79
79
|
},
|
|
80
80
|
children: m ? /* @__PURE__ */ b("div", {
|
|
81
81
|
className: "flex items-center gap-2 p-3 text-base text-delta-700",
|
|
82
|
-
children: [/* @__PURE__ */ t(
|
|
82
|
+
children: [/* @__PURE__ */ t(S, {
|
|
83
83
|
width: 20,
|
|
84
84
|
height: 20
|
|
85
85
|
}), /* @__PURE__ */ t("span", { children: y })]
|
|
86
|
-
}) : /* @__PURE__ */ t(
|
|
86
|
+
}) : /* @__PURE__ */ t(O, {
|
|
87
87
|
disablePadding: !0,
|
|
88
88
|
children: l.map((e, h) => {
|
|
89
|
-
if (
|
|
89
|
+
if (j(e)) {
|
|
90
90
|
const r = e.component(o.row, i);
|
|
91
91
|
return w.isValidElement(r) ? /* @__PURE__ */ t(w.Fragment, { children: r }, h) : null;
|
|
92
92
|
}
|
|
@@ -94,7 +94,7 @@ function X({ tableData: o, actions: v, rowActionsState: C }) {
|
|
|
94
94
|
title: e?.tooltipTitle,
|
|
95
95
|
arrow: !0,
|
|
96
96
|
placement: e?.tooltipPlacement ?? "left",
|
|
97
|
-
children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
|
|
97
|
+
children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(R, {
|
|
98
98
|
className: e.className,
|
|
99
99
|
disabled: e.disabled,
|
|
100
100
|
onClick: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cn as b } from "../../../helpers/cn.js";
|
|
2
|
+
import { ACTIONS_COLUMN_ID as j } from "../../types.js";
|
|
3
3
|
import p from "../StyledTable.module.js";
|
|
4
4
|
import { TableHeaderCell as a } from "./TableHeaderCell.js";
|
|
5
5
|
import "react";
|
|
@@ -8,14 +8,14 @@ import "@tanstack/react-table";
|
|
|
8
8
|
function q({ table: x, styledTableProps: o, tableCanResize: m, tableWidth: l, columnWindow: { paddingLeft: i, paddingRight: c, indexes: H } }) {
|
|
9
9
|
const { stickyHeader: S = !1, tableHeaderRef: g, tableHeaderStyle: D = {} } = o, y = x.getHeaderGroups(), N = { ...D };
|
|
10
10
|
return /* @__PURE__ */ n("thead", {
|
|
11
|
-
className:
|
|
11
|
+
className: b(p["table-header"], S && p["table-header--sticky"], o.tableHeaderClassName),
|
|
12
12
|
style: N,
|
|
13
13
|
ref: g,
|
|
14
14
|
children: y.map((f) => {
|
|
15
15
|
const s = f.headers.map((e, t, r) => ({
|
|
16
16
|
header: e,
|
|
17
17
|
left: r.slice(0, t).reduce((d, u) => d + (u.column.getSize() ?? 0), 0)
|
|
18
|
-
})), W = s.filter(({ header: e }) => e.column.columnDef.fixedLeft), _ = s.filter(({ header: e }) => !e.column.columnDef.fixedLeft && !e.column.columnDef.fixedRight && e.column.id !== "actions"), h = s.filter(({ header: e }) => !!e.column.columnDef.fixedRight || e.column.id === "actions"), w = h.some(({ header: e }) => e.column.id ===
|
|
18
|
+
})), W = s.filter(({ header: e }) => e.column.columnDef.fixedLeft), _ = s.filter(({ header: e }) => !e.column.columnDef.fixedLeft && !e.column.columnDef.fixedRight && e.column.id !== "actions"), h = s.filter(({ header: e }) => !!e.column.columnDef.fixedRight || e.column.id === "actions"), w = h.some(({ header: e }) => e.column.id === j), C = h.map((e, t, r) => ({
|
|
19
19
|
...e,
|
|
20
20
|
right: r.slice(t + 1).reduce((d, u) => d + (u.header.column.getSize() ?? 0), 0) + (w ? -1 : 0)
|
|
21
21
|
})), O = H.reduce((e, t) => {
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { jsx as
|
|
3
|
-
function h(
|
|
4
|
-
return /* @__PURE__ */ r
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1
|
+
import { CheckIcon as r } from "../../components/icons/check-icon/CheckIcon.js";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
function h(o) {
|
|
4
|
+
return /* @__PURE__ */ e(r, {
|
|
6
5
|
width: "1rem",
|
|
7
6
|
height: "1rem",
|
|
8
|
-
|
|
9
|
-
...t,
|
|
10
|
-
children: /* @__PURE__ */ r("path", {
|
|
11
|
-
fill: "currentColor",
|
|
12
|
-
d: "M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"
|
|
13
|
-
})
|
|
7
|
+
...o
|
|
14
8
|
});
|
|
15
9
|
}
|
|
16
10
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn as u } from "
|
|
1
|
+
import { cn as u } from "../../helpers/cn.js";
|
|
2
2
|
import { jsx as x } from "react/jsx-runtime";
|
|
3
3
|
var d = ({ children: o, disabled: e, selected: n, className: a, classes: l, onClick: r, onMouseDown: i, onMouseUp: m }) => /* @__PURE__ */ x("li", {
|
|
4
4
|
role: "menuitem",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn as i } from "
|
|
1
|
+
import { cn as i } from "../../../helpers/cn.js";
|
|
2
2
|
import { CheckIcon as l } from "../CheckIcon.js";
|
|
3
3
|
import { jsx as m, jsxs as s } from "react/jsx-runtime";
|
|
4
4
|
var g = ({ children: n, selected: o, disabled: e, className: a, onClick: t }) => /* @__PURE__ */ s("li", {
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
function l(o) {
|
|
4
|
-
return /* @__PURE__ */ t("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: "1em",
|
|
7
|
-
height: "1em",
|
|
8
|
-
viewBox: "0 0 24 24",
|
|
9
|
-
...o,
|
|
10
|
-
children: /* @__PURE__ */ t("path", {
|
|
11
|
-
fill: "currentColor",
|
|
12
|
-
d: "M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
l as ClockOutlineIcon
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StyledTooltip, type TooltipProps } from '../../components/data-display/tooltip/StyledTooltip';
|
package/dist/table/helpers/cn.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
3
|
-
function c(o) {
|
|
4
|
-
return /* @__PURE__ */ r("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: "16",
|
|
7
|
-
height: "16",
|
|
8
|
-
viewBox: "0 0 16 16 ",
|
|
9
|
-
...o,
|
|
10
|
-
children: /* @__PURE__ */ e("g", {
|
|
11
|
-
fill: "none",
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
"stroke-linecap": "round",
|
|
14
|
-
"stroke-linejoin": "round",
|
|
15
|
-
"stroke-width": "1.5",
|
|
16
|
-
children: [/* @__PURE__ */ r("circle", {
|
|
17
|
-
cx: "8",
|
|
18
|
-
cy: "8",
|
|
19
|
-
r: "6.25"
|
|
20
|
-
}), /* @__PURE__ */ r("path", { d: "m8 10.75v0m0-6v3.5" })]
|
|
21
|
-
})
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
c as CircleWarningOutlineIcon
|
|
26
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
-
function l(e) {
|
|
4
|
-
return /* @__PURE__ */ r("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: "1rem",
|
|
7
|
-
height: "1rem",
|
|
8
|
-
viewBox: "0 0 24 24",
|
|
9
|
-
...e,
|
|
10
|
-
children: /* @__PURE__ */ r("path", {
|
|
11
|
-
fill: "currentColor",
|
|
12
|
-
fillRule: "evenodd",
|
|
13
|
-
d: "M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"
|
|
14
|
-
})
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
l as PinIcon
|
|
19
|
-
};
|