@midas-ds/components 10.1.1 → 10.3.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-BGWiWjxA.cjs +1 -0
- package/AccordionItem-ChHpW8EW.js +320 -0
- package/BadgeContainer-DM8TdyMT.js +37 -0
- package/BadgeContainer-I1XA3OCl.cjs +1 -0
- package/Breadcrumbs-CwDUNIqF.js +250 -0
- package/Breadcrumbs-DtjJ1UmU.cjs +1 -0
- package/Button-BoJl6JGM.cjs +1 -0
- package/Button-Csih3v23.js +38 -0
- package/Button-DjBChs7s.js +340 -0
- package/Button-htW9qIsS.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/ButtonGroup-DUqW5dzM.cjs +1 -0
- package/ButtonGroup-DvVvear6.js +22 -0
- package/CHANGELOG.md +68 -0
- package/Card-0G0mj9q5.cjs +1 -0
- package/Card-yrtGzt70.js +131 -0
- package/CharacterCounter-BL_nZHya.js +22 -0
- package/CharacterCounter-CHcTDHO-.cjs +1 -0
- package/Checkbox-5HINZdGu.js +263 -0
- package/Checkbox-DqcPg5hz.cjs +1 -0
- package/CheckboxGroup-BBrSMuDY.cjs +1 -0
- package/CheckboxGroup-CLgixk2p.js +243 -0
- package/Collection-BIDsXNhi.cjs +1 -0
- package/Collection-Brgjpkne.js +576 -0
- package/ColorSchemeSwitch-BpzQ7g0b.js +106 -0
- package/ColorSchemeSwitch-C-qWuqkU.cjs +16 -0
- package/ComboBox-CVDyp2a-.js +1379 -0
- package/ComboBox-CWJUg9Xx.cjs +1 -0
- package/DateField-DeDhiYnW.cjs +1 -0
- package/DateField-DhU3q-rG.js +47 -0
- package/DateInputDivider-ADvOavHw.cjs +1 -0
- package/DateInputDivider-CF4xWsMT.js +2904 -0
- package/DateRangePicker-BsAHhy99.cjs +6 -0
- package/DateRangePicker-ziD1_k1W.js +881 -0
- package/Dialog-B8GTYbvu.cjs +1 -0
- package/Dialog-BOrYdX50.cjs +1 -0
- package/Dialog-CXNu48AC.js +208 -0
- package/Dialog-D14MbJ7o.js +1633 -0
- package/DragAndDrop-DNth776R.cjs +1 -0
- package/DragAndDrop-o3ruz_SR.js +60 -0
- package/Dropdown-CJ6My6EI.cjs +6 -0
- package/Dropdown-Df58j43I.js +84 -0
- package/FieldError-CAcjosk_.js +46 -0
- package/FieldError-CKBb2-mp.cjs +1 -0
- package/FileUpload-CxCOtyB9.cjs +2 -0
- package/FileUpload-D6qoEAjn.js +2373 -0
- package/FocusScope-5c9SVBcR.cjs +1 -0
- package/FocusScope-CxkURfoc.js +625 -0
- package/Form-BuOomA4T.cjs +1 -0
- package/Form-CXcEMuBf.js +5 -0
- package/Grid--OhtgCo6.js +27 -0
- package/Grid-DVQtOcu9.cjs +1 -0
- package/GridItem-DlbSdRmB.js +246 -0
- package/GridItem-XgHmZWXY.cjs +1 -0
- package/Group-B6EslsHZ.js +44 -0
- package/Group-CgiqQHH1.cjs +1 -0
- package/Heading-BFtiin0g.js +46 -0
- package/Heading-mHhCbGjY.cjs +1 -0
- package/Hidden-BxRZGdEW.cjs +1 -0
- package/Hidden-C9KWUR7b.js +34 -0
- package/InfoBanner-BLM-TJJ6.js +83 -0
- package/InfoBanner-C2kTIsrB.cjs +1 -0
- package/Input-BTzwcf72.js +41 -0
- package/Input-DKSAYvsw.cjs +1 -0
- package/Label-7Ybb99CE.cjs +1 -0
- package/Label-BwJrdqEE.js +70 -0
- package/Layout-1g6bMH62.cjs +16 -0
- package/Layout-Ey8flY7E.js +468 -0
- package/Link-B88l_oaE.cjs +6 -0
- package/Link-BQhauBuw.cjs +1 -0
- package/Link-DX5BbBnn.js +59 -0
- package/Link-yNO2-sqx.js +71 -0
- package/LinkButton-CBpGLETx.cjs +6 -0
- package/LinkButton-o6uS1XsR.js +69 -0
- package/ListBox-DP9M4H6R.cjs +1 -0
- package/ListBox-GnVK_Pdq.js +529 -0
- package/ListBoxButton-DPBrtXyv.cjs +1 -0
- package/ListBoxButton-D_J3jlP0.js +15 -0
- package/ListBoxSection-BGaigBnG.cjs +1 -0
- package/ListBoxSection-C0BGnpB4.js +1058 -0
- package/ListKeyboardDelegate-DNI8GQtX.js +167 -0
- package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
- package/Logo-BIrOEINM.js +133 -0
- package/Logo-DT2_2O43.cjs +1 -0
- package/OverlayArrow-CDLXPTew.js +506 -0
- package/OverlayArrow-D75k-EMl.cjs +1 -0
- package/Popover-BGGXeD54.js +38 -0
- package/Popover-CqNWzPf-.cjs +1 -0
- package/ProgressBar-DMSg-Prr.js +53 -0
- package/ProgressBar-Jbg28j2a.cjs +1 -0
- package/RSPContexts-BW2SEIqe.js +11 -0
- package/RSPContexts-D8hmBfGm.cjs +1 -0
- package/Radio-BwqrdhQE.cjs +1 -0
- package/Radio-Cz29wPXd.js +311 -0
- package/RangeCalendar-BehUaydF.cjs +11 -0
- package/RangeCalendar-RAlAHlNL.js +1683 -0
- package/SearchField-CxMwDeUM.cjs +6 -0
- package/SearchField-IlvZ3Kh6.js +362 -0
- package/Select-2q1iSzAX.cjs +1 -0
- package/Select-BVQZtoi9.js +646 -0
- package/SelectionManager-B4ORduja.js +1032 -0
- package/SelectionManager-CwYux2h3.cjs +1 -0
- package/Separator-Cu9fYKUM.js +59 -0
- package/Separator-DECIYLtZ.cjs +1 -0
- package/Skeleton-BAwbfKBW.cjs +1 -0
- package/Skeleton-BePDRmrO.js +40 -0
- package/Spinner-D31SXm-U.js +41 -0
- package/Spinner-P35rvvsl.cjs +6 -0
- package/Table-B40CGLT-.cjs +16 -0
- package/Table-F4oYBtUM.js +2447 -0
- package/Tabs-B4oZJkZG.js +404 -0
- package/Tabs-DA2qXhzb.cjs +1 -0
- package/Tag-DPAGmcMK.cjs +1 -0
- package/Tag-Du7GvSv2.js +745 -0
- package/Text-3MNwRMpI.cjs +1 -0
- package/Text-B2K-BJKQ.cjs +1 -0
- package/Text-BoXuUVVH.js +15 -0
- package/Text-jWWg0B20.js +32 -0
- package/TextArea-C7JZ_pQd.cjs +1 -0
- package/TextArea-XeBCSyzl.js +191 -0
- package/TextField-BgNdhZi_.cjs +1 -0
- package/TextField-C-hTPukq.js +119 -0
- package/TextField.module-BcpPBWnD.js +13 -0
- package/TextField.module-Dw5Rtn9y.cjs +1 -0
- package/Toast-AbDA1BOs.cjs +1 -0
- package/Toast-Btg21Xge.js +989 -0
- package/ToggleButtonGroup-B5yz1tm2.js +210 -0
- package/ToggleButtonGroup-BFDoj0P6.cjs +1 -0
- package/Tooltip-CMLs7WMw.js +283 -0
- package/Tooltip-DeBuBKhS.cjs +1 -0
- package/VisuallyHidden-CLWHbz2n.cjs +1 -0
- package/VisuallyHidden-ZCYf65q4.js +40 -0
- package/accordion/index.cjs +1 -0
- package/accordion/index.js +5 -0
- package/arrow-right-Dg8sttFO.js +14 -0
- package/arrow-right-QJ2gXPKQ.cjs +6 -0
- package/assets/AccordionItem.css +1 -0
- package/assets/BadgeContainer.css +1 -0
- package/assets/Breadcrumbs.css +1 -0
- package/assets/Button.css +1 -0
- package/assets/ButtonGroup.css +1 -0
- package/assets/Card.css +1 -0
- package/assets/CharacterCounter.css +1 -0
- package/assets/Checkbox.css +1 -0
- package/assets/ColorSchemeSwitch.css +1 -0
- package/assets/ComboBox.css +1 -0
- package/assets/DateField.css +1 -0
- package/assets/DateInputDivider.css +1 -0
- package/assets/DateRangePicker.css +1 -0
- package/assets/Dialog.css +1 -0
- package/assets/Dropdown.css +1 -0
- package/assets/FieldError.css +1 -0
- package/assets/FileUpload.css +1 -0
- package/assets/GridItem.css +1 -0
- package/assets/Heading.css +1 -0
- package/assets/InfoBanner.css +1 -0
- package/assets/Label.css +1 -0
- package/assets/Layout.css +1 -0
- package/assets/Link.css +1 -0
- package/assets/LinkButton.css +1 -0
- package/assets/ListBoxSection.css +1 -0
- package/assets/Logo.css +1 -0
- package/assets/Popover.css +1 -0
- package/assets/ProgressBar.css +1 -0
- package/assets/Radio.css +1 -0
- package/assets/RangeCalendar.css +1 -0
- package/assets/SearchField.css +1 -0
- package/assets/Select.css +1 -0
- package/assets/Skeleton.css +1 -0
- package/assets/Spinner.css +1 -0
- package/assets/Table.css +1 -0
- package/assets/Tabs.css +1 -0
- package/assets/Tag.css +1 -0
- package/assets/Text.css +1 -0
- package/assets/TextField.css +1 -0
- package/assets/Toast.css +1 -0
- package/assets/ToggleButtonGroup.css +1 -0
- package/assets/Tooltip.css +1 -0
- package/badge/index.cjs +1 -0
- package/badge/index.js +5 -0
- package/breadcrumbs/index.cjs +1 -0
- package/breadcrumbs/index.js +4 -0
- package/button/index.cjs +1 -0
- package/button/index.js +6 -0
- package/calendar/CalendarHeader.d.ts +2 -1
- package/calendar/index.cjs +1 -0
- package/calendar/index.js +5 -0
- package/card/index.cjs +1 -0
- package/card/index.js +10 -0
- package/character-counter/index.cjs +1 -0
- package/character-counter/index.js +4 -0
- package/check-CLF6Yxza.js +11 -0
- package/check-D_KoootC.cjs +6 -0
- package/checkbox/Checkbox.d.ts +2 -2
- package/checkbox/CheckboxGroup.d.ts +8 -8
- package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
- package/checkbox/CheckboxGroupItem.d.ts +3 -0
- package/checkbox/CheckboxInner.d.ts +2 -0
- package/checkbox/SingleCheckbox.d.ts +3 -0
- package/checkbox/context.d.ts +3 -0
- package/checkbox/index.cjs +1 -0
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.js +6 -0
- package/checkbox/intl/translations.json.d.ts +35 -0
- package/checkbox/types.d.ts +14 -0
- package/checkbox/useSelectAll.d.ts +7 -0
- package/chevron-down-Cd1bkzXT.js +13 -0
- package/chevron-down-jl83cllc.cjs +6 -0
- package/circle-check-B9HYcH7Z.js +26 -0
- package/circle-check-BGo8gML8.cjs +11 -0
- package/clsx-C11secjj.cjs +1 -0
- package/clsx-OuTLNxxd.js +16 -0
- package/color-scheme-switch/index.cjs +1 -0
- package/color-scheme-switch/index.js +4 -0
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -0
- package/combobox/index.js +7 -0
- package/common/types.d.ts +2 -0
- package/context-C81gPYvC.js +80 -0
- package/context-DjwhtgxQ.cjs +1 -0
- package/createLucideIcon-Cg_wkoIA.cjs +21 -0
- package/createLucideIcon-DeWljiyi.js +79 -0
- package/date-field/DateField.d.ts +3 -0
- package/date-field/index.cjs +1 -0
- package/date-field/index.js +8 -0
- package/date-picker/DatePicker.d.ts +3 -0
- package/date-picker/DateRangePicker.d.ts +3 -0
- package/date-picker/index.cjs +1 -0
- package/date-picker/index.js +5 -0
- package/dropdown/index.cjs +1 -0
- package/dropdown/index.js +5 -0
- package/field-error/FieldError.d.ts +4 -1
- package/field-error/index.cjs +1 -0
- package/field-error/index.js +4 -0
- package/file-upload/FileUpload.d.ts +3 -0
- package/file-upload/index.cjs +1 -0
- package/file-upload/index.js +4 -0
- package/filterDOMProps-BS2lrgFA.cjs +1 -0
- package/filterDOMProps-D6KHYVBX.js +24 -0
- package/getScrollParent-BhFcYrwL.js +9 -0
- package/getScrollParent-DDJu9WHU.cjs +1 -0
- package/grid/Grid.d.ts +15 -4
- package/grid/GridItem.d.ts +31 -2
- package/grid/index.cjs +1 -0
- package/grid/index.d.ts +2 -2
- package/grid/index.js +8 -0
- package/heading/index.cjs +1 -0
- package/heading/index.js +4 -0
- package/index-CGRFP4CC.js +120 -0
- package/index-Dsz3aiWt.cjs +17 -0
- package/index.cjs +1 -169
- package/index.d.ts +1 -1
- package/index.js +129 -29979
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/inertValue-B7loUihk.js +8 -0
- package/info-BZwphdye.js +15 -0
- package/info-CIEIENo6.cjs +6 -0
- package/info-banner/index.cjs +1 -0
- package/info-banner/index.js +4 -0
- package/label/InfoPopover.d.ts +9 -0
- package/label/LabelWrapper.d.ts +11 -0
- package/label/index.cjs +1 -0
- package/label/index.d.ts +1 -0
- package/label/index.js +4 -0
- package/layout/index.cjs +1 -0
- package/layout/index.js +8 -0
- package/link/index.cjs +1 -0
- package/link/index.js +6 -0
- package/link-button/index.cjs +1 -0
- package/link-button/index.js +6 -0
- package/list-box/index.cjs +1 -0
- package/list-box/index.js +9 -0
- package/logo/index.cjs +1 -0
- package/logo/index.js +4 -0
- package/modal/index.cjs +1 -0
- package/modal/index.js +6 -0
- package/number-BE8InLgI.js +6 -0
- package/number-E0x3H9cL.cjs +1 -0
- package/package.json +4 -4
- package/popover/Popover.d.ts +7 -0
- package/popover/index.cjs +1 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.js +4 -0
- package/progress-bar/index.cjs +1 -0
- package/progress-bar/index.js +4 -0
- package/radio/Radio.d.ts +3 -0
- package/radio/index.cjs +1 -0
- package/radio/index.js +5 -0
- package/scrollIntoView-C8doLzDd.cjs +1 -0
- package/scrollIntoView-Hwb_aaNf.js +87 -0
- package/search-field/index.cjs +1 -0
- package/search-field/index.js +4 -0
- package/select/index.cjs +1 -0
- package/select/index.js +4 -0
- package/skeleton/Skeleton.d.ts +5 -0
- package/skeleton/index.cjs +1 -0
- package/skeleton/index.js +4 -0
- package/spinner/index.cjs +1 -0
- package/spinner/index.js +4 -0
- package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
- package/square-arrow-out-up-right-V4Gd08uI.cjs +6 -0
- package/table/Table.d.ts +7 -1
- package/table/index.cjs +1 -0
- package/table/index.js +9 -0
- package/tabs/index.cjs +1 -0
- package/tabs/index.js +4 -0
- package/tag/index.cjs +1 -0
- package/tag/index.js +5 -0
- package/text/index.cjs +1 -0
- package/text/index.js +4 -0
- package/textfield/TextFieldBase.d.ts +2 -0
- package/textfield/index.cjs +1 -0
- package/textfield/index.js +7 -0
- package/theme/index.cjs +1 -0
- package/theme/index.d.ts +4 -0
- package/{theme.js → theme/index.js} +2 -2
- package/theme/tokens.d.ts +10 -0
- package/toast/index.cjs +1 -0
- package/toast/index.js +9 -0
- package/toggle-button/index.cjs +1 -0
- package/toggle-button/index.js +5 -0
- package/tokens-p6pg1Cea.cjs +1 -0
- package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
- package/tooltip/index.cjs +1 -0
- package/tooltip/index.js +5 -0
- package/triangle-alert-DJW8U7jL.cjs +6 -0
- package/triangle-alert-wxyxspAl.js +21 -0
- package/useButton-B8dB9sot.js +47 -0
- package/useButton-cpNi-fY4.cjs +1 -0
- package/useControlledState-D0L6S_5r.cjs +1 -0
- package/useControlledState-u436Wbp1.js +30 -0
- package/useDateFormatter-CnxoJ4jF.cjs +1 -0
- package/useDateFormatter-EHm4auIg.js +1571 -0
- package/useEvent-DxBxMX2V.cjs +1 -0
- package/useEvent-IsD2Awnh.js +21 -0
- package/useField-CXKYU74k.cjs +1 -0
- package/useField-DvpGZkw_.js +35 -0
- package/useFilter-BTgDWHVx.cjs +1 -0
- package/useFilter-CUq74PQ2.js +35 -0
- package/useFocusRing-CbImDrwF.cjs +1 -0
- package/useFocusRing-XnR3cZjO.js +82 -0
- package/useFocusable-C8uh8K4g.js +125 -0
- package/useFocusable-NUVSFcRC.cjs +1 -0
- package/useFormValidation-BIGzfO9h.js +215 -0
- package/useFormValidation-ClximP89.cjs +1 -0
- package/useHasTabbableChild-C-1mZUQe.js +34 -0
- package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
- package/useHighlightSelectionDescription-CnBDT86u.js +567 -0
- package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
- package/useHover-DjIHtjGN.js +490 -0
- package/useHover-_mv5J4_q.cjs +1 -0
- package/useLabels-BDwkBYbE.js +17 -0
- package/useLabels-BLOfc6Y-.cjs +1 -0
- package/useListState-Bx8u4IFG.cjs +1 -0
- package/useListState-CrZFZffI.js +132 -0
- package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
- package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
- package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
- package/useObserveElement-BdI4zgd7.js +27 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-0AjDbW9R.cjs +7 -0
- package/usePress-CNjmDzap.js +542 -0
- package/useSingleSelectListState-0AGHxvy3.js +34 -0
- package/useSingleSelectListState-Cl3KV5E1.cjs +1 -0
- package/useTextField--czJtyNd.cjs +1 -0
- package/useTextField-Cw-33OP_.js +86 -0
- package/useToggleState-Bz5rAf4C.js +18 -0
- package/useToggleState-DoIkSQdj.cjs +1 -0
- package/useUpdateEffect-C5YQs_1w.cjs +1 -0
- package/useUpdateEffect-CCDx8D4X.js +13 -0
- package/utils-BNtZbAib.cjs +1 -0
- package/utils-DIMfEPAt.js +308 -0
- package/x-H8Zrx8-x.cjs +6 -0
- package/x-JK7i-TQC.js +14 -0
- package/flex/Flex.d.ts +0 -17
- package/flex/FlexItem.d.ts +0 -15
- package/flex/index.d.ts +0 -2
- package/index.css +0 -1
- package/theme.cjs +0 -1
- package/tokens-COoF1t17.cjs +0 -1
- /package/{global.css → assets/global.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react");function c(e){const r=t.version.split(".");return parseInt(r[0],10)>=19?e:e?"true":void 0}exports.$cdc5a6778b766db2$export$a9d04c5684123369=c;
|
package/info-BZwphdye.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { c } from "./createLucideIcon-DeWljiyi.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.453.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const o = c("Info", [
|
|
9
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
11
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
12
|
+
]);
|
|
13
|
+
export {
|
|
14
|
+
o as I
|
|
15
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const e=require("./createLucideIcon-Cg_wkoIA.cjs");/**
|
|
2
|
+
* @license lucide-react v0.453.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const c=e.createLucideIcon("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);exports.Info=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-C2kTIsrB.cjs");exports.InfoBanner=e.InfoBanner;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/** Display an info-icon with popover next to the label to further explain what the user should enter in the field */
|
|
3
|
+
export interface InfoPopoverProps {
|
|
4
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** An aria-label for the info icon button trigger */
|
|
7
|
+
'aria-label'?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const InfoPopover: React.FC<InfoPopoverProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InfoPopoverProps } from './InfoPopover';
|
|
3
|
+
export interface LabelWrapperContextValue {
|
|
4
|
+
popoverId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const LabelWrapperContext: React.Context<LabelWrapperContextValue | undefined>;
|
|
7
|
+
export declare const useLabelWrapperContext: () => LabelWrapperContextValue | undefined;
|
|
8
|
+
export declare const LabelWrapper: React.FC<{
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
popover?: InfoPopoverProps;
|
|
11
|
+
}>;
|
package/label/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-7Ybb99CE.cjs");exports.Label=e.Label;
|
package/label/index.d.ts
CHANGED
package/label/index.js
ADDED
package/layout/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-1g6bMH62.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
|
package/layout/index.js
ADDED
package/link/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-B88l_oaE.cjs"),r=require("../usePress-0AjDbW9R.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
|
package/link/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-CBpGLETx.cjs"),t=require("../usePress-0AjDbW9R.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-BGaigBnG.cjs"),o=require("../ListBoxButton-DPBrtXyv.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
|
package/logo/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-DT2_2O43.cjs");exports.Logo=o.Logo;
|
package/logo/index.js
ADDED
package/modal/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-BOrYdX50.cjs"),o=require("../Dialog-B8GTYbvu.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
|
package/modal/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function n(a,t=-1/0,c=1/0){return Math.min(Math.max(a,t),c)}exports.$9446cca9a3875146$export$7d15b64cf5a3a4c4=n;
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas Components",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "10.
|
|
17
|
+
"version": "10.3.0",
|
|
18
18
|
"main": "./index.cjs",
|
|
19
19
|
"module": "./index.js",
|
|
20
20
|
"types": "./index.d.ts",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"./theme": {
|
|
43
43
|
"types": "./theme/index.d.ts",
|
|
44
|
-
"import": "./theme.js",
|
|
45
|
-
"require": "./theme.cjs"
|
|
44
|
+
"import": "./theme/index.js",
|
|
45
|
+
"require": "./theme/index.cjs"
|
|
46
46
|
},
|
|
47
47
|
"./global.css": {
|
|
48
|
-
"import": "./global.css"
|
|
48
|
+
"import": "./assets/global.css"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PopoverProps } from 'react-aria-components';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Popover({ children, className, offset, ...props }: MidasPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CqNWzPf-.cjs");exports.Popover=e.Popover;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Popover';
|
package/popover/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-Jbg28j2a.cjs");exports.ProgressBar=r.ProgressBar;
|
package/radio/Radio.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps, ValidationResult } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
4
5
|
children?: React.ReactNode;
|
|
@@ -9,6 +10,8 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
|
9
10
|
/** String to display as error message or function to handle the result and produce the error message */
|
|
10
11
|
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
11
12
|
errorPosition?: 'top' | 'bottom';
|
|
13
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
14
|
+
popover?: InfoPopoverProps;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* RadioGroup is used to group several radio items together
|
package/radio/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-BwqrdhQE.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
|
package/radio/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const W=require("./utils-BNtZbAib.cjs"),I=require("react");function C(e,o){if(!e)return!1;let l=window.getComputedStyle(e),t=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return t&&o&&(t=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),t}function S(e,o){const l=[];for(;e&&e!==document.documentElement;)C(e,o)&&l.push(e),e=e.parentElement;return l}let R=0;const u=new Map;function k(e){let[o,l]=I.useState();return W.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(!e)return;let t=u.get(e);if(t)l(t.element.id);else{let d=`react-aria-description-${R++}`;l(d);let f=document.createElement("div");f.id=d,f.style.display="none",f.textContent=e,document.body.appendChild(f),t={refCount:0,element:f},u.set(e,t)}return t.refCount++,()=>{t&&--t.refCount===0&&(t.element.remove(),u.delete(e))}},[e]),{"aria-describedby":e?o:void 0}}function L(e,o){let l=g(e,o,"left"),t=g(e,o,"top"),d=o.offsetWidth,f=o.offsetHeight,r=e.scrollLeft,n=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:a,scrollPaddingRight:s,scrollPaddingBottom:T,scrollPaddingLeft:y}=getComputedStyle(e),m=r+parseInt(i,10),b=n+parseInt(c,10),$=m+e.clientWidth,p=b+e.clientHeight,v=parseInt(a,10)||0,P=parseInt(T,10)||0,h=parseInt(s,10)||0,x=parseInt(y,10)||0;l<=r+x?r=l-parseInt(i,10)-x:l+d>$-h&&(r+=l+d-$+h),t<=b+v?n=t-parseInt(c,10)-v:t+f>p-P&&(n+=t+f-p+P),e.scrollLeft=r,e.scrollTop=n}function g(e,o,l){const t=l==="left"?"offsetLeft":"offsetTop";let d=0;for(;o.offsetParent&&(d+=o[t],o.offsetParent!==e);){if(o.offsetParent.contains(e)){d-=e[t];break}o=o.offsetParent}return d}function B(e,o){if(e&&document.contains(e)){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let c=S(e);for(let i of c)L(i,e)}else{var l;let{left:c,top:i}=e.getBoundingClientRect();e==null||(l=e.scrollIntoView)===null||l===void 0||l.call(e,{block:"nearest"});let{left:a,top:s}=e.getBoundingClientRect();if(Math.abs(c-a)>1||Math.abs(i-s)>1){var t,d,f;o==null||(d=o.containingElement)===null||d===void 0||(t=d.scrollIntoView)===null||t===void 0||t.call(d,{block:"center",inline:"center"}),(f=e.scrollIntoView)===null||f===void 0||f.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=B;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=C;exports.$ef06256079686ba0$export$f8aeda7b10753fa1=k;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { $ as T } from "./utils-DIMfEPAt.js";
|
|
2
|
+
import { useState as y } from "react";
|
|
3
|
+
function W(e, o) {
|
|
4
|
+
if (!e) return !1;
|
|
5
|
+
let l = window.getComputedStyle(e), t = /(auto|scroll)/.test(l.overflow + l.overflowX + l.overflowY);
|
|
6
|
+
return t && o && (t = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), t;
|
|
7
|
+
}
|
|
8
|
+
function I(e, o) {
|
|
9
|
+
const l = [];
|
|
10
|
+
for (; e && e !== document.documentElement; )
|
|
11
|
+
W(e, o) && l.push(e), e = e.parentElement;
|
|
12
|
+
return l;
|
|
13
|
+
}
|
|
14
|
+
let S = 0;
|
|
15
|
+
const u = /* @__PURE__ */ new Map();
|
|
16
|
+
function R(e) {
|
|
17
|
+
let [o, l] = y();
|
|
18
|
+
return T(() => {
|
|
19
|
+
if (!e) return;
|
|
20
|
+
let t = u.get(e);
|
|
21
|
+
if (t)
|
|
22
|
+
l(t.element.id);
|
|
23
|
+
else {
|
|
24
|
+
let d = `react-aria-description-${S++}`;
|
|
25
|
+
l(d);
|
|
26
|
+
let f = document.createElement("div");
|
|
27
|
+
f.id = d, f.style.display = "none", f.textContent = e, document.body.appendChild(f), t = {
|
|
28
|
+
refCount: 0,
|
|
29
|
+
element: f
|
|
30
|
+
}, u.set(e, t);
|
|
31
|
+
}
|
|
32
|
+
return t.refCount++, () => {
|
|
33
|
+
t && --t.refCount === 0 && (t.element.remove(), u.delete(e));
|
|
34
|
+
};
|
|
35
|
+
}, [
|
|
36
|
+
e
|
|
37
|
+
]), {
|
|
38
|
+
"aria-describedby": e ? o : void 0
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function k(e, o) {
|
|
42
|
+
let l = m(e, o, "left"), t = m(e, o, "top"), d = o.offsetWidth, f = o.offsetHeight, r = e.scrollLeft, n = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: a, scrollPaddingRight: s, scrollPaddingBottom: x, scrollPaddingLeft: C } = getComputedStyle(e), L = r + parseInt(c, 10), b = n + parseInt(i, 10), p = L + e.clientWidth, $ = b + e.clientHeight, v = parseInt(a, 10) || 0, P = parseInt(x, 10) || 0, h = parseInt(s, 10) || 0, g = parseInt(C, 10) || 0;
|
|
43
|
+
l <= r + g ? r = l - parseInt(c, 10) - g : l + d > p - h && (r += l + d - p + h), t <= b + v ? n = t - parseInt(i, 10) - v : t + f > $ - P && (n += t + f - $ + P), e.scrollLeft = r, e.scrollTop = n;
|
|
44
|
+
}
|
|
45
|
+
function m(e, o, l) {
|
|
46
|
+
const t = l === "left" ? "offsetLeft" : "offsetTop";
|
|
47
|
+
let d = 0;
|
|
48
|
+
for (; o.offsetParent && (d += o[t], o.offsetParent !== e); ) {
|
|
49
|
+
if (o.offsetParent.contains(e)) {
|
|
50
|
+
d -= e[t];
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
o = o.offsetParent;
|
|
54
|
+
}
|
|
55
|
+
return d;
|
|
56
|
+
}
|
|
57
|
+
function H(e, o) {
|
|
58
|
+
if (e && document.contains(e)) {
|
|
59
|
+
let r = document.scrollingElement || document.documentElement;
|
|
60
|
+
if (window.getComputedStyle(r).overflow === "hidden") {
|
|
61
|
+
let i = I(e);
|
|
62
|
+
for (let c of i) k(c, e);
|
|
63
|
+
} else {
|
|
64
|
+
var l;
|
|
65
|
+
let { left: i, top: c } = e.getBoundingClientRect();
|
|
66
|
+
e == null || (l = e.scrollIntoView) === null || l === void 0 || l.call(e, {
|
|
67
|
+
block: "nearest"
|
|
68
|
+
});
|
|
69
|
+
let { left: a, top: s } = e.getBoundingClientRect();
|
|
70
|
+
if (Math.abs(i - a) > 1 || Math.abs(c - s) > 1) {
|
|
71
|
+
var t, d, f;
|
|
72
|
+
o == null || (d = o.containingElement) === null || d === void 0 || (t = d.scrollIntoView) === null || t === void 0 || t.call(d, {
|
|
73
|
+
block: "center",
|
|
74
|
+
inline: "center"
|
|
75
|
+
}), (f = e.scrollIntoView) === null || f === void 0 || f.call(e, {
|
|
76
|
+
block: "nearest"
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
W as $,
|
|
84
|
+
R as a,
|
|
85
|
+
k as b,
|
|
86
|
+
H as c
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-CxMwDeUM.cjs");exports.SearchField=e.SearchField;
|
package/select/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-2q1iSzAX.cjs");exports.Select=e.Select;
|
package/select/index.js
ADDED
package/skeleton/Skeleton.d.ts
CHANGED
|
@@ -17,5 +17,10 @@ export interface SkeletonProps extends React.DetailedHTMLProps<React.HTMLAttribu
|
|
|
17
17
|
* @default true
|
|
18
18
|
*/
|
|
19
19
|
isAnimated?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* If skeleton is on a layer01 background light-dark( #f2f2f2, #262626)
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
isOnLayer01?: boolean;
|
|
20
25
|
}
|
|
21
26
|
export declare const Skeleton: React.FC<SkeletonProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-BAwbfKBW.cjs");exports.Skeleton=e.Skeleton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-P35rvvsl.cjs");exports.Spinner=e.Spinner;
|
package/spinner/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { c as t } from "./createLucideIcon-DeWljiyi.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.453.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const r = t("SquareArrowOutUpRight", [
|
|
9
|
+
["path", { d: "M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6", key: "y09zxi" }],
|
|
10
|
+
["path", { d: "m21 3-9 9", key: "mpx6sq" }],
|
|
11
|
+
["path", { d: "M15 3h6v6", key: "1q9fwt" }]
|
|
12
|
+
]);
|
|
13
|
+
export {
|
|
14
|
+
r as S
|
|
15
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const t=require("./createLucideIcon-Cg_wkoIA.cjs");/**
|
|
2
|
+
* @license lucide-react v0.453.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const e=t.createLucideIcon("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);exports.SquareArrowOutUpRight=e;
|
package/table/Table.d.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps, TableBody } from 'react-aria-components';
|
|
2
|
+
import { Size } from '../common/types';
|
|
2
3
|
export interface TableProps extends AriaTableProps {
|
|
3
4
|
/**
|
|
4
5
|
* A more compact version of the table
|
|
6
|
+
* @deprecated since v10.1.1, please use the `size` prop instead.
|
|
5
7
|
*/
|
|
6
8
|
narrow?: boolean;
|
|
9
|
+
/** Row height (large: 48px, medium: 40px)
|
|
10
|
+
* @default 'large'
|
|
11
|
+
* */
|
|
12
|
+
size?: Size;
|
|
7
13
|
/**
|
|
8
14
|
* Alternating colors for rows
|
|
9
15
|
*/
|
|
10
16
|
striped?: boolean;
|
|
11
17
|
}
|
|
12
|
-
export declare const Table: ({ narrow, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const Table: ({ narrow, size, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
19
|
export declare const TableHeader: <T extends object>({ columns, children, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
14
20
|
export declare const Row: <T extends object>({ id, columns, children, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
21
|
export declare const Column: ({ children, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
package/table/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-B40CGLT-.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=e.TableHeader;
|
package/table/index.js
ADDED
package/tabs/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tabs-DA2qXhzb.cjs");exports.Tabs=e.Tabs;
|
package/tabs/index.js
ADDED
package/tag/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-DPAGmcMK.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
|
package/tag/index.js
ADDED
package/text/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-3MNwRMpI.cjs");exports.Text=e.Text;
|
package/text/index.js
ADDED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TextFieldProps, ValidationResult } from 'react-aria-components';
|
|
2
2
|
import { Size } from '../common/types';
|
|
3
|
+
import { InfoPopoverProps } from '../label';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
|
|
5
6
|
children?: React.ReactNode;
|
|
@@ -20,5 +21,6 @@ export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
|
|
|
20
21
|
* @default 'large'
|
|
21
22
|
* */
|
|
22
23
|
size?: Size;
|
|
24
|
+
popover?: InfoPopoverProps;
|
|
23
25
|
}
|
|
24
26
|
export declare const TextFieldBase: React.ForwardRefExoticComponent<TextFieldBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-C7JZ_pQd.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/theme/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tokens-p6pg1Cea.cjs"),s={...e.tokens};exports.baseColors=e.baseColors;exports.breakpoints=e.breakpoints;exports.semantic=e.semantic;exports.spacing=e.spacing;exports.states=e.states;exports.transitions=e.transitions;exports.typography=e.typography;exports.windowSizes=e.windowSizes;exports.zIndex=e.zIndex;exports.theme=s;
|
package/theme/index.d.ts
CHANGED
|
@@ -124,11 +124,13 @@ export declare const theme: {
|
|
|
124
124
|
fast: string;
|
|
125
125
|
};
|
|
126
126
|
windowSizes: {
|
|
127
|
+
sm: number;
|
|
127
128
|
md: number;
|
|
128
129
|
lg: number;
|
|
129
130
|
xl: number;
|
|
130
131
|
};
|
|
131
132
|
breakpoints: {
|
|
133
|
+
xs: string;
|
|
132
134
|
sm: string;
|
|
133
135
|
md: string;
|
|
134
136
|
lg: string;
|
|
@@ -169,6 +171,8 @@ export declare const theme: {
|
|
|
169
171
|
fieldActive02: string;
|
|
170
172
|
fieldDisabled: string;
|
|
171
173
|
fieldSkeleton: string;
|
|
174
|
+
skeleton01: string;
|
|
175
|
+
skeleton02: string;
|
|
172
176
|
iconPrimary: string;
|
|
173
177
|
iconSecondary: string;
|
|
174
178
|
iconTertiary: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as s } from "
|
|
2
|
-
import { b as n,
|
|
1
|
+
import { t as s } from "../tokens-xp-7KMK7.js";
|
|
2
|
+
import { b as n, e as r, f as i, s as p, c as m, d as c, a as b, w as d, z as f } from "../tokens-xp-7KMK7.js";
|
|
3
3
|
const t = { ...s };
|
|
4
4
|
export {
|
|
5
5
|
n as baseColors,
|
package/theme/tokens.d.ts
CHANGED
|
@@ -122,11 +122,13 @@ export declare const transitions: {
|
|
|
122
122
|
fast: string;
|
|
123
123
|
};
|
|
124
124
|
export declare const windowSizes: {
|
|
125
|
+
sm: number;
|
|
125
126
|
md: number;
|
|
126
127
|
lg: number;
|
|
127
128
|
xl: number;
|
|
128
129
|
};
|
|
129
130
|
export declare const breakpoints: {
|
|
131
|
+
xs: string;
|
|
130
132
|
sm: string;
|
|
131
133
|
md: string;
|
|
132
134
|
lg: string;
|
|
@@ -166,7 +168,12 @@ export declare const semantic: {
|
|
|
166
168
|
fieldHover02: string;
|
|
167
169
|
fieldActive02: string;
|
|
168
170
|
fieldDisabled: string;
|
|
171
|
+
/**
|
|
172
|
+
* @deprecated since v10.2.0, please use the `skeleton01` instead.
|
|
173
|
+
*/
|
|
169
174
|
fieldSkeleton: string;
|
|
175
|
+
skeleton01: string;
|
|
176
|
+
skeleton02: string;
|
|
170
177
|
iconPrimary: string;
|
|
171
178
|
iconSecondary: string;
|
|
172
179
|
iconTertiary: string;
|
|
@@ -211,6 +218,9 @@ export declare const semantic: {
|
|
|
211
218
|
buttonBackgroundDangerHover: string;
|
|
212
219
|
buttonBackgroundDangerActive: string;
|
|
213
220
|
buttonBackgroundDisabled: string;
|
|
221
|
+
/**
|
|
222
|
+
* @deprecated since v10.2.0, please use the `skeleton01` instead.
|
|
223
|
+
*/
|
|
214
224
|
buttonBackgroundSkeleton: string;
|
|
215
225
|
buttonBorderSecondary: string;
|
|
216
226
|
logoPrimary: string;
|
package/toast/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-AbDA1BOs.cjs");exports.GlobalToastRegion=o.GlobalToastRegion;exports.Toast=o.Toast;exports.ToastProvider=o.ToastProvider;exports.ToastRegion=o.ToastRegion;exports.toastQueue=o.toastQueue;exports.useToastState=o.useToastState;
|
package/toast/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ToggleButtonGroup-BFDoj0P6.cjs");exports.ToggleButton=o.ToggleButton;exports.ToggleButtonGroup=o.ToggleButtonGroup;
|