@midas-ds/components 17.33.7 → 17.34.0
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 +6 -0
- package/accordion/index.js +1 -1
- package/aria/index.d.ts +3 -0
- package/aria/index.js +3 -0
- package/button/index.js +1 -1
- package/calendar/index.js +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/{FeedbackStatusIcon-Ba31xgcy.js → FeedbackStatusIcon-DX5ndhm3.js} +1 -1
- package/chunks/{accordion-BKnABSyU.js → accordion-DCylOvk-.js} +2 -2
- package/chunks/button-Vq0ARno3.js +34 -0
- package/chunks/{calendar-BOTC3DKx.js → calendar-CdKnEG5o.js} +3 -3
- package/chunks/{checkbox-CzH8BdsB.js → checkbox-BAYWLn77.js} +2 -2
- package/chunks/{clear-button-CeQy0RdK.js → clear-button-q2aTPqmU.js} +1 -1
- package/chunks/{color-scheme-switch-BpmV-r9p.js → color-scheme-switch-D--ppbpi.js} +2 -2
- package/chunks/{combobox-DQ3d6pLc.js → combobox-DC8escnY.js} +3 -3
- package/chunks/{date-field-CdlSlO7A.js → date-field-B6STeIzX.js} +3 -3
- package/chunks/{date-picker-IJI2Bxlx.js → date-picker-DCFHCDjr.js} +6 -6
- package/chunks/{file-list-etDe20pj.js → file-list-BqPDm31w.js} +4 -4
- package/chunks/{info-banner-BKB7_CPh.js → info-banner-DxN9h_6W.js} +3 -3
- package/chunks/{label-B5-Kmj4t.js → label-aX8yboSc.js} +3 -3
- package/chunks/{layout-Cs8Oc8sf.js → layout-CHum4Cpf.js} +3 -3
- package/chunks/{link-CG_mHnLv.js → link-CyjmtEZP.js} +1 -1
- package/chunks/{link-button-4xRbQqH2.js → link-button-D6t-8zQQ.js} +1 -1
- package/chunks/{list-box-frfQGO1x.js → list-box-Cs65YWMd.js} +26 -25
- package/chunks/{logo-Xe8PO0US.js → logo-CBGOnROk.js} +1 -1
- package/chunks/{modal-BQrpnHT5.js → modal-RqzWc_NN.js} +2 -2
- package/chunks/{progress-bar-DE7UoEWR.js → progress-bar-BHdz8PFO.js} +1 -1
- package/chunks/{radio-DAB7WeIP.js → radio-D0PA15IV.js} +1 -1
- package/chunks/{search-field-BI1h0UBl.js → search-field-h6K4GeXC.js} +3 -3
- package/chunks/{select-BHpUGcW7.js → select-C0o_SEd0.js} +5 -5
- package/chunks/{spinner-YKC-Vk3v.js → spinner-V6QnHHAH.js} +1 -1
- package/chunks/{table-Fsf-jJip.js → table-EjKTmTGr.js} +27 -26
- package/chunks/{tag-B1suqFhD.js → tag-BNARNuvq.js} +1 -1
- package/chunks/{textfield-C-lRIIil.js → textfield-DGF0M-RX.js} +3 -3
- package/chunks/{time-field-nbvqWpzf.js → time-field-KpetgpDY.js} +4 -4
- package/chunks/{toast-DTqQhHFN.js → toast-BO158amn.js} +2 -2
- package/chunks/{useLocalizedStringFormatter-DhIAL1D7.js → useLocalizedStringFormatter-DU97U9ZX.js} +4 -4
- package/clear-button/index.js +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.js +1 -1
- package/date-picker/index.js +1 -1
- package/file-list/index.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +51 -50
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/link-button/index.js +1 -1
- package/list-box/index.js +1 -1
- package/logo/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.js +1 -1
- package/select/index.js +1 -1
- package/spinner/index.js +1 -1
- package/table/index.js +1 -1
- package/tag/index.js +1 -1
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/index.js +1 -1
- package/utils/intl/useLocalizedStringFormatter.d.ts +0 -2
- package/chunks/button-S2AY4EEn.js +0 -33
package/CHANGELOG.md
CHANGED
package/accordion/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Accordion, t as AccordionItem } from "../chunks/accordion-
|
|
1
|
+
export { n as Accordion, t as AccordionItem } from "../chunks/accordion-DCylOvk-.js";
|
package/aria/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Focusable, Pressable, I18nProvider, useLocale, ButtonContext, Form, Collection, Virtualizer, TableLayout, } from 'react-aria-components';
|
|
2
|
+
export type { Key, Selection, SortDescriptor, DateValue, } from 'react-aria-components';
|
|
3
|
+
export type { DropEvent } from 'react-aria';
|
package/aria/index.js
ADDED
package/button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Button, t as ButtonGroup } from "../chunks/button-
|
|
1
|
+
export { n as Button, t as ButtonGroup } from "../chunks/button-Vq0ARno3.js";
|
package/calendar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Calendar, t as RangeCalendar } from "../chunks/calendar-
|
|
1
|
+
export { n as Calendar, t as RangeCalendar } from "../chunks/calendar-CdKnEG5o.js";
|
package/checkbox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Checkbox, r as CheckboxButton, i as CheckboxField, t as CheckboxGroup } from "../chunks/checkbox-
|
|
1
|
+
export { n as Checkbox, r as CheckboxButton, i as CheckboxField, t as CheckboxGroup } from "../chunks/checkbox-BAYWLn77.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./useLocalizedStringFormatter-
|
|
1
|
+
import { t as e } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { Check as n, Flag as r, Info as i, TriangleAlert as a } from "lucide-react";
|
|
4
4
|
var o = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t } from "./button-
|
|
3
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
4
4
|
import { t as n } from "./heading-CIlMdywy.js";
|
|
5
|
-
import { t as r } from "./FeedbackStatusIcon-
|
|
5
|
+
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
6
6
|
import { createContext as i, useContext as a, useEffect as o } from "react";
|
|
7
7
|
import { Disclosure as s, DisclosureGroup as c, DisclosurePanel as l, composeRenderProps as u } from "react-aria-components";
|
|
8
8
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { ButtonContext as e } from "../aria/index.js";
|
|
3
|
+
import { t } from "./clsx-BtGY0yFD.js";
|
|
4
|
+
import { t as n } from "./spinner-V6QnHHAH.js";
|
|
5
|
+
import { t as r } from "./Button.module-CXkKBjuB.js";
|
|
6
|
+
import { forwardRef as i } from "react";
|
|
7
|
+
import { Button as a, composeRenderProps as o, useContextProps as s } from "react-aria-components";
|
|
8
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
9
|
+
import '../assets/button2.css';// src/button/Button.tsx
|
|
10
|
+
var d = i((i, d) => {
|
|
11
|
+
let [f, p] = s(i, d, e), { className: m, fullwidth: h, icon: g, iconPlacement: _, iconSize: v, isPending: y, size: b = "large", variant: x = "primary", ...S } = f;
|
|
12
|
+
return /* @__PURE__ */ l(a, {
|
|
13
|
+
className: t(r.button, x === "primary" && r.primary, x === "secondary" && r.secondary, x === "tertiary" && r.tertiary, x === "danger" && r.danger, x === "icon" && r.iconBtn, h && r.fullwidth, b === "medium" && r.medium, _ === "right" && r.iconRight, m),
|
|
14
|
+
ref: p,
|
|
15
|
+
...S,
|
|
16
|
+
children: o(f.children, (e) => /* @__PURE__ */ u(c, { children: [
|
|
17
|
+
g && !y && /* @__PURE__ */ l(g, {
|
|
18
|
+
"aria-hidden": !0,
|
|
19
|
+
size: v ?? 20
|
|
20
|
+
}),
|
|
21
|
+
y && /* @__PURE__ */ l(n, { small: !0 }),
|
|
22
|
+
e
|
|
23
|
+
] }))
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
d.displayName = "Button";
|
|
27
|
+
var f = { buttonGroup: "_buttonGroup_o1hqg_1" }, p = ({ children: e, className: n, "aria-label": r, ...i }) => /* @__PURE__ */ l("div", {
|
|
28
|
+
role: "group",
|
|
29
|
+
"aria-label": r,
|
|
30
|
+
className: t(f.buttonGroup, n),
|
|
31
|
+
...i,
|
|
32
|
+
children: e
|
|
33
|
+
});
|
|
34
|
+
export { d as n, p as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
2
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
3
3
|
import { t as n } from "./heading-CIlMdywy.js";
|
|
4
|
-
import { n as r } from "./select-
|
|
5
|
-
import { a as i, c as a, o } from "./list-box-
|
|
4
|
+
import { n as r } from "./select-C0o_SEd0.js";
|
|
5
|
+
import { a as i, c as a, o } from "./list-box-Cs65YWMd.js";
|
|
6
6
|
import { t as s } from "./field-error-C5ynuTRu.js";
|
|
7
7
|
import * as c from "react";
|
|
8
8
|
import { clsx as l } from "clsx";
|
|
@@ -3,8 +3,8 @@ import { t as e } from "./field-error-C5ynuTRu.js";
|
|
|
3
3
|
import { t } from "./text-D7tnzTru.js";
|
|
4
4
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
5
5
|
import { t as r } from "./splitDataAttributes-ChyO_Kvc.js";
|
|
6
|
-
import { n as i, t as a } from "./label-
|
|
7
|
-
import { t as o } from "./useLocalizedStringFormatter-
|
|
6
|
+
import { n as i, t as a } from "./label-aX8yboSc.js";
|
|
7
|
+
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import * as s from "react";
|
|
9
9
|
import { forwardRef as c, useContext as l } from "react";
|
|
10
10
|
import { CheckboxButton as u, CheckboxField as d, CheckboxGroup as f, CheckboxGroupStateContext as p, composeRenderProps as m } from "react-aria-components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./icons-a0WawN46.js";
|
|
3
3
|
import { n as t, t as n } from "./toggle-button-BVyG8F2K.js";
|
|
4
|
-
import { t as r } from "./useLocalizedStringFormatter-
|
|
5
|
-
import { n as i } from "./button-
|
|
4
|
+
import { t as r } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
5
|
+
import { n as i } from "./button-Vq0ARno3.js";
|
|
6
6
|
import { a, o, r as s } from "./menu-7gP2Sovj.js";
|
|
7
7
|
import { t as c } from "./clsx-BtGY0yFD.js";
|
|
8
8
|
import * as l from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t, t as n } from "./label-
|
|
3
|
+
import { n as t, t as n } from "./label-aX8yboSc.js";
|
|
4
4
|
import { t as r } from "./text-D7tnzTru.js";
|
|
5
5
|
import { t as i } from "./field-error-C5ynuTRu.js";
|
|
6
|
-
import { a, c as o, t as s } from "./list-box-
|
|
7
|
-
import { t as c } from "./useLocalizedStringFormatter-
|
|
6
|
+
import { a, c as o, t as s } from "./list-box-Cs65YWMd.js";
|
|
7
|
+
import { t as c } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import { useRef as l } from "react";
|
|
9
9
|
import { Button as u, ComboBox as d, Input as f } from "react-aria-components";
|
|
10
10
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
2
|
import { t } from "./field-error-C5ynuTRu.js";
|
|
3
|
-
import { n, t as r } from "./label-
|
|
3
|
+
import { n, t as r } from "./label-aX8yboSc.js";
|
|
4
4
|
import { t as i } from "./text-D7tnzTru.js";
|
|
5
|
-
import { t as a } from "./clear-button-
|
|
6
|
-
import { t as o } from "./useLocalizedStringFormatter-
|
|
5
|
+
import { t as a } from "./clear-button-q2aTPqmU.js";
|
|
6
|
+
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
7
7
|
import * as s from "react";
|
|
8
8
|
import { DateField as c, DateFieldStateContext as l, DateInput as u, DateSegment as d } from "react-aria-components";
|
|
9
9
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./clear-button-
|
|
3
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
4
|
-
import { a as n, n as r, r as i, t as a } from "./date-field-
|
|
5
|
-
import { n as o } from "./button-
|
|
6
|
-
import { n as s, t as c } from "./calendar-
|
|
2
|
+
import { t as e } from "./clear-button-q2aTPqmU.js";
|
|
3
|
+
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
|
+
import { a as n, n as r, r as i, t as a } from "./date-field-B6STeIzX.js";
|
|
5
|
+
import { n as o } from "./button-Vq0ARno3.js";
|
|
6
|
+
import { n as s, t as c } from "./calendar-CdKnEG5o.js";
|
|
7
7
|
import { t as l } from "./field-error-C5ynuTRu.js";
|
|
8
|
-
import { n as u, t as d } from "./label-
|
|
8
|
+
import { n as u, t as d } from "./label-aX8yboSc.js";
|
|
9
9
|
import { t as f } from "./text-D7tnzTru.js";
|
|
10
10
|
import * as p from "react";
|
|
11
11
|
import { clsx as m } from "clsx";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { n as t } from "./button-
|
|
4
|
-
import { t as n } from "./progress-bar-
|
|
5
|
-
import { t as r } from "./FeedbackStatusIcon-
|
|
3
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
4
|
+
import { t as n } from "./progress-bar-BHdz8PFO.js";
|
|
5
|
+
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
6
6
|
import { t as i } from "./field-error-C5ynuTRu.js";
|
|
7
|
-
import { t as a } from "./useLocalizedStringFormatter-
|
|
7
|
+
import { t as a } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import { useEffect as o, useId as s, useRef as c } from "react";
|
|
9
9
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
10
|
import { Trash2 as f, X as p } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
3
|
-
import { t as n } from "./useLocalizedStringFormatter-
|
|
4
|
-
import { t as r } from "./FeedbackStatusIcon-
|
|
2
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
3
|
+
import { t as n } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
|
+
import { t as r } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
7
|
import { X as o } from "lucide-react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
2
|
import { t } from "./popover-C7Ain5Qz.js";
|
|
3
|
-
import { n } from "./button-
|
|
4
|
-
import { t as r } from "./modal-
|
|
5
|
-
import { t as i } from "./useLocalizedStringFormatter-
|
|
3
|
+
import { n } from "./button-Vq0ARno3.js";
|
|
4
|
+
import { t as r } from "./modal-RqzWc_NN.js";
|
|
5
|
+
import { t as i } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import o, { useContext as s } from "react";
|
|
8
8
|
import { Label as c } from "react-aria-components";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./grid-CFn_pqQX.js";
|
|
3
3
|
import { t } from "./clsx-BtGY0yFD.js";
|
|
4
|
-
import { n } from "./button-
|
|
4
|
+
import { n } from "./button-Vq0ARno3.js";
|
|
5
5
|
import { n as r, t as i } from "./tooltip-CR1uxtPd.js";
|
|
6
6
|
import { n as a, t as o } from "./badge-C5Sdu_uw.js";
|
|
7
|
-
import { t as s } from "./useLocalizedStringFormatter-
|
|
8
|
-
import { t as c } from "./logo-
|
|
7
|
+
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
|
+
import { t as c } from "./logo-CBGOnROk.js";
|
|
9
9
|
import * as l from "react";
|
|
10
10
|
import { useEffect as u, useState as d } from "react";
|
|
11
11
|
import { Link as f, RouterProvider as p } from "react-aria-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
3
|
+
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
4
|
import { Link as n, RouterProvider as r } from "react-aria-components";
|
|
5
5
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowDownToLine as s, ArrowRight as c, SquareArrowOutUpRight as l } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
3
|
+
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Link as n, RouterProvider as r } from "react-aria-components";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "
|
|
3
|
-
import { t as n } from "./
|
|
4
|
-
import { t as r } from "./
|
|
2
|
+
import { Virtualizer as t } from "../aria/index.js";
|
|
3
|
+
import { t as n } from "./spinner-V6QnHHAH.js";
|
|
4
|
+
import { t as r } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
5
|
+
import { t as i } from "./text-D7tnzTru.js";
|
|
5
6
|
import "react";
|
|
6
|
-
import { Header as
|
|
7
|
+
import { Header as a, ListBox as o, ListBoxItem as s, ListBoxLoadMoreItem as c, ListBoxSection as l, ListLayout as u, Popover as d, composeRenderProps as f } from "react-aria-components";
|
|
7
8
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
8
9
|
import '../assets/list-box.css';// src/list-box/SectionedListLayout.ts
|
|
9
|
-
var g = class extends
|
|
10
|
+
var g = class extends u {
|
|
10
11
|
getContentSize() {
|
|
11
12
|
let e = this?.virtualizer?.collection.getKeys();
|
|
12
13
|
return Array.from(e || []).forEach((e) => {
|
|
@@ -24,24 +25,24 @@ var g = class extends l {
|
|
|
24
25
|
item: "_item_6csy4_252",
|
|
25
26
|
option: "_option_6csy4_253",
|
|
26
27
|
inputCheckbox: "_inputCheckbox_6csy4_253"
|
|
27
|
-
}, v = ({ className:
|
|
28
|
-
let
|
|
29
|
-
className: e(_.listBox,
|
|
30
|
-
"data-size":
|
|
31
|
-
...
|
|
32
|
-
children:
|
|
28
|
+
}, v = ({ className: n, children: r, virtualized: i = !0, size: a, ...s }) => {
|
|
29
|
+
let c = /* @__PURE__ */ m(o, {
|
|
30
|
+
className: e(_.listBox, n),
|
|
31
|
+
"data-size": a,
|
|
32
|
+
...s,
|
|
33
|
+
children: r
|
|
33
34
|
});
|
|
34
|
-
return
|
|
35
|
+
return i ? /* @__PURE__ */ m(t, {
|
|
35
36
|
layout: g,
|
|
36
37
|
layoutOptions: { estimatedHeadingSize: 38 },
|
|
37
|
-
children:
|
|
38
|
-
}) :
|
|
38
|
+
children: c
|
|
39
|
+
}) : c;
|
|
39
40
|
}, y = ({ className: t, children: n, ...r }) => /* @__PURE__ */ m("button", {
|
|
40
41
|
type: "button",
|
|
41
42
|
className: e(_.listBoxItem, _.listBoxButton, t),
|
|
42
43
|
...r,
|
|
43
44
|
children: n
|
|
44
|
-
}), b = ({ children: t, className: n, textValue: r, ...i }) => /* @__PURE__ */ m(
|
|
45
|
+
}), b = ({ children: t, className: n, textValue: r, ...i }) => /* @__PURE__ */ m(s, {
|
|
45
46
|
className: e(_.listBoxItem, n),
|
|
46
47
|
textValue: r || (typeof t == "string" ? t : void 0),
|
|
47
48
|
...i,
|
|
@@ -49,29 +50,29 @@ var g = class extends l {
|
|
|
49
50
|
className: _.textContent,
|
|
50
51
|
children: e
|
|
51
52
|
}))
|
|
52
|
-
}), x = ({ className: t, children: n, ...r }) => /* @__PURE__ */ m(
|
|
53
|
+
}), x = ({ className: t, children: n, ...r }) => /* @__PURE__ */ m(d, {
|
|
53
54
|
className: e(t, _.listBoxPopover),
|
|
54
55
|
offset: 0,
|
|
55
56
|
...r,
|
|
56
57
|
children: n
|
|
57
|
-
}), S = (e) => /* @__PURE__ */ m(
|
|
58
|
+
}), S = (e) => /* @__PURE__ */ m(l, { ...e }), C = {
|
|
58
59
|
en: { "loading...": "Loading..." },
|
|
59
60
|
sv: { "loading...": "Laddar..." }
|
|
60
|
-
}, w = ({ className:
|
|
61
|
-
let
|
|
62
|
-
return /* @__PURE__ */ m(
|
|
63
|
-
className: e(_.listBoxLoadMoreItem,
|
|
61
|
+
}, w = ({ className: t, children: i, isLoading: a, ...o }) => {
|
|
62
|
+
let s = r(C);
|
|
63
|
+
return /* @__PURE__ */ m(c, {
|
|
64
|
+
className: e(_.listBoxLoadMoreItem, t),
|
|
64
65
|
isLoading: a,
|
|
65
66
|
...o,
|
|
66
|
-
children: i || /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
67
|
+
children: i || /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(n, { small: !0 }), /* @__PURE__ */ m("span", {
|
|
67
68
|
"aria-hidden": !0,
|
|
68
|
-
children:
|
|
69
|
+
children: s.format("loading...")
|
|
69
70
|
})] })
|
|
70
71
|
});
|
|
71
|
-
}, T = ({ className: t, ...n }) => /* @__PURE__ */ m(
|
|
72
|
+
}, T = ({ className: t, ...n }) => /* @__PURE__ */ m(a, {
|
|
72
73
|
className: e(_.listBoxSectionHeading, t),
|
|
73
74
|
...n
|
|
74
|
-
}), E = { listBoxEmptyState: "_listBoxEmptyState_1wxhy_1" }, D = ({ className: t, ...n }) => /* @__PURE__ */ m(
|
|
75
|
+
}), E = { listBoxEmptyState: "_listBoxEmptyState_1wxhy_1" }, D = ({ className: t, ...n }) => /* @__PURE__ */ m(i, {
|
|
75
76
|
className: e(t, E.listBoxEmptyState),
|
|
76
77
|
...n
|
|
77
78
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
2
|
+
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
3
3
|
import { createContext as n, useContext as r } from "react";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
import '../assets/logo.css';var o = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./button-
|
|
1
|
+
import { n as e } from "./button-Vq0ARno3.js";
|
|
2
2
|
import { t } from "./heading-CIlMdywy.js";
|
|
3
|
-
import { t as n } from "./useLocalizedStringFormatter-
|
|
3
|
+
import { t as n } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
4
4
|
import { t as r } from "./clsx-BtGY0yFD.js";
|
|
5
5
|
import { forwardRef as i, useCallback as a, useRef as o } from "react";
|
|
6
6
|
import { Dialog as s, DialogTrigger as c, Modal as l, ModalOverlay as u, composeRenderProps as d } from "react-aria-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
2
|
import { t } from "./splitDataAttributes-ChyO_Kvc.js";
|
|
3
|
-
import { n, t as r } from "./label-
|
|
3
|
+
import { n, t as r } from "./label-aX8yboSc.js";
|
|
4
4
|
import { t as i } from "./text-D7tnzTru.js";
|
|
5
5
|
import { t as a } from "./field-error-C5ynuTRu.js";
|
|
6
6
|
import { Group as o, RadioButton as s, RadioField as c, RadioGroup as l, composeRenderProps as u } from "react-aria-components";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./TextField.module-B-5HJOZt.js";
|
|
3
|
-
import { n as t } from "./button-
|
|
3
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
4
4
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
5
5
|
import { t as r } from "./field-error-C5ynuTRu.js";
|
|
6
6
|
import { t as i } from "./text-D7tnzTru.js";
|
|
7
|
-
import { n as a, t as o } from "./label-
|
|
8
|
-
import { t as s } from "./useLocalizedStringFormatter-
|
|
7
|
+
import { n as a, t as o } from "./label-aX8yboSc.js";
|
|
8
|
+
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
9
9
|
import { FormContext as c, Input as l, SearchField as u, useSlottedContext as d } from "react-aria-components";
|
|
10
10
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
11
11
|
import { Search as h, X as g } from "lucide-react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, t } from "./label-
|
|
1
|
+
import { n as e, t } from "./label-aX8yboSc.js";
|
|
2
2
|
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
3
3
|
import { t as r } from "./text-D7tnzTru.js";
|
|
4
4
|
import { t as i } from "./field-error-C5ynuTRu.js";
|
|
5
|
-
import { n as a } from "./checkbox-
|
|
6
|
-
import { t as o } from "./useLocalizedStringFormatter-
|
|
7
|
-
import { c as s } from "./list-box-
|
|
5
|
+
import { n as a } from "./checkbox-BAYWLn77.js";
|
|
6
|
+
import { t as o } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
7
|
+
import { c as s } from "./list-box-Cs65YWMd.js";
|
|
8
8
|
import { t as c } from "./popover-C7Ain5Qz.js";
|
|
9
|
-
import { n as l, r as u, t as d } from "./tag-
|
|
9
|
+
import { n as l, r as u, t as d } from "./tag-BNARNuvq.js";
|
|
10
10
|
import f, { useContext as p } from "react";
|
|
11
11
|
import m from "clsx";
|
|
12
12
|
import { Button as h, Select as g, SelectStateContext as _, SelectValue as v } from "react-aria-components";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { t } from "./useLocalizedStringFormatter-
|
|
2
|
+
import { t } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { LoaderCircle as i } from "lucide-react";
|
|
5
5
|
import { VisuallyHidden as a } from "react-aria";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "./
|
|
4
|
-
import {
|
|
2
|
+
import { Collection as e } from "../aria/index.js";
|
|
3
|
+
import { n as t } from "./checkbox-BAYWLn77.js";
|
|
4
|
+
import { t as n } from "./clsx-BtGY0yFD.js";
|
|
5
|
+
import { Button as r, Cell as i, Column as a, Row as o, Table as s, TableBody as c, TableHeader as l, useTableOptions as u } from "react-aria-components";
|
|
5
6
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
6
7
|
import { ArrowDown as m, ArrowUp as h, ArrowUpDown as g, GripVertical as _ } from "lucide-react";
|
|
7
8
|
import '../assets/table.css';var v = {
|
|
@@ -16,54 +17,54 @@ import '../assets/table.css';var v = {
|
|
|
16
17
|
narrow: "_narrow_1lyes_98",
|
|
17
18
|
medium: "_medium_1lyes_121",
|
|
18
19
|
striped: "_striped_1lyes_132"
|
|
19
|
-
}, y = ({ size: e = "large", striped:
|
|
20
|
-
className:
|
|
20
|
+
}, y = ({ size: e = "large", striped: t = !1, className: r, ...i }) => /* @__PURE__ */ f(s, {
|
|
21
|
+
className: n(v.table, r, {
|
|
21
22
|
[v.medium]: e === "medium",
|
|
22
|
-
[v.striped]:
|
|
23
|
+
[v.striped]: t
|
|
23
24
|
}),
|
|
24
25
|
...i
|
|
25
|
-
}), b = ({ columns:
|
|
26
|
+
}), b = ({ columns: r, children: i, className: a }) => {
|
|
26
27
|
let { selectionBehavior: o, selectionMode: s, allowsDragging: c } = u();
|
|
27
28
|
return /* @__PURE__ */ p(l, {
|
|
28
|
-
className:
|
|
29
|
+
className: n(a, v.tableHeader),
|
|
29
30
|
children: [
|
|
30
31
|
c && /* @__PURE__ */ f(S, {}),
|
|
31
32
|
o === "toggle" && /* @__PURE__ */ f(S, {
|
|
32
33
|
width: 50,
|
|
33
|
-
children: s === "multiple" && /* @__PURE__ */ f(
|
|
34
|
+
children: s === "multiple" && /* @__PURE__ */ f(t, {
|
|
34
35
|
className: v.selection,
|
|
35
36
|
slot: "selection"
|
|
36
37
|
})
|
|
37
38
|
}),
|
|
38
|
-
/* @__PURE__ */ f(
|
|
39
|
-
items:
|
|
40
|
-
children:
|
|
39
|
+
/* @__PURE__ */ f(e, {
|
|
40
|
+
items: r,
|
|
41
|
+
children: i
|
|
41
42
|
})
|
|
42
43
|
]
|
|
43
44
|
});
|
|
44
|
-
}, x = ({ id:
|
|
45
|
+
}, x = ({ id: i, columns: a, children: s, className: c, ...l }) => {
|
|
45
46
|
let { selectionBehavior: d, allowsDragging: m } = u();
|
|
46
47
|
return /* @__PURE__ */ p(o, {
|
|
47
|
-
id:
|
|
48
|
-
className:
|
|
48
|
+
id: i,
|
|
49
|
+
className: n(c, v.row),
|
|
49
50
|
...l,
|
|
50
51
|
children: [
|
|
51
|
-
m && /* @__PURE__ */ f(C, { children: /* @__PURE__ */ f(
|
|
52
|
+
m && /* @__PURE__ */ f(C, { children: /* @__PURE__ */ f(r, {
|
|
52
53
|
slot: "drag",
|
|
53
54
|
children: /* @__PURE__ */ f(_, { size: 20 })
|
|
54
55
|
}) }),
|
|
55
|
-
d === "toggle" && /* @__PURE__ */ f(C, { children: /* @__PURE__ */ f(
|
|
56
|
+
d === "toggle" && /* @__PURE__ */ f(C, { children: /* @__PURE__ */ f(t, {
|
|
56
57
|
className: v.selection,
|
|
57
58
|
slot: "selection"
|
|
58
59
|
}) }),
|
|
59
|
-
/* @__PURE__ */ f(
|
|
60
|
+
/* @__PURE__ */ f(e, {
|
|
60
61
|
items: a,
|
|
61
62
|
children: s
|
|
62
63
|
})
|
|
63
64
|
]
|
|
64
65
|
});
|
|
65
|
-
}, S = ({ children: e, className:
|
|
66
|
-
className: t
|
|
66
|
+
}, S = ({ children: e, className: t, ...r }) => /* @__PURE__ */ f(a, {
|
|
67
|
+
className: n(t, v.column),
|
|
67
68
|
...r,
|
|
68
69
|
children: ({ allowsSorting: t, sortDirection: n }) => /* @__PURE__ */ p(d, { children: [e, t && /* @__PURE__ */ f("span", {
|
|
69
70
|
"aria-hidden": "true",
|
|
@@ -73,11 +74,11 @@ import '../assets/table.css';var v = {
|
|
|
73
74
|
className: v.sortIconNeutral
|
|
74
75
|
})
|
|
75
76
|
})] })
|
|
76
|
-
}), C = ({ className: e, ...
|
|
77
|
-
className:
|
|
78
|
-
...
|
|
79
|
-
}), w = ({ className: e, ...
|
|
80
|
-
className:
|
|
81
|
-
...
|
|
77
|
+
}), C = ({ className: e, ...t }) => /* @__PURE__ */ f(i, {
|
|
78
|
+
className: n(e, v.cell),
|
|
79
|
+
...t
|
|
80
|
+
}), w = ({ className: e, ...t }) => /* @__PURE__ */ f(c, {
|
|
81
|
+
className: n(e, v.tableBody),
|
|
82
|
+
...t
|
|
82
83
|
});
|
|
83
84
|
export { w as a, y as i, S as n, b as o, x as r, C as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
2
|
+
import { n as t } from "./button-Vq0ARno3.js";
|
|
3
3
|
import { Children as n, forwardRef as r, isValidElement as i } from "react";
|
|
4
4
|
import { Tag as a, TagGroup as o, TagGroupContext as s, TagList as c, TagListContext as l, composeRenderProps as u, useContextProps as d } from "react-aria-components";
|
|
5
5
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -3,10 +3,10 @@ import { t as e } from "./TextField.module-B-5HJOZt.js";
|
|
|
3
3
|
import { t } from "./text-D7tnzTru.js";
|
|
4
4
|
import { t as n } from "./field-error-C5ynuTRu.js";
|
|
5
5
|
import { t as r } from "./character-counter-IbkPoEcq.js";
|
|
6
|
-
import { n as i, t as a } from "./label-
|
|
6
|
+
import { n as i, t as a } from "./label-aX8yboSc.js";
|
|
7
7
|
import { t as o } from "./clsx-BtGY0yFD.js";
|
|
8
|
-
import { t as s } from "./useLocalizedStringFormatter-
|
|
9
|
-
import { n as c } from "./button-
|
|
8
|
+
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
9
|
+
import { n as c } from "./button-Vq0ARno3.js";
|
|
10
10
|
import { forwardRef as l, useState as u } from "react";
|
|
11
11
|
import { clsx as d } from "clsx";
|
|
12
12
|
import { Input as f, InputContext as p, TextArea as m, TextField as h, TextFieldContext as g, useContextProps as _ } from "react-aria-components";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t, r as n } from "./date-field-
|
|
2
|
+
import { n as t, r as n } from "./date-field-B6STeIzX.js";
|
|
3
3
|
import { t as r } from "./field-error-C5ynuTRu.js";
|
|
4
|
-
import { n as i, t as a } from "./label-
|
|
4
|
+
import { n as i, t as a } from "./label-aX8yboSc.js";
|
|
5
5
|
import { t as o } from "./text-D7tnzTru.js";
|
|
6
|
-
import { t as s } from "./clear-button-
|
|
7
|
-
import { t as c } from "./useLocalizedStringFormatter-
|
|
6
|
+
import { t as s } from "./clear-button-q2aTPqmU.js";
|
|
7
|
+
import { t as c } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
8
|
import * as l from "react";
|
|
9
9
|
import { TimeField as u, TimeFieldStateContext as d } from "react-aria-components";
|
|
10
10
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { n as e } from "./button-
|
|
2
|
+
import { n as e } from "./button-Vq0ARno3.js";
|
|
3
3
|
import { t } from "./clsx-BtGY0yFD.js";
|
|
4
|
-
import { t as n } from "./FeedbackStatusIcon-
|
|
4
|
+
import { t as n } from "./FeedbackStatusIcon-DX5ndhm3.js";
|
|
5
5
|
import r from "react";
|
|
6
6
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
import { X as s } from "lucide-react";
|
package/chunks/{useLocalizedStringFormatter-DhIAL1D7.js → useLocalizedStringFormatter-DU97U9ZX.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useLocale as e } from "../aria/index.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
3
3
|
import { LocalizedStringDictionary as n, LocalizedStringFormatter as r } from "@internationalized/string";
|
|
4
4
|
// src/utils/intl/useLocalizedStringFormatter.ts
|
|
5
5
|
var i = "sv", a = /* @__PURE__ */ new WeakMap();
|
|
@@ -12,7 +12,7 @@ function s(e, t) {
|
|
|
12
12
|
}
|
|
13
13
|
function c(n, a) {
|
|
14
14
|
if (!n || typeof n != "object" || !(i in n)) throw Error(`useLocalizedStringFormatter: Default language "${i}" must be defined in dictionary.`);
|
|
15
|
-
let { locale: o } =
|
|
16
|
-
return
|
|
15
|
+
let { locale: o } = e(), c = s(n, a);
|
|
16
|
+
return t(() => new r(o, c), [c, o]);
|
|
17
17
|
}
|
|
18
18
|
export { c as t };
|
package/clear-button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ClearButton } from "../chunks/clear-button-
|
|
1
|
+
export { t as ClearButton } from "../chunks/clear-button-q2aTPqmU.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-
|
|
1
|
+
export { n as ColorSchemeSwitch, t as ColorSchemeSwitchMenu } from "../chunks/color-scheme-switch-D--ppbpi.js";
|
package/combobox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ComboBox } from "../chunks/combobox-
|
|
1
|
+
export { t as ComboBox } from "../chunks/combobox-DC8escnY.js";
|
package/date-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-
|
|
1
|
+
export { i as DateField, n as DateInput, t as DateInputDivider, r as DateSegment } from "../chunks/date-field-B6STeIzX.js";
|
package/date-picker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-
|
|
1
|
+
export { n as DatePicker, t as DateRangePicker } from "../chunks/date-picker-DCFHCDjr.js";
|
package/file-list/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as FileList, t as FileListItem } from "../chunks/file-list-
|
|
1
|
+
export { n as FileList, t as FileListItem } from "../chunks/file-list-BqPDm31w.js";
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,54 +1,55 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
4
|
-
import { n,
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import { n as
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import { n as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { n as
|
|
30
|
-
import { t as
|
|
31
|
-
import {
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import { n as
|
|
38
|
-
import { n as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import {
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import {
|
|
46
|
-
import { i as
|
|
47
|
-
import { i as
|
|
48
|
-
import { t as
|
|
49
|
-
import {
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-DCylOvk-.js";
|
|
4
|
+
import { ButtonContext as n, Collection as r, Focusable as i, Form as a, I18nProvider as o, Pressable as s, TableLayout as c, Virtualizer as l, useLocale as u } from "./aria/index.js";
|
|
5
|
+
import { n as d, t as f } from "./chunks/link-CyjmtEZP.js";
|
|
6
|
+
import { t as p } from "./chunks/spinner-V6QnHHAH.js";
|
|
7
|
+
import { t as m } from "./chunks/useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
|
+
import { n as h, t as g } from "./chunks/button-Vq0ARno3.js";
|
|
9
|
+
import { t as _ } from "./chunks/heading-CIlMdywy.js";
|
|
10
|
+
import { n as v, t as y } from "./chunks/badge-C5Sdu_uw.js";
|
|
11
|
+
import { n as b, t as x } from "./chunks/breadcrumbs-BwYDyKWo.js";
|
|
12
|
+
import { n as S, t as C } from "./chunks/calendar-CdKnEG5o.js";
|
|
13
|
+
import { t as w } from "./chunks/label-aX8yboSc.js";
|
|
14
|
+
import { t as T } from "./chunks/popover-C7Ain5Qz.js";
|
|
15
|
+
import { n as E, r as D, t as O } from "./chunks/modal-RqzWc_NN.js";
|
|
16
|
+
import { t as k } from "./chunks/text-D7tnzTru.js";
|
|
17
|
+
import { t as A } from "./chunks/field-error-C5ynuTRu.js";
|
|
18
|
+
import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-BAYWLn77.js";
|
|
19
|
+
import { n as F, t as I } from "./chunks/select-C0o_SEd0.js";
|
|
20
|
+
import { a as L, c as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./chunks/list-box-Cs65YWMd.js";
|
|
21
|
+
import { n as G, r as K, t as q } from "./chunks/tag-BNARNuvq.js";
|
|
22
|
+
import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./chunks/card-mIB1NewO.js";
|
|
23
|
+
import { t as re } from "./chunks/character-counter-IbkPoEcq.js";
|
|
24
|
+
import { t as ie } from "./chunks/icons-a0WawN46.js";
|
|
25
|
+
import { n as ae, t as oe } from "./chunks/toggle-button-BVyG8F2K.js";
|
|
26
|
+
import { n as se, t as ce } from "./chunks/color-scheme-switch-D--ppbpi.js";
|
|
27
|
+
import { a as le, i as ue, n as de, o as fe, r as pe, t as me } from "./chunks/menu-7gP2Sovj.js";
|
|
28
|
+
import { t as he } from "./chunks/combobox-DC8escnY.js";
|
|
29
|
+
import { i as ge, n as _e, r as ve, t as ye } from "./chunks/date-field-B6STeIzX.js";
|
|
30
|
+
import { n as be, t as xe } from "./chunks/date-picker-DCFHCDjr.js";
|
|
31
|
+
import { t as Se } from "./chunks/drop-zone-BL3Z-Sbj.js";
|
|
32
|
+
import { n as Ce, t as we } from "./chunks/file-list-BqPDm31w.js";
|
|
33
|
+
import { t as Te } from "./chunks/progress-bar-BHdz8PFO.js";
|
|
34
|
+
import { t as Ee } from "./chunks/file-trigger-gOeeZzDP.js";
|
|
35
|
+
import { n as De, t as Oe } from "./chunks/grid-CFn_pqQX.js";
|
|
36
|
+
import { t as ke } from "./chunks/info-banner-DxN9h_6W.js";
|
|
37
|
+
import { a as Ae, i as je, n as Me, r as Ne, t as Pe } from "./chunks/layout-CHum4Cpf.js";
|
|
38
|
+
import { n as Fe, t as Ie } from "./chunks/tooltip-CR1uxtPd.js";
|
|
39
|
+
import { n as Le, t as Re } from "./chunks/logo-CBGOnROk.js";
|
|
40
|
+
import { t as ze } from "./chunks/clsx-BtGY0yFD.js";
|
|
41
|
+
import { t as Be } from "./chunks/link-button-D6t-8zQQ.js";
|
|
42
|
+
import { i as Ve, n as He, r as Ue, t as We } from "./chunks/radio-D0PA15IV.js";
|
|
43
|
+
import { t as Ge } from "./chunks/search-field-h6K4GeXC.js";
|
|
44
|
+
import { t as Ke } from "./chunks/skeleton-6y5HNJZp.js";
|
|
45
|
+
import { t as qe } from "./chunks/stack-DKjRicm1.js";
|
|
46
|
+
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./chunks/table-EjKTmTGr.js";
|
|
47
|
+
import { i as et, n as tt, r as nt, t as rt } from "./chunks/tabs-ZCpVhr_r.js";
|
|
48
|
+
import { i as it, n as at, r as ot, t as st } from "./chunks/textfield-DGF0M-RX.js";
|
|
49
|
+
import { t as ct } from "./chunks/time-field-KpetgpDY.js";
|
|
50
|
+
import { a as lt, i as ut, n as dt, o as ft, r as pt, t as mt } from "./chunks/toast-BO158amn.js";
|
|
50
51
|
// src/version.ts
|
|
51
|
-
var
|
|
52
|
+
var ht = {
|
|
52
53
|
name: "@midas-ds/components",
|
|
53
54
|
author: { name: "Migrationsverket" },
|
|
54
55
|
keywords: [
|
|
@@ -60,7 +61,7 @@ var ot = {
|
|
|
60
61
|
description: "Midas Components",
|
|
61
62
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
62
63
|
license: "CC0-1.0",
|
|
63
|
-
version: "17.
|
|
64
|
+
version: "17.34.0",
|
|
64
65
|
module: "./index.js",
|
|
65
66
|
type: "module",
|
|
66
67
|
main: "./index.js",
|
|
@@ -93,4 +94,4 @@ var ot = {
|
|
|
93
94
|
"react-stately": "3.50.0"
|
|
94
95
|
}
|
|
95
96
|
}.version;
|
|
96
|
-
export { e as Accordion, t as AccordionItem,
|
|
97
|
+
export { e as Accordion, t as AccordionItem, v as Badge, y as BadgeContainer, x as Breadcrumb, b as Breadcrumbs, h as Button, n as ButtonContext, g as ButtonGroup, S as Calendar, ee as Card, X as CardActionArea, J as CardActions, Q as CardBody, $ as CardContent, ne as CardHeader, te as CardImage, Y as CardLink, Z as CardTitle, $e as Cell, re as CharacterCounter, M as Checkbox, N as CheckboxButton, j as CheckboxField, P as CheckboxGroup, r as Collection, se as ColorSchemeSwitch, ce as ColorSchemeSwitchMenu, Xe as Column, he as ComboBox, ie as ContrastFilled, ge as DateField, _e as DateInput, ye as DateInputDivider, be as DatePicker, xe as DateRangePicker, ve as DateSegment, O as DialogTrigger, Se as DropZone, A as FieldError, Ce as FileList, we as FileListItem, Ee as FileTrigger, i as Focusable, a as Form, mt as GlobalToastRegion, De as Grid, Oe as GridItem, Ne as Header, _ as Heading, o as I18nProvider, ke as InfoBanner, ot as Input, w as Label, Pe as Layout, f as Link, Be as LinkButton, R as ListBox, U as ListBoxButton, W as ListBoxEmptyState, B as ListBoxHeader, V as ListBoxItem, H as ListBoxLoadMoreItem, L as ListBoxPopover, z as ListBoxSection, Re as Logo, Le as LogoContext, le as Menu, ue as MenuItem, pe as MenuPopover, de as MenuSection, fe as MenuTrigger, E as Modal, D as ModalOverlay, Me as Navbar, T as Popover, s as Pressable, Te as ProgressBar, He as Radio, Ue as RadioButton, Ve as RadioField, We as RadioGroup, C as RangeCalendar, d as RouterProvider, Qe as Row, Ge as SearchField, I as Select, F as SelectTrigger, me as Separator, je as Sidebar, Ae as SidebarLink, Ke as Skeleton, p as Spinner, qe as Stack, nt as Tab, rt as TabList, tt as TabPanel, Ye as Table, Je as TableBody, Ze as TableHeader, c as TableLayout, et as Tabs, K as Tag, q as TagGroup, G as TagList, k as Text, st as TextArea, at as TextField, it as TextFieldBase, ct as TimeField, dt as Toast, pt as ToastProvider, ut as ToastRegion, ae as ToggleButton, oe as ToggleButtonGroup, Ie as Tooltip, Fe as TooltipTrigger, ht as VERSION, l as Virtualizer, ze as clsx, lt as toastQueue, u as useLocale, m as useLocalizedStringFormatter, ft as useToastState };
|
package/info-banner/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as InfoBanner } from "../chunks/info-banner-
|
|
1
|
+
export { t as InfoBanner } from "../chunks/info-banner-DxN9h_6W.js";
|
package/label/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Label } from "../chunks/label-
|
|
1
|
+
export { t as Label } from "../chunks/label-aX8yboSc.js";
|
package/layout/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-
|
|
1
|
+
export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-CHum4Cpf.js";
|
package/link/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Link, n as RouterProvider } from "../chunks/link-
|
|
1
|
+
export { t as Link, n as RouterProvider } from "../chunks/link-CyjmtEZP.js";
|
package/link-button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as LinkButton, n as RouterProvider } from "../chunks/link-button-
|
|
1
|
+
export { t as LinkButton, n as RouterProvider } from "../chunks/link-button-D6t-8zQQ.js";
|
package/list-box/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-
|
|
1
|
+
export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-Cs65YWMd.js";
|
package/logo/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Logo, n as LogoContext } from "../chunks/logo-
|
|
1
|
+
export { t as Logo, n as LogoContext } from "../chunks/logo-CBGOnROk.js";
|
package/modal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DialogTrigger, n as Modal, r as ModalOverlay } from "../chunks/modal-
|
|
1
|
+
export { t as DialogTrigger, n as Modal, r as ModalOverlay } from "../chunks/modal-RqzWc_NN.js";
|
package/package.json
CHANGED
package/progress-bar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ProgressBar } from "../chunks/progress-bar-
|
|
1
|
+
export { t as ProgressBar } from "../chunks/progress-bar-BHdz8PFO.js";
|
package/radio/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-
|
|
1
|
+
export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-D0PA15IV.js";
|
package/search-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SearchField } from "../chunks/search-field-
|
|
1
|
+
export { t as SearchField } from "../chunks/search-field-h6K4GeXC.js";
|
package/select/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Select, n as SelectTrigger } from "../chunks/select-
|
|
1
|
+
export { t as Select, n as SelectTrigger } from "../chunks/select-C0o_SEd0.js";
|
package/spinner/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Spinner } from "../chunks/spinner-
|
|
1
|
+
export { t as Spinner } from "../chunks/spinner-V6QnHHAH.js";
|
package/table/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-
|
|
1
|
+
export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-EjKTmTGr.js";
|
package/tag/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-
|
|
1
|
+
export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-BNARNuvq.js";
|
package/textfield/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-
|
|
1
|
+
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-DGF0M-RX.js";
|
package/time-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TimeField } from "../chunks/time-field-
|
|
1
|
+
export { t as TimeField } from "../chunks/time-field-KpetgpDY.js";
|
package/toast/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-
|
|
1
|
+
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-BO158amn.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LocalizedString, LocalizedStringDictionary, LocalizedStringFormatter, LocalizedStrings } from '@internationalized/string';
|
|
2
|
-
import { I18nProvider } from 'react-aria-components';
|
|
3
2
|
/**
|
|
4
3
|
* Returns a cached LocalizedStringDictionary for the given strings.
|
|
5
4
|
*/
|
|
@@ -10,4 +9,3 @@ export declare function useLocalizedStringDictionary<K extends string = string,
|
|
|
10
9
|
* @param strings - A mapping of languages to localized strings by key.
|
|
11
10
|
*/
|
|
12
11
|
export declare function useLocalizedStringFormatter<K extends string = string, T extends LocalizedString = string>(strings: LocalizedStrings<K, T>, packageName?: string): LocalizedStringFormatter<K, T>;
|
|
13
|
-
export { I18nProvider };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
3
|
-
import { t } from "./spinner-YKC-Vk3v.js";
|
|
4
|
-
import { t as n } from "./Button.module-CXkKBjuB.js";
|
|
5
|
-
import { forwardRef as r } from "react";
|
|
6
|
-
import { Button as i, ButtonContext as a, composeRenderProps as o, useContextProps as s } from "react-aria-components";
|
|
7
|
-
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
|
-
import '../assets/button2.css';// src/button/Button.tsx
|
|
9
|
-
var d = r((r, d) => {
|
|
10
|
-
let [f, p] = s(r, d, a), { className: m, fullwidth: h, icon: g, iconPlacement: _, iconSize: v, isPending: y, size: b = "large", variant: x = "primary", ...S } = f;
|
|
11
|
-
return /* @__PURE__ */ l(i, {
|
|
12
|
-
className: e(n.button, x === "primary" && n.primary, x === "secondary" && n.secondary, x === "tertiary" && n.tertiary, x === "danger" && n.danger, x === "icon" && n.iconBtn, h && n.fullwidth, b === "medium" && n.medium, _ === "right" && n.iconRight, m),
|
|
13
|
-
ref: p,
|
|
14
|
-
...S,
|
|
15
|
-
children: o(f.children, (e) => /* @__PURE__ */ u(c, { children: [
|
|
16
|
-
g && !y && /* @__PURE__ */ l(g, {
|
|
17
|
-
"aria-hidden": !0,
|
|
18
|
-
size: v ?? 20
|
|
19
|
-
}),
|
|
20
|
-
y && /* @__PURE__ */ l(t, { small: !0 }),
|
|
21
|
-
e
|
|
22
|
-
] }))
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
d.displayName = "Button";
|
|
26
|
-
var f = { buttonGroup: "_buttonGroup_o1hqg_1" }, p = ({ children: t, className: n, "aria-label": r, ...i }) => /* @__PURE__ */ l("div", {
|
|
27
|
-
role: "group",
|
|
28
|
-
"aria-label": r,
|
|
29
|
-
className: e(f.buttonGroup, n),
|
|
30
|
-
...i,
|
|
31
|
-
children: t
|
|
32
|
-
});
|
|
33
|
-
export { d as n, p as t };
|