@midas-ds/components 17.10.8 → 17.10.10
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/CHANGELOG.md +19 -0
- package/assets/LinkButton.css +1 -1
- package/assets/Table.css +1 -1
- package/chunks/LinkButton-Dzp8ZAPs.js +68 -0
- package/chunks/{Table-BUxwddHW.js → Table-DBdY7MIw.js} +37 -37
- package/index.js +3 -3
- package/link-button/index.js +1 -1
- package/package.json +1 -1
- package/table/index.js +1 -1
- package/chunks/LinkButton-DWKAbxXF.js +0 -68
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 17.10.10 (2026-03-27)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components,table-styles,datepicker-styles,select-styles:** add user-select and touch-action to non-RAC interactive elements ([248294fd3e](https://github.com/migrationsverket/midas/commit/248294fd3e))
|
|
6
|
+
|
|
7
|
+
## 17.10.9 (2026-03-27)
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- **components,table:** bump sort icon touch opacity to 0.5 for WCAG contrast ([22adcd40fd](https://github.com/migrationsverket/midas/commit/22adcd40fd))
|
|
12
|
+
- **components,table:** show sort icon at low opacity on touch devices ([2b3f27b6b5](https://github.com/migrationsverket/midas/commit/2b3f27b6b5))
|
|
13
|
+
- **components,link-button:** consolidate hover rules under @media (hover: hover) ([6c6c2d9cd6](https://github.com/migrationsverket/midas/commit/6c6c2d9cd6))
|
|
14
|
+
- **components,link-button:** move redundant :hover rules under @media (hover: hover) ([c200e16ebe](https://github.com/migrationsverket/midas/commit/c200e16ebe))
|
|
15
|
+
|
|
16
|
+
### 🔧 Maintenance
|
|
17
|
+
|
|
18
|
+
- **components,link-button:** clean up disabled selector specificity in hover rules ([973a51e507](https://github.com/migrationsverket/midas/commit/973a51e507))
|
|
19
|
+
|
|
1
20
|
## 17.10.8 (2026-03-26)
|
|
2
21
|
|
|
3
22
|
### 🧪 Tests updated
|
package/assets/LinkButton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._linkButton_1k5w6_1{--border-width: 1px;font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-30);font-weight:500;padding:calc(var(--midas-space-70) - var(--midas-border-width)) calc(var(--midas-space-large) - var(--midas-border-width));background-color:var(--midas-button-background-primary-base);border:solid var(--midas-border-width) transparent;color:var(--midas-text-on-color);cursor:pointer;outline:none;display:inline-flex;align-items:center;justify-content:center;gap:var(--midas-space-small);text-decoration:none;line-height:1}@media(hover:hover){._linkButton_1k5w6_1[data-hovered]:not([data-disabled]),._linkButton_1k5w6_1:hover:not(:disabled){text-decoration:none;background-color:var(--midas-button-background-primary-hover);color:var(--midas-text-on-color)}@media(forced-colors:active){._linkButton_1k5w6_1[data-hovered]:not([data-disabled]),._linkButton_1k5w6_1:hover:not(:disabled){color:highlight}}}._linkButton_1k5w6_1[data-pressed],._linkButton_1k5w6_1:active{background-color:var(--midas-button-background-primary-active);outline:none}._linkButton_1k5w6_1[data-focus-visible],._linkButton_1k5w6_1:focus-visible{box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._linkButton_1k5w6_1[data-focus-visible],._linkButton_1k5w6_1:focus-visible{outline:3px solid highlight;outline-offset:2px}}._linkButton_1k5w6_1[data-disabled],._linkButton_1k5w6_1:disabled{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-button-background-disabled)}._secondary_1k5w6_58{color:var(--midas-text-tertiary);background-color:var(--midas-button-background-secondary-base);border-color:var(--midas-button-border-secondary)}._secondary_1k5w6_58 ._icon_1k5w6_63{color:var(--midas-icon-tertiary)}@media(forced-colors:active){._secondary_1k5w6_58 ._icon_1k5w6_63{color:LinkText}}@media(hover:hover){._secondary_1k5w6_58[data-hovered]:not([data-disabled]),._secondary_1k5w6_58:hover:not(:disabled){color:var(--midas-text-tertiary);background-color:var(--midas-button-background-secondary-hover)}@media(forced-colors:active){._secondary_1k5w6_58[data-hovered]:not([data-disabled]),._secondary_1k5w6_58:hover:not(:disabled){color:highlight}:is(._secondary_1k5w6_58[data-hovered]:not([data-disabled]),._secondary_1k5w6_58:hover:not(:disabled)) ._icon_1k5w6_63{color:highlight}}}._secondary_1k5w6_58[data-disabled],._secondary_1k5w6_58:disabled{border-color:var(--midas-border-color-disabled)}:is(._secondary_1k5w6_58[data-disabled],._secondary_1k5w6_58:disabled) ._icon_1k5w6_63{color:var(--midas-text-disabled)}._secondary_1k5w6_58[data-pressed],._secondary_1k5w6_58:active{background-color:var(--midas-button-background-secondary-active)}._tertiary_1k5w6_102{color:var(--midas-text-tertiary);background-color:transparent;opacity:1}@media(forced-colors:active){._tertiary_1k5w6_102{background-color:canvas}}@media(hover:hover){._tertiary_1k5w6_102[data-hovered]:not([data-disabled]),._tertiary_1k5w6_102:hover:not(:disabled){color:var(--midas-text-tertiary);background-color:var(--midas-button-background-tertiary-hover)}@media(forced-colors:active){._tertiary_1k5w6_102[data-hovered]:not([data-disabled]),._tertiary_1k5w6_102:hover:not(:disabled){color:highlight;background-color:canvas}}}._tertiary_1k5w6_102[data-pressed],._tertiary_1k5w6_102:active{background-color:var(--midas-button-background-tertiary-active)}._danger_1k5w6_130{color:var(--midas-color-white-base);background-color:var(--midas-button-background-danger-base);opacity:1}@media(hover:hover){._danger_1k5w6_130[data-hovered]:not([data-disabled]),._danger_1k5w6_130:hover:not(:disabled){background-color:var(--midas-button-background-danger-hover)}}._danger_1k5w6_130[data-pressed],._danger_1k5w6_130:active{background-color:var(--midas-button-background-danger-active);outline:none}._iconBtn_1k5w6_149{background-color:transparent;padding:calc(var(--midas-space-70) - var(--midas-border-width));color:var(--midas-text-tertiary);display:flex;align-items:center}@media(hover:hover){._iconBtn_1k5w6_149[data-hovered]:not([data-disabled]),._iconBtn_1k5w6_149:hover:not(:disabled){background-color:var(--midas-button-icon-hover)}}._iconBtn_1k5w6_149[data-disabled],._iconBtn_1k5w6_149:disabled{color:var(--midas-text-disabled)}._iconBtn_1k5w6_149[data-pressed],._iconBtn_1k5w6_149:active{background-color:var(--midas-button-background-tertiary-active)}._iconBtn_1k5w6_149._medium_1k5w6_173{padding:calc(var(--midas-space-50) - var(--midas-border-width))}._iconLeft_1k5w6_178{flex-direction:row-reverse}._fullwidth_1k5w6_182{width:100%}._medium_1k5w6_173{padding:calc(var(--midas-space-50) - var(--midas-border-width)) calc(var(--midas-space-medium) - var(--midas-border-width))}@media(max-width:479px){._button_1k5w6_192{width:100%}}
|
package/assets/Table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._table_1s8du_1{border-spacing:0;font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-20);line-height:var(--midas-typography-line-height-20)}._table_1s8du_1>div{pointer-events:auto!important}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12{background-color:var(--midas-layer-accent-01-base);color:var(--midas-text-primary);font-weight:500;padding:var(--midas-space-75) var(--midas-space-medium);text-align:left}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-focus-visible]{outline:var(--midas-space-10) solid var(--midas-border-color-primary);outline-offset:-4px}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting]{cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting] ._sortIndicator_1s8du_29{display:inline-flex;align-items:center;justify-content:center;margin-left:var(--midas-space-xsmall);vertical-align:text-bottom}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting] ._sortIconNeutral_1s8du_37{opacity:0;transition:opacity var(--midas-transition-duration-quick) var(--midas-transition-timing-ease-in-out)}@media(prefers-reduced-motion){._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting] ._sortIconNeutral_1s8du_37{transition:none}}@media(hover:none){._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting] ._sortIconNeutral_1s8du_37{opacity:.5}}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12[data-allows-sorting]:hover ._sortIconNeutral_1s8du_37{opacity:.5}._table_1s8du_1 ._tableHeader_1s8du_11 ._column_1s8du_12 ._selection_1s8du_56{height:18px}._table_1s8du_1 ._row_1s8du_62{background-color:var(--midas-layer-01-base);height:100%}._table_1s8du_1 ._row_1s8du_62[data-focused]{outline:var(--midas-space-10) solid var(--midas-border-color-primary);outline-offset:-4px}._table_1s8du_1 ._row_1s8du_62[data-href]{cursor:pointer}._table_1s8du_1 ._row_1s8du_62[data-hovered]{background-color:var(--midas-layer-01-hover)}._table_1s8du_1 ._row_1s8du_62 ._cell_1s8du_80{border-bottom:1px var(--midas-border-color-subtle) solid;color:var(--midas-text-primary);padding:calc(var(--midas-space-75) - 1px) var(--midas-space-medium) var(--midas-space-75)}._table_1s8du_1 ._row_1s8du_62 ._cell_1s8du_80[data-focus-visible]{outline-offset:-4px;outline:var(--midas-space-10) solid var(--midas-border-color-primary)}._table_1s8du_1 ._row_1s8du_62 ._cell_1s8du_80 ._selection_1s8du_56{height:18px}._table_1s8du_1._narrow_1s8du_97{font-size:var(--midas-typography-font-size-10);line-height:var(--midas-typography-line-height-10)}._table_1s8du_1._narrow_1s8du_97 ._column_1s8du_12{padding:var(--midas-space-xsmall) var(--midas-space-medium);height:14px}._table_1s8du_1._narrow_1s8du_97 ._column_1s8du_12 ._selection_1s8du_56{height:14px}._table_1s8du_1._narrow_1s8du_97 ._cell_1s8du_80{padding:calc(var(--midas-space-xsmall) - 1px) var(--midas-space-medium) var(--midas-space-xsmall)}._table_1s8du_1._narrow_1s8du_97 ._cell_1s8du_80 ._selection_1s8du_56{height:16px}._table_1s8du_1._medium_1s8du_120:not(._narrow_1s8du_97) ._column_1s8du_12{padding:calc(var(--midas-space-60) - 1px) var(--midas-space-medium)}._table_1s8du_1._medium_1s8du_120:not(._narrow_1s8du_97) ._cell_1s8du_80{padding:calc(var(--midas-space-60) - 2px) var(--midas-space-medium) calc(var(--midas-space-60) - 1px)}._table_1s8du_1._striped_1s8du_131 ._row_1s8du_62:nth-child(odd):not([data-even=false]),._table_1s8du_1._striped_1s8du_131 ._row_1s8du_62[data-even=true]{background-color:transparent}:is(._table_1s8du_1._striped_1s8du_131 ._row_1s8du_62:nth-child(odd):not([data-even=false]),._table_1s8du_1._striped_1s8du_131 ._row_1s8du_62[data-even=true])[data-hovered]{background-color:var(--midas-layer-accent-01-hover)}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsxs as f, jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import { Link as u } from "react-aria-components";
|
|
4
|
+
import { c as k } from "./clsx-AexbMWKp.js";
|
|
5
|
+
import { S as w } from "./square-arrow-out-up-right-x_I6wdNi.js";
|
|
6
|
+
import { c as y } from "./createLucideIcon-CP-mMPfa.js";
|
|
7
|
+
import { A as p } from "./arrow-right-BVcFGZmy.js";
|
|
8
|
+
import '../assets/LinkButton.css';const g = [
|
|
9
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
10
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
11
|
+
], h = y("arrow-left", g), B = "_linkButton_1k5w6_1", L = "_secondary_1k5w6_58", x = "_icon_1k5w6_63", A = "_tertiary_1k5w6_102", I = "_danger_1k5w6_130", N = "_iconBtn_1k5w6_149", j = "_medium_1k5w6_173", z = "_iconLeft_1k5w6_178", R = "_fullwidth_1k5w6_182", t = {
|
|
12
|
+
linkButton: B,
|
|
13
|
+
secondary: L,
|
|
14
|
+
icon: x,
|
|
15
|
+
tertiary: A,
|
|
16
|
+
danger: I,
|
|
17
|
+
iconBtn: N,
|
|
18
|
+
medium: j,
|
|
19
|
+
iconLeft: z,
|
|
20
|
+
fullwidth: R
|
|
21
|
+
}, D = ({
|
|
22
|
+
children: o,
|
|
23
|
+
variant: n,
|
|
24
|
+
fullwidth: s,
|
|
25
|
+
icon: r,
|
|
26
|
+
iconPlacement: e,
|
|
27
|
+
className: _,
|
|
28
|
+
as: m,
|
|
29
|
+
size: a = "large",
|
|
30
|
+
...i
|
|
31
|
+
}) => {
|
|
32
|
+
const d = m || u, l = r || (i.target === "_blank" ? w : e === "left" ? h : p);
|
|
33
|
+
return /* @__PURE__ */ f(
|
|
34
|
+
d,
|
|
35
|
+
{
|
|
36
|
+
className: k(
|
|
37
|
+
t.linkButton,
|
|
38
|
+
n === "primary" && t.primary,
|
|
39
|
+
n === "secondary" && t.secondary,
|
|
40
|
+
n === "tertiary" && t.tertiary,
|
|
41
|
+
n === "danger" && t.danger,
|
|
42
|
+
n === "icon" && t.iconBtn,
|
|
43
|
+
a === "medium" && t.medium,
|
|
44
|
+
s && t.fullwidth,
|
|
45
|
+
e === "left" && t.iconLeft,
|
|
46
|
+
_
|
|
47
|
+
),
|
|
48
|
+
...i,
|
|
49
|
+
children: [
|
|
50
|
+
o,
|
|
51
|
+
/* @__PURE__ */ c(
|
|
52
|
+
S,
|
|
53
|
+
{
|
|
54
|
+
className: t.icon,
|
|
55
|
+
icon: l,
|
|
56
|
+
size: 20
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}, S = ({
|
|
63
|
+
icon: o,
|
|
64
|
+
...n
|
|
65
|
+
}) => /* @__PURE__ */ c(o, { ...n });
|
|
66
|
+
export {
|
|
67
|
+
D as L
|
|
68
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as e, jsxs as d, Fragment as b } from "react/jsx-runtime";
|
|
3
|
-
import { Cell as w, Column as g, useTableOptions as _, Row as N, Button as k, Collection as
|
|
3
|
+
import { Cell as w, Column as g, useTableOptions as _, Row as N, Button as k, Collection as p, Table as f, TableBody as x, TableHeader as T } from "react-aria-components";
|
|
4
4
|
import { C as h } from "./Checkbox-CwzV5QbM.js";
|
|
5
5
|
import { c as a } from "./clsx-AexbMWKp.js";
|
|
6
6
|
import { c as i } from "./createLucideIcon-CP-mMPfa.js";
|
|
@@ -25,7 +25,7 @@ const H = [
|
|
|
25
25
|
["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
|
|
26
26
|
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
27
27
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
28
|
-
], z = i("grip-vertical", H), M = "
|
|
28
|
+
], z = i("grip-vertical", H), M = "_table_1s8du_1", R = "_tableHeader_1s8du_11", q = "_column_1s8du_12", A = "_sortIndicator_1s8du_29", D = "_sortIconNeutral_1s8du_37", V = "_selection_1s8du_56", U = "_row_1s8du_62", F = "_cell_1s8du_80", G = "_medium_1s8du_120", L = "_striped_1s8du_131", o = {
|
|
29
29
|
table: M,
|
|
30
30
|
tableHeader: R,
|
|
31
31
|
column: q,
|
|
@@ -37,73 +37,73 @@ const H = [
|
|
|
37
37
|
medium: G,
|
|
38
38
|
striped: L
|
|
39
39
|
}, P = ({
|
|
40
|
-
size:
|
|
41
|
-
striped:
|
|
40
|
+
size: s = "large",
|
|
41
|
+
striped: c = !1,
|
|
42
42
|
className: t,
|
|
43
|
-
...
|
|
43
|
+
...r
|
|
44
44
|
}) => /* @__PURE__ */ e(
|
|
45
45
|
f,
|
|
46
46
|
{
|
|
47
47
|
className: a(o.table, t, {
|
|
48
|
-
[o.medium]:
|
|
49
|
-
[o.striped]:
|
|
48
|
+
[o.medium]: s === "medium",
|
|
49
|
+
[o.striped]: c
|
|
50
50
|
}),
|
|
51
|
-
...
|
|
51
|
+
...r
|
|
52
52
|
}
|
|
53
53
|
), Q = ({
|
|
54
|
-
columns:
|
|
55
|
-
children:
|
|
54
|
+
columns: s,
|
|
55
|
+
children: c,
|
|
56
56
|
className: t
|
|
57
57
|
}) => {
|
|
58
|
-
const { selectionBehavior:
|
|
58
|
+
const { selectionBehavior: r, selectionMode: l, allowsDragging: n } = _();
|
|
59
59
|
return /* @__PURE__ */ d(T, { className: a(t, o.tableHeader), children: [
|
|
60
60
|
n && /* @__PURE__ */ e(m, {}),
|
|
61
|
-
|
|
61
|
+
r === "toggle" && /* @__PURE__ */ e(m, { width: 50, children: l === "multiple" && /* @__PURE__ */ e(
|
|
62
62
|
h,
|
|
63
63
|
{
|
|
64
64
|
className: o.selection,
|
|
65
65
|
slot: "selection"
|
|
66
66
|
}
|
|
67
67
|
) }),
|
|
68
|
-
/* @__PURE__ */ e(
|
|
68
|
+
/* @__PURE__ */ e(p, { items: s, children: c })
|
|
69
69
|
] });
|
|
70
70
|
}, W = ({
|
|
71
|
-
id:
|
|
72
|
-
columns:
|
|
71
|
+
id: s,
|
|
72
|
+
columns: c,
|
|
73
73
|
children: t,
|
|
74
|
-
className:
|
|
75
|
-
...
|
|
74
|
+
className: r,
|
|
75
|
+
...l
|
|
76
76
|
}) => {
|
|
77
77
|
const { selectionBehavior: n, allowsDragging: y } = _();
|
|
78
78
|
return /* @__PURE__ */ d(
|
|
79
79
|
N,
|
|
80
80
|
{
|
|
81
|
-
id:
|
|
82
|
-
className: a(
|
|
83
|
-
...
|
|
81
|
+
id: s,
|
|
82
|
+
className: a(r, o.row),
|
|
83
|
+
...l,
|
|
84
84
|
children: [
|
|
85
|
-
y && /* @__PURE__ */ e(
|
|
86
|
-
n === "toggle" && /* @__PURE__ */ e(
|
|
85
|
+
y && /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(k, { slot: "drag", children: /* @__PURE__ */ e(z, { size: 20 }) }) }),
|
|
86
|
+
n === "toggle" && /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(
|
|
87
87
|
h,
|
|
88
88
|
{
|
|
89
89
|
className: o.selection,
|
|
90
90
|
slot: "selection"
|
|
91
91
|
}
|
|
92
92
|
) }),
|
|
93
|
-
/* @__PURE__ */ e(
|
|
93
|
+
/* @__PURE__ */ e(p, { items: c, children: t })
|
|
94
94
|
]
|
|
95
95
|
}
|
|
96
96
|
);
|
|
97
|
-
}, m = ({ children:
|
|
97
|
+
}, m = ({ children: s, className: c, ...t }) => /* @__PURE__ */ e(
|
|
98
98
|
g,
|
|
99
99
|
{
|
|
100
|
-
className: a(
|
|
100
|
+
className: a(c, o.column),
|
|
101
101
|
...t,
|
|
102
|
-
children: ({ allowsSorting:
|
|
103
|
-
const n = () =>
|
|
102
|
+
children: ({ allowsSorting: r, sortDirection: l }) => {
|
|
103
|
+
const n = () => l === "ascending" ? /* @__PURE__ */ e(B, { size: 16 }) : l === "descending" ? /* @__PURE__ */ e(I, { size: 16 }) : /* @__PURE__ */ e($, { size: 16, className: o.sortIconNeutral });
|
|
104
104
|
return /* @__PURE__ */ d(b, { children: [
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
s,
|
|
106
|
+
r && /* @__PURE__ */ e(
|
|
107
107
|
"span",
|
|
108
108
|
{
|
|
109
109
|
"aria-hidden": "true",
|
|
@@ -114,24 +114,24 @@ const H = [
|
|
|
114
114
|
] });
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
),
|
|
117
|
+
), u = ({ className: s, ...c }) => /* @__PURE__ */ e(
|
|
118
118
|
w,
|
|
119
119
|
{
|
|
120
|
-
className: a(
|
|
121
|
-
...
|
|
120
|
+
className: a(s, o.cell),
|
|
121
|
+
...c
|
|
122
122
|
}
|
|
123
123
|
), X = ({
|
|
124
|
-
className:
|
|
125
|
-
...
|
|
124
|
+
className: s,
|
|
125
|
+
...c
|
|
126
126
|
}) => /* @__PURE__ */ e(
|
|
127
127
|
x,
|
|
128
128
|
{
|
|
129
|
-
className: a(
|
|
130
|
-
...
|
|
129
|
+
className: a(s, o.tableBody),
|
|
130
|
+
...c
|
|
131
131
|
}
|
|
132
132
|
);
|
|
133
133
|
export {
|
|
134
|
-
|
|
134
|
+
u as C,
|
|
135
135
|
W as R,
|
|
136
136
|
P as T,
|
|
137
137
|
m as a,
|
package/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import { I as mo } from "./chunks/InfoBanner-CWLvkP6D.js";
|
|
|
24
24
|
import { L as fo } from "./chunks/Label-Cg0aAlnt.js";
|
|
25
25
|
import { H as To, L as lo, N as co, S as go, a as uo } from "./chunks/Layout-DLe0UoSw.js";
|
|
26
26
|
import { L as Co } from "./chunks/Link-CyY3-8M8.js";
|
|
27
|
-
import { L as bo } from "./chunks/LinkButton-
|
|
27
|
+
import { L as bo } from "./chunks/LinkButton-Dzp8ZAPs.js";
|
|
28
28
|
import { L as Io, a as Do } from "./chunks/Logo-DDykn5b2.js";
|
|
29
29
|
import { M as Ro } from "./chunks/Dialog-BSWBlyJI.js";
|
|
30
30
|
import { P as Po } from "./chunks/Popover-CjEPHe4A.js";
|
|
@@ -34,7 +34,7 @@ import { S as yo } from "./chunks/SearchField-VIMb28RB.js";
|
|
|
34
34
|
import { S as No } from "./chunks/Select-CeVD6WyY.js";
|
|
35
35
|
import { S as zo } from "./chunks/Skeleton-tiP1Syzf.js";
|
|
36
36
|
import { S as Qo } from "./chunks/Spinner-CfKMn18u.js";
|
|
37
|
-
import { C as Zo, a as jo, R as qo, T as Jo, b as Ko, c as Uo } from "./chunks/Table-
|
|
37
|
+
import { C as Zo, a as jo, R as qo, T as Jo, b as Ko, c as Uo } from "./chunks/Table-DBdY7MIw.js";
|
|
38
38
|
import { T as Xo, a as Yo, b as _o, c as $o } from "./chunks/TabList-CJSnr6O0.js";
|
|
39
39
|
import { T as aa, a as ra, b as ea } from "./chunks/TagGroup-DPFh8qHR.js";
|
|
40
40
|
import { T as sa } from "./chunks/Text-D0r_W4lH.js";
|
|
@@ -50,7 +50,7 @@ import { c as Qa } from "./chunks/clsx-AexbMWKp.js";
|
|
|
50
50
|
import { DialogTrigger as Za, MenuTrigger as ja, RouterProvider as qa } from "react-aria-components";
|
|
51
51
|
import { u as Ka } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
|
|
52
52
|
import { useToastState as Wa } from "react-stately";
|
|
53
|
-
const o = "17.10.
|
|
53
|
+
const o = "17.10.10", a = {
|
|
54
54
|
version: o
|
|
55
55
|
}, r = a.version;
|
|
56
56
|
export {
|
package/link-button/index.js
CHANGED
package/package.json
CHANGED
package/table/index.js
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsxs as l, jsx as c } from "react/jsx-runtime";
|
|
3
|
-
import { Link as u } from "react-aria-components";
|
|
4
|
-
import { c as x } from "./clsx-AexbMWKp.js";
|
|
5
|
-
import { S as y } from "./square-arrow-out-up-right-x_I6wdNi.js";
|
|
6
|
-
import { c as p } from "./createLucideIcon-CP-mMPfa.js";
|
|
7
|
-
import { A as g } from "./arrow-right-BVcFGZmy.js";
|
|
8
|
-
import '../assets/LinkButton.css';const h = [
|
|
9
|
-
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
10
|
-
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
11
|
-
], k = p("arrow-left", h), B = "_linkButton_ix6fe_1", L = "_secondary_ix6fe_56", w = "_icon_ix6fe_61", A = "_tertiary_ix6fe_98", I = "_danger_ix6fe_124", N = "_iconBtn_ix6fe_141", j = "_medium_ix6fe_163", z = "_iconLeft_ix6fe_168", R = "_fullwidth_ix6fe_172", t = {
|
|
12
|
-
linkButton: B,
|
|
13
|
-
secondary: L,
|
|
14
|
-
icon: w,
|
|
15
|
-
tertiary: A,
|
|
16
|
-
danger: I,
|
|
17
|
-
iconBtn: N,
|
|
18
|
-
medium: j,
|
|
19
|
-
iconLeft: z,
|
|
20
|
-
fullwidth: R
|
|
21
|
-
}, D = ({
|
|
22
|
-
children: o,
|
|
23
|
-
variant: n,
|
|
24
|
-
fullwidth: s,
|
|
25
|
-
icon: e,
|
|
26
|
-
iconPlacement: i,
|
|
27
|
-
className: f,
|
|
28
|
-
as: _,
|
|
29
|
-
size: m = "large",
|
|
30
|
-
...r
|
|
31
|
-
}) => {
|
|
32
|
-
const a = _ || u, d = e || (r.target === "_blank" ? y : i === "left" ? k : g);
|
|
33
|
-
return /* @__PURE__ */ l(
|
|
34
|
-
a,
|
|
35
|
-
{
|
|
36
|
-
className: x(
|
|
37
|
-
t.linkButton,
|
|
38
|
-
n === "primary" && t.primary,
|
|
39
|
-
n === "secondary" && t.secondary,
|
|
40
|
-
n === "tertiary" && t.tertiary,
|
|
41
|
-
n === "danger" && t.danger,
|
|
42
|
-
n === "icon" && t.iconBtn,
|
|
43
|
-
m === "medium" && t.medium,
|
|
44
|
-
s && t.fullwidth,
|
|
45
|
-
i === "left" && t.iconLeft,
|
|
46
|
-
f
|
|
47
|
-
),
|
|
48
|
-
...r,
|
|
49
|
-
children: [
|
|
50
|
-
o,
|
|
51
|
-
/* @__PURE__ */ c(
|
|
52
|
-
S,
|
|
53
|
-
{
|
|
54
|
-
className: t.icon,
|
|
55
|
-
icon: d,
|
|
56
|
-
size: 20
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}, S = ({
|
|
63
|
-
icon: o,
|
|
64
|
-
...n
|
|
65
|
-
}) => /* @__PURE__ */ c(o, { ...n });
|
|
66
|
-
export {
|
|
67
|
-
D as L
|
|
68
|
-
};
|