@loadsmart/miranda-react 3.0.0-beta.6 → 3.0.0-beta.60

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.
Files changed (135) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +6 -7
  2. package/dist/components/Accordion/AccordionContent.d.ts +2 -2
  3. package/dist/components/Accordion/AccordionTitle.d.ts +4 -4
  4. package/dist/components/Badge/Badge.d.ts +3 -3
  5. package/dist/components/Banner/Banner.d.ts +10 -10
  6. package/dist/components/Banner/BannerActionPrimary.d.ts +4 -4
  7. package/dist/components/Banner/BannerActionSecondary.d.ts +4 -4
  8. package/dist/components/Banner/BannerActions.d.ts +3 -3
  9. package/dist/components/Banner/BannerDescription.d.ts +3 -3
  10. package/dist/components/Banner/BannerIcon.d.ts +3 -3
  11. package/dist/components/Banner/BannerTitle.d.ts +3 -3
  12. package/dist/components/Button/Button.d.ts +4 -4
  13. package/dist/components/Card/Card.d.ts +12 -13
  14. package/dist/components/Card/CardActionPrimary.d.ts +4 -4
  15. package/dist/components/Card/CardActionSecondary.d.ts +4 -4
  16. package/dist/components/Card/CardActionTertiary.d.ts +4 -4
  17. package/dist/components/Card/CardBody.d.ts +3 -3
  18. package/dist/components/Card/CardDivider.d.ts +3 -3
  19. package/dist/components/Card/CardFooter.d.ts +3 -3
  20. package/dist/components/Card/CardSubtitle.d.ts +3 -3
  21. package/dist/components/Card/CardTitle.d.ts +4 -4
  22. package/dist/components/Checkbox/Checkbox.d.ts +5 -5
  23. package/dist/components/Dialog/Dialog.d.ts +17 -17
  24. package/dist/components/Dialog/DialogActionPrimary.d.ts +4 -4
  25. package/dist/components/Dialog/DialogActionSecondary.d.ts +4 -4
  26. package/dist/components/Dialog/DialogActionTertiary.d.ts +4 -4
  27. package/dist/components/Dialog/DialogActions.d.ts +3 -3
  28. package/dist/components/Dialog/DialogBody.d.ts +3 -3
  29. package/dist/components/Dialog/DialogClose.d.ts +4 -4
  30. package/dist/components/Dialog/DialogFooter.d.ts +3 -3
  31. package/dist/components/Dialog/DialogHeader.d.ts +3 -3
  32. package/dist/components/Divider/Divider.d.ts +3 -3
  33. package/dist/components/DotsLoader/DotsLoader.d.ts +13 -0
  34. package/dist/components/DotsLoader/index.d.ts +2 -0
  35. package/dist/components/Drawer/Drawer.d.ts +16 -19
  36. package/dist/components/Drawer/DrawerActionPrimary.d.ts +4 -4
  37. package/dist/components/Drawer/DrawerActionSecondary.d.ts +4 -4
  38. package/dist/components/Drawer/DrawerActionTertiary.d.ts +4 -4
  39. package/dist/components/Drawer/DrawerActions.d.ts +3 -3
  40. package/dist/components/Drawer/DrawerBody.d.ts +3 -3
  41. package/dist/components/Drawer/DrawerClose.d.ts +4 -4
  42. package/dist/components/Drawer/DrawerHeader.d.ts +3 -3
  43. package/dist/components/Dropdown/Dropdown.d.ts +8 -8
  44. package/dist/components/Dropdown/DropdownItem.d.ts +4 -4
  45. package/dist/components/Dropdown/DropdownMenu.d.ts +3 -3
  46. package/dist/components/Dropdown/DropdownTrigger.d.ts +4 -4
  47. package/dist/components/EmptyState/EmptyState.d.ts +8 -8
  48. package/dist/components/EmptyState/EmptyStateAction.d.ts +4 -4
  49. package/dist/components/EmptyState/EmptyStateHeader.d.ts +3 -3
  50. package/dist/components/EmptyState/EmptyStateIllustration.d.ts +3 -3
  51. package/dist/components/EmptyState/EmptyStateMessage.d.ts +3 -3
  52. package/dist/components/Field/Field.d.ts +5 -5
  53. package/dist/components/Field/FieldHint.d.ts +4 -4
  54. package/dist/components/Field/FieldLabel.d.ts +3 -3
  55. package/dist/components/Header/Header.d.ts +11 -8
  56. package/dist/components/Header/HeaderActions.d.ts +3 -3
  57. package/dist/components/Header/HeaderBackButton.d.ts +2 -2
  58. package/dist/components/Header/HeaderContent.d.ts +3 -3
  59. package/dist/components/Header/HeaderTabs.d.ts +14 -0
  60. package/dist/components/Header/HeaderTitle.d.ts +3 -3
  61. package/dist/components/Header/SubHeader.d.ts +3 -3
  62. package/dist/components/Header/index.d.ts +2 -0
  63. package/dist/components/Icon/Icon.d.ts +3 -3
  64. package/dist/components/Label/Label.d.ts +3 -3
  65. package/dist/components/LabeledValue/LabeledValue.d.ts +10 -10
  66. package/dist/components/Layout/Box.d.ts +3 -3
  67. package/dist/components/Layout/Grid.d.ts +3 -3
  68. package/dist/components/Layout/Group.d.ts +3 -3
  69. package/dist/components/Layout/Layout.d.ts +11 -11
  70. package/dist/components/Layout/Row.d.ts +5 -5
  71. package/dist/components/Layout/Sidebar.d.ts +7 -8
  72. package/dist/components/Layout/Stack.d.ts +3 -3
  73. package/dist/components/Layout/Switcher.d.ts +3 -3
  74. package/dist/components/Link/Link.d.ts +4 -5
  75. package/dist/components/Link/index.d.ts +1 -1
  76. package/dist/components/LogoLoader/LogoLoader.d.ts +3 -3
  77. package/dist/components/PageContent/Body.d.ts +3 -3
  78. package/dist/components/PageContent/PageContent.d.ts +4 -4
  79. package/dist/components/Pagination/Pagination.d.ts +4 -5
  80. package/dist/components/ProgressBar/ProgressBar.d.ts +4 -5
  81. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +3 -3
  82. package/dist/components/RadioGroup/Radio.d.ts +4 -4
  83. package/dist/components/RadioGroup/RadioGroup.d.ts +5 -5
  84. package/dist/components/Section/Section.d.ts +4 -4
  85. package/dist/components/Section/SectionTitle.d.ts +4 -4
  86. package/dist/components/Select/Select.d.ts +7 -7
  87. package/dist/components/Select/SelectOption.d.ts +5 -5
  88. package/dist/components/Select/index.d.ts +1 -1
  89. package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +3 -3
  90. package/dist/components/Steps/Step.d.ts +3 -3
  91. package/dist/components/Steps/Steps.d.ts +8 -9
  92. package/dist/components/Steps/useSteps.d.ts +2 -2
  93. package/dist/components/Switch/Switch.d.ts +4 -4
  94. package/dist/components/Table/Table.d.ts +17 -13
  95. package/dist/components/Table/TableActions.d.ts +3 -3
  96. package/dist/components/Table/TableBody.d.ts +3 -3
  97. package/dist/components/Table/TableCell.d.ts +3 -3
  98. package/dist/components/Table/TableFeedback.d.ts +3 -3
  99. package/dist/components/Table/TableFoot.d.ts +3 -3
  100. package/dist/components/Table/TableHead.d.ts +3 -3
  101. package/dist/components/Table/TableHeadCell.d.ts +4 -5
  102. package/dist/components/Table/TableRow.d.ts +3 -3
  103. package/dist/components/Table/TableSelectionCell.d.ts +12 -0
  104. package/dist/components/Table/TableToolbar.d.ts +3 -3
  105. package/dist/components/Table/index.d.ts +3 -1
  106. package/dist/components/Tabs/Tab.d.ts +4 -4
  107. package/dist/components/Tabs/TabPanel.d.ts +3 -3
  108. package/dist/components/Tabs/Tabs.d.ts +6 -7
  109. package/dist/components/Tag/ActionableTag.d.ts +6 -6
  110. package/dist/components/Tag/Tag.d.ts +4 -4
  111. package/dist/components/Text/Text.d.ts +3 -3
  112. package/dist/components/TextArea/TextArea.d.ts +6 -7
  113. package/dist/components/TextField/TextField.d.ts +8 -7
  114. package/dist/components/Timeline/Timeline.d.ts +11 -11
  115. package/dist/components/Timeline/TimelineExpandableItem.d.ts +3 -3
  116. package/dist/components/Timeline/TimelineItem.d.ts +3 -3
  117. package/dist/components/Timeline/TimelineItemBody.d.ts +3 -3
  118. package/dist/components/Timeline/TimelineItemFooter.d.ts +3 -3
  119. package/dist/components/Timeline/TimelineItemHeader.d.ts +3 -3
  120. package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +3 -3
  121. package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +3 -3
  122. package/dist/components/Timeline/TimelineItemIcon.d.ts +3 -3
  123. package/dist/components/ToggleGroup/Toggle.d.ts +4 -4
  124. package/dist/components/ToggleGroup/ToggleGroup.d.ts +33 -10
  125. package/dist/components/Tooltip/Tooltip.d.ts +13 -7
  126. package/dist/index.d.ts +2 -1
  127. package/dist/index.js +1220 -1121
  128. package/dist/tokens.d.ts +1 -1
  129. package/dist/tokens.js +2 -2
  130. package/dist/utils/createComponent.d.ts +3 -3
  131. package/dist/utils/types.d.ts +1 -1
  132. package/dist/utils/utils.d.ts +2 -2
  133. package/package.json +16 -13
  134. package/dist/tests/constants.d.ts +0 -12
  135. package/dist/tests/types.d.ts +0 -5
package/dist/index.js CHANGED
@@ -1,1237 +1,1336 @@
1
- import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, BackButton, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, Table as Table$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, LogoLoader as LogoLoader$1 } from '@loadsmart/miranda-wc';
2
- export { DIALOG_SIZES, DIALOG_VARIANTS, DRAWER_SIZES, EMPTY_STATE_VARIANTS, Accordion as WCAccordion, AccordionContent as WCAccordionContent, AccordionTitle as WCAccordionTitle, ActionableTag as WCActionableTag, Badge as WCBadge, Banner as WCBanner, BannerActionPrimary as WCBannerActionPrimary, BannerActionSecondary as WCBannerActionSecondary, BannerActions as WCBannerActions, BannerDescription as WCBannerDescription, BannerIcon as WCBannerIcon, BannerTitle as WCBannerTitle, Box as WCBox, Button as WCButton, Card as WCCard, CardActionPrimary as WCCardActionPrimary, CardActionSecondary as WCCardActionSecondary, CardActionTertiary as WCCardActionTertiary, CardBody as WCCardBody, CardDivider as WCCardDivider, CardFooter as WCCardFooter, CardSubtitle as WCCardSubtitle, CardTitle as WCCardTitle, Checkbox as WCCheckbox, Column as WCColumn, Container as WCContainer, Dialog as WCDialog, DialogActionPrimary as WCDialogActionPrimary, DialogActionSecondary as WCDialogActionSecondary, DialogActionTertiary as WCDialogActionTertiary, DialogActions as WCDialogActions, DialogBody as WCDialogBody, DialogClose as WCDialogClose, DialogFooter as WCDialogFooter, DialogHeader as WCDialogHeader, Divider as WCDivider, Drawer as WCDrawer, DrawerActionPrimary as WCDrawerActionPrimary, DrawerActionSecondary as WCDrawerActionSecondary, DrawerActionTertiary as WCDrawerActionTertiary, DrawerActions as WCDrawerActions, DrawerBody as WCDrawerBody, DrawerClose as WCDrawerClose, DrawerHeader as WCDrawerHeader, Dropdown as WCDropdown, DropdownItem as WCDropdownItem, DropdownMenu as WCDropdownMenu, DropdownTrigger as WCDropdownTrigger, EmptyState as WCEmptyState, EmptyStateAction as WCEmptyStateAction, EmptyStateHeader as WCEmptyStateHeader, EmptyStateIllustration as WCEmptyStateIllustration, EmptyStateMessage as WCEmptyStateMessage, Field as WCField, FieldHint as WCFieldHint, FieldLabel as WCFieldLabel, Grid as WCGrid, Group as WCGroup, Header as WCHeader, HeaderActions as WCHeaderActions, HeaderContent as WCHeaderContent, HeaderTitle as WCHeaderTitle, Icon as WCIcon, LabeledValue as WCLabeledValue, LabeledValueLabel as WCLabeledValueLabel, LabeledValueValue as WCLabeledValueValue, Link as WCLink, LogoLoader as WCLogoLoader, PageContent as WCPageContent, Pagination as WCPagination, ProgressBar as WCProgressBar, ProgressBarCountdown as WCProgressBarCountdown, Radio as WCRadio, RadioGroup as WCRadioGroup, Row as WCRow, Section as WCSection, SectionTitle as WCSectionTitle, Sidebar as WCSidebar, SpinnerWheel as WCSpinnerWheel, Stack as WCStack, Step as WCStep, Steps as WCSteps, SubHeader as WCSubHeader, Switch as WCSwitch, Switcher as WCSwitcher, Tab as WCTab, TabPanel as WCTabPanel, Table as WCTable, TableActions as WCTableActions, TableBody as WCTableBody, TableCell as WCTableCell, TableFeedback as WCTableFeedback, TableFoot as WCTableFoot, TableHead as WCTableHead, TableHeadCell as WCTableHeadCell, TableRow as WCTableRow, TableToolbar as WCTableToolbar, Tabs as WCTabs, Tag as WCTag, Text as WCText, TextArea as WCTextArea, TextField as WCTextField, Timeline as WCTimeline, TimelineExpandableItem as WCTimelineExpandableItem, TimelineItem as WCTimelineItem, TimelineItemBody as WCTimelineItemBody, TimelineItemFooter as WCTimelineItemFooter, TimelineItemHeader as WCTimelineItemHeader, TimelineItemHeaderSubtitle as WCTimelineItemHeaderSubtitle, TimelineItemHeaderTitle as WCTimelineItemHeaderTitle, TimelineItemIcon as WCTimelineItemIcon, Toggle as WCToggle, ToggleGroup as WCToggleGroup, Tooltip as WCTooltip } from '@loadsmart/miranda-wc';
3
- import * as React from 'react';
4
- import { forwardRef, useState, useCallback } from 'react';
5
- import { jsxs, jsx } from 'react/jsx-runtime';
6
-
7
- function _extends() {
8
- _extends = Object.assign ? Object.assign.bind() : function (target) {
9
- for (var i = 1; i < arguments.length; i++) {
10
- var source = arguments[i];
11
- for (var key in source) {
12
- if (Object.prototype.hasOwnProperty.call(source, key)) {
13
- target[key] = source[key];
14
- }
15
- }
16
- }
17
- return target;
18
- };
19
- return _extends.apply(this, arguments);
20
- }
21
- function _unsupportedIterableToArray(o, minLen) {
22
- if (!o) return;
23
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
24
- var n = Object.prototype.toString.call(o).slice(8, -1);
25
- if (n === "Object" && o.constructor) n = o.constructor.name;
26
- if (n === "Map" || n === "Set") return Array.from(o);
27
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
28
- }
29
- function _arrayLikeToArray(arr, len) {
30
- if (len == null || len > arr.length) len = arr.length;
31
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
32
- return arr2;
33
- }
34
- function _createForOfIteratorHelperLoose(o, allowArrayLike) {
35
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
36
- if (it) return (it = it.call(o)).next.bind(it);
37
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
38
- if (it) o = it;
39
- var i = 0;
40
- return function () {
41
- if (i >= o.length) return {
42
- done: true
43
- };
44
- return {
45
- done: false,
46
- value: o[i++]
47
- };
48
- };
1
+ import * as React from "react";
2
+ import { forwardRef, useState, useCallback, Children, isValidElement, cloneElement } from "react";
3
+ import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, BackButton, HeaderTabs as HeaderTabs$1, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1 } from "@loadsmart/miranda-wc";
4
+ import { DIALOG_SIZES, DIALOG_VARIANTS, DRAWER_SIZES, EMPTY_STATE_VARIANTS, Accordion, AccordionContent, AccordionTitle, ActionableTag, Badge, Banner, BannerActionPrimary, BannerActionSecondary, BannerActions, BannerDescription, BannerIcon, BannerTitle, Box, Button, Card, CardActionPrimary, CardActionSecondary, CardActionTertiary, CardBody, CardDivider, CardFooter, CardSubtitle, CardTitle, Checkbox, Column, Container, Dialog, DialogActionPrimary, DialogActionSecondary, DialogActionTertiary, DialogActions, DialogBody, DialogClose, DialogFooter, DialogHeader, Divider, Drawer, DrawerActionPrimary, DrawerActionSecondary, DrawerActionTertiary, DrawerActions, DrawerBody, DrawerClose, DrawerHeader, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, EmptyState, EmptyStateAction, EmptyStateHeader, EmptyStateIllustration, EmptyStateMessage, Field, FieldHint, FieldLabel, Grid, Group, Header, HeaderActions, HeaderContent, HeaderTitle, Icon, LabeledValue, LabeledValueLabel, LabeledValueValue, Link, LogoLoader, PageContent, Pagination, ProgressBar, ProgressBarCountdown, Radio, RadioGroup, Row, Section, SectionTitle, Sidebar, SpinnerWheel, Stack, Step, Steps, SubHeader, Switch, Switcher, Tab, TabPanel, Table, TableActions, TableBody, TableCell, TableFeedback, TableFoot, TableHead, TableHeadCell, TableRow, TableToolbar, Tabs, Tag, Text, TextArea, TextField, Timeline, TimelineExpandableItem, TimelineItem, TimelineItemBody, TimelineItemFooter, TimelineItemHeader, TimelineItemHeaderSubtitle, TimelineItemHeaderTitle, TimelineItemIcon, Toggle, ToggleGroup, Tooltip } from "@loadsmart/miranda-wc";
5
+ import { createComponent as createComponent$1 } from "@lit/react";
6
+ import { isFragment } from "react-is";
7
+ const createComponent = ({
8
+ subComponents,
9
+ ...options
10
+ }) => {
11
+ const ReactComponent = createComponent$1({
12
+ react: React,
13
+ ...options
14
+ });
15
+ const ComponentWithSubComponents = ReactComponent;
16
+ if (subComponents) {
17
+ Object.assign(ComponentWithSubComponents, subComponents);
49
18
  }
50
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
51
- }
52
-
53
- /**
54
- * @license
55
- * Copyright 2018 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */
58
- var e = new Set(["children", "localName", "ref", "style", "className"]),
59
- n = new WeakMap(),
60
- t = function t(e, _t, o, l, a) {
61
- var s = a == null ? void 0 : a[_t];
62
- void 0 === s ? (e[_t] = o, null == o && _t in HTMLElement.prototype && e.removeAttribute(_t)) : o !== l && function (e, t, o) {
63
- var l = n.get(e);
64
- void 0 === l && n.set(e, l = new Map());
65
- var a = l.get(t);
66
- void 0 !== o ? void 0 === a ? (l.set(t, a = {
67
- handleEvent: o
68
- }), e.addEventListener(t, a)) : a.handleEvent = o : void 0 !== a && (l["delete"](t), e.removeEventListener(t, a));
69
- }(e, s, o);
70
- },
71
- o = function o(_ref) {
72
- var n = _ref.react,
73
- o = _ref.tagName,
74
- l = _ref.elementClass,
75
- a = _ref.events,
76
- s = _ref.displayName;
77
- var c = new Set(Object.keys(a != null ? a : {})),
78
- r = n.forwardRef(function (s, r) {
79
- var i = n.useRef(new Map()),
80
- d = n.useRef(null),
81
- f = {},
82
- u = {};
83
- for (var _i = 0, _Object$entries = Object.entries(s); _i < _Object$entries.length; _i++) {
84
- var _Object$entries$_i = _Object$entries[_i],
85
- _n = _Object$entries$_i[0],
86
- _t2 = _Object$entries$_i[1];
87
- e.has(_n) ? f["className" === _n ? "class" : _n] = _t2 : c.has(_n) || _n in l.prototype ? u[_n] = _t2 : f[_n] = _t2;
88
- }
89
- return n.useLayoutEffect(function () {
90
- if (null === d.current) return;
91
- var e = new Map();
92
- for (var _n2 in u) t(d.current, _n2, s[_n2], i.current.get(_n2), a), i.current["delete"](_n2), e.set(_n2, s[_n2]);
93
- for (var _iterator = _createForOfIteratorHelperLoose(i.current), _step; !(_step = _iterator()).done;) {
94
- var _step$value = _step.value,
95
- _e = _step$value[0],
96
- _n3 = _step$value[1];
97
- t(d.current, _e, void 0, _n3, a);
98
- }
99
- i.current = e;
100
- }), n.useLayoutEffect(function () {
101
- var _d$current;
102
- (_d$current = d.current) == null || _d$current.removeAttribute("defer-hydration");
103
- }, []), f.suppressHydrationWarning = !0, n.createElement(o, _extends({}, f, {
104
- ref: n.useCallback(function (e) {
105
- d.current = e, "function" == typeof r ? r(e) : null !== r && (r.current = e);
106
- }, [r])
107
- }));
108
- });
109
- return r.displayName = s != null ? s : l.name, r;
110
- };
111
-
112
- const createComponent = ({ subComponents, ...options }) => {
113
- const ReactComponent = o({
114
- react: React,
115
- ...options,
116
- });
117
- const ComponentWithSubComponents = ReactComponent;
118
- if (subComponents) {
119
- Object.assign(ComponentWithSubComponents, subComponents);
120
- }
121
- return ComponentWithSubComponents;
19
+ return ComponentWithSubComponents;
122
20
  };
123
-
124
21
  const WiredAccordionTitle = createComponent({
125
- tagName: 'm-accordion-title',
126
- elementClass: AccordionTitle$1,
127
- displayName: 'AccordionTitle',
22
+ tagName: "m-accordion-title",
23
+ elementClass: AccordionTitle$1,
24
+ displayName: "AccordionTitle"
128
25
  });
129
- const AccordionTitle = forwardRef((props, ref) => {
26
+ const AccordionTitle2 = forwardRef(
27
+ (props, ref) => {
130
28
  const { leading, children, ...rest } = props;
131
- return (jsxs(WiredAccordionTitle, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
132
- });
133
-
134
- const AccordionContent = createComponent({
135
- tagName: 'm-accordion-content',
136
- elementClass: AccordionContent$1,
137
- displayName: 'AccordionContent',
138
- });
139
-
140
- const Accordion = createComponent({
141
- tagName: 'm-accordion',
142
- elementClass: Accordion$1,
143
- displayName: 'Accordion',
144
- events: {
145
- onToggle: 'toggle',
146
- },
147
- subComponents: {
148
- Title: AccordionTitle,
149
- Content: AccordionContent,
150
- },
29
+ return /* @__PURE__ */ React.createElement(WiredAccordionTitle, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
30
+ }
31
+ );
32
+ const AccordionContent2 = createComponent({
33
+ tagName: "m-accordion-content",
34
+ elementClass: AccordionContent$1,
35
+ displayName: "AccordionContent"
36
+ });
37
+ const Accordion2 = createComponent({
38
+ tagName: "m-accordion",
39
+ elementClass: Accordion$1,
40
+ displayName: "Accordion",
41
+ events: {
42
+ onToggle: "toggle"
43
+ },
44
+ subComponents: {
45
+ Title: AccordionTitle2,
46
+ Content: AccordionContent2
47
+ }
151
48
  });
152
-
153
- const Badge = createComponent({
154
- tagName: 'm-badge',
155
- elementClass: Badge$1,
156
- displayName: 'Badge',
49
+ const Badge2 = createComponent({
50
+ tagName: "m-badge",
51
+ elementClass: Badge$1,
52
+ displayName: "Badge"
157
53
  });
158
-
159
54
  const WiredBannerActionPrimary = createComponent({
160
- tagName: 'm-banner-action-primary',
161
- elementClass: BannerActionPrimary$1,
162
- displayName: 'BannerActionPrimary',
55
+ tagName: "m-banner-action-primary",
56
+ elementClass: BannerActionPrimary$1,
57
+ displayName: "BannerActionPrimary"
163
58
  });
164
- const BannerActionPrimary = forwardRef((props, ref) => {
165
- const { leading, trailing, children, ...rest } = props;
166
- return (jsxs(WiredBannerActionPrimary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
59
+ const BannerActionPrimary2 = forwardRef((props, ref) => {
60
+ const { leading, trailing, children, ...rest } = props;
61
+ return /* @__PURE__ */ React.createElement(WiredBannerActionPrimary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
167
62
  });
168
-
169
- const BannerActions = createComponent({
170
- tagName: 'm-banner-actions',
171
- elementClass: BannerActions$1,
172
- displayName: 'BannerActions',
63
+ const BannerActions2 = createComponent({
64
+ tagName: "m-banner-actions",
65
+ elementClass: BannerActions$1,
66
+ displayName: "BannerActions"
173
67
  });
174
-
175
68
  const WiredBannerActionSecondary = createComponent({
176
- tagName: 'm-banner-action-secondary',
177
- elementClass: BannerActionSecondary$1,
178
- displayName: 'BannerActionSecondary',
179
- });
180
- const BannerActionSecondary = forwardRef((props, ref) => {
181
- const { leading, trailing, children, ...rest } = props;
182
- return (jsxs(WiredBannerActionSecondary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
183
- });
184
-
185
- const BannerDescription = createComponent({
186
- tagName: 'm-banner-description',
187
- elementClass: BannerDescription$1,
188
- displayName: 'BannerDescription',
189
- });
190
-
191
- const BannerIcon = createComponent({
192
- tagName: 'm-banner-icon',
193
- elementClass: BannerIcon$1,
194
- displayName: 'BannerIcon',
195
- });
196
-
197
- const BannerTitle = createComponent({
198
- tagName: 'm-banner-title',
199
- elementClass: BannerTitle$1,
200
- displayName: 'BannerTitle',
201
- });
202
-
203
- const Banner = createComponent({
204
- tagName: 'm-banner',
205
- elementClass: Banner$1,
206
- events: {
207
- onDismiss: 'dismiss',
208
- },
209
- displayName: 'Banner',
210
- subComponents: {
211
- ActionPrimary: BannerActionPrimary,
212
- Actions: BannerActions,
213
- ActionSecondary: BannerActionSecondary,
214
- Description: BannerDescription,
215
- Icon: BannerIcon,
216
- Title: BannerTitle,
217
- },
69
+ tagName: "m-banner-action-secondary",
70
+ elementClass: BannerActionSecondary$1,
71
+ displayName: "BannerActionSecondary"
72
+ });
73
+ const BannerActionSecondary2 = forwardRef((props, ref) => {
74
+ const { leading, trailing, children, ...rest } = props;
75
+ return /* @__PURE__ */ React.createElement(WiredBannerActionSecondary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
76
+ });
77
+ const BannerDescription2 = createComponent({
78
+ tagName: "m-banner-description",
79
+ elementClass: BannerDescription$1,
80
+ displayName: "BannerDescription"
81
+ });
82
+ const BannerIcon2 = createComponent({
83
+ tagName: "m-banner-icon",
84
+ elementClass: BannerIcon$1,
85
+ displayName: "BannerIcon"
86
+ });
87
+ const BannerTitle2 = createComponent({
88
+ tagName: "m-banner-title",
89
+ elementClass: BannerTitle$1,
90
+ displayName: "BannerTitle"
91
+ });
92
+ const Banner2 = createComponent({
93
+ tagName: "m-banner",
94
+ elementClass: Banner$1,
95
+ events: {
96
+ onDismiss: "dismiss"
97
+ },
98
+ displayName: "Banner",
99
+ subComponents: {
100
+ ActionPrimary: BannerActionPrimary2,
101
+ Actions: BannerActions2,
102
+ ActionSecondary: BannerActionSecondary2,
103
+ Description: BannerDescription2,
104
+ Icon: BannerIcon2,
105
+ Title: BannerTitle2
106
+ }
218
107
  });
219
-
220
108
  const WiredButton = createComponent({
221
- tagName: 'm-button',
222
- elementClass: Button$1,
223
- displayName: 'Button',
109
+ tagName: "m-button",
110
+ elementClass: Button$1,
111
+ displayName: "Button"
224
112
  });
225
- const Button = forwardRef((props, ref) => {
226
- const { leading, trailing, children, ...rest } = props;
227
- return (jsxs(WiredButton, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
113
+ const Button2 = forwardRef((props, ref) => {
114
+ const { leading, trailing, children, ...rest } = props;
115
+ return /* @__PURE__ */ React.createElement(WiredButton, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
228
116
  });
229
-
230
117
  const WiredCardTitle = createComponent({
231
- tagName: 'm-card-title',
232
- elementClass: CardTitle$1,
233
- displayName: 'CardTitle',
234
- });
235
- const CardTitle = forwardRef(({ children, leading, ...props }, ref) => {
236
- return (jsxs(WiredCardTitle, { ...props, slot: "title", ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
237
- });
238
-
239
- const CardSubtitle = createComponent({
240
- tagName: 'm-card-subtitle',
241
- elementClass: CardSubtitle$1,
242
- displayName: 'CardSubtitle',
243
- });
244
-
245
- const CardBody = createComponent({
246
- tagName: 'm-card-body',
247
- elementClass: CardBody$1,
248
- displayName: 'CardBody',
249
- });
250
-
251
- const CardDivider = createComponent({
252
- tagName: 'm-card-divider',
253
- elementClass: CardDivider$1,
254
- displayName: 'CardDivider',
255
- });
256
-
118
+ tagName: "m-card-title",
119
+ elementClass: CardTitle$1,
120
+ displayName: "CardTitle"
121
+ });
122
+ const CardTitle2 = forwardRef(
123
+ ({ children, leading, ...props }, ref) => {
124
+ return /* @__PURE__ */ React.createElement(WiredCardTitle, { ...props, slot: "title", ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
125
+ }
126
+ );
127
+ const CardSubtitle2 = createComponent({
128
+ tagName: "m-card-subtitle",
129
+ elementClass: CardSubtitle$1,
130
+ displayName: "CardSubtitle"
131
+ });
132
+ const CardBody2 = createComponent({
133
+ tagName: "m-card-body",
134
+ elementClass: CardBody$1,
135
+ displayName: "CardBody"
136
+ });
137
+ const CardDivider2 = createComponent({
138
+ tagName: "m-card-divider",
139
+ elementClass: CardDivider$1,
140
+ displayName: "CardDivider"
141
+ });
257
142
  const WiredCardActionPrimary = createComponent({
258
- tagName: 'm-card-action-primary',
259
- elementClass: CardActionPrimary$1,
260
- displayName: 'CardActionPrimary',
143
+ tagName: "m-card-action-primary",
144
+ elementClass: CardActionPrimary$1,
145
+ displayName: "CardActionPrimary"
261
146
  });
262
- const CardActionPrimary = forwardRef((props, ref) => {
263
- const { leading, trailing, children, ...rest } = props;
264
- return (jsxs(WiredCardActionPrimary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
147
+ const CardActionPrimary2 = forwardRef((props, ref) => {
148
+ const { leading, trailing, children, ...rest } = props;
149
+ return /* @__PURE__ */ React.createElement(WiredCardActionPrimary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
265
150
  });
266
-
267
151
  const WiredCardActionSecondary = createComponent({
268
- tagName: 'm-card-action-secondary',
269
- elementClass: CardActionSecondary$1,
270
- displayName: 'CardActionSecondary',
152
+ tagName: "m-card-action-secondary",
153
+ elementClass: CardActionSecondary$1,
154
+ displayName: "CardActionSecondary"
271
155
  });
272
- const CardActionSecondary = forwardRef((props, ref) => {
273
- const { leading, trailing, children, ...rest } = props;
274
- return (jsxs(WiredCardActionSecondary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
156
+ const CardActionSecondary2 = forwardRef((props, ref) => {
157
+ const { leading, trailing, children, ...rest } = props;
158
+ return /* @__PURE__ */ React.createElement(WiredCardActionSecondary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
275
159
  });
276
-
277
160
  const WiredCardActionTertiary = createComponent({
278
- tagName: 'm-card-action-tertiary',
279
- elementClass: CardActionTertiary$1,
280
- displayName: 'CardActionTertiary',
281
- });
282
- const CardActionTertiary = forwardRef((props, ref) => {
283
- const { leading, trailing, children, ...rest } = props;
284
- return (jsxs(WiredCardActionTertiary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
285
- });
286
-
287
- const CardFooter = createComponent({
288
- tagName: 'm-card-footer',
289
- elementClass: CardFooter$1,
290
- displayName: 'CardFooter',
291
- });
292
-
293
- const Card = createComponent({
294
- tagName: 'm-card',
295
- elementClass: Card$1,
296
- displayName: 'Card',
297
- events: {
298
- onToggle: 'toggle',
299
- },
300
- subComponents: {
301
- Title: CardTitle,
302
- Subtitle: CardSubtitle,
303
- Body: CardBody,
304
- Divider: CardDivider,
305
- ActionPrimary: CardActionPrimary,
306
- ActionSecondary: CardActionSecondary,
307
- ActionTertiary: CardActionTertiary,
308
- Footer: CardFooter,
309
- },
161
+ tagName: "m-card-action-tertiary",
162
+ elementClass: CardActionTertiary$1,
163
+ displayName: "CardActionTertiary"
164
+ });
165
+ const CardActionTertiary2 = forwardRef((props, ref) => {
166
+ const { leading, trailing, children, ...rest } = props;
167
+ return /* @__PURE__ */ React.createElement(WiredCardActionTertiary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
168
+ });
169
+ const CardFooter2 = createComponent({
170
+ tagName: "m-card-footer",
171
+ elementClass: CardFooter$1,
172
+ displayName: "CardFooter"
173
+ });
174
+ const Card2 = createComponent({
175
+ tagName: "m-card",
176
+ elementClass: Card$1,
177
+ displayName: "Card",
178
+ events: {
179
+ onToggle: "toggle"
180
+ },
181
+ subComponents: {
182
+ Title: CardTitle2,
183
+ Subtitle: CardSubtitle2,
184
+ Body: CardBody2,
185
+ Divider: CardDivider2,
186
+ ActionPrimary: CardActionPrimary2,
187
+ ActionSecondary: CardActionSecondary2,
188
+ ActionTertiary: CardActionTertiary2,
189
+ Footer: CardFooter2
190
+ }
310
191
  });
311
-
312
192
  const WiredCheckbox = createComponent({
313
- tagName: 'm-checkbox',
314
- elementClass: Checkbox$1,
315
- events: {
316
- onChange: 'change',
317
- },
318
- displayName: 'Checkbox',
193
+ tagName: "m-checkbox",
194
+ elementClass: Checkbox$1,
195
+ events: {
196
+ onChange: "change"
197
+ },
198
+ displayName: "Checkbox"
319
199
  });
320
- const Checkbox = forwardRef((props, ref) => {
321
- const { children, leading, ...rest } = props;
322
- return (jsxs(WiredCheckbox, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
200
+ const Checkbox2 = forwardRef((props, ref) => {
201
+ const { children, leading, ...rest } = props;
202
+ return /* @__PURE__ */ React.createElement(WiredCheckbox, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
323
203
  });
324
-
325
204
  const WiredDialogActionPrimary = createComponent({
326
- tagName: 'm-dialog-action-primary',
327
- elementClass: DialogActionPrimary$1,
328
- displayName: 'DialogActionPrimary',
205
+ tagName: "m-dialog-action-primary",
206
+ elementClass: DialogActionPrimary$1,
207
+ displayName: "DialogActionPrimary"
329
208
  });
330
- const DialogActionPrimary = forwardRef((props, ref) => {
331
- const { leading, trailing, children, ...rest } = props;
332
- return (jsxs(WiredDialogActionPrimary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
209
+ const DialogActionPrimary2 = forwardRef((props, ref) => {
210
+ const { leading, trailing, children, ...rest } = props;
211
+ return /* @__PURE__ */ React.createElement(WiredDialogActionPrimary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
333
212
  });
334
-
335
213
  const WiredDialogActionSecondary = createComponent({
336
- tagName: 'm-dialog-action-secondary',
337
- elementClass: DialogActionSecondary$1,
338
- displayName: 'DialogActionSecondary',
214
+ tagName: "m-dialog-action-secondary",
215
+ elementClass: DialogActionSecondary$1,
216
+ displayName: "DialogActionSecondary"
339
217
  });
340
- const DialogActionSecondary = forwardRef((props, ref) => {
341
- const { leading, trailing, children, ...rest } = props;
342
- return (jsxs(WiredDialogActionSecondary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
218
+ const DialogActionSecondary2 = forwardRef((props, ref) => {
219
+ const { leading, trailing, children, ...rest } = props;
220
+ return /* @__PURE__ */ React.createElement(WiredDialogActionSecondary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
343
221
  });
344
-
345
222
  const WiredDialogActionTertiary = createComponent({
346
- tagName: 'm-dialog-action-tertiary',
347
- elementClass: DialogActionTertiary$1,
348
- displayName: 'DialogActionTertiary',
349
- });
350
- const DialogActionTertiary = forwardRef((props, ref) => {
351
- const { leading, trailing, children, ...rest } = props;
352
- return (jsxs(WiredDialogActionTertiary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
353
- });
354
-
355
- const DialogActions = createComponent({
356
- tagName: 'm-dialog-actions',
357
- elementClass: DialogActions$1,
358
- displayName: 'DialogActions',
359
- });
360
-
361
- const DialogBody = createComponent({
362
- tagName: 'm-dialog-body',
363
- elementClass: DialogBody$1,
364
- displayName: 'DialogBody',
365
- });
366
-
367
- const DialogClose = createComponent({
368
- tagName: 'm-dialog-close',
369
- elementClass: DialogClose$1,
370
- events: {
371
- onClose: 'm-close',
372
- },
373
- displayName: 'DialogClose',
374
- });
375
-
376
- const DialogFooter = createComponent({
377
- tagName: 'm-dialog-footer',
378
- elementClass: DialogFooter$1,
379
- displayName: 'DialogFooter',
380
- });
381
-
382
- const DialogHeader = createComponent({
383
- tagName: 'm-dialog-header',
384
- elementClass: DialogHeader$1,
385
- displayName: 'DialogHeader',
386
- });
387
-
388
- const Dialog = createComponent({
389
- tagName: 'm-dialog',
390
- elementClass: Dialog$1,
391
- events: {
392
- onClose: 'close',
393
- onOpening: 'opening',
394
- onOpened: 'opened',
395
- onClosing: 'closing',
396
- onClosed: 'closed',
397
- },
398
- displayName: 'Dialog',
399
- subComponents: {
400
- ActionPrimary: DialogActionPrimary,
401
- ActionSecondary: DialogActionSecondary,
402
- ActionTertiary: DialogActionTertiary,
403
- Actions: DialogActions,
404
- Body: DialogBody,
405
- Close: DialogClose,
406
- Footer: DialogFooter,
407
- Header: DialogHeader,
408
- },
223
+ tagName: "m-dialog-action-tertiary",
224
+ elementClass: DialogActionTertiary$1,
225
+ displayName: "DialogActionTertiary"
226
+ });
227
+ const DialogActionTertiary2 = forwardRef((props, ref) => {
228
+ const { leading, trailing, children, ...rest } = props;
229
+ return /* @__PURE__ */ React.createElement(WiredDialogActionTertiary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
230
+ });
231
+ const DialogActions2 = createComponent({
232
+ tagName: "m-dialog-actions",
233
+ elementClass: DialogActions$1,
234
+ displayName: "DialogActions"
235
+ });
236
+ const DialogBody2 = createComponent({
237
+ tagName: "m-dialog-body",
238
+ elementClass: DialogBody$1,
239
+ displayName: "DialogBody"
240
+ });
241
+ const DialogClose2 = createComponent({
242
+ tagName: "m-dialog-close",
243
+ elementClass: DialogClose$1,
244
+ events: {
245
+ onClose: "m-close"
246
+ },
247
+ displayName: "DialogClose"
248
+ });
249
+ const DialogFooter2 = createComponent({
250
+ tagName: "m-dialog-footer",
251
+ elementClass: DialogFooter$1,
252
+ displayName: "DialogFooter"
253
+ });
254
+ const DialogHeader2 = createComponent({
255
+ tagName: "m-dialog-header",
256
+ elementClass: DialogHeader$1,
257
+ displayName: "DialogHeader"
258
+ });
259
+ const Dialog2 = createComponent({
260
+ tagName: "m-dialog",
261
+ elementClass: Dialog$1,
262
+ events: {
263
+ onClose: "close",
264
+ onOpening: "opening",
265
+ onOpened: "opened",
266
+ onClosing: "closing",
267
+ onClosed: "closed"
268
+ },
269
+ displayName: "Dialog",
270
+ subComponents: {
271
+ ActionPrimary: DialogActionPrimary2,
272
+ ActionSecondary: DialogActionSecondary2,
273
+ ActionTertiary: DialogActionTertiary2,
274
+ Actions: DialogActions2,
275
+ Body: DialogBody2,
276
+ Close: DialogClose2,
277
+ Footer: DialogFooter2,
278
+ Header: DialogHeader2
279
+ }
409
280
  });
410
-
411
- const Divider = createComponent({
412
- tagName: 'm-divider',
413
- elementClass: Divider$1,
414
- displayName: 'Divider',
281
+ const Divider2 = createComponent({
282
+ tagName: "m-divider",
283
+ elementClass: Divider$1,
284
+ displayName: "Divider"
415
285
  });
416
-
417
286
  const WiredDrawerActionPrimary = createComponent({
418
- tagName: 'm-drawer-action-primary',
419
- elementClass: DrawerActionPrimary$1,
420
- displayName: 'DrawerActionPrimary',
287
+ tagName: "m-drawer-action-primary",
288
+ elementClass: DrawerActionPrimary$1,
289
+ displayName: "DrawerActionPrimary"
290
+ });
291
+ const DrawerActionPrimary2 = forwardRef(function DrawerActionPrimary22(props, ref) {
292
+ const { leading, trailing, children, ...rest } = props;
293
+ return /* @__PURE__ */ React.createElement(WiredDrawerActionPrimary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
421
294
  });
422
- function DrawerActionPrimary(props) {
423
- const { leading, trailing, children, ...rest } = props;
424
- return (jsxs(WiredDrawerActionPrimary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
425
- }
426
-
427
295
  const WiredDrawerActionSecondary = createComponent({
428
- tagName: 'm-drawer-action-secondary',
429
- elementClass: DrawerActionSecondary$1,
430
- displayName: 'DrawerActionSecondary',
296
+ tagName: "m-drawer-action-secondary",
297
+ elementClass: DrawerActionSecondary$1,
298
+ displayName: "DrawerActionSecondary"
431
299
  });
432
- function DrawerActionSecondary(props) {
433
- const { leading, trailing, children, ...rest } = props;
434
- return (jsxs(WiredDrawerActionSecondary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
435
- }
436
-
437
- const WiredDrawerActionTertiary = createComponent({
438
- tagName: 'm-drawer-action-tertiary',
439
- elementClass: DrawerActionTertiary$1,
440
- displayName: 'DrawerActionTertiary',
300
+ const DrawerActionSecondary2 = forwardRef(function DrawerActionSecondary22(props, ref) {
301
+ const { leading, trailing, children, ...rest } = props;
302
+ return /* @__PURE__ */ React.createElement(WiredDrawerActionSecondary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
441
303
  });
442
- function DrawerActionTertiary(props) {
443
- const { leading, trailing, children, ...rest } = props;
444
- return (jsxs(WiredDrawerActionTertiary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
445
- }
446
-
447
- const DrawerActions = createComponent({
448
- tagName: 'm-drawer-actions',
449
- elementClass: DrawerActions$1,
450
- displayName: 'DrawerActions',
451
- });
452
-
453
- const DrawerBody = createComponent({
454
- tagName: 'm-drawer-body',
455
- elementClass: DrawerBody$1,
456
- displayName: 'DrawerBody',
457
- });
458
-
459
- const DrawerClose = createComponent({
460
- tagName: 'm-drawer-close',
461
- elementClass: DrawerClose$1,
462
- events: {
463
- onClose: 'm-close',
464
- },
465
- displayName: 'DrawerClose',
466
- });
467
-
468
- const DrawerHeader = createComponent({
469
- tagName: 'm-drawer-header',
470
- elementClass: DrawerHeader$1,
471
- displayName: 'DrawerHeader',
472
- });
473
-
474
- const Drawer = createComponent({
475
- tagName: 'm-drawer',
476
- elementClass: Drawer$1,
477
- events: {
478
- onClose: 'close',
479
- onOpening: 'opening',
480
- onOpened: 'opened',
481
- onClosing: 'closing',
482
- onClosed: 'closed',
483
- },
484
- displayName: 'Drawer',
485
- subComponents: {
486
- ActionPrimary: DrawerActionPrimary,
487
- ActionSecondary: DrawerActionSecondary,
488
- ActionTertiary: DrawerActionTertiary,
489
- Actions: DrawerActions,
490
- Body: DrawerBody,
491
- Close: DrawerClose,
492
- Header: DrawerHeader,
493
- },
304
+ const WiredDrawerActionTertiary = createComponent({
305
+ tagName: "m-drawer-action-tertiary",
306
+ elementClass: DrawerActionTertiary$1,
307
+ displayName: "DrawerActionTertiary"
308
+ });
309
+ const DrawerActionTertiary2 = forwardRef(function DrawerActionTertiary22(props, ref) {
310
+ const { leading, trailing, children, ...rest } = props;
311
+ return /* @__PURE__ */ React.createElement(WiredDrawerActionTertiary, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
312
+ });
313
+ const DrawerActions2 = createComponent({
314
+ tagName: "m-drawer-actions",
315
+ elementClass: DrawerActions$1,
316
+ displayName: "DrawerActions"
317
+ });
318
+ const DrawerBody2 = createComponent({
319
+ tagName: "m-drawer-body",
320
+ elementClass: DrawerBody$1,
321
+ displayName: "DrawerBody"
322
+ });
323
+ const DrawerClose2 = createComponent({
324
+ tagName: "m-drawer-close",
325
+ elementClass: DrawerClose$1,
326
+ events: {
327
+ onClose: "m-close"
328
+ },
329
+ displayName: "DrawerClose"
330
+ });
331
+ const DrawerHeader2 = createComponent({
332
+ tagName: "m-drawer-header",
333
+ elementClass: DrawerHeader$1,
334
+ displayName: "DrawerHeader"
335
+ });
336
+ const Drawer2 = createComponent({
337
+ tagName: "m-drawer",
338
+ elementClass: Drawer$1,
339
+ events: {
340
+ onClose: "close",
341
+ onOpening: "opening",
342
+ onOpened: "opened",
343
+ onClosing: "closing",
344
+ onClosed: "closed"
345
+ },
346
+ displayName: "Drawer",
347
+ subComponents: {
348
+ ActionPrimary: DrawerActionPrimary2,
349
+ ActionSecondary: DrawerActionSecondary2,
350
+ ActionTertiary: DrawerActionTertiary2,
351
+ Actions: DrawerActions2,
352
+ Body: DrawerBody2,
353
+ Close: DrawerClose2,
354
+ Header: DrawerHeader2
355
+ }
494
356
  });
495
-
496
357
  const WiredDropdownItem = createComponent({
497
- tagName: 'm-dropdown-item',
498
- elementClass: DropdownItem$1,
499
- displayName: 'DropdownItem',
358
+ tagName: "m-dropdown-item",
359
+ elementClass: DropdownItem$1,
360
+ displayName: "DropdownItem"
500
361
  });
501
- const DropdownItem = forwardRef((props, ref) => {
362
+ const DropdownItem2 = forwardRef(
363
+ (props, ref) => {
502
364
  const { leading, trailing, children, ...rest } = props;
503
- return (jsxs(WiredDropdownItem, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
504
- });
505
-
506
- const DropdownMenu = createComponent({
507
- tagName: 'm-dropdown-menu',
508
- elementClass: DropdownMenu$1,
509
- displayName: 'DropdownMenu',
365
+ return /* @__PURE__ */ React.createElement(WiredDropdownItem, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
366
+ }
367
+ );
368
+ const DropdownMenu2 = createComponent({
369
+ tagName: "m-dropdown-menu",
370
+ elementClass: DropdownMenu$1,
371
+ displayName: "DropdownMenu"
510
372
  });
511
-
512
373
  const WiredDropdownTrigger = createComponent({
513
- tagName: 'm-dropdown-trigger',
514
- elementClass: DropdownTrigger$1,
515
- displayName: 'DropdownTrigger',
374
+ tagName: "m-dropdown-trigger",
375
+ elementClass: DropdownTrigger$1,
376
+ displayName: "DropdownTrigger"
377
+ });
378
+ const DropdownTrigger2 = forwardRef((props, ref) => {
379
+ const { leading, children, ...rest } = props;
380
+ return /* @__PURE__ */ React.createElement(WiredDropdownTrigger, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
381
+ });
382
+ const Dropdown2 = createComponent({
383
+ tagName: "m-dropdown",
384
+ elementClass: Dropdown$1,
385
+ displayName: "Dropdown",
386
+ subComponents: {
387
+ Item: DropdownItem2,
388
+ Menu: DropdownMenu2,
389
+ Trigger: DropdownTrigger2
390
+ },
391
+ events: {
392
+ onExpand: "expand",
393
+ onCollapse: "collapse"
394
+ }
516
395
  });
517
- const DropdownTrigger = forwardRef((props, ref) => {
518
- const { leading, children, ...rest } = props;
519
- return (jsxs(WiredDropdownTrigger, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
520
- });
521
-
522
- const Dropdown = createComponent({
523
- tagName: 'm-dropdown',
524
- elementClass: Dropdown$1,
525
- displayName: 'Dropdown',
526
- subComponents: {
527
- Item: DropdownItem,
528
- Menu: DropdownMenu,
529
- Trigger: DropdownTrigger,
530
- },
531
- events: {
532
- onExpand: 'expand',
533
- onCollapse: 'collapse',
534
- },
396
+ const EmptyStateIllustration2 = createComponent({
397
+ tagName: "m-empty-state-illustration",
398
+ elementClass: EmptyStateIllustration$1,
399
+ displayName: "EmptyStateIllustration"
535
400
  });
536
-
537
- const EmptyStateIllustration = createComponent({
538
- tagName: 'm-empty-state-illustration',
539
- elementClass: EmptyStateIllustration$1,
540
- displayName: 'EmptyStateIllustration',
541
- });
542
-
543
- const EmptyStateHeader = createComponent({
544
- tagName: 'm-empty-state-header',
545
- elementClass: EmptyStateHeader$1,
546
- displayName: 'EmptyStateHeader',
547
- });
548
-
549
- const EmptyStateMessage = createComponent({
550
- tagName: 'm-empty-state-message',
551
- elementClass: EmptyStateMessage$1,
552
- displayName: 'EmptyStateMessage',
553
- });
554
-
555
- const WiredEmptyStateAction = createComponent({
556
- tagName: 'm-empty-state-action',
557
- elementClass: EmptyStateAction$1,
558
- displayName: 'EmptyStateAction',
401
+ const EmptyStateHeader2 = createComponent({
402
+ tagName: "m-empty-state-header",
403
+ elementClass: EmptyStateHeader$1,
404
+ displayName: "EmptyStateHeader"
559
405
  });
560
- const EmptyStateAction = forwardRef((props, ref) => {
561
- const { leading, trailing, children, ...rest } = props;
562
- return (jsxs(WiredEmptyStateAction, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
563
- });
564
-
565
- const EmptyState = createComponent({
566
- tagName: 'm-empty-state',
567
- elementClass: EmptyState$1,
568
- events: {
569
- onAction: 'action',
570
- },
571
- displayName: 'EmptyState',
572
- subComponents: {
573
- Illustration: EmptyStateIllustration,
574
- Header: EmptyStateHeader,
575
- Message: EmptyStateMessage,
576
- Action: EmptyStateAction,
577
- },
406
+ const EmptyStateMessage2 = createComponent({
407
+ tagName: "m-empty-state-message",
408
+ elementClass: EmptyStateMessage$1,
409
+ displayName: "EmptyStateMessage"
578
410
  });
579
-
580
- const FieldLabel = createComponent({
581
- tagName: 'm-field-label',
582
- elementClass: FieldLabel$1,
583
- displayName: 'FieldLabel',
411
+ const WiredEmptyStateAction = createComponent({
412
+ tagName: "m-empty-state-action",
413
+ elementClass: EmptyStateAction$1,
414
+ displayName: "EmptyStateAction"
415
+ });
416
+ const EmptyStateAction2 = forwardRef((props, ref) => {
417
+ const { leading, trailing, children, ...rest } = props;
418
+ return /* @__PURE__ */ React.createElement(WiredEmptyStateAction, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { slot: "trailing" }, trailing));
419
+ });
420
+ const EmptyState2 = createComponent({
421
+ tagName: "m-empty-state",
422
+ elementClass: EmptyState$1,
423
+ events: {
424
+ onAction: "action"
425
+ },
426
+ displayName: "EmptyState",
427
+ subComponents: {
428
+ Illustration: EmptyStateIllustration2,
429
+ Header: EmptyStateHeader2,
430
+ Message: EmptyStateMessage2,
431
+ Action: EmptyStateAction2
432
+ }
433
+ });
434
+ const FieldLabel2 = createComponent({
435
+ tagName: "m-field-label",
436
+ elementClass: FieldLabel$1,
437
+ displayName: "FieldLabel"
584
438
  });
585
-
586
439
  const WiredFieldHint = createComponent({
587
- tagName: 'm-field-hint',
588
- elementClass: FieldHint$1,
589
- displayName: 'FieldHint',
590
- });
591
- const FieldHint = forwardRef(({ children, leading, ...props }, ref) => {
592
- return (jsxs(WiredFieldHint, { ...props, slot: "hint", ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
593
- });
594
-
595
- const Field = createComponent({
596
- tagName: 'm-field',
597
- elementClass: Field$1,
598
- displayName: 'Field',
599
- subComponents: {
600
- Label: FieldLabel,
601
- Hint: FieldHint,
602
- },
440
+ tagName: "m-field-hint",
441
+ elementClass: FieldHint$1,
442
+ displayName: "FieldHint"
443
+ });
444
+ const FieldHint2 = forwardRef(
445
+ ({ children, leading, ...props }, ref) => {
446
+ return /* @__PURE__ */ React.createElement(WiredFieldHint, { ...props, slot: "hint", ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
447
+ }
448
+ );
449
+ const Field2 = createComponent({
450
+ tagName: "m-field",
451
+ elementClass: Field$1,
452
+ displayName: "Field",
453
+ subComponents: {
454
+ Label: FieldLabel2,
455
+ Hint: FieldHint2
456
+ }
457
+ });
458
+ const HeaderActions2 = createComponent({
459
+ tagName: "m-header-actions",
460
+ elementClass: HeaderActions$1,
461
+ displayName: "HeaderActions"
462
+ });
463
+ const HeaderContent2 = createComponent({
464
+ tagName: "m-header-content",
465
+ elementClass: HeaderContent$1,
466
+ displayName: "HeaderContent"
467
+ });
468
+ const HeaderTitle2 = createComponent({
469
+ tagName: "m-header-title",
470
+ elementClass: HeaderTitle$1,
471
+ displayName: "HeaderTitle"
472
+ });
473
+ const SubHeader2 = createComponent({
474
+ tagName: "m-sub-header",
475
+ elementClass: SubHeader$1,
476
+ displayName: "SubHeader"
603
477
  });
604
-
605
- const HeaderActions = createComponent({
606
- tagName: 'm-header-actions',
607
- elementClass: HeaderActions$1,
608
- displayName: 'HeaderActions',
609
- });
610
-
611
- const HeaderContent = createComponent({
612
- tagName: 'm-header-content',
613
- elementClass: HeaderContent$1,
614
- displayName: 'HeaderContent',
615
- });
616
-
617
- const HeaderTitle = createComponent({
618
- tagName: 'm-header-title',
619
- elementClass: HeaderTitle$1,
620
- displayName: 'HeaderTitle',
621
- });
622
-
623
- const SubHeader = createComponent({
624
- tagName: 'm-sub-header',
625
- elementClass: SubHeader$1,
626
- displayName: 'SubHeader',
627
- });
628
-
629
478
  const HeaderBackButton = createComponent({
630
- tagName: 'm-back-button',
631
- elementClass: BackButton,
632
- displayName: 'HeaderBackButton',
633
- });
634
-
635
- const Header = createComponent({
636
- tagName: 'm-header',
637
- elementClass: Header$1,
638
- displayName: 'Header',
639
- subComponents: {
640
- Actions: HeaderActions,
641
- Content: HeaderContent,
642
- Title: HeaderTitle,
643
- SubHeader,
644
- BackButton: HeaderBackButton,
645
- },
479
+ tagName: "m-back-button",
480
+ elementClass: BackButton,
481
+ displayName: "HeaderBackButton"
482
+ });
483
+ const HeaderTabs = createComponent({
484
+ tagName: "m-header-tabs",
485
+ elementClass: HeaderTabs$1,
486
+ displayName: "HeaderTabs",
487
+ events: {
488
+ onTabChange: "tabchange"
489
+ }
646
490
  });
647
-
648
- const Icon = createComponent({
649
- tagName: 'm-icon',
650
- elementClass: Icon$1,
651
- displayName: 'Icon',
491
+ const Header2 = createComponent({
492
+ tagName: "m-header",
493
+ elementClass: Header$1,
494
+ displayName: "Header",
495
+ subComponents: {
496
+ Actions: HeaderActions2,
497
+ Content: HeaderContent2,
498
+ Title: HeaderTitle2,
499
+ SubHeader: SubHeader2,
500
+ BackButton: HeaderBackButton,
501
+ Tabs: HeaderTabs
502
+ }
503
+ });
504
+ const Icon2 = createComponent({
505
+ tagName: "m-icon",
506
+ elementClass: Icon$1,
507
+ displayName: "Icon"
652
508
  });
653
-
654
- const LabeledValueLabel = createComponent({
655
- tagName: 'm-labeled-value-label',
656
- elementClass: LabeledValueLabel$1,
657
- displayName: 'LabeledValueLabel',
509
+ const LabeledValueLabel2 = createComponent({
510
+ tagName: "m-labeled-value-label",
511
+ elementClass: LabeledValueLabel$1,
512
+ displayName: "LabeledValueLabel"
658
513
  });
659
- const LabeledValueValue = createComponent({
660
- tagName: 'm-labeled-value-value',
661
- elementClass: LabeledValueValue$1,
662
- displayName: 'LabeledValueValue',
514
+ const LabeledValueValue2 = createComponent({
515
+ tagName: "m-labeled-value-value",
516
+ elementClass: LabeledValueValue$1,
517
+ displayName: "LabeledValueValue"
663
518
  });
664
519
  const WiredLabeledValue = createComponent({
665
- tagName: 'm-labeled-value',
666
- elementClass: LabeledValue$1,
667
- displayName: 'LabeledValue',
668
- subComponents: {
669
- Label: LabeledValueLabel,
670
- Value: LabeledValueValue,
671
- },
520
+ tagName: "m-labeled-value",
521
+ elementClass: LabeledValue$1,
522
+ displayName: "LabeledValue",
523
+ subComponents: {
524
+ Label: LabeledValueLabel2,
525
+ Value: LabeledValueValue2
526
+ }
672
527
  });
673
- const LabeledValue = Object.assign(forwardRef((props, ref) => {
674
- const { label, value, children, valueVariant, valueColor, labelVariant, labelColor, ...rest } = props;
675
- return (jsxs(WiredLabeledValue, { ...rest, ref: ref, children: [label != null && (jsx(LabeledValueLabel, { variant: labelVariant, color: labelColor, children: label })), value != null && (jsx(LabeledValueValue, { variant: valueVariant, color: valueColor, children: value })), children] }));
676
- }), {
677
- Label: LabeledValueLabel,
678
- Value: LabeledValueValue,
679
- });
680
-
681
- const Box = createComponent({
682
- tagName: 'm-box',
683
- elementClass: Box$1,
684
- displayName: 'Box',
685
- });
686
-
687
- const Group = createComponent({
688
- tagName: 'm-group',
689
- elementClass: Group$1,
690
- displayName: 'Group',
691
- });
692
-
693
- const Stack = createComponent({
694
- tagName: 'm-stack',
695
- elementClass: Stack$1,
696
- displayName: 'Stack',
697
- });
698
-
699
- const Grid = createComponent({
700
- tagName: 'm-grid',
701
- elementClass: Grid$1,
702
- displayName: 'Grid',
703
- });
704
-
705
- const SidebarSide = forwardRef(({ children, ...boxProps }, ref) => {
706
- return (jsx(Box, { ...boxProps, slot: "sidebar", ref: ref, children: children }));
707
- });
708
- const SidebarContent = forwardRef(({ children, ...boxProps }, ref) => {
709
- return (jsx(Box, { ...boxProps, slot: "content", ref: ref, children: children }));
710
- });
711
- const Sidebar = createComponent({
712
- tagName: 'm-sidebar',
713
- elementClass: Sidebar$1,
714
- displayName: 'Sidebar',
715
- subComponents: {
716
- Side: SidebarSide,
717
- Content: SidebarContent,
718
- },
528
+ const LabeledValue2 = Object.assign(
529
+ forwardRef((props, ref) => {
530
+ const {
531
+ label,
532
+ value,
533
+ children,
534
+ valueVariant,
535
+ valueColor,
536
+ labelVariant,
537
+ labelColor,
538
+ ...rest
539
+ } = props;
540
+ return /* @__PURE__ */ React.createElement(WiredLabeledValue, { ...rest, ref }, label != null && /* @__PURE__ */ React.createElement(LabeledValueLabel2, { variant: labelVariant, color: labelColor }, label), value != null && /* @__PURE__ */ React.createElement(LabeledValueValue2, { variant: valueVariant, color: valueColor }, value), children);
541
+ }),
542
+ {
543
+ Label: LabeledValueLabel2,
544
+ Value: LabeledValueValue2
545
+ }
546
+ );
547
+ const Box2 = createComponent({
548
+ tagName: "m-box",
549
+ elementClass: Box$1,
550
+ displayName: "Box"
551
+ });
552
+ const Group2 = createComponent({
553
+ tagName: "m-group",
554
+ elementClass: Group$1,
555
+ displayName: "Group"
556
+ });
557
+ const Stack2 = createComponent({
558
+ tagName: "m-stack",
559
+ elementClass: Stack$1,
560
+ displayName: "Stack"
561
+ });
562
+ const Grid2 = createComponent({
563
+ tagName: "m-grid",
564
+ elementClass: Grid$1,
565
+ displayName: "Grid"
566
+ });
567
+ const SidebarSide = forwardRef(
568
+ ({ children, ...boxProps }, ref) => {
569
+ return /* @__PURE__ */ React.createElement(Box2, { ...boxProps, slot: "sidebar", ref }, children);
570
+ }
571
+ );
572
+ const SidebarContent = forwardRef(
573
+ ({ children, ...boxProps }, ref) => {
574
+ return /* @__PURE__ */ React.createElement(Box2, { ...boxProps, slot: "content", ref }, children);
575
+ }
576
+ );
577
+ const Sidebar2 = createComponent({
578
+ tagName: "m-sidebar",
579
+ elementClass: Sidebar$1,
580
+ displayName: "Sidebar",
581
+ subComponents: {
582
+ Side: SidebarSide,
583
+ Content: SidebarContent
584
+ }
585
+ });
586
+ const Switcher2 = createComponent({
587
+ tagName: "m-switcher",
588
+ elementClass: Switcher$1,
589
+ displayName: "Switcher"
590
+ });
591
+ const Container2 = createComponent({
592
+ tagName: "m-container",
593
+ elementClass: Container$1,
594
+ displayName: "Container"
595
+ });
596
+ const Row2 = createComponent({
597
+ tagName: "m-row",
598
+ elementClass: Row$1,
599
+ displayName: "Row"
600
+ });
601
+ const Column2 = createComponent({
602
+ tagName: "m-column",
603
+ elementClass: Column$1,
604
+ displayName: "Column"
719
605
  });
720
-
721
- const Switcher = createComponent({
722
- tagName: 'm-switcher',
723
- elementClass: Switcher$1,
724
- displayName: 'Switcher',
725
- });
726
-
727
- const Container = createComponent({
728
- tagName: 'm-container',
729
- elementClass: Container$1,
730
- displayName: 'Container',
731
- });
732
- const Row = createComponent({
733
- tagName: 'm-row',
734
- elementClass: Row$1,
735
- displayName: 'Row',
736
- });
737
- const Column = createComponent({
738
- tagName: 'm-column',
739
- elementClass: Column$1,
740
- displayName: 'Column',
741
- });
742
-
743
606
  const Layout = () => {
744
- return null;
607
+ return null;
745
608
  };
746
- Layout.Box = Box;
747
- Layout.Group = Group;
748
- Layout.Stack = Stack;
749
- Layout.Grid = Grid;
750
- Layout.Sidebar = Sidebar;
751
- Layout.Switcher = Switcher;
752
- Layout.Container = Container;
753
- Layout.Row = Row;
754
- Layout.Column = Column;
755
-
756
- const Link = createComponent({
757
- tagName: 'm-link',
758
- elementClass: Link$1,
759
- displayName: 'Link',
760
- });
761
-
609
+ Layout.Box = Box2;
610
+ Layout.Group = Group2;
611
+ Layout.Stack = Stack2;
612
+ Layout.Grid = Grid2;
613
+ Layout.Sidebar = Sidebar2;
614
+ Layout.Switcher = Switcher2;
615
+ Layout.Container = Container2;
616
+ Layout.Row = Row2;
617
+ Layout.Column = Column2;
618
+ const Link2 = createComponent({
619
+ tagName: "m-link",
620
+ elementClass: Link$1,
621
+ displayName: "Link"
622
+ });
762
623
  const Body = createComponent({
763
- tagName: 'm-body',
764
- elementClass: Body$1,
765
- displayName: 'Body',
766
- });
767
-
768
- const PageContent = createComponent({
769
- tagName: 'm-page-content',
770
- elementClass: PageContent$1,
771
- displayName: 'PageContent',
772
- subComponents: {
773
- Body,
774
- },
624
+ tagName: "m-body",
625
+ elementClass: Body$1,
626
+ displayName: "Body"
627
+ });
628
+ const PageContent2 = createComponent({
629
+ tagName: "m-page-content",
630
+ elementClass: PageContent$1,
631
+ displayName: "PageContent",
632
+ subComponents: {
633
+ Body
634
+ }
775
635
  });
776
-
777
- const Pagination = createComponent({
778
- tagName: 'm-pagination',
779
- elementClass: Pagination$1,
780
- displayName: 'Pagination',
781
- events: {
782
- onChange: 'paginationchange',
783
- },
636
+ const Pagination2 = createComponent({
637
+ tagName: "m-pagination",
638
+ elementClass: Pagination$1,
639
+ displayName: "Pagination",
640
+ events: {
641
+ onChange: "paginationchange"
642
+ }
784
643
  });
785
-
786
- const ProgressBar = createComponent({
787
- tagName: 'm-progress-bar',
788
- elementClass: ProgressBar$1,
789
- displayName: 'ProgressBar',
644
+ const ProgressBar2 = createComponent({
645
+ tagName: "m-progress-bar",
646
+ elementClass: ProgressBar$1,
647
+ displayName: "ProgressBar"
790
648
  });
791
-
792
- const ProgressBarCountdown = createComponent({
793
- tagName: 'm-progress-bar-countdown',
794
- elementClass: ProgressBarCountdown$1,
795
- displayName: 'ProgressBarCountdown',
649
+ const ProgressBarCountdown2 = createComponent({
650
+ tagName: "m-progress-bar-countdown",
651
+ elementClass: ProgressBarCountdown$1,
652
+ displayName: "ProgressBarCountdown"
796
653
  });
797
-
798
654
  const WiredRadio = createComponent({
799
- tagName: 'm-radio',
800
- elementClass: Radio$1,
801
- displayName: 'Radio',
802
- });
803
- const Radio = forwardRef((props, ref) => {
804
- const { children, leading, ...rest } = props;
805
- return (jsxs(WiredRadio, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
806
- });
807
-
808
- const RadioGroup = createComponent({
809
- tagName: 'm-radio-group',
810
- elementClass: RadioGroup$1,
811
- subComponents: {
812
- Radio,
813
- },
814
- events: {
815
- onChange: 'change',
816
- },
817
- displayName: 'RadioGroup',
655
+ tagName: "m-radio",
656
+ elementClass: Radio$1,
657
+ displayName: "Radio"
658
+ });
659
+ const Radio2 = forwardRef((props, ref) => {
660
+ const { children, leading, ...rest } = props;
661
+ return /* @__PURE__ */ React.createElement(WiredRadio, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
662
+ });
663
+ const RadioGroup2 = createComponent({
664
+ tagName: "m-radio-group",
665
+ elementClass: RadioGroup$1,
666
+ subComponents: {
667
+ Radio: Radio2
668
+ },
669
+ events: {
670
+ onChange: "change"
671
+ },
672
+ displayName: "RadioGroup"
818
673
  });
819
-
820
674
  const WiredSectionTitle = createComponent({
821
- tagName: 'm-section-title',
822
- elementClass: SectionTitle$1,
823
- displayName: 'SectionTitle',
824
- });
825
- const SectionTitle = forwardRef(({ children, leading, ...props }, ref) => {
826
- return (jsxs(WiredSectionTitle, { ...props, slot: "title", ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
827
- });
828
-
829
- const Section = createComponent({
830
- tagName: 'm-section',
831
- elementClass: Section$1,
832
- displayName: 'Section',
833
- subComponents: {
834
- Title: SectionTitle,
835
- },
675
+ tagName: "m-section-title",
676
+ elementClass: SectionTitle$1,
677
+ displayName: "SectionTitle"
678
+ });
679
+ const SectionTitle2 = forwardRef(
680
+ ({ children, leading, ...props }, ref) => {
681
+ return /* @__PURE__ */ React.createElement(WiredSectionTitle, { ...props, slot: "title", ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
682
+ }
683
+ );
684
+ const Section2 = createComponent({
685
+ tagName: "m-section",
686
+ elementClass: Section$1,
687
+ displayName: "Section",
688
+ subComponents: {
689
+ Title: SectionTitle2
690
+ }
836
691
  });
837
-
838
692
  const WiredSelectOption = createComponent({
839
- tagName: 'm-option',
840
- elementClass: SelectOption$1,
841
- displayName: 'SelectOption',
693
+ tagName: "m-option",
694
+ elementClass: SelectOption$1,
695
+ displayName: "SelectOption"
842
696
  });
843
- const SLOTTED_STYLE$1 = { display: 'contents' };
844
- const SelectOption = forwardRef((props, ref) => {
697
+ const SLOTTED_STYLE$3 = { display: "contents" };
698
+ const SelectOption = forwardRef(
699
+ (props, ref) => {
845
700
  const { leading, trailing, children, ...rest } = props;
846
- return (jsxs(WiredSelectOption, { ...rest, ref: ref, children: [leading != null && (jsx("span", { style: SLOTTED_STYLE$1, slot: "leading", children: leading })), children, trailing != null && (jsx("span", { style: SLOTTED_STYLE$1, slot: "trailing", children: trailing }))] }));
847
- });
848
- SelectOption.displayName = 'SelectOption';
849
-
701
+ return /* @__PURE__ */ React.createElement(WiredSelectOption, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { style: SLOTTED_STYLE$3, slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React.createElement("span", { style: SLOTTED_STYLE$3, slot: "trailing" }, trailing));
702
+ }
703
+ );
704
+ SelectOption.displayName = "SelectOption";
850
705
  const WiredSelect = createComponent({
851
- tagName: 'm-select',
852
- elementClass: Select$1,
853
- events: {
854
- onExpand: 'expand',
855
- onCollapse: 'collapse',
856
- onChange: 'change',
857
- },
858
- displayName: 'Select',
706
+ tagName: "m-select",
707
+ elementClass: Select$1,
708
+ events: {
709
+ onExpand: "expand",
710
+ onCollapse: "collapse",
711
+ onChange: "change"
712
+ },
713
+ displayName: "Select"
859
714
  });
860
- const SLOTTED_STYLE = { display: 'contents' };
715
+ const SLOTTED_STYLE$2 = { display: "contents" };
861
716
  function Select(props) {
862
- const { options, children, ...rest } = props;
863
- return (jsx(WiredSelect, { ...rest, children: children ||
864
- (options || []).map(function renderOption(option) {
865
- const { label, leading, trailing, value: optionValue, ...others } = option;
866
- return (jsxs(SelectOption, { ...others, value: optionValue, children: [leading != null && (jsx("span", { style: SLOTTED_STYLE, slot: "leading", children: leading })), label, trailing != null && (jsx("span", { style: SLOTTED_STYLE, slot: "trailing", children: trailing }))] }, optionValue));
867
- }) }));
717
+ const { options, children, ...rest } = props;
718
+ return /* @__PURE__ */ React.createElement(WiredSelect, { ...rest }, children || (options || []).map(function renderOption(option) {
719
+ const {
720
+ label,
721
+ leading,
722
+ trailing,
723
+ value: optionValue,
724
+ ...others
725
+ } = option;
726
+ return /* @__PURE__ */ React.createElement(SelectOption, { key: optionValue, ...others, value: optionValue }, leading != null && /* @__PURE__ */ React.createElement("span", { style: SLOTTED_STYLE$2, slot: "leading" }, leading), label, trailing != null && /* @__PURE__ */ React.createElement("span", { style: SLOTTED_STYLE$2, slot: "trailing" }, trailing));
727
+ }));
868
728
  }
869
729
  Select.Option = SelectOption;
870
-
871
- const SpinnerWheel = createComponent({
872
- tagName: 'm-spinner-wheel',
873
- elementClass: SpinnerWheel$1,
874
- displayName: 'SpinnerWheel',
875
- });
876
-
877
- const Step = createComponent({
878
- tagName: 'm-step',
879
- elementClass: Step$1,
880
- displayName: 'Step',
881
- });
882
-
883
- const Steps = createComponent({
884
- tagName: 'm-steps',
885
- elementClass: Steps$1,
886
- displayName: 'Steps',
887
- events: {
888
- onChange: 'stepchange',
889
- onComplete: 'stepcomplete',
890
- onNavigate: 'navigate',
891
- onNext: 'navigatenext',
892
- onPrevious: 'navigateprevious',
893
- },
894
- subComponents: {
895
- Step,
896
- },
730
+ const SpinnerWheel2 = createComponent({
731
+ tagName: "m-spinner-wheel",
732
+ elementClass: SpinnerWheel$1,
733
+ displayName: "SpinnerWheel"
734
+ });
735
+ const Step2 = createComponent({
736
+ tagName: "m-step",
737
+ elementClass: Step$1,
738
+ displayName: "Step"
739
+ });
740
+ const Steps2 = createComponent({
741
+ tagName: "m-steps",
742
+ elementClass: Steps$1,
743
+ displayName: "Steps",
744
+ events: {
745
+ onChange: "stepchange",
746
+ onComplete: "stepcomplete",
747
+ onNavigate: "navigate",
748
+ onNext: "navigatenext",
749
+ onPrevious: "navigateprevious"
750
+ },
751
+ subComponents: {
752
+ Step: Step2
753
+ }
897
754
  });
898
-
899
755
  function createCustomEvent(eventName, detail) {
900
- const event = new CustomEvent(eventName, {
901
- bubbles: true,
902
- detail,
903
- });
904
- return event;
756
+ const event = new CustomEvent(eventName, {
757
+ bubbles: true,
758
+ detail
759
+ });
760
+ return event;
905
761
  }
906
762
  function useSteps() {
907
- const [stepsElement, setStepsElement] = useState(null);
908
- const registerSteps = useCallback(() => {
909
- return {
910
- ref(element) {
911
- if (element == null || stepsElement != null) {
912
- return;
913
- }
914
- setStepsElement(element);
915
- },
916
- };
917
- }, [stepsElement]);
918
- const navigateToStep = useCallback(
763
+ const [stepsElement, setStepsElement] = useState(null);
764
+ const registerSteps = useCallback(() => {
765
+ return {
766
+ ref(element) {
767
+ if (element == null || stepsElement != null) {
768
+ return;
769
+ }
770
+ setStepsElement(element);
771
+ }
772
+ };
773
+ }, [stepsElement]);
774
+ const navigateToStep = useCallback(
919
775
  /**
920
776
  * Either `'previous'`, `'next'`, or step name.
921
777
  */
922
778
  (step) => {
923
- if (stepsElement == null) {
924
- return;
925
- }
926
- const navigateToNextStep = () => {
927
- return createCustomEvent('navigatenext');
928
- };
929
- const navigateToPreviousStep = () => {
930
- return createCustomEvent('navigateprevious');
931
- };
932
- let event;
933
- switch (step) {
934
- case 'next':
935
- event = navigateToNextStep();
936
- break;
937
- case 'previous':
938
- event = navigateToPreviousStep();
939
- break;
940
- default:
941
- event = createCustomEvent('navigate', {
942
- step,
943
- });
944
- }
945
- stepsElement.dispatchEvent(event);
946
- }, [stepsElement]);
947
- const completeStep = useCallback(() => {
948
- if (stepsElement == null) {
949
- return;
950
- }
951
- const event = createCustomEvent('stepcomplete');
952
- stepsElement.dispatchEvent(event);
953
- }, [stepsElement]);
954
- return {
955
- elementRef: stepsElement,
956
- registerSteps,
957
- navigateToStep,
958
- completeStep,
959
- };
960
- }
961
-
962
- const Switch = createComponent({
963
- tagName: 'm-switch',
964
- elementClass: Switch$1,
965
- displayName: 'Switch',
966
- events: {
967
- onChange: 'change',
779
+ if (stepsElement == null) {
780
+ return;
781
+ }
782
+ const navigateToNextStep = () => {
783
+ return createCustomEvent("navigatenext");
784
+ };
785
+ const navigateToPreviousStep = () => {
786
+ return createCustomEvent("navigateprevious");
787
+ };
788
+ let event;
789
+ switch (step) {
790
+ case "next":
791
+ event = navigateToNextStep();
792
+ break;
793
+ case "previous":
794
+ event = navigateToPreviousStep();
795
+ break;
796
+ default:
797
+ event = createCustomEvent("navigate", {
798
+ step
799
+ });
800
+ }
801
+ stepsElement.dispatchEvent(event);
968
802
  },
803
+ [stepsElement]
804
+ );
805
+ const completeStep = useCallback(() => {
806
+ if (stepsElement == null) {
807
+ return;
808
+ }
809
+ const event = createCustomEvent("stepcomplete");
810
+ stepsElement.dispatchEvent(event);
811
+ }, [stepsElement]);
812
+ return {
813
+ elementRef: stepsElement,
814
+ registerSteps,
815
+ navigateToStep,
816
+ completeStep
817
+ };
818
+ }
819
+ const Switch2 = createComponent({
820
+ tagName: "m-switch",
821
+ elementClass: Switch$1,
822
+ displayName: "Switch",
823
+ events: {
824
+ onChange: "change"
825
+ }
969
826
  });
970
-
971
- const TableHead = createComponent({
972
- tagName: 'm-table-head',
973
- elementClass: TableHead$1,
974
- displayName: 'TableHead',
975
- });
976
-
977
- const TableBody = createComponent({
978
- tagName: 'm-table-body',
979
- elementClass: TableBody$1,
980
- displayName: 'TableBody',
981
- });
982
-
983
- const TableFoot = createComponent({
984
- tagName: 'm-table-foot',
985
- elementClass: TableFoot$1,
986
- displayName: 'TableFoot',
987
- });
988
-
989
- const TableRow = createComponent({
990
- tagName: 'm-table-row',
991
- elementClass: TableRow$1,
992
- displayName: 'TableRow',
993
- });
994
-
995
- const TableCell = createComponent({
996
- tagName: 'm-table-cell',
997
- elementClass: TableCell$1,
998
- displayName: 'TableCell',
999
- });
1000
-
1001
- const TableToolbar = createComponent({
1002
- tagName: 'm-table-toolbar',
1003
- elementClass: TableToolbar$1,
1004
- displayName: 'TableToolbar',
1005
- });
1006
-
1007
- const TableHeadCell = createComponent({
1008
- tagName: 'm-table-head-cell',
1009
- elementClass: TableHeadCell$1,
1010
- displayName: 'TableHeadCell',
1011
- events: {
1012
- onSort: 'columnsort',
1013
- },
827
+ const TableHead2 = createComponent({
828
+ tagName: "m-table-head",
829
+ elementClass: TableHead$1,
830
+ displayName: "TableHead"
831
+ });
832
+ const TableBody2 = createComponent({
833
+ tagName: "m-table-body",
834
+ elementClass: TableBody$1,
835
+ displayName: "TableBody"
836
+ });
837
+ const TableFoot2 = createComponent({
838
+ tagName: "m-table-foot",
839
+ elementClass: TableFoot$1,
840
+ displayName: "TableFoot"
841
+ });
842
+ const TableRow2 = createComponent({
843
+ tagName: "m-table-row",
844
+ elementClass: TableRow$1,
845
+ displayName: "TableRow"
846
+ });
847
+ const TableCell2 = createComponent({
848
+ tagName: "m-table-cell",
849
+ elementClass: TableCell$1,
850
+ displayName: "TableCell"
851
+ });
852
+ const TableToolbar2 = createComponent({
853
+ tagName: "m-table-toolbar",
854
+ elementClass: TableToolbar$1,
855
+ displayName: "TableToolbar"
856
+ });
857
+ const TableHeadCell2 = createComponent({
858
+ tagName: "m-table-head-cell",
859
+ elementClass: TableHeadCell$1,
860
+ displayName: "TableHeadCell",
861
+ events: {
862
+ onSort: "columnsort"
863
+ }
1014
864
  });
1015
-
1016
- const TableFeedback = createComponent({
1017
- tagName: 'm-table-feedback',
1018
- elementClass: TableFeedback$1,
1019
- displayName: 'TableFeedback',
1020
- });
1021
-
1022
- const TableActions = createComponent({
1023
- tagName: 'm-table-actions',
1024
- elementClass: TableActions$1,
1025
- displayName: 'TableActions',
1026
- });
1027
-
1028
- const Table = createComponent({
1029
- tagName: 'm-table',
1030
- elementClass: Table$1,
1031
- displayName: 'Table',
1032
- subComponents: {
1033
- Head: TableHead,
1034
- Body: TableBody,
1035
- Foot: TableFoot,
1036
- Row: TableRow,
1037
- HeadCell: TableHeadCell,
1038
- Cell: TableCell,
1039
- Toolbar: TableToolbar,
1040
- Feedback: TableFeedback,
1041
- Actions: TableActions,
1042
- },
865
+ const TableFeedback2 = createComponent({
866
+ tagName: "m-table-feedback",
867
+ elementClass: TableFeedback$1,
868
+ displayName: "TableFeedback"
869
+ });
870
+ const TableActions2 = createComponent({
871
+ tagName: "m-table-actions",
872
+ elementClass: TableActions$1,
873
+ displayName: "TableActions"
874
+ });
875
+ const TableSelectionCell = createComponent({
876
+ tagName: "m-table-selection-cell",
877
+ elementClass: TableSelectionCell$1,
878
+ displayName: "TableSelectionCell"
879
+ });
880
+ const Table2 = createComponent({
881
+ tagName: "m-table",
882
+ elementClass: Table$1,
883
+ displayName: "Table",
884
+ events: {
885
+ onSelect: "select"
886
+ },
887
+ subComponents: {
888
+ Head: TableHead2,
889
+ Body: TableBody2,
890
+ Foot: TableFoot2,
891
+ Row: TableRow2,
892
+ HeadCell: TableHeadCell2,
893
+ Cell: TableCell2,
894
+ SelectionCell: TableSelectionCell,
895
+ Toolbar: TableToolbar2,
896
+ Feedback: TableFeedback2,
897
+ Actions: TableActions2
898
+ }
1043
899
  });
1044
-
1045
900
  const WiredTab = createComponent({
1046
- tagName: 'm-tab',
1047
- elementClass: Tab$1,
1048
- displayName: 'Tab',
1049
- });
1050
- const Tab = forwardRef(({ children, leading, ...props }, ref) => {
1051
- return (jsxs(WiredTab, { ...props, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
1052
- });
1053
-
1054
- const TabPanel = createComponent({
1055
- tagName: 'm-tab-panel',
1056
- elementClass: TabPanel$1,
1057
- displayName: 'TabPanel',
1058
- });
1059
-
1060
- const Tabs = createComponent({
1061
- tagName: 'm-tabs',
1062
- elementClass: Tabs$1,
1063
- events: {
1064
- onTabChange: 'tabchange',
1065
- },
1066
- displayName: 'Tabs',
1067
- subComponents: {
1068
- Tab,
1069
- Panel: TabPanel,
1070
- },
901
+ tagName: "m-tab",
902
+ elementClass: Tab$1,
903
+ displayName: "Tab"
904
+ });
905
+ const Tab2 = forwardRef(
906
+ ({ children, leading, ...props }, ref) => {
907
+ return /* @__PURE__ */ React.createElement(WiredTab, { ...props, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
908
+ }
909
+ );
910
+ const TabPanel2 = createComponent({
911
+ tagName: "m-tab-panel",
912
+ elementClass: TabPanel$1,
913
+ displayName: "TabPanel"
914
+ });
915
+ const Tabs2 = createComponent({
916
+ tagName: "m-tabs",
917
+ elementClass: Tabs$1,
918
+ events: {
919
+ onTabChange: "tabchange"
920
+ },
921
+ displayName: "Tabs",
922
+ subComponents: {
923
+ Tab: Tab2,
924
+ Panel: TabPanel2
925
+ }
1071
926
  });
1072
-
1073
927
  const WiredTag = createComponent({
1074
- tagName: 'm-tag',
1075
- elementClass: Tag$1,
1076
- displayName: 'Tag',
928
+ tagName: "m-tag",
929
+ elementClass: Tag$1,
930
+ displayName: "Tag"
1077
931
  });
1078
- const Tag = forwardRef((props, ref) => {
1079
- const { leading, children, ...rest } = props;
1080
- return (jsxs(WiredTag, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
932
+ const SLOTTED_STYLE$1 = { display: "contents" };
933
+ const Tag2 = forwardRef((props, ref) => {
934
+ const { leading, children, ...rest } = props;
935
+ return /* @__PURE__ */ React.createElement(WiredTag, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { style: SLOTTED_STYLE$1, slot: "leading" }, leading), children);
1081
936
  });
1082
-
1083
937
  const WiredActionableTag = createComponent({
1084
- tagName: 'm-actionable-tag',
1085
- elementClass: ActionableTag$1,
1086
- displayName: 'ActionableTag',
1087
- events: {
1088
- onChange: 'change',
1089
- onRemove: 'remove',
1090
- },
938
+ tagName: "m-actionable-tag",
939
+ elementClass: ActionableTag$1,
940
+ displayName: "ActionableTag",
941
+ events: {
942
+ onChange: "change",
943
+ onRemove: "remove"
944
+ }
1091
945
  });
1092
- const ActionableTag = forwardRef((props, ref) => {
946
+ const SLOTTED_STYLE = { display: "contents" };
947
+ const ActionableTag2 = forwardRef(
948
+ (props, ref) => {
1093
949
  const { leading, children, selectable, removable, ...rest } = props;
1094
- return (jsxs(WiredActionableTag, { ...rest, selectable: selectable || Boolean(rest.onChange), removable: removable || Boolean(rest.onRemove), ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
1095
- });
1096
-
1097
- const Text = createComponent({
1098
- tagName: 'm-text',
1099
- elementClass: Text$1,
1100
- displayName: 'Text',
950
+ return /* @__PURE__ */ React.createElement(
951
+ WiredActionableTag,
952
+ {
953
+ ...rest,
954
+ selectable: selectable || Boolean(rest.onChange),
955
+ removable: removable || Boolean(rest.onRemove),
956
+ ref
957
+ },
958
+ leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading", style: SLOTTED_STYLE }, leading),
959
+ children
960
+ );
961
+ }
962
+ );
963
+ const Text2 = createComponent({
964
+ tagName: "m-text",
965
+ elementClass: Text$1,
966
+ displayName: "Text"
1101
967
  });
1102
-
1103
968
  const WiredTextArea = createComponent({
1104
- tagName: 'm-text-area',
1105
- elementClass: TextArea$1,
1106
- events: {
1107
- onInput: 'input',
1108
- onChange: 'change',
1109
- },
1110
- displayName: 'TextArea',
969
+ tagName: "m-text-area",
970
+ elementClass: TextArea$1,
971
+ events: {
972
+ onInput: "input",
973
+ onChange: "change"
974
+ },
975
+ displayName: "TextArea"
1111
976
  });
1112
- function TextArea(props) {
1113
- return jsx(WiredTextArea, { ...props });
977
+ function TextArea2(props) {
978
+ return /* @__PURE__ */ React.createElement(WiredTextArea, { ...props });
1114
979
  }
1115
-
1116
980
  const WiredTextField = createComponent({
1117
- tagName: 'm-text-field',
1118
- elementClass: TextField$1,
1119
- events: {
1120
- onInput: 'input',
1121
- onChange: 'change',
1122
- onClear: 'clear',
1123
- },
1124
- displayName: 'TextField',
1125
- });
1126
- const TextField = forwardRef(({ leading, trailing, ...rest }, ref) => {
1127
- return (jsxs(WiredTextField, { ...rest, ref: ref, children: [leading != null && jsx("div", { slot: "leading", children: leading }), trailing != null && jsx("div", { slot: "trailing", children: trailing })] }));
1128
- });
1129
-
1130
- const TimelineItem = createComponent({
1131
- tagName: 'm-timeline-item',
1132
- elementClass: TimelineItem$1,
1133
- displayName: 'TimelineItem',
1134
- });
1135
-
1136
- const TimelineExpandableItem = createComponent({
1137
- tagName: 'm-timeline-expandable-item',
1138
- elementClass: TimelineExpandableItem$1,
1139
- displayName: 'TimelineExpandableItem',
1140
- });
1141
-
1142
- const TimelineItemBody = createComponent({
1143
- tagName: 'm-timeline-item-body',
1144
- elementClass: TimelineItemBody$1,
1145
- displayName: 'TimelineItemBody',
1146
- });
1147
-
1148
- const TimelineItemFooter = createComponent({
1149
- tagName: 'm-timeline-item-footer',
1150
- elementClass: TimelineItemFooter$1,
1151
- displayName: 'TimelineItemFooter',
1152
- });
1153
-
1154
- const TimelineItemHeader = createComponent({
1155
- tagName: 'm-timeline-item-header',
1156
- elementClass: TimelineItemHeader$1,
1157
- displayName: 'TimelineItemHeader',
1158
- });
1159
-
1160
- const TimelineItemHeaderSubtitle = createComponent({
1161
- tagName: 'm-timeline-item-header-subtitle',
1162
- elementClass: TimelineItemHeaderSubtitle$1,
1163
- displayName: 'TimelineItemHeaderSubtitle',
1164
- });
1165
-
1166
- const TimelineItemHeaderTitle = createComponent({
1167
- tagName: 'm-timeline-item-header-title',
1168
- elementClass: TimelineItemHeaderTitle$1,
1169
- displayName: 'TimelineItemHeaderTitle',
1170
- });
1171
-
1172
- const TimelineItemIcon = createComponent({
1173
- tagName: 'm-timeline-item-icon',
1174
- elementClass: TimelineItemIcon$1,
1175
- displayName: 'TimelineItemIcon',
1176
- });
1177
-
1178
- const Timeline = createComponent({
1179
- tagName: 'm-timeline',
1180
- elementClass: Timeline$1,
1181
- displayName: 'Timeline',
1182
- subComponents: {
1183
- Item: TimelineItem,
1184
- ExpandableItem: TimelineExpandableItem,
1185
- ItemBody: TimelineItemBody,
1186
- ItemFooter: TimelineItemFooter,
1187
- ItemHeader: TimelineItemHeader,
1188
- ItemHeaderTitle: TimelineItemHeaderTitle,
1189
- ItemHeaderSubtitle: TimelineItemHeaderSubtitle,
1190
- ItemIcon: TimelineItemIcon,
1191
- },
981
+ tagName: "m-text-field",
982
+ elementClass: TextField$1,
983
+ events: {
984
+ onInput: "input",
985
+ onChange: "change",
986
+ onClear: "clear"
987
+ },
988
+ displayName: "TextField"
989
+ });
990
+ const TextField2 = forwardRef(
991
+ ({ leading, trailing, value, ...rest }, ref) => {
992
+ const normalizedValue = value !== void 0 ? String(value) : "";
993
+ return /* @__PURE__ */ React.createElement(WiredTextField, { ...rest, value: normalizedValue, ref }, leading != null && /* @__PURE__ */ React.createElement("div", { slot: "leading" }, leading), trailing != null && /* @__PURE__ */ React.createElement("div", { slot: "trailing" }, trailing));
994
+ }
995
+ );
996
+ const TimelineItem2 = createComponent({
997
+ tagName: "m-timeline-item",
998
+ elementClass: TimelineItem$1,
999
+ displayName: "TimelineItem"
1000
+ });
1001
+ const TimelineExpandableItem2 = createComponent({
1002
+ tagName: "m-timeline-expandable-item",
1003
+ elementClass: TimelineExpandableItem$1,
1004
+ displayName: "TimelineExpandableItem"
1005
+ });
1006
+ const TimelineItemBody2 = createComponent({
1007
+ tagName: "m-timeline-item-body",
1008
+ elementClass: TimelineItemBody$1,
1009
+ displayName: "TimelineItemBody"
1010
+ });
1011
+ const TimelineItemFooter2 = createComponent({
1012
+ tagName: "m-timeline-item-footer",
1013
+ elementClass: TimelineItemFooter$1,
1014
+ displayName: "TimelineItemFooter"
1015
+ });
1016
+ const TimelineItemHeader2 = createComponent({
1017
+ tagName: "m-timeline-item-header",
1018
+ elementClass: TimelineItemHeader$1,
1019
+ displayName: "TimelineItemHeader"
1020
+ });
1021
+ const TimelineItemHeaderSubtitle2 = createComponent({
1022
+ tagName: "m-timeline-item-header-subtitle",
1023
+ elementClass: TimelineItemHeaderSubtitle$1,
1024
+ displayName: "TimelineItemHeaderSubtitle"
1025
+ });
1026
+ const TimelineItemHeaderTitle2 = createComponent({
1027
+ tagName: "m-timeline-item-header-title",
1028
+ elementClass: TimelineItemHeaderTitle$1,
1029
+ displayName: "TimelineItemHeaderTitle"
1030
+ });
1031
+ const TimelineItemIcon2 = createComponent({
1032
+ tagName: "m-timeline-item-icon",
1033
+ elementClass: TimelineItemIcon$1,
1034
+ displayName: "TimelineItemIcon"
1035
+ });
1036
+ const Timeline2 = createComponent({
1037
+ tagName: "m-timeline",
1038
+ elementClass: Timeline$1,
1039
+ displayName: "Timeline",
1040
+ subComponents: {
1041
+ Item: TimelineItem2,
1042
+ ExpandableItem: TimelineExpandableItem2,
1043
+ ItemBody: TimelineItemBody2,
1044
+ ItemFooter: TimelineItemFooter2,
1045
+ ItemHeader: TimelineItemHeader2,
1046
+ ItemHeaderTitle: TimelineItemHeaderTitle2,
1047
+ ItemHeaderSubtitle: TimelineItemHeaderSubtitle2,
1048
+ ItemIcon: TimelineItemIcon2
1049
+ }
1192
1050
  });
1193
-
1194
1051
  const WiredToggle = createComponent({
1195
- tagName: 'm-toggle',
1196
- elementClass: Toggle$1,
1197
- displayName: 'Toggle',
1052
+ tagName: "m-toggle",
1053
+ elementClass: Toggle$1,
1054
+ displayName: "Toggle"
1198
1055
  });
1199
- const Toggle = forwardRef((props, ref) => {
1200
- const { children, leading, ...rest } = props;
1201
- return (jsxs(WiredToggle, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children] }));
1056
+ const Toggle2 = forwardRef((props, ref) => {
1057
+ const { children, leading, ...rest } = props;
1058
+ return /* @__PURE__ */ React.createElement(WiredToggle, { ...rest, ref }, leading != null && /* @__PURE__ */ React.createElement("span", { slot: "leading" }, leading), children);
1202
1059
  });
1203
-
1204
1060
  const WiredToggleGroup = createComponent({
1205
- tagName: 'm-toggle-group',
1206
- elementClass: ToggleGroup$1,
1207
- events: {
1208
- onChange: 'change',
1061
+ tagName: "m-toggle-group",
1062
+ elementClass: ToggleGroup$1,
1063
+ events: {
1064
+ onChange: "change"
1065
+ },
1066
+ displayName: "ToggleGroup"
1067
+ });
1068
+ function ToggleGroup2({
1069
+ options,
1070
+ children,
1071
+ onChange,
1072
+ ...rest
1073
+ }) {
1074
+ return /* @__PURE__ */ React.createElement(
1075
+ WiredToggleGroup,
1076
+ {
1077
+ onChange,
1078
+ ...rest
1209
1079
  },
1210
- displayName: 'ToggleGroup',
1211
- });
1212
- function ToggleGroup(props) {
1213
- const { options, children, ...rest } = props;
1214
- return (jsx(WiredToggleGroup, { ...rest, children: children !== null && children !== void 0 ? children : (options || []).map(function renderOption(option) {
1215
- const { label, value: optionValue, ...others } = option;
1216
- return (jsx(Toggle, { ...others, value: optionValue, children: label }, optionValue));
1217
- }) }));
1080
+ children ?? (options || []).map(function renderOption(option) {
1081
+ const { label, value: optionValue, ...others } = option;
1082
+ return /* @__PURE__ */ React.createElement(Toggle2, { key: optionValue, ...others, value: optionValue }, label);
1083
+ })
1084
+ );
1218
1085
  }
1219
- ToggleGroup.Toggle = Toggle;
1220
-
1086
+ ToggleGroup2.Toggle = Toggle2;
1221
1087
  const WiredTooltip = createComponent({
1222
- tagName: 'm-tooltip',
1223
- elementClass: Tooltip$1,
1224
- displayName: 'Tooltip',
1225
- });
1226
- function Tooltip(props) {
1227
- const { children, message, ...rest } = props;
1228
- return jsx(WiredTooltip, { ...rest, children: message !== null && message !== void 0 ? message : children });
1088
+ tagName: "m-tooltip",
1089
+ elementClass: Tooltip$1,
1090
+ displayName: "Tooltip"
1091
+ });
1092
+ let counter = 0;
1093
+ function generateId(prefix = "tt-anchor") {
1094
+ counter += 1;
1095
+ const id = `m-${prefix}-${counter}`;
1096
+ if (counter === Number.MAX_SAFE_INTEGER) {
1097
+ counter = 0;
1098
+ }
1099
+ return id;
1229
1100
  }
1230
-
1231
- const LogoLoader = createComponent({
1232
- tagName: 'm-logo-loader',
1233
- elementClass: LogoLoader$1,
1234
- displayName: 'LogoLoader',
1235
- });
1236
-
1237
- export { Accordion, ActionableTag, Badge, Banner, Box, Button, Card, Checkbox, Column, Container, Dialog, Divider, Drawer, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, EmptyState, Field, Grid, Group, Header, HeaderActions, HeaderTitle, Icon, LabeledValue, LabeledValueLabel, LabeledValueValue, Layout, Link, LogoLoader, PageContent, Pagination, ProgressBar, ProgressBarCountdown, Radio, RadioGroup, Row, Section, Select, Sidebar, SpinnerWheel, Stack, Step, Steps, SubHeader, Switch, Switcher, Tab, TabPanel, Table, TableActions, TableBody, TableCell, TableFeedback, TableFoot, TableHead, TableHeadCell, TableRow, TableToolbar, Tabs, Tag, Text, TextArea, TextField, Timeline, TimelineExpandableItem, TimelineItem, TimelineItemBody, TimelineItemFooter, TimelineItemHeader, TimelineItemHeaderSubtitle, TimelineItemHeaderTitle, TimelineItemIcon, Toggle, ToggleGroup, Tooltip, useSteps };
1101
+ function Tooltip2(props) {
1102
+ const { children, message, ...rest } = props;
1103
+ const child = Children.only(children);
1104
+ if (isFragment(child) || !isValidElement(child)) {
1105
+ console.error(
1106
+ "Tooltip must wrap a single and valid child element (Fragment is not accepted)."
1107
+ );
1108
+ return null;
1109
+ }
1110
+ const [anchorId, childWithId] = (() => {
1111
+ const elementWithID = child;
1112
+ const { id } = elementWithID.props;
1113
+ if (id) {
1114
+ return [id, elementWithID];
1115
+ }
1116
+ const generatedAnchorId = generateId();
1117
+ return [
1118
+ generatedAnchorId,
1119
+ cloneElement(elementWithID, {
1120
+ id: generatedAnchorId
1121
+ })
1122
+ ];
1123
+ })();
1124
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(WiredTooltip, { anchor: anchorId, ...rest }, message), childWithId);
1125
+ }
1126
+ const LogoLoader2 = createComponent({
1127
+ tagName: "m-logo-loader",
1128
+ elementClass: LogoLoader$1,
1129
+ displayName: "LogoLoader"
1130
+ });
1131
+ const DotsLoader = createComponent({
1132
+ tagName: "m-dots-loader",
1133
+ elementClass: DotsLoader$1,
1134
+ displayName: "DotsLoader"
1135
+ });
1136
+ export {
1137
+ Accordion2 as Accordion,
1138
+ ActionableTag2 as ActionableTag,
1139
+ Badge2 as Badge,
1140
+ Banner2 as Banner,
1141
+ Box2 as Box,
1142
+ Button2 as Button,
1143
+ Card2 as Card,
1144
+ Checkbox2 as Checkbox,
1145
+ Column2 as Column,
1146
+ Container2 as Container,
1147
+ DIALOG_SIZES,
1148
+ DIALOG_VARIANTS,
1149
+ DRAWER_SIZES,
1150
+ Dialog2 as Dialog,
1151
+ Divider2 as Divider,
1152
+ DotsLoader,
1153
+ Drawer2 as Drawer,
1154
+ Dropdown2 as Dropdown,
1155
+ DropdownItem2 as DropdownItem,
1156
+ DropdownMenu2 as DropdownMenu,
1157
+ DropdownTrigger2 as DropdownTrigger,
1158
+ EMPTY_STATE_VARIANTS,
1159
+ EmptyState2 as EmptyState,
1160
+ Field2 as Field,
1161
+ Grid2 as Grid,
1162
+ Group2 as Group,
1163
+ Header2 as Header,
1164
+ HeaderActions2 as HeaderActions,
1165
+ HeaderTabs,
1166
+ HeaderTitle2 as HeaderTitle,
1167
+ Icon2 as Icon,
1168
+ LabeledValue2 as LabeledValue,
1169
+ LabeledValueLabel2 as LabeledValueLabel,
1170
+ LabeledValueValue2 as LabeledValueValue,
1171
+ Layout,
1172
+ Link2 as Link,
1173
+ LogoLoader2 as LogoLoader,
1174
+ PageContent2 as PageContent,
1175
+ Pagination2 as Pagination,
1176
+ ProgressBar2 as ProgressBar,
1177
+ ProgressBarCountdown2 as ProgressBarCountdown,
1178
+ Radio2 as Radio,
1179
+ RadioGroup2 as RadioGroup,
1180
+ Row2 as Row,
1181
+ Section2 as Section,
1182
+ Select,
1183
+ Sidebar2 as Sidebar,
1184
+ SpinnerWheel2 as SpinnerWheel,
1185
+ Stack2 as Stack,
1186
+ Step2 as Step,
1187
+ Steps2 as Steps,
1188
+ SubHeader2 as SubHeader,
1189
+ Switch2 as Switch,
1190
+ Switcher2 as Switcher,
1191
+ Tab2 as Tab,
1192
+ TabPanel2 as TabPanel,
1193
+ Table2 as Table,
1194
+ TableActions2 as TableActions,
1195
+ TableBody2 as TableBody,
1196
+ TableCell2 as TableCell,
1197
+ TableFeedback2 as TableFeedback,
1198
+ TableFoot2 as TableFoot,
1199
+ TableHead2 as TableHead,
1200
+ TableHeadCell2 as TableHeadCell,
1201
+ TableRow2 as TableRow,
1202
+ TableSelectionCell,
1203
+ TableToolbar2 as TableToolbar,
1204
+ Tabs2 as Tabs,
1205
+ Tag2 as Tag,
1206
+ Text2 as Text,
1207
+ TextArea2 as TextArea,
1208
+ TextField2 as TextField,
1209
+ Timeline2 as Timeline,
1210
+ TimelineExpandableItem2 as TimelineExpandableItem,
1211
+ TimelineItem2 as TimelineItem,
1212
+ TimelineItemBody2 as TimelineItemBody,
1213
+ TimelineItemFooter2 as TimelineItemFooter,
1214
+ TimelineItemHeader2 as TimelineItemHeader,
1215
+ TimelineItemHeaderSubtitle2 as TimelineItemHeaderSubtitle,
1216
+ TimelineItemHeaderTitle2 as TimelineItemHeaderTitle,
1217
+ TimelineItemIcon2 as TimelineItemIcon,
1218
+ Toggle2 as Toggle,
1219
+ ToggleGroup2 as ToggleGroup,
1220
+ Tooltip2 as Tooltip,
1221
+ Accordion as WCAccordion,
1222
+ AccordionContent as WCAccordionContent,
1223
+ AccordionTitle as WCAccordionTitle,
1224
+ ActionableTag as WCActionableTag,
1225
+ Badge as WCBadge,
1226
+ Banner as WCBanner,
1227
+ BannerActionPrimary as WCBannerActionPrimary,
1228
+ BannerActionSecondary as WCBannerActionSecondary,
1229
+ BannerActions as WCBannerActions,
1230
+ BannerDescription as WCBannerDescription,
1231
+ BannerIcon as WCBannerIcon,
1232
+ BannerTitle as WCBannerTitle,
1233
+ Box as WCBox,
1234
+ Button as WCButton,
1235
+ Card as WCCard,
1236
+ CardActionPrimary as WCCardActionPrimary,
1237
+ CardActionSecondary as WCCardActionSecondary,
1238
+ CardActionTertiary as WCCardActionTertiary,
1239
+ CardBody as WCCardBody,
1240
+ CardDivider as WCCardDivider,
1241
+ CardFooter as WCCardFooter,
1242
+ CardSubtitle as WCCardSubtitle,
1243
+ CardTitle as WCCardTitle,
1244
+ Checkbox as WCCheckbox,
1245
+ Column as WCColumn,
1246
+ Container as WCContainer,
1247
+ Dialog as WCDialog,
1248
+ DialogActionPrimary as WCDialogActionPrimary,
1249
+ DialogActionSecondary as WCDialogActionSecondary,
1250
+ DialogActionTertiary as WCDialogActionTertiary,
1251
+ DialogActions as WCDialogActions,
1252
+ DialogBody as WCDialogBody,
1253
+ DialogClose as WCDialogClose,
1254
+ DialogFooter as WCDialogFooter,
1255
+ DialogHeader as WCDialogHeader,
1256
+ Divider as WCDivider,
1257
+ Drawer as WCDrawer,
1258
+ DrawerActionPrimary as WCDrawerActionPrimary,
1259
+ DrawerActionSecondary as WCDrawerActionSecondary,
1260
+ DrawerActionTertiary as WCDrawerActionTertiary,
1261
+ DrawerActions as WCDrawerActions,
1262
+ DrawerBody as WCDrawerBody,
1263
+ DrawerClose as WCDrawerClose,
1264
+ DrawerHeader as WCDrawerHeader,
1265
+ Dropdown as WCDropdown,
1266
+ DropdownItem as WCDropdownItem,
1267
+ DropdownMenu as WCDropdownMenu,
1268
+ DropdownTrigger as WCDropdownTrigger,
1269
+ EmptyState as WCEmptyState,
1270
+ EmptyStateAction as WCEmptyStateAction,
1271
+ EmptyStateHeader as WCEmptyStateHeader,
1272
+ EmptyStateIllustration as WCEmptyStateIllustration,
1273
+ EmptyStateMessage as WCEmptyStateMessage,
1274
+ Field as WCField,
1275
+ FieldHint as WCFieldHint,
1276
+ FieldLabel as WCFieldLabel,
1277
+ Grid as WCGrid,
1278
+ Group as WCGroup,
1279
+ Header as WCHeader,
1280
+ HeaderActions as WCHeaderActions,
1281
+ HeaderContent as WCHeaderContent,
1282
+ HeaderTitle as WCHeaderTitle,
1283
+ Icon as WCIcon,
1284
+ LabeledValue as WCLabeledValue,
1285
+ LabeledValueLabel as WCLabeledValueLabel,
1286
+ LabeledValueValue as WCLabeledValueValue,
1287
+ Link as WCLink,
1288
+ LogoLoader as WCLogoLoader,
1289
+ PageContent as WCPageContent,
1290
+ Pagination as WCPagination,
1291
+ ProgressBar as WCProgressBar,
1292
+ ProgressBarCountdown as WCProgressBarCountdown,
1293
+ Radio as WCRadio,
1294
+ RadioGroup as WCRadioGroup,
1295
+ Row as WCRow,
1296
+ Section as WCSection,
1297
+ SectionTitle as WCSectionTitle,
1298
+ Sidebar as WCSidebar,
1299
+ SpinnerWheel as WCSpinnerWheel,
1300
+ Stack as WCStack,
1301
+ Step as WCStep,
1302
+ Steps as WCSteps,
1303
+ SubHeader as WCSubHeader,
1304
+ Switch as WCSwitch,
1305
+ Switcher as WCSwitcher,
1306
+ Tab as WCTab,
1307
+ TabPanel as WCTabPanel,
1308
+ Table as WCTable,
1309
+ TableActions as WCTableActions,
1310
+ TableBody as WCTableBody,
1311
+ TableCell as WCTableCell,
1312
+ TableFeedback as WCTableFeedback,
1313
+ TableFoot as WCTableFoot,
1314
+ TableHead as WCTableHead,
1315
+ TableHeadCell as WCTableHeadCell,
1316
+ TableRow as WCTableRow,
1317
+ TableToolbar as WCTableToolbar,
1318
+ Tabs as WCTabs,
1319
+ Tag as WCTag,
1320
+ Text as WCText,
1321
+ TextArea as WCTextArea,
1322
+ TextField as WCTextField,
1323
+ Timeline as WCTimeline,
1324
+ TimelineExpandableItem as WCTimelineExpandableItem,
1325
+ TimelineItem as WCTimelineItem,
1326
+ TimelineItemBody as WCTimelineItemBody,
1327
+ TimelineItemFooter as WCTimelineItemFooter,
1328
+ TimelineItemHeader as WCTimelineItemHeader,
1329
+ TimelineItemHeaderSubtitle as WCTimelineItemHeaderSubtitle,
1330
+ TimelineItemHeaderTitle as WCTimelineItemHeaderTitle,
1331
+ TimelineItemIcon as WCTimelineItemIcon,
1332
+ Toggle as WCToggle,
1333
+ ToggleGroup as WCToggleGroup,
1334
+ Tooltip as WCTooltip,
1335
+ useSteps
1336
+ };