@midas-ds/components 11.0.0 → 11.2.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/{AccordionItem-BtDoammf.js → AccordionItem-BPOQqTkQ.js} +14 -13
- package/AccordionItem-CS-QKqrU.cjs +1 -0
- package/CHANGELOG.md +36 -0
- package/{CheckboxGroup-DhQX10rP.cjs → CheckboxGroup-CT_eqERw.cjs} +1 -1
- package/{CheckboxGroup-CC9QGMuE.js → CheckboxGroup-DvrN1oyw.js} +1 -1
- package/{ColorSchemeSwitch-Cnyb9EKC.js → ColorSchemeSwitch-PiEHptw1.js} +1 -1
- package/{ComboBox-CiCB2e4W.cjs → ComboBox-D_jh7TKo.cjs} +1 -1
- package/{ComboBox-Dnk8JMQ6.js → ComboBox-DfJ_aJrf.js} +10 -10
- package/{DateField-DleDM0Sy.cjs → DateField-BURrxhil.cjs} +1 -1
- package/{DateField-BAS2v9aI.js → DateField-DKCbEonm.js} +2 -2
- package/{DateInputDivider-B3oE1_tB.js → DateInputDivider-BmvqW1Hk.js} +2 -2
- package/{DateRangePicker-Blej-jD0.js → DateRangePicker-B5vx9onl.js} +183 -196
- package/DateRangePicker-DkIAEIIj.cjs +6 -0
- package/Dialog-CxHiZorC.cjs +1 -0
- package/{Dialog-DKHo0W9B.js → Dialog-D5c_dUnB.js} +3 -3
- package/Dialog-DuGcBeNN.js +212 -0
- package/{Dropdown-D6WCi_Ll.js → Dropdown-Cpc2EszJ.js} +1 -1
- package/{FocusScope-BCsrRPqD.js → FocusScope-DMsfA3bj.js} +1 -1
- package/{Label-VO6CAFux.cjs → Label-ChjDdBlv.cjs} +1 -1
- package/{Label-JLgFEbP9.js → Label-endv1fkJ.js} +2 -2
- package/Layout-D0E1fOgZ.cjs +16 -0
- package/Layout-DtyhUz-G.js +498 -0
- package/{ListBox-CsxDGpCA.js → ListBox-Djy7244v.js} +5 -5
- package/{ListBoxButton-BsuHFd_O.cjs → ListBoxButton-CIqNRR3y.cjs} +1 -1
- package/{ListBoxButton-DawRfuny.js → ListBoxButton-sqirI6I4.js} +1 -1
- package/{ListBoxSection-C-Rz358T.cjs → ListBoxSection-BYJccE4T.cjs} +1 -1
- package/{ListBoxSection-Cc2cx0_S.js → ListBoxSection-Cicbu8pS.js} +375 -375
- package/{ListKeyboardDelegate-C-sPNj0f.js → ListKeyboardDelegate-CHki611g.js} +1 -1
- package/Popover-BDvKByTT.cjs +1 -0
- package/{Popover-DypW9ift.js → Popover-Tniqbaes.js} +13 -13
- package/{ProgressBar-CJFNiudl.cjs → ProgressBar-ClysdvqU.cjs} +1 -1
- package/{ProgressBar-CFgcqHTR.js → ProgressBar-DTn23Zkr.js} +1 -1
- package/{Radio-DUBSD0kQ.js → Radio-CCN3o3s-.js} +2 -2
- package/{Radio-CMH6pTWD.cjs → Radio-Cz0vLIBw.cjs} +1 -1
- package/{Select-DKME5lZp.js → Select-MwvnbChP.js} +8 -8
- package/{Select-C5i-rIDh.cjs → Select-lhIwwJL7.cjs} +1 -1
- package/{SelectionManager-BubxiIKu.js → SelectionManager-BKrZ_mMO.js} +1 -1
- package/{Separator-CEZ5y7tZ.js → Separator-DvvVAypT.js} +2 -2
- package/{TabList-BkSWzbDG.cjs → TabList-CWMlbijV.cjs} +1 -1
- package/{TabList-QApx8qRC.js → TabList-VpTv_Xff.js} +4 -4
- package/{Table-B5Aine4F.js → Table-DGTwyh7U.js} +4 -4
- package/{Tag-Byva_Xuy.js → Tag-rI-NhuT0.js} +7 -7
- package/{TextArea-BhmdgD1w.js → TextArea-CrEALC58.js} +1 -1
- package/{TextArea-CY_tzBAJ.cjs → TextArea-DJKHFKuI.cjs} +1 -1
- package/{ToggleButtonGroup-HjvaTYD4.js → ToggleButtonGroup-98z8Dw8-.js} +1 -1
- package/accordion/Accordion.d.ts +1 -2
- package/accordion/index.cjs +1 -1
- package/accordion/index.d.ts +2 -1
- package/accordion/index.js +3 -2
- package/assets/Layout.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Popover.css +1 -1
- package/breadcrumbs/index.d.ts +1 -0
- package/button/Button.d.ts +1 -2
- package/button/index.d.ts +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +1 -1
- package/color-scheme-switch/index.d.ts +1 -0
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.d.ts +1 -0
- package/date-field/index.js +2 -2
- package/date-picker/DatePickerPopover.d.ts +1 -1
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +1 -2
- package/dropdown/index.d.ts +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.d.ts +1 -0
- package/grid/index.d.ts +2 -2
- package/heading/index.d.ts +1 -0
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +110 -109
- package/info-banner/index.d.ts +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.d.ts +1 -0
- package/layout/index.js +1 -1
- package/link/Link.d.ts +2 -2
- package/link/index.d.ts +1 -1
- package/link-button/LinkButton.d.ts +2 -2
- package/link-button/index.d.ts +1 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/modal/Dialog.d.ts +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.d.ts +1 -1
- package/modal/index.js +2 -2
- package/package.json +1 -1
- package/popover/Popover.d.ts +1 -2
- package/popover/index.cjs +1 -1
- package/popover/index.d.ts +1 -0
- package/popover/index.js +1 -1
- package/progress-bar/ProgressBar.d.ts +1 -2
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.d.ts +1 -0
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +1 -2
- package/radio/index.cjs +1 -1
- package/radio/index.d.ts +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.d.ts +1 -1
- package/select/Select.d.ts +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.d.ts +1 -1
- package/spinner/index.d.ts +1 -1
- package/table/index.d.ts +1 -0
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +1 -0
- package/tabs/index.js +1 -1
- package/tag/index.d.ts +1 -1
- package/tag/index.js +1 -1
- package/text/index.d.ts +1 -0
- package/textfield/index.cjs +1 -1
- package/textfield/index.d.ts +3 -0
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +1 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +1 -0
- package/toast/Toast.d.ts +2 -3
- package/toast/index.d.ts +1 -0
- package/toggle-button/index.js +1 -1
- package/{tokens-BF-dPard.cjs → tokens-5PzK5zK7.cjs} +1 -1
- package/{tokens-r1r3wC04.js → tokens-CqvelUoA.js} +13 -12
- package/tooltip/Tooltip.d.ts +1 -2
- package/tooltip/index.d.ts +1 -0
- package/{useFilter-DginflOU.js → useFilter-DsOxD9JB.js} +1 -1
- package/{useHasTabbableChild-DP62kzkG.js → useHasTabbableChild-BgEe5J35.js} +1 -1
- package/{useListState-DNB7JWoj.js → useListState-B3c3xcNW.js} +1 -1
- package/{useSingleSelectListState-B0OMoHd_.js → useSingleSelectListState-DdBsBWKG.js} +1 -1
- package/AccordionItem-D2QYNgZS.cjs +0 -1
- package/DateRangePicker-CYXWnCTq.cjs +0 -6
- package/Dialog-B3R3WtL5.cjs +0 -1
- package/Dialog-BkUw6PlA.js +0 -221
- package/Layout-BwLxIwtY.cjs +0 -16
- package/Layout-CcADAhds.js +0 -498
- package/Popover--r4Zr4mO.cjs +0 -1
package/combobox/ComboBox.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ComboBoxProps<T extends ListBoxOption> extends Omit<AriaComboBo
|
|
|
15
15
|
* @default 'large'
|
|
16
16
|
* */
|
|
17
17
|
size?: Size;
|
|
18
|
-
popover
|
|
18
|
+
popover?: InfoPopoverProps;
|
|
19
19
|
}
|
|
20
20
|
export declare function ComboBox<T extends ListBoxOption>({ label, description, errorMessage, children, items, className, errorPosition, size, popover, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export declare function ComboBoxItem<T extends ListBoxItemElement>(props: ListBoxItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
package/combobox/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ComboBox-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ComboBox-D_jh7TKo.cjs");exports.ComboBox=o.ComboBox;exports.ComboBoxItem=o.ComboBoxItem;exports.ComboBoxSection=o.ComboBoxSection;exports.ComboBoxSelection=o.ComboBoxSelection;
|
package/combobox/index.js
CHANGED
package/date-field/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../DateField-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../DateField-BURrxhil.cjs"),e=require("../DateInputDivider-ToFY-yjB.cjs");exports.DateField=t.DateField;exports.DateInput=e.DateInput;exports.DateInputDivider=e.DateInputDivider;exports.DateSegment=e.DateSegment;
|
package/date-field/index.d.ts
CHANGED
package/date-field/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as t } from "../DateField-
|
|
2
|
-
import { a as r, b as o, D as p } from "../DateInputDivider-
|
|
1
|
+
import { D as t } from "../DateField-DKCbEonm.js";
|
|
2
|
+
import { a as r, b as o, D as p } from "../DateInputDivider-BmvqW1Hk.js";
|
|
3
3
|
export {
|
|
4
4
|
t as DateField,
|
|
5
5
|
r as DateInput,
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
interface DatePickerPopoverProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const DatePickerPopover: React.
|
|
5
|
+
export declare const DatePickerPopover: React.FC<DatePickerPopoverProps>;
|
|
6
6
|
export {};
|
package/date-picker/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../DateRangePicker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../DateRangePicker-DkIAEIIj.cjs");exports.DatePicker=e.DatePicker;exports.DateRangePicker=e.DateRangePicker;
|
package/date-picker/index.js
CHANGED
package/dropdown/Dropdown.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MenuItemProps, MenuProps, MenuTriggerProps } from 'react-aria-components';
|
|
2
|
-
interface MidasMenuButtonProps<T> extends MenuProps<T>, Omit<MenuTriggerProps, 'children'> {
|
|
2
|
+
export interface MidasMenuButtonProps<T> extends MenuProps<T>, Omit<MenuTriggerProps, 'children'> {
|
|
3
3
|
label?: string;
|
|
4
4
|
title?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function Dropdown<T extends object>({ label, title, children, ...props }: MidasMenuButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare function DropdownItem(props: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
package/dropdown/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Dropdown, DropdownItem } from './Dropdown';
|
|
1
|
+
export { Dropdown, DropdownItem, type MidasMenuButtonProps } from './Dropdown';
|
package/dropdown/index.js
CHANGED
package/field-error/index.d.ts
CHANGED
package/grid/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Grid, Flex } from './Grid';
|
|
2
|
-
export { GridItem, FlexItem } from './GridItem';
|
|
1
|
+
export { Grid, Flex, type GridProps } from './Grid';
|
|
2
|
+
export { GridItem, FlexItem, type GridItemProps } from './GridItem';
|
package/heading/index.d.ts
CHANGED
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./AccordionItem-CS-QKqrU.cjs"),d=require("./BadgeContainer-DWVHS5dn.cjs"),S=require("./Breadcrumbs-CFUryOhf.cjs"),x=require("./Button-Dq6ugqxT.cjs"),D=require("./ButtonGroup-DUqW5dzM.cjs"),s=require("./RangeCalendar-BY82hPRu.cjs"),e=require("./Card-cdL5669N.cjs"),I=require("./CharacterCounter-DSFBv3Rw.cjs"),k=require("./Checkbox-Co3h0hur.cjs"),L=require("./CheckboxGroup-CT_eqERw.cjs"),G=require("./ColorSchemeSwitch-owUryjYz.cjs"),a=require("./ComboBox-D_jh7TKo.cjs"),F=require("./DateField-BURrxhil.cjs"),u=require("./DateInputDivider-ToFY-yjB.cjs"),l=require("./DateRangePicker-DkIAEIIj.cjs"),T=require("./Dropdown-CYakzdJg.cjs"),R=require("./FieldError-Bv3Q6ZP-.cjs"),g=require("./FileUpload-Bz9md5zc.cjs"),C=require("./Grid-DVQtOcu9.cjs"),b=require("./GridItem-XgHmZWXY.cjs"),h=require("./Heading-CKTR4sOz.cjs"),P=require("./InfoBanner-CzwbOdRG.cjs"),A=require("./Label-ChjDdBlv.cjs"),t=require("./Layout-D0E1fOgZ.cjs"),v=require("./Link-ESjrl63P.cjs"),f=require("./LinkButton-B6AWNiRn.cjs"),w=require("./Logo-BpH0HC91.cjs"),$=require("./Dialog-CxHiZorC.cjs"),H=require("./Popover-BDvKByTT.cjs"),y=require("./ProgressBar-ClysdvqU.cjs"),q=require("./Radio-Cz0vLIBw.cjs"),E=require("./SearchField-QFyuaT-K.cjs"),O=require("./Select-lhIwwJL7.cjs"),N=require("./Skeleton-BAwbfKBW.cjs"),_=require("./Spinner-vof0Y9Hh.cjs"),r=require("./Table-DGYC-sDq.cjs"),n=require("./TabList-CWMlbijV.cjs"),p=require("./Tag-bYq-wf5D.cjs"),M=require("./Text-DBHWi5gA.cjs"),i=require("./TextArea-DJKHFKuI.cjs"),o=require("./Toast-DdmSvNaO.cjs"),B=require("./ToggleButtonGroup-DZ_wo0qx.cjs"),m=require("./Tooltip-pN5W3IK6.cjs"),Q=require("./usePress-BooY_CAy.cjs"),Z=require("./Dialog-DtHk3eXI.cjs");exports.ACCORDION_TEST_ID=c.ACCORDION_TEST_ID;exports.Accordion=c.Accordion;exports.AccordionItem=c.AccordionItem;exports.Badge=d.Badge;exports.BadgeContainer=d.BadgeContainer;exports.Breadcrumbs=S.Breadcrumbs;exports.Button=x.Button;exports.ButtonGroup=D.ButtonGroup;exports.Calendar=s.Calendar;exports.RangeCalendar=s.RangeCalendar;exports.Card=e.Card;exports.CardActionArea=e.CardActionArea;exports.CardActions=e.CardActions;exports.CardContent=e.CardContent;exports.CardImage=e.CardImage;exports.CardLink=e.CardLink;exports.CardTitle=e.CardTitle;exports.CharacterCounter=I.CharacterCounter;exports.Checkbox=k.Checkbox;exports.CheckboxGroup=L.CheckboxGroup;exports.ColorSchemeSwitch=G.ColorSchemeSwitch;exports.ComboBox=a.ComboBox;exports.ComboBoxItem=a.ComboBoxItem;exports.ComboBoxSection=a.ComboBoxSection;exports.ComboBoxSelection=a.ComboBoxSelection;exports.DateField=F.DateField;exports.DateInput=u.DateInput;exports.DateInputDivider=u.DateInputDivider;exports.DateSegment=u.DateSegment;exports.DatePicker=l.DatePicker;exports.DateRangePicker=l.DateRangePicker;exports.Dropdown=T.Dropdown;exports.DropdownItem=T.DropdownItem;exports.FieldError=R.FieldError;exports.DropZone=g.DropZone;exports.FileTrigger=g.FileTrigger;exports.Flex=C.Flex;exports.Grid=C.Grid;exports.FlexItem=b.FlexItem;exports.GridItem=b.GridItem;exports.Heading=h.Heading;exports.InfoBanner=P.InfoBanner;exports.Label=A.Label;exports.Header=t.Header;exports.Layout=t.Layout;exports.Navbar=t.Navbar;exports.Sidebar=t.Sidebar;exports.SidebarLink=t.SidebarLink;exports.Link=v.Link;exports.LinkButton=f.LinkButton;exports.Logo=w.Logo;exports.Modal=$.Modal;exports.Popover=H.Popover;exports.ProgressBar=y.ProgressBar;exports.Radio=q.Radio;exports.RadioGroup=q.RadioGroup;exports.SearchField=E.SearchField;exports.Select=O.Select;exports.Skeleton=N.Skeleton;exports.Spinner=_.Spinner;exports.Cell=r.Cell;exports.Column=r.Column;exports.Row=r.Row;exports.Table=r.Table;exports.TableBody=r.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=r.TableHeader;exports.Tab=n.Tab;exports.TabList=n.TabList;exports.TabPanel=n.TabPanel;exports.Tabs=n.Tabs;exports.Tag=p.Tag;exports.TagGroup=p.TagGroup;exports.Text=M.Text;exports.Input=i.Input;exports.TextArea=i.TextArea;exports.TextField=i.TextField;exports.TextFieldBase=i.TextFieldBase;exports.GlobalToastRegion=o.GlobalToastRegion;exports.Toast=o.Toast;exports.ToastProvider=o.ToastProvider;exports.ToastRegion=o.ToastRegion;exports.toastQueue=o.toastQueue;exports.useToastState=o.useToastState;exports.ToggleButton=B.ToggleButton;exports.ToggleButtonGroup=B.ToggleButtonGroup;exports.Tooltip=m.Tooltip;exports.TooltipTrigger=m.TooltipTrigger;exports.RouterProvider=Q.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;exports.DialogTrigger=Z.$de32f1b87079253c$export$2e1e1122cf0cba88;
|
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './character-counter';
|
|
|
8
8
|
export * from './checkbox';
|
|
9
9
|
export * from './color-scheme-switch';
|
|
10
10
|
export * from './combobox';
|
|
11
|
+
export * from './common/types';
|
|
11
12
|
export * from './date-field';
|
|
12
13
|
export * from './date-picker';
|
|
13
14
|
export * from './dropdown';
|
|
@@ -37,4 +38,3 @@ export * from './textfield';
|
|
|
37
38
|
export * from './toast';
|
|
38
39
|
export * from './toggle-button';
|
|
39
40
|
export * from './tooltip';
|
|
40
|
-
export * from './list-box/types';
|
package/index.js
CHANGED
|
@@ -1,135 +1,136 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as l, R as
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
import { C as
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { C as
|
|
13
|
-
import { D as
|
|
14
|
-
import { a as
|
|
15
|
-
import { D as
|
|
16
|
-
import { D as
|
|
1
|
+
import { a as r, b as e, A as s } from "./AccordionItem-BPOQqTkQ.js";
|
|
2
|
+
import { B as p, a as m } from "./BadgeContainer-CKBIZWsc.js";
|
|
3
|
+
import { B as f } from "./Breadcrumbs-BBzSV4SK.js";
|
|
4
|
+
import { B as n } from "./Button-BjMaGya2.js";
|
|
5
|
+
import { B as T } from "./ButtonGroup-DvVvear6.js";
|
|
6
|
+
import { C as l, R as b } from "./RangeCalendar-BCruEq9d.js";
|
|
7
|
+
import { C as u, d as c, c as B, a as D, e as S, f as I, b as L } from "./Card-BRs1FKX5.js";
|
|
8
|
+
import { C as R } from "./CharacterCounter-DpBDwvLw.js";
|
|
9
|
+
import { C as k } from "./Checkbox-EB_SCBEo.js";
|
|
10
|
+
import { C as A } from "./CheckboxGroup-DvrN1oyw.js";
|
|
11
|
+
import { C as v } from "./ColorSchemeSwitch-PiEHptw1.js";
|
|
12
|
+
import { C as w, a as N, c as $, b as y } from "./ComboBox-DfJ_aJrf.js";
|
|
13
|
+
import { D as M } from "./DateField-DKCbEonm.js";
|
|
14
|
+
import { a as _, b as Q, D as Z } from "./DateInputDivider-BmvqW1Hk.js";
|
|
15
|
+
import { D as q, a as z } from "./DateRangePicker-B5vx9onl.js";
|
|
16
|
+
import { D as K, a as U } from "./Dropdown-Cpc2EszJ.js";
|
|
17
17
|
import { F as W } from "./FieldError-CDCvUjK5.js";
|
|
18
|
-
import { D as Y, F as
|
|
19
|
-
import { F as
|
|
20
|
-
import { F as
|
|
21
|
-
import { H as
|
|
22
|
-
import { I as
|
|
23
|
-
import { L as
|
|
24
|
-
import { H as
|
|
25
|
-
import { L as
|
|
18
|
+
import { D as Y, F as aa } from "./FileUpload-BokzdXVc.js";
|
|
19
|
+
import { F as ra, G as ea } from "./Grid--OhtgCo6.js";
|
|
20
|
+
import { F as ta, G as pa } from "./GridItem-DlbSdRmB.js";
|
|
21
|
+
import { H as xa } from "./Heading-D2y_kiC0.js";
|
|
22
|
+
import { I as ia } from "./InfoBanner-D05poAe3.js";
|
|
23
|
+
import { L as da } from "./Label-endv1fkJ.js";
|
|
24
|
+
import { H as Ca, L as la, N as ba, S as ga, a as ua } from "./Layout-DtyhUz-G.js";
|
|
25
|
+
import { L as Ba } from "./Link-ovwNVMfg.js";
|
|
26
26
|
import { L as Sa } from "./LinkButton-BkZULm2a.js";
|
|
27
27
|
import { L as La } from "./Logo-ME4ffCue.js";
|
|
28
|
-
import { M as
|
|
29
|
-
import { P as
|
|
30
|
-
import { P as
|
|
31
|
-
import { R as
|
|
32
|
-
import { S as
|
|
33
|
-
import { S as ya } from "./Select-
|
|
34
|
-
import { S as
|
|
35
|
-
import { S as
|
|
36
|
-
import { b as
|
|
37
|
-
import { a as Va, c as Wa, b as Xa, T as Ya } from "./TabList-
|
|
38
|
-
import { T as
|
|
39
|
-
import { T as
|
|
40
|
-
import { I as
|
|
41
|
-
import { G as
|
|
42
|
-
import { T as
|
|
43
|
-
import { T as So, a as
|
|
28
|
+
import { M as Ra } from "./Dialog-DuGcBeNN.js";
|
|
29
|
+
import { P as ka } from "./Popover-Tniqbaes.js";
|
|
30
|
+
import { P as Aa } from "./ProgressBar-DTn23Zkr.js";
|
|
31
|
+
import { R as va, a as Ha } from "./Radio-CCN3o3s-.js";
|
|
32
|
+
import { S as Na } from "./SearchField-nwlyszwt.js";
|
|
33
|
+
import { S as ya } from "./Select-MwvnbChP.js";
|
|
34
|
+
import { S as Ma } from "./Skeleton-BePDRmrO.js";
|
|
35
|
+
import { S as _a } from "./Spinner-VSyPhiJ9.js";
|
|
36
|
+
import { b as Za, C as ja, R as qa, T as za, $ as Ja, a as Ka } from "./Table-DGTwyh7U.js";
|
|
37
|
+
import { a as Va, c as Wa, b as Xa, T as Ya } from "./TabList-VpTv_Xff.js";
|
|
38
|
+
import { T as oo, a as ro } from "./Tag-rI-NhuT0.js";
|
|
39
|
+
import { T as so } from "./Text-BPcfhYQ9.js";
|
|
40
|
+
import { I as po, b as mo, a as xo, T as fo } from "./TextArea-CrEALC58.js";
|
|
41
|
+
import { G as no, b as To, T as Co, a as lo, t as bo, u as go } from "./Toast-CWt_mNIg.js";
|
|
42
|
+
import { T as co, a as Bo } from "./ToggleButtonGroup-98z8Dw8-.js";
|
|
43
|
+
import { T as So, a as Io } from "./Tooltip-DjNc93tV.js";
|
|
44
44
|
import { $ as Fo } from "./usePress-BW47IcyU.js";
|
|
45
|
-
import { $ as Go } from "./Dialog-
|
|
45
|
+
import { $ as Go } from "./Dialog-D5c_dUnB.js";
|
|
46
46
|
export {
|
|
47
|
-
r as
|
|
48
|
-
e as
|
|
49
|
-
|
|
50
|
-
p as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
r as ACCORDION_TEST_ID,
|
|
48
|
+
e as Accordion,
|
|
49
|
+
s as AccordionItem,
|
|
50
|
+
p as Badge,
|
|
51
|
+
m as BadgeContainer,
|
|
52
|
+
f as Breadcrumbs,
|
|
53
|
+
n as Button,
|
|
54
|
+
T as ButtonGroup,
|
|
54
55
|
l as Calendar,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
u as Card,
|
|
57
|
+
c as CardActionArea,
|
|
58
|
+
B as CardActions,
|
|
59
|
+
D as CardContent,
|
|
59
60
|
S as CardImage,
|
|
60
|
-
|
|
61
|
+
I as CardLink,
|
|
61
62
|
L as CardTitle,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
Za as Cell,
|
|
64
|
+
R as CharacterCounter,
|
|
65
|
+
k as Checkbox,
|
|
66
|
+
A as CheckboxGroup,
|
|
67
|
+
v as ColorSchemeSwitch,
|
|
68
|
+
ja as Column,
|
|
69
|
+
w as ComboBox,
|
|
70
|
+
N as ComboBoxItem,
|
|
70
71
|
$ as ComboBoxSection,
|
|
71
72
|
y as ComboBoxSelection,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
M as DateField,
|
|
74
|
+
_ as DateInput,
|
|
75
|
+
Q as DateInputDivider,
|
|
76
|
+
q as DatePicker,
|
|
77
|
+
z as DateRangePicker,
|
|
78
|
+
Z as DateSegment,
|
|
78
79
|
Go as DialogTrigger,
|
|
79
80
|
Y as DropZone,
|
|
80
|
-
|
|
81
|
+
K as Dropdown,
|
|
81
82
|
U as DropdownItem,
|
|
82
83
|
W as FieldError,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
84
|
+
aa as FileTrigger,
|
|
85
|
+
ra as Flex,
|
|
86
|
+
ta as FlexItem,
|
|
87
|
+
no as GlobalToastRegion,
|
|
88
|
+
ea as Grid,
|
|
89
|
+
pa as GridItem,
|
|
90
|
+
Ca as Header,
|
|
91
|
+
xa as Heading,
|
|
92
|
+
ia as InfoBanner,
|
|
93
|
+
po as Input,
|
|
94
|
+
da as Label,
|
|
94
95
|
la as Layout,
|
|
95
|
-
|
|
96
|
+
Ba as Link,
|
|
96
97
|
Sa as LinkButton,
|
|
97
98
|
La as Logo,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
Ra as Modal,
|
|
100
|
+
ba as Navbar,
|
|
101
|
+
ka as Popover,
|
|
102
|
+
Aa as ProgressBar,
|
|
103
|
+
va as Radio,
|
|
104
|
+
Ha as RadioGroup,
|
|
105
|
+
b as RangeCalendar,
|
|
105
106
|
Fo as RouterProvider,
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
qa as Row,
|
|
108
|
+
Na as SearchField,
|
|
108
109
|
ya as Select,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
ga as Sidebar,
|
|
111
|
+
ua as SidebarLink,
|
|
112
|
+
Ma as Skeleton,
|
|
113
|
+
_a as Spinner,
|
|
113
114
|
Va as Tab,
|
|
114
115
|
Wa as TabList,
|
|
115
116
|
Xa as TabPanel,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
za as Table,
|
|
118
|
+
Ja as TableBody,
|
|
119
|
+
Ka as TableHeader,
|
|
119
120
|
Ya as Tabs,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
121
|
+
oo as Tag,
|
|
122
|
+
ro as TagGroup,
|
|
123
|
+
so as Text,
|
|
124
|
+
mo as TextArea,
|
|
125
|
+
xo as TextField,
|
|
126
|
+
fo as TextFieldBase,
|
|
127
|
+
To as Toast,
|
|
128
|
+
Co as ToastProvider,
|
|
128
129
|
lo as ToastRegion,
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
co as ToggleButton,
|
|
131
|
+
Bo as ToggleButtonGroup,
|
|
131
132
|
So as Tooltip,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
Io as TooltipTrigger,
|
|
134
|
+
bo as toastQueue,
|
|
135
|
+
go as useToastState
|
|
135
136
|
};
|
package/info-banner/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InfoBanner } from './InfoBanner';
|
|
1
|
+
export { InfoBanner, type InfoBannerProps } from './InfoBanner';
|
package/label/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-ChjDdBlv.cjs");exports.Label=e.Label;
|
package/label/index.js
CHANGED
package/layout/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-D0E1fOgZ.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
|
package/layout/index.d.ts
CHANGED
package/layout/index.js
CHANGED
package/link/Link.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Link as AriaLink, RouterProvider } from 'react-aria-components';
|
|
2
2
|
import { LucideIcon } from 'lucide-react';
|
|
3
|
-
interface
|
|
3
|
+
export interface LinkComponentProps<C extends React.ElementType> {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
/** Use standalone to use the component as a standalone link, for example under a block of text.*/
|
|
6
6
|
standalone?: boolean;
|
|
@@ -14,6 +14,6 @@ interface MidasLinkProps<C extends React.ElementType> {
|
|
|
14
14
|
*/
|
|
15
15
|
as?: C;
|
|
16
16
|
}
|
|
17
|
-
export type LinkProps<C extends React.ElementType> =
|
|
17
|
+
export type LinkProps<C extends React.ElementType> = LinkComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkComponentProps<C>>;
|
|
18
18
|
export declare const Link: <C extends React.ElementType = typeof AriaLink>({ children, standalone, target, stretched, download, icon: IconComponent, className, as, ...rest }: LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export { RouterProvider };
|
package/link/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Link, RouterProvider, type LinkProps } from './Link';
|
|
1
|
+
export { Link, RouterProvider, type LinkProps, type LinkComponentProps } from './Link';
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { Link as AriaLink, RouterProvider } from 'react-aria-components';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
4
|
import { Size } from '../common/types';
|
|
5
|
-
interface
|
|
5
|
+
export interface LinkButtonComponentProps<C extends React.ElementType> {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* Primary button is used as a positive action in a flow. Always use one primary button and never a seconday button on it's own. When using just an icon you must pass an aria-label
|
|
@@ -33,7 +33,7 @@ interface MidasLinkProps<C extends React.ElementType> {
|
|
|
33
33
|
**/
|
|
34
34
|
size?: Size;
|
|
35
35
|
}
|
|
36
|
-
export type LinkButtonProps<C extends React.ElementType> =
|
|
36
|
+
export type LinkButtonProps<C extends React.ElementType> = LinkButtonComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkButtonComponentProps<C>>;
|
|
37
37
|
/**
|
|
38
38
|
* A link to be used when a user expects a button but web technologies force us to use a a-tag
|
|
39
39
|
* */
|
package/link-button/index.d.ts
CHANGED
package/list-box/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-BYJccE4T.cjs"),o=require("../ListBoxButton-CIqNRR3y.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
|
package/list-box/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as s, a as x, b as L, c as a } from "../ListBoxSection-
|
|
2
|
-
import { L as B } from "../ListBoxButton-
|
|
1
|
+
import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cicbu8pS.js";
|
|
2
|
+
import { L as B } from "../ListBoxButton-sqirI6I4.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ListBox,
|
|
5
5
|
B as ListBoxButton,
|
package/modal/Dialog.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AriaDialogProps } from 'react-aria';
|
|
|
2
2
|
import { DialogTrigger } from 'react-aria-components';
|
|
3
3
|
import { AriaModalOverlayProps } from '@react-aria/overlays';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
interface DialogProps extends AriaDialogProps {
|
|
5
|
+
export interface DialogProps extends AriaDialogProps {
|
|
6
6
|
/**
|
|
7
7
|
* An optional title for the dialog. If omitted, please provide an aria-label for accessibility.
|
|
8
8
|
*/
|
package/modal/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-CxHiZorC.cjs"),o=require("../Dialog-DtHk3eXI.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
|
package/modal/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Modal, DialogTrigger } from './Dialog';
|
|
1
|
+
export { Modal, DialogTrigger, type DialogProps } from './Dialog';
|
package/modal/index.js
CHANGED
package/package.json
CHANGED
package/popover/Popover.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PopoverProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
|
|
3
|
+
export interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export declare function Popover({ children, className, offset, ...props }: MidasPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
package/popover/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-BDvKByTT.cjs");exports.Popover=e.Popover;
|
package/popover/index.d.ts
CHANGED
package/popover/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LabelProps, ProgressBarProps as AriaProgressBarProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface ProgressBarProps extends AriaProgressBarProps {
|
|
3
|
+
export interface ProgressBarProps extends AriaProgressBarProps {
|
|
4
4
|
/**
|
|
5
5
|
* A visual label
|
|
6
6
|
* */
|
|
@@ -15,4 +15,3 @@ interface ProgressBarProps extends AriaProgressBarProps {
|
|
|
15
15
|
showValueLabel?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare const ProgressBar: React.FC<ProgressBarProps>;
|
|
18
|
-
export {};
|
package/progress-bar/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-ClysdvqU.cjs");exports.ProgressBar=r.ProgressBar;
|
package/progress-bar/index.d.ts
CHANGED
package/progress-bar/index.js
CHANGED
package/radio/Radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps, ValidationResult } from 'react-aria-components';
|
|
2
2
|
import { InfoPopoverProps } from '../label';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
4
|
+
export interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
/** Label for the RadioGroup */
|
|
7
7
|
label?: string;
|
|
@@ -18,4 +18,3 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const RadioGroup: React.FC<MVDSRadioGroupProps>;
|
|
20
20
|
export declare const Radio: ({ className, ...rest }: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
package/radio/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-Cz0vLIBw.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
|
package/radio/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Radio, RadioGroup } from './Radio';
|
|
1
|
+
export { Radio, RadioGroup, type MVDSRadioGroupProps } from './Radio';
|