@midas-ds/components 17.34.1 → 17.36.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 +34 -0
- package/accordion/index.js +1 -1
- package/assets/empty-state.css +1 -0
- package/assets/file-list.css +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +1 -1
- package/card/index.js +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/{accordion-DCylOvk-.js → accordion-gXivv8Ra.js} +2 -2
- package/chunks/{button-Vq0ARno3.js → button-BZHl22O1.js} +15 -12
- package/chunks/{calendar-CdKnEG5o.js → calendar-uy8xBuNV.js} +5 -5
- package/chunks/{card-mIB1NewO.js → card-CFy9gV47.js} +2 -2
- package/chunks/{checkbox-BAYWLn77.js → checkbox-_8t0WxFw.js} +3 -3
- package/chunks/{clear-button-q2aTPqmU.js → clear-button-BBOWDvaE.js} +1 -1
- package/chunks/{color-scheme-switch-D--ppbpi.js → color-scheme-switch-CZGgC68M.js} +1 -1
- package/chunks/{combobox-DC8escnY.js → combobox-Ck-7IepP.js} +4 -4
- package/chunks/{date-field-B6STeIzX.js → date-field-DkypCMfi.js} +4 -4
- package/chunks/{date-picker-DCFHCDjr.js → date-picker-Cn9qhe2G.js} +7 -7
- package/chunks/empty-state-CnDZoO65.js +40 -0
- package/chunks/{field-error-C5ynuTRu.js → field-error-CUYIkJWj.js} +1 -1
- package/chunks/file-list-k2ZZ-OB2.js +167 -0
- package/chunks/heading-0P5rm7xK.js +31 -0
- package/chunks/{info-banner-DxN9h_6W.js → info-banner-CFmkzyL-.js} +1 -1
- package/chunks/{label-aX8yboSc.js → label-Biu5Hi7b.js} +2 -2
- package/chunks/{layout-CHum4Cpf.js → layout-BwW7Scqj.js} +1 -1
- package/chunks/{list-box-Cs65YWMd.js → list-box-Cyiu3Rq7.js} +1 -1
- package/chunks/{modal-RqzWc_NN.js → modal-DvTcNZNd.js} +2 -2
- package/chunks/{progress-bar-BHdz8PFO.js → progress-bar-BvueZ-dg.js} +1 -1
- package/chunks/{radio-D0PA15IV.js → radio-Li_ZoHYq.js} +3 -3
- package/chunks/{search-field-CfgBVzAV.js → search-field-BdS63CpD.js} +4 -4
- package/chunks/{select-C0o_SEd0.js → select-b6vie6hj.js} +6 -6
- package/chunks/{table-EjKTmTGr.js → table-Cvg_n39H.js} +1 -1
- package/chunks/{tag-BNARNuvq.js → tag-vxSxMsqS.js} +1 -1
- package/chunks/text-CtvUKU-v.js +28 -0
- package/chunks/{textfield-BWv4mP4v.js → textfield-i0dO0qgs.js} +4 -4
- package/chunks/{time-field-KpetgpDY.js → time-field-BG2BH5HH.js} +5 -5
- package/chunks/{toast-BO158amn.js → toast-CZHBaKdY.js} +1 -1
- 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/empty-state/EmptyState.d.ts +12 -0
- package/empty-state/empty-state-actions/EmptyStateActions.d.ts +3 -0
- package/empty-state/empty-state-actions/index.d.ts +1 -0
- package/empty-state/empty-state-heading/EmptyStateHeading.d.ts +3 -0
- package/empty-state/empty-state-heading/index.d.ts +1 -0
- package/empty-state/empty-state-text/EmptyStateText.d.ts +3 -0
- package/empty-state/empty-state-text/index.d.ts +1 -0
- package/empty-state/empty-state-visual/EmptyStateVisual.d.ts +3 -0
- package/empty-state/empty-state-visual/index.d.ts +1 -0
- package/empty-state/index.d.ts +5 -0
- package/empty-state/index.js +1 -0
- package/field-error/index.js +1 -1
- package/file-list/FileList.d.ts +4 -0
- package/file-list/FileListItem.d.ts +24 -8
- package/file-list/index.js +1 -1
- package/file-list/intl/translations.json.d.ts +4 -2
- package/heading/Heading.d.ts +1 -2
- package/heading/index.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +40 -39
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/list-box/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/table/index.js +1 -1
- package/tag/index.js +1 -1
- package/text/Text.d.ts +1 -2
- package/text/index.js +1 -1
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/index.js +1 -1
- package/chunks/file-list-BqPDm31w.js +0 -138
- package/chunks/heading-CIlMdywy.js +0 -30
- package/chunks/text-D7tnzTru.js +0 -27
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { Text as n } from "react-aria-components";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import '../assets/text.css';var i = {
|
|
6
|
+
body: "_body_g096r_1",
|
|
7
|
+
"body-small": "_body-small_g096r_2",
|
|
8
|
+
description: "_description_g096r_3",
|
|
9
|
+
"description-small": "_description-small_g096r_4",
|
|
10
|
+
bold: "_bold_g096r_24",
|
|
11
|
+
italic: "_italic_g096r_28"
|
|
12
|
+
}, a = "span", o = t(({ className: t, size: o, isExpressive: s = !1, elementType: c = a, ...l }, u) => {
|
|
13
|
+
let d = {
|
|
14
|
+
className: e(l.slot === "description" ? o === "small" ? i["description-small"] : i.description : o === "small" ? i["body-small"] : i.body, {
|
|
15
|
+
[i.bold]: ["b", "strong"].includes(c),
|
|
16
|
+
[i.italic]: ["i", "em"].includes(c)
|
|
17
|
+
}, t),
|
|
18
|
+
elementType: c || a,
|
|
19
|
+
...s && { "data-expressive": !0 },
|
|
20
|
+
...l
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ r(n, {
|
|
23
|
+
ref: u,
|
|
24
|
+
...d
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
o.displayName = "Text";
|
|
28
|
+
export { o as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { t as e } from "./TextField.module-DQfRPRIT.js";
|
|
3
|
-
import { t } from "./text-
|
|
4
|
-
import { t as n } from "./field-error-
|
|
3
|
+
import { t } from "./text-CtvUKU-v.js";
|
|
4
|
+
import { t as n } from "./field-error-CUYIkJWj.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-Biu5Hi7b.js";
|
|
7
7
|
import { t as o } from "./clsx-BtGY0yFD.js";
|
|
8
8
|
import { t as s } from "./useLocalizedStringFormatter-DU97U9ZX.js";
|
|
9
|
-
import { n as c } from "./button-
|
|
9
|
+
import { n as c } from "./button-BZHl22O1.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,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BtGY0yFD.js";
|
|
2
|
-
import { n as t, r as n } from "./date-field-
|
|
3
|
-
import { t as r } from "./field-error-
|
|
4
|
-
import { n as i, t as a } from "./label-
|
|
5
|
-
import { t as o } from "./text-
|
|
6
|
-
import { t as s } from "./clear-button-
|
|
2
|
+
import { n as t, r as n } from "./date-field-DkypCMfi.js";
|
|
3
|
+
import { t as r } from "./field-error-CUYIkJWj.js";
|
|
4
|
+
import { n as i, t as a } from "./label-Biu5Hi7b.js";
|
|
5
|
+
import { t as o } from "./text-CtvUKU-v.js";
|
|
6
|
+
import { t as s } from "./clear-button-BBOWDvaE.js";
|
|
7
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";
|
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-BBOWDvaE.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-CZGgC68M.js";
|
package/combobox/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ComboBox } from "../chunks/combobox-
|
|
1
|
+
export { t as ComboBox } from "../chunks/combobox-Ck-7IepP.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-DkypCMfi.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-Cn9qhe2G.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Text and calls to action for empty search results, blank pages etc.
|
|
4
|
+
*/
|
|
5
|
+
export interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Center the content, or align it to the start.
|
|
8
|
+
* @default 'center'
|
|
9
|
+
*/
|
|
10
|
+
align?: 'start' | 'center';
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyState: import('react').ForwardRefExoticComponent<EmptyStateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateHeading';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyStateVisual';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as EmptyState, a as EmptyStateActions, i as EmptyStateHeading, r as EmptyStateText, n as EmptyStateVisual } from "../chunks/empty-state-CnDZoO65.js";
|
package/field-error/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as FieldError } from "../chunks/field-error-
|
|
1
|
+
export { t as FieldError } from "../chunks/field-error-CUYIkJWj.js";
|
package/file-list/FileList.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
export type FileListProps = HTMLAttributes<HTMLUListElement>;
|
|
3
|
+
/**
|
|
4
|
+
* A list of files the user has picked or uploaded, one `FileListItem` per
|
|
5
|
+
* file. Give it an `aria-label` that says what the files are for.
|
|
6
|
+
*/
|
|
3
7
|
export declare const FileList: ({ className, children, ...props }: FileListProps) => import('react').JSX.Element;
|
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
export interface FileListItemProps {
|
|
2
|
+
/** Shown in the row, and used in the buttons' accessible names. */
|
|
2
3
|
fileName: string;
|
|
4
|
+
/** Shown after the file name, already formatted, e.g. `'1.2 MB'`. */
|
|
3
5
|
fileSize?: string;
|
|
4
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Where the file is in the upload. Decides what the row shows, and whether
|
|
8
|
+
* its button cancels or deletes.
|
|
9
|
+
* @default 'idle'
|
|
10
|
+
*/
|
|
5
11
|
status?: 'idle' | 'uploading' | 'success' | 'error';
|
|
6
12
|
/** 0-100. Only meaningful when `status='uploading'`; omit for indeterminate. */
|
|
7
13
|
progress?: number;
|
|
8
14
|
/** Shown below the row when `status='error'`. */
|
|
9
15
|
errorMessage?: string;
|
|
10
16
|
/**
|
|
11
|
-
* Called when the cancel button is pressed while `status='uploading'
|
|
12
|
-
*
|
|
13
|
-
* `XMLHttpRequest.abort()` or `AbortController.abort()
|
|
17
|
+
* Called when the cancel button is pressed while `status='uploading'`.
|
|
18
|
+
* This is where you'd abort the in-flight request, e.g. with
|
|
19
|
+
* `XMLHttpRequest.abort()` or `AbortController.abort()`. Falls back to
|
|
14
20
|
* `onDelete` if omitted, so an in-progress upload isn't silently left
|
|
15
21
|
* running in the background with no way to stop it.
|
|
16
22
|
*/
|
|
17
23
|
onCancel?: () => void;
|
|
18
24
|
/**
|
|
19
25
|
* Called when the delete button is pressed for any status other than
|
|
20
|
-
* `uploading` (use `onCancel` for that). `FileList`
|
|
21
|
-
*
|
|
22
|
-
*
|
|
26
|
+
* `uploading` (use `onCancel` for that). `FileList` doesn't know whether a
|
|
27
|
+
* file is uploaded or only local. If it's already stored server-side when
|
|
28
|
+
* this fires, deleting it there too is up to you.
|
|
23
29
|
*/
|
|
24
30
|
onDelete?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Shows a preview button next to the delete button. Hidden while
|
|
33
|
+
* `uploading`, when cancelling is the main action in the row. Shown when
|
|
34
|
+
* an upload failed, since the file is still on the user's device and they
|
|
35
|
+
* can check what they picked. Opening the preview, e.g. in a `Modal` or
|
|
36
|
+
* another component, is up to you.
|
|
37
|
+
*/
|
|
38
|
+
onPreview?: () => void;
|
|
39
|
+
/** Class name for the row's `<li>`. */
|
|
25
40
|
className?: string;
|
|
26
41
|
}
|
|
27
|
-
|
|
42
|
+
/** A row in a `FileList`, showing one file and its upload status. */
|
|
43
|
+
export declare const FileListItem: ({ fileName, fileSize, status, progress, errorMessage, onCancel, onDelete, onPreview, className, }: FileListItemProps) => import('react').JSX.Element;
|
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-k2ZZ-OB2.js";
|
|
@@ -4,14 +4,16 @@ declare const _default: {
|
|
|
4
4
|
"cancelUpload": "Cancel",
|
|
5
5
|
"uploading": "Uploading",
|
|
6
6
|
"uploadComplete": "Upload complete",
|
|
7
|
-
"uploadFailed": "Upload failed"
|
|
7
|
+
"uploadFailed": "Upload failed",
|
|
8
|
+
"previewFile": "Preview"
|
|
8
9
|
},
|
|
9
10
|
"sv": {
|
|
10
11
|
"removeFile": "Ta bort",
|
|
11
12
|
"cancelUpload": "Avbryt",
|
|
12
13
|
"uploading": "Laddar upp",
|
|
13
14
|
"uploadComplete": "Uppladdning klar",
|
|
14
|
-
"uploadFailed": "Uppladdning misslyckades"
|
|
15
|
+
"uploadFailed": "Uppladdning misslyckades",
|
|
16
|
+
"previewFile": "Förhandsgranska"
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
;
|
package/heading/Heading.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HeadingProps as AriaHeadingProps } from 'react-aria-components';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
export interface HeadingProps extends AriaHeadingProps {
|
|
4
3
|
/**
|
|
5
4
|
* Override the semantic element of the component but keep the look of the level property
|
|
@@ -16,4 +15,4 @@ export interface HeadingProps extends AriaHeadingProps {
|
|
|
16
15
|
*/
|
|
17
16
|
isExpressive?: boolean;
|
|
18
17
|
}
|
|
19
|
-
export declare const Heading:
|
|
18
|
+
export declare const Heading: import('react').ForwardRefExoticComponent<HeadingProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
package/heading/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Heading } from "../chunks/heading-
|
|
1
|
+
export { t as Heading } from "../chunks/heading-0P5rm7xK.js";
|
package/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './common/types';
|
|
|
13
13
|
export * from './date-field';
|
|
14
14
|
export * from './date-picker';
|
|
15
15
|
export * from './drop-zone';
|
|
16
|
+
export * from './empty-state';
|
|
16
17
|
export * from './field-error';
|
|
17
18
|
export * from './file-list';
|
|
18
19
|
export * from './file-trigger';
|
package/index.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-gXivv8Ra.js";
|
|
4
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
5
|
import { n as d, t as f } from "./chunks/link-CyjmtEZP.js";
|
|
6
6
|
import { t as p } from "./chunks/spinner-V6QnHHAH.js";
|
|
7
7
|
import { t as m } from "./chunks/useLocalizedStringFormatter-DU97U9ZX.js";
|
|
8
|
-
import { n as h, t as g } from "./chunks/button-
|
|
9
|
-
import { t as _ } from "./chunks/heading-
|
|
8
|
+
import { n as h, t as g } from "./chunks/button-BZHl22O1.js";
|
|
9
|
+
import { t as _ } from "./chunks/heading-0P5rm7xK.js";
|
|
10
10
|
import { n as v, t as y } from "./chunks/badge-C5Sdu_uw.js";
|
|
11
11
|
import { n as b, t as x } from "./chunks/breadcrumbs-BwYDyKWo.js";
|
|
12
|
-
import { n as S, t as C } from "./chunks/calendar-
|
|
13
|
-
import { t as w } from "./chunks/label-
|
|
12
|
+
import { n as S, t as C } from "./chunks/calendar-uy8xBuNV.js";
|
|
13
|
+
import { t as w } from "./chunks/label-Biu5Hi7b.js";
|
|
14
14
|
import { t as T } from "./chunks/popover-C7Ain5Qz.js";
|
|
15
|
-
import { n as E, r as D, t as O } from "./chunks/modal-
|
|
16
|
-
import { t as k } from "./chunks/text-
|
|
17
|
-
import { t as A } from "./chunks/field-error-
|
|
18
|
-
import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-
|
|
19
|
-
import { n as F, t as I } from "./chunks/select-
|
|
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-
|
|
21
|
-
import { n as G, r as K, t as q } from "./chunks/tag-
|
|
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-
|
|
15
|
+
import { n as E, r as D, t as O } from "./chunks/modal-DvTcNZNd.js";
|
|
16
|
+
import { t as k } from "./chunks/text-CtvUKU-v.js";
|
|
17
|
+
import { t as A } from "./chunks/field-error-CUYIkJWj.js";
|
|
18
|
+
import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-_8t0WxFw.js";
|
|
19
|
+
import { n as F, t as I } from "./chunks/select-b6vie6hj.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-Cyiu3Rq7.js";
|
|
21
|
+
import { n as G, r as K, t as q } from "./chunks/tag-vxSxMsqS.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-CFy9gV47.js";
|
|
23
23
|
import { t as re } from "./chunks/character-counter-IbkPoEcq.js";
|
|
24
24
|
import { t as ie } from "./chunks/icons-a0WawN46.js";
|
|
25
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-
|
|
26
|
+
import { n as se, t as ce } from "./chunks/color-scheme-switch-CZGgC68M.js";
|
|
27
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-
|
|
29
|
-
import { i as ge, n as _e, r as ve, t as ye } from "./chunks/date-field-
|
|
30
|
-
import { n as be, t as xe } from "./chunks/date-picker-
|
|
28
|
+
import { t as he } from "./chunks/combobox-Ck-7IepP.js";
|
|
29
|
+
import { i as ge, n as _e, r as ve, t as ye } from "./chunks/date-field-DkypCMfi.js";
|
|
30
|
+
import { n as be, t as xe } from "./chunks/date-picker-Cn9qhe2G.js";
|
|
31
31
|
import { t as Se } from "./chunks/drop-zone-BL3Z-Sbj.js";
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { n as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
46
|
-
import {
|
|
47
|
-
import { i as et, n as tt,
|
|
48
|
-
import { i as
|
|
49
|
-
import { t as
|
|
50
|
-
import {
|
|
32
|
+
import { a as Ce, i as we, n as Te, r as Ee, t as De } from "./chunks/empty-state-CnDZoO65.js";
|
|
33
|
+
import { n as Oe, t as ke } from "./chunks/file-list-k2ZZ-OB2.js";
|
|
34
|
+
import { t as Ae } from "./chunks/progress-bar-BvueZ-dg.js";
|
|
35
|
+
import { t as je } from "./chunks/file-trigger-gOeeZzDP.js";
|
|
36
|
+
import { n as Me, t as Ne } from "./chunks/grid-CFn_pqQX.js";
|
|
37
|
+
import { t as Pe } from "./chunks/info-banner-CFmkzyL-.js";
|
|
38
|
+
import { a as Fe, i as Ie, n as Le, r as Re, t as ze } from "./chunks/layout-BwW7Scqj.js";
|
|
39
|
+
import { n as Be, t as Ve } from "./chunks/tooltip-CR1uxtPd.js";
|
|
40
|
+
import { n as He, t as Ue } from "./chunks/logo-CBGOnROk.js";
|
|
41
|
+
import { t as We } from "./chunks/clsx-BtGY0yFD.js";
|
|
42
|
+
import { t as Ge } from "./chunks/link-button-D6t-8zQQ.js";
|
|
43
|
+
import { i as Ke, n as qe, r as Je, t as Ye } from "./chunks/radio-Li_ZoHYq.js";
|
|
44
|
+
import { t as Xe } from "./chunks/search-field-BdS63CpD.js";
|
|
45
|
+
import { t as Ze } from "./chunks/skeleton-6y5HNJZp.js";
|
|
46
|
+
import { t as Qe } from "./chunks/stack-DKjRicm1.js";
|
|
47
|
+
import { a as $e, i as et, n as tt, o as nt, r as rt, t as it } from "./chunks/table-Cvg_n39H.js";
|
|
48
|
+
import { i as at, n as ot, r as st, t as ct } from "./chunks/tabs-ZCpVhr_r.js";
|
|
49
|
+
import { i as lt, n as ut, r as dt, t as ft } from "./chunks/textfield-i0dO0qgs.js";
|
|
50
|
+
import { t as pt } from "./chunks/time-field-BG2BH5HH.js";
|
|
51
|
+
import { a as mt, i as ht, n as gt, o as _t, r as vt, t as yt } from "./chunks/toast-CZHBaKdY.js";
|
|
51
52
|
// src/version.ts
|
|
52
|
-
var
|
|
53
|
+
var bt = {
|
|
53
54
|
name: "@midas-ds/components",
|
|
54
55
|
author: { name: "Migrationsverket" },
|
|
55
56
|
keywords: [
|
|
@@ -61,7 +62,7 @@ var ht = {
|
|
|
61
62
|
description: "Midas Components",
|
|
62
63
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
63
64
|
license: "CC0-1.0",
|
|
64
|
-
version: "17.
|
|
65
|
+
version: "17.36.0",
|
|
65
66
|
module: "./index.js",
|
|
66
67
|
type: "module",
|
|
67
68
|
main: "./index.js",
|
|
@@ -94,4 +95,4 @@ var ht = {
|
|
|
94
95
|
"react-stately": "3.50.0"
|
|
95
96
|
}
|
|
96
97
|
}.version;
|
|
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,
|
|
98
|
+
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, it 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, tt 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, De as EmptyState, Ce as EmptyStateActions, we as EmptyStateHeading, Ee as EmptyStateText, Te as EmptyStateVisual, A as FieldError, Oe as FileList, ke as FileListItem, je as FileTrigger, i as Focusable, a as Form, yt as GlobalToastRegion, Me as Grid, Ne as GridItem, Re as Header, _ as Heading, o as I18nProvider, Pe as InfoBanner, dt as Input, w as Label, ze as Layout, f as Link, Ge 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, Ue as Logo, He as LogoContext, le as Menu, ue as MenuItem, pe as MenuPopover, de as MenuSection, fe as MenuTrigger, E as Modal, D as ModalOverlay, Le as Navbar, T as Popover, s as Pressable, Ae as ProgressBar, qe as Radio, Je as RadioButton, Ke as RadioField, Ye as RadioGroup, C as RangeCalendar, d as RouterProvider, rt as Row, Xe as SearchField, I as Select, F as SelectTrigger, me as Separator, Ie as Sidebar, Fe as SidebarLink, Ze as Skeleton, p as Spinner, Qe as Stack, st as Tab, ct as TabList, ot as TabPanel, et as Table, $e as TableBody, nt as TableHeader, c as TableLayout, at as Tabs, K as Tag, q as TagGroup, G as TagList, k as Text, ft as TextArea, ut as TextField, lt as TextFieldBase, pt as TimeField, gt as Toast, vt as ToastProvider, ht as ToastRegion, ae as ToggleButton, oe as ToggleButtonGroup, Ve as Tooltip, Be as TooltipTrigger, bt as VERSION, l as Virtualizer, We as clsx, mt as toastQueue, u as useLocale, m as useLocalizedStringFormatter, _t 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-CFmkzyL-.js";
|
package/label/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Label } from "../chunks/label-
|
|
1
|
+
export { t as Label } from "../chunks/label-Biu5Hi7b.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-BwW7Scqj.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-Cyiu3Rq7.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-DvTcNZNd.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-BvueZ-dg.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-Li_ZoHYq.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-BdS63CpD.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-b6vie6hj.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-Cvg_n39H.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-vxSxMsqS.js";
|
package/text/Text.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextProps as AriaTextProps } from 'react-aria-components';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
export type TextSize = 'small';
|
|
4
3
|
export interface TextProps extends AriaTextProps {
|
|
5
4
|
/**
|
|
@@ -12,4 +11,4 @@ export interface TextProps extends AriaTextProps {
|
|
|
12
11
|
*/
|
|
13
12
|
isExpressive?: boolean;
|
|
14
13
|
}
|
|
15
|
-
export declare const Text:
|
|
14
|
+
export declare const Text: import('react').ForwardRefExoticComponent<TextProps & import('react').RefAttributes<HTMLElement>>;
|
package/text/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Text } from "../chunks/text-
|
|
1
|
+
export { t as Text } from "../chunks/text-CtvUKU-v.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-i0dO0qgs.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-BG2BH5HH.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-CZHBaKdY.js";
|