@loadsmart/miranda-react 3.0.0-beta.58 → 3.0.0-beta.59

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