@loadsmart/miranda-react 3.0.0-beta.7 → 3.0.0-beta.71

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 (164) hide show
  1. package/dist/index.d.ts +1661 -107
  2. package/dist/index.js +1338 -1166
  3. package/dist/tokens.d.ts +75 -2
  4. package/dist/tokens.js +2 -2
  5. package/package.json +12 -13
  6. package/dist/components/Accordion/Accordion.d.ts +0 -19
  7. package/dist/components/Accordion/AccordionContent.d.ts +0 -10
  8. package/dist/components/Accordion/AccordionTitle.d.ts +0 -16
  9. package/dist/components/Accordion/index.d.ts +0 -2
  10. package/dist/components/Badge/Badge.d.ts +0 -12
  11. package/dist/components/Badge/index.d.ts +0 -2
  12. package/dist/components/Banner/Banner.d.ts +0 -22
  13. package/dist/components/Banner/BannerActionPrimary.d.ts +0 -17
  14. package/dist/components/Banner/BannerActionSecondary.d.ts +0 -17
  15. package/dist/components/Banner/BannerActions.d.ts +0 -12
  16. package/dist/components/Banner/BannerDescription.d.ts +0 -12
  17. package/dist/components/Banner/BannerIcon.d.ts +0 -12
  18. package/dist/components/Banner/BannerTitle.d.ts +0 -12
  19. package/dist/components/Banner/index.d.ts +0 -2
  20. package/dist/components/Button/Button.d.ts +0 -17
  21. package/dist/components/Button/index.d.ts +0 -2
  22. package/dist/components/Card/Card.d.ts +0 -35
  23. package/dist/components/Card/CardActionPrimary.d.ts +0 -17
  24. package/dist/components/Card/CardActionSecondary.d.ts +0 -17
  25. package/dist/components/Card/CardActionTertiary.d.ts +0 -17
  26. package/dist/components/Card/CardBody.d.ts +0 -12
  27. package/dist/components/Card/CardDivider.d.ts +0 -12
  28. package/dist/components/Card/CardFooter.d.ts +0 -12
  29. package/dist/components/Card/CardSubtitle.d.ts +0 -12
  30. package/dist/components/Card/CardTitle.d.ts +0 -16
  31. package/dist/components/Card/index.d.ts +0 -2
  32. package/dist/components/Checkbox/Checkbox.d.ts +0 -19
  33. package/dist/components/Checkbox/index.d.ts +0 -2
  34. package/dist/components/Dialog/Dialog.d.ts +0 -37
  35. package/dist/components/Dialog/DialogActionPrimary.d.ts +0 -17
  36. package/dist/components/Dialog/DialogActionSecondary.d.ts +0 -17
  37. package/dist/components/Dialog/DialogActionTertiary.d.ts +0 -17
  38. package/dist/components/Dialog/DialogActions.d.ts +0 -12
  39. package/dist/components/Dialog/DialogBody.d.ts +0 -12
  40. package/dist/components/Dialog/DialogClose.d.ts +0 -14
  41. package/dist/components/Dialog/DialogFooter.d.ts +0 -12
  42. package/dist/components/Dialog/DialogHeader.d.ts +0 -12
  43. package/dist/components/Dialog/index.d.ts +0 -4
  44. package/dist/components/Divider/Divider.d.ts +0 -19
  45. package/dist/components/Divider/index.d.ts +0 -2
  46. package/dist/components/Drawer/Drawer.d.ts +0 -38
  47. package/dist/components/Drawer/DrawerActionPrimary.d.ts +0 -17
  48. package/dist/components/Drawer/DrawerActionSecondary.d.ts +0 -17
  49. package/dist/components/Drawer/DrawerActionTertiary.d.ts +0 -17
  50. package/dist/components/Drawer/DrawerActions.d.ts +0 -12
  51. package/dist/components/Drawer/DrawerBody.d.ts +0 -12
  52. package/dist/components/Drawer/DrawerClose.d.ts +0 -14
  53. package/dist/components/Drawer/DrawerHeader.d.ts +0 -12
  54. package/dist/components/Drawer/index.d.ts +0 -4
  55. package/dist/components/Dropdown/Dropdown.d.ts +0 -22
  56. package/dist/components/Dropdown/DropdownItem.d.ts +0 -16
  57. package/dist/components/Dropdown/DropdownMenu.d.ts +0 -12
  58. package/dist/components/Dropdown/DropdownTrigger.d.ts +0 -15
  59. package/dist/components/Dropdown/index.d.ts +0 -5
  60. package/dist/components/EmptyState/EmptyState.d.ts +0 -23
  61. package/dist/components/EmptyState/EmptyStateAction.d.ts +0 -17
  62. package/dist/components/EmptyState/EmptyStateHeader.d.ts +0 -12
  63. package/dist/components/EmptyState/EmptyStateIllustration.d.ts +0 -12
  64. package/dist/components/EmptyState/EmptyStateMessage.d.ts +0 -12
  65. package/dist/components/EmptyState/index.d.ts +0 -4
  66. package/dist/components/Field/Field.d.ts +0 -16
  67. package/dist/components/Field/FieldHint.d.ts +0 -16
  68. package/dist/components/Field/FieldLabel.d.ts +0 -12
  69. package/dist/components/Field/index.d.ts +0 -2
  70. package/dist/components/Header/Header.d.ts +0 -18
  71. package/dist/components/Header/HeaderActions.d.ts +0 -12
  72. package/dist/components/Header/HeaderBackButton.d.ts +0 -10
  73. package/dist/components/Header/HeaderContent.d.ts +0 -12
  74. package/dist/components/Header/HeaderTitle.d.ts +0 -12
  75. package/dist/components/Header/SubHeader.d.ts +0 -12
  76. package/dist/components/Header/index.d.ts +0 -8
  77. package/dist/components/Icon/Icon.d.ts +0 -19
  78. package/dist/components/Icon/index.d.ts +0 -2
  79. package/dist/components/Label/Label.d.ts +0 -12
  80. package/dist/components/LabeledValue/LabeledValue.d.ts +0 -25
  81. package/dist/components/LabeledValue/index.d.ts +0 -1
  82. package/dist/components/Layout/Box.d.ts +0 -13
  83. package/dist/components/Layout/Grid.d.ts +0 -13
  84. package/dist/components/Layout/Group.d.ts +0 -13
  85. package/dist/components/Layout/Layout.d.ts +0 -16
  86. package/dist/components/Layout/Row.d.ts +0 -18
  87. package/dist/components/Layout/Sidebar.d.ts +0 -20
  88. package/dist/components/Layout/Stack.d.ts +0 -13
  89. package/dist/components/Layout/Switcher.d.ts +0 -13
  90. package/dist/components/Layout/index.d.ts +0 -9
  91. package/dist/components/Link/Link.d.ts +0 -14
  92. package/dist/components/Link/index.d.ts +0 -2
  93. package/dist/components/LogoLoader/LogoLoader.d.ts +0 -13
  94. package/dist/components/LogoLoader/index.d.ts +0 -2
  95. package/dist/components/PageContent/Body.d.ts +0 -12
  96. package/dist/components/PageContent/PageContent.d.ts +0 -14
  97. package/dist/components/PageContent/index.d.ts +0 -1
  98. package/dist/components/Pagination/Pagination.d.ts +0 -16
  99. package/dist/components/Pagination/index.d.ts +0 -2
  100. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -15
  101. package/dist/components/ProgressBar/index.d.ts +0 -2
  102. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +0 -13
  103. package/dist/components/ProgressBarCountdown/index.d.ts +0 -2
  104. package/dist/components/RadioGroup/Radio.d.ts +0 -16
  105. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -18
  106. package/dist/components/RadioGroup/index.d.ts +0 -4
  107. package/dist/components/Section/Section.d.ts +0 -15
  108. package/dist/components/Section/SectionTitle.d.ts +0 -16
  109. package/dist/components/Section/index.d.ts +0 -2
  110. package/dist/components/Select/Select.d.ts +0 -31
  111. package/dist/components/Select/SelectOption.d.ts +0 -16
  112. package/dist/components/Select/index.d.ts +0 -2
  113. package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +0 -13
  114. package/dist/components/SpinnerWheel/index.d.ts +0 -2
  115. package/dist/components/Steps/Step.d.ts +0 -12
  116. package/dist/components/Steps/Steps.d.ts +0 -21
  117. package/dist/components/Steps/index.d.ts +0 -5
  118. package/dist/components/Steps/useSteps.d.ts +0 -10
  119. package/dist/components/Switch/Switch.d.ts +0 -15
  120. package/dist/components/Switch/index.d.ts +0 -2
  121. package/dist/components/Table/Table.d.ts +0 -33
  122. package/dist/components/Table/TableActions.d.ts +0 -12
  123. package/dist/components/Table/TableBody.d.ts +0 -12
  124. package/dist/components/Table/TableCell.d.ts +0 -12
  125. package/dist/components/Table/TableFeedback.d.ts +0 -12
  126. package/dist/components/Table/TableFoot.d.ts +0 -12
  127. package/dist/components/Table/TableHead.d.ts +0 -12
  128. package/dist/components/Table/TableHeadCell.d.ts +0 -15
  129. package/dist/components/Table/TableRow.d.ts +0 -12
  130. package/dist/components/Table/TableToolbar.d.ts +0 -12
  131. package/dist/components/Table/index.d.ts +0 -21
  132. package/dist/components/Tabs/Tab.d.ts +0 -16
  133. package/dist/components/Tabs/TabPanel.d.ts +0 -13
  134. package/dist/components/Tabs/Tabs.d.ts +0 -19
  135. package/dist/components/Tabs/index.d.ts +0 -7
  136. package/dist/components/Tag/ActionableTag.d.ts +0 -20
  137. package/dist/components/Tag/Tag.d.ts +0 -16
  138. package/dist/components/Tag/index.d.ts +0 -4
  139. package/dist/components/Text/Text.d.ts +0 -19
  140. package/dist/components/Text/index.d.ts +0 -2
  141. package/dist/components/TextArea/TextArea.d.ts +0 -19
  142. package/dist/components/TextArea/index.d.ts +0 -2
  143. package/dist/components/TextField/TextField.d.ts +0 -22
  144. package/dist/components/TextField/index.d.ts +0 -2
  145. package/dist/components/Timeline/Timeline.d.ts +0 -22
  146. package/dist/components/Timeline/TimelineExpandableItem.d.ts +0 -12
  147. package/dist/components/Timeline/TimelineItem.d.ts +0 -12
  148. package/dist/components/Timeline/TimelineItemBody.d.ts +0 -12
  149. package/dist/components/Timeline/TimelineItemFooter.d.ts +0 -12
  150. package/dist/components/Timeline/TimelineItemHeader.d.ts +0 -12
  151. package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +0 -12
  152. package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +0 -12
  153. package/dist/components/Timeline/TimelineItemIcon.d.ts +0 -12
  154. package/dist/components/Timeline/index.d.ts +0 -10
  155. package/dist/components/ToggleGroup/Toggle.d.ts +0 -16
  156. package/dist/components/ToggleGroup/ToggleGroup.d.ts +0 -28
  157. package/dist/components/ToggleGroup/index.d.ts +0 -4
  158. package/dist/components/Tooltip/Tooltip.d.ts +0 -24
  159. package/dist/components/Tooltip/index.d.ts +0 -2
  160. package/dist/tests/constants.d.ts +0 -12
  161. package/dist/tests/types.d.ts +0 -5
  162. package/dist/utils/createComponent.d.ts +0 -6
  163. package/dist/utils/types.d.ts +0 -15
  164. package/dist/utils/utils.d.ts +0 -5
package/dist/tokens.d.ts CHANGED
@@ -1,2 +1,75 @@
1
- export * from '@loadsmart/miranda-tokens';
2
- export * from '@loadsmart/miranda-tokens/dist/themes';
1
+
2
+ export * from "@loadsmart/miranda-tokens";
3
+ export * from "@loadsmart/miranda-tokens/dist/themes.js";
4
+
5
+ export { }
6
+
7
+
8
+ declare module 'react' {
9
+ interface CSSProperties {
10
+ '--m-card-body-padding'?: string;
11
+ '--m-card-border-top'?: string;
12
+ '--m-card-border-left'?: string;
13
+ '--m-card-border-bottom'?: string;
14
+ '--m-card-border-right'?: string;
15
+ '--m-card-border-radius'?: string;
16
+ }
17
+ }
18
+
19
+
20
+ declare module 'react' {
21
+ interface CSSProperties {
22
+ '--m-divider-margin-top'?: string;
23
+ '--m-divider-margin-bottom'?: string;
24
+ '--m-divider-margin-y'?: string;
25
+ }
26
+ }
27
+
28
+
29
+ declare module 'react' {
30
+ interface CSSProperties {
31
+ '--m-icon-size'?: string;
32
+ '--m-icon-color'?: string;
33
+ }
34
+ }
35
+
36
+
37
+ declare module 'react' {
38
+ interface CSSProperties {
39
+ '--m-text-display'?: string;
40
+ '--m-text-max-width'?: string;
41
+ }
42
+ }
43
+
44
+
45
+ declare module 'react' {
46
+ interface CSSProperties {
47
+ '--m-table-border-radius'?: string;
48
+ '--m-table-border-top-left-radius'?: string;
49
+ '--m-table-border-top-right-radius'?: string;
50
+ '--m-table-border-bottom-left-radius'?: string;
51
+ '--m-table-border-bottom-right-radius'?: string;
52
+ }
53
+ }
54
+
55
+
56
+ declare module 'react' {
57
+ interface CSSProperties {
58
+ '--m-table-border-radius'?: string;
59
+ '--m-table-border-top-left-radius'?: string;
60
+ '--m-table-border-top-right-radius'?: string;
61
+ '--m-table-border-bottom-left-radius'?: string;
62
+ '--m-table-border-bottom-right-radius'?: string;
63
+ }
64
+ }
65
+
66
+
67
+ declare module 'react' {
68
+ interface CSSProperties {
69
+ '--m-table-border-radius'?: string;
70
+ '--m-table-border-top-left-radius'?: string;
71
+ '--m-table-border-top-right-radius'?: string;
72
+ '--m-table-border-bottom-left-radius'?: string;
73
+ '--m-table-border-bottom-right-radius'?: string;
74
+ }
75
+ }
package/dist/tokens.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from '@loadsmart/miranda-tokens';
2
- export * from '@loadsmart/miranda-tokens/dist/themes';
1
+ export * from "@loadsmart/miranda-tokens";
2
+ export * from "@loadsmart/miranda-tokens/dist/themes.js";
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.7",
3
+ "version": "3.0.0-beta.71",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "type": "module",
7
8
  "files": [
8
9
  "dist"
9
10
  ],
@@ -12,7 +13,7 @@
12
13
  "dev": "storybook dev -p 7007",
13
14
  "test": "cypress run --component --browser chrome",
14
15
  "cypress": "cypress open --component --browser chrome",
15
- "build": "rollup --config rollup.config.ts --configPlugin typescript --environment NODE_ENV:production",
16
+ "build": "vite build",
16
17
  "prePublishOnly": "npm run build",
17
18
  "release": "semantic-release",
18
19
  "typecheck": "tsc --noEmit"
@@ -21,17 +22,15 @@
21
22
  "license": "UNLICENSED",
22
23
  "devDependencies": {
23
24
  "@loadsmart/miranda-utils": "*",
24
- "@storybook/react": "^7.4.6",
25
- "@storybook/react-webpack5": "^7.4.6",
26
- "@testing-library/cypress": "^10.0.1",
27
- "@types/react": "^17.0.79",
28
- "@types/react-dom": "^17.0.25",
25
+ "@types/react-dom": "^17.0.26",
29
26
  "@types/react-is": "^18.3.0",
30
- "cypress": "^13.2.0",
31
- "cypress-plugin-tab": "^1.0.5",
32
- "react": "^17.0.2",
27
+ "@types/react": "^17.0.85",
28
+ "@vitejs/plugin-react": "^4.4.1",
33
29
  "react-dom": "^17.0.2",
34
- "ts-loader": "^9.4.2"
30
+ "react": "^17.0.2",
31
+ "ts-loader": "^9.4.2",
32
+ "vite": "^6.3.2",
33
+ "vite-plugin-dts": "^4.5.3"
35
34
  },
36
35
  "peerDependencies": {
37
36
  "react": ">=16.8.0",
@@ -41,9 +40,9 @@
41
40
  "access": "public"
42
41
  },
43
42
  "dependencies": {
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.7",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.7",
46
43
  "@lit/react": "^1.0.5",
44
+ "@loadsmart/miranda-tokens": "4.0.0-beta.71",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.71",
47
46
  "react-is": "^18.3.1"
48
47
  },
49
48
  "directories": {
@@ -1,19 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import { Accordion as WCAccordion } from '@loadsmart/miranda-wc';
4
- import type { AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
5
- declare global {
6
- namespace JSX {
7
- interface IntrinsicElements {
8
- 'm-accordion': WebComponentProps<WCAccordion>;
9
- }
10
- }
11
- }
12
- declare const Accordion: import("@lit/react").ReactWebComponent<WCAccordion, {
13
- onToggle: EventName<CustomEvent<AccordionToggleEventDetails>>;
14
- }> & {
15
- Title: import("react").ForwardRefExoticComponent<Omit<import("./AccordionTitle").AccordionTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").AccordionTitle>>;
16
- Content: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").AccordionContent, {}>;
17
- };
18
- export type AccordionProps = ComponentProps<typeof Accordion>;
19
- export default Accordion;
@@ -1,10 +0,0 @@
1
- import type { WebComponentProps } from '@lit/react';
2
- import { AccordionContent as WCAccordionContent } from '@loadsmart/miranda-wc';
3
- declare global {
4
- namespace JSX {
5
- interface IntrinsicElements {
6
- 'm-accordion-content': WebComponentProps<WCAccordionContent>;
7
- }
8
- }
9
- }
10
- export declare const AccordionContent: import("@lit/react").ReactWebComponent<WCAccordionContent, {}>;
@@ -1,16 +0,0 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { AccordionTitle as WCAccordionTitle } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-accordion-title': WebComponentProps<WCAccordionTitle>;
8
- }
9
- }
10
- }
11
- declare const WiredAccordionTitle: import("@lit/react").ReactWebComponent<WCAccordionTitle, {}>;
12
- export type AccordionTitleProps = Omit<ComponentProps<typeof WiredAccordionTitle>, 'slot'> & {
13
- leading?: ReactNode;
14
- };
15
- export declare const AccordionTitle: import("react").ForwardRefExoticComponent<Omit<AccordionTitleProps, "ref"> & import("react").RefAttributes<WCAccordionTitle>>;
16
- export {};
@@ -1,2 +0,0 @@
1
- export { default as Accordion } from './Accordion';
2
- export type { AccordionProps } from './Accordion';
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { Badge as WCBadge } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-badge': WebComponentProps<WCBadge>;
8
- }
9
- }
10
- }
11
- export declare const Badge: import("@lit/react").ReactWebComponent<WCBadge, {}>;
12
- export type BadgeProps = ComponentProps<typeof Badge>;
@@ -1,2 +0,0 @@
1
- export { Badge } from './Badge';
2
- export type { BadgeProps } from './Badge';
@@ -1,22 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import { Banner as WCBanner } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner': WebComponentProps<WCBanner>;
8
- }
9
- }
10
- }
11
- export declare const Banner: import("@lit/react").ReactWebComponent<WCBanner, {
12
- onDismiss: EventName<CustomEvent<any>>;
13
- }> & {
14
- ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionPrimary").BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionPrimary>>;
15
- Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerActions, {}>;
16
- ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionSecondary").BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionSecondary>>;
17
- Description: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerDescription, {}>;
18
- Icon: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerIcon, {}>;
19
- Title: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerTitle, {}>;
20
- };
21
- export type BannerProps = ComponentProps<typeof Banner>;
22
- export type { BannerVariant } from '@loadsmart/miranda-wc';
@@ -1,17 +0,0 @@
1
- import type { WebComponentProps } from '@lit/react';
2
- import { BannerActionPrimary as WCBannerActionPrimary } from '@loadsmart/miranda-wc';
3
- import type { ComponentProps, ReactNode } from 'react';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-action-primary': WebComponentProps<WCBannerActionPrimary>;
8
- }
9
- }
10
- }
11
- declare const WiredBannerActionPrimary: import("@lit/react").ReactWebComponent<WCBannerActionPrimary, {}>;
12
- export type BannerActionPrimaryProps = ComponentProps<typeof WiredBannerActionPrimary> & {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- };
16
- export declare const BannerActionPrimary: import("react").ForwardRefExoticComponent<Omit<BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<WCBannerActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { BannerActionSecondary as WCBannerActionSecondary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-action-secondary': WebComponentProps<WCBannerActionSecondary>;
8
- }
9
- }
10
- }
11
- declare const WiredBannerActionSecondary: import("@lit/react").ReactWebComponent<WCBannerActionSecondary, {}>;
12
- export type BannerActionSecondaryProps = ComponentProps<typeof WiredBannerActionSecondary> & {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- };
16
- export declare const BannerActionSecondary: import("react").ForwardRefExoticComponent<Omit<BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<WCBannerActionSecondary>>;
17
- export {};
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { BannerActions as WCBannerActions } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-actions': WebComponentProps<WCBannerActions>;
8
- }
9
- }
10
- }
11
- export declare const BannerActions: import("@lit/react").ReactWebComponent<WCBannerActions, {}>;
12
- export type BannerActionsProps = ComponentProps<typeof BannerActions>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-description': WebComponentProps<WCBannerDescription>;
8
- }
9
- }
10
- }
11
- export declare const BannerDescription: import("@lit/react").ReactWebComponent<WCBannerDescription, {}>;
12
- export type BannerDescriptionProps = ComponentProps<typeof BannerDescription>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { BannerIcon as WCBannerIcon } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-icon': WebComponentProps<WCBannerIcon>;
8
- }
9
- }
10
- }
11
- export declare const BannerIcon: import("@lit/react").ReactWebComponent<WCBannerIcon, {}>;
12
- export type BannerIconProps = ComponentProps<typeof BannerIcon>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-banner-title': WebComponentProps<WCBannerTitle>;
8
- }
9
- }
10
- }
11
- export declare const BannerTitle: import("@lit/react").ReactWebComponent<WCBannerTitle, {}>;
12
- export type BannerTitleProps = ComponentProps<typeof BannerTitle>;
@@ -1,2 +0,0 @@
1
- export { Banner } from './Banner';
2
- export type { BannerProps, BannerVariant } from './Banner';
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { Button as WCButton } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-button': WebComponentProps<WCButton>;
8
- }
9
- }
10
- }
11
- declare const WiredButton: import("@lit/react").ReactWebComponent<WCButton, {}>;
12
- export interface ButtonProps extends ComponentProps<typeof WiredButton> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<WCButton>>;
17
- export default Button;
@@ -1,2 +0,0 @@
1
- export { default as Button } from './Button';
2
- export type { ButtonProps } from './Button';
@@ -1,35 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import { Card as WCCard } from '@loadsmart/miranda-wc';
4
- import type { CardToggleEventDetails } from '@loadsmart/miranda-wc';
5
- declare global {
6
- namespace JSX {
7
- interface IntrinsicElements {
8
- 'm-card': WebComponentProps<WCCard>;
9
- }
10
- }
11
- }
12
- declare const Card: import("@lit/react").ReactWebComponent<WCCard, {
13
- onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
14
- }> & {
15
- Title: import("react").ForwardRefExoticComponent<Omit<import("./CardTitle").CardTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardTitle>>;
16
- Subtitle: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardSubtitle, {}>;
17
- Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardBody, {}>;
18
- Divider: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardDivider, {}>;
19
- ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionPrimary").CardActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionPrimary>>;
20
- ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionSecondary").CardActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionSecondary>>;
21
- ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionTertiary").CardActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionTertiary>>;
22
- Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardFooter, {}>;
23
- };
24
- declare module 'react' {
25
- interface CSSProperties {
26
- '--m-card-body-padding'?: string;
27
- '--m-card-border-top'?: string;
28
- '--m-card-border-left'?: string;
29
- '--m-card-border-bottom'?: string;
30
- '--m-card-border-right'?: string;
31
- '--m-card-border-radius'?: string;
32
- }
33
- }
34
- export type CardProps = ComponentProps<typeof Card>;
35
- export default Card;
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardActionPrimary as WCCardActionPrimary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-action-primary': WebComponentProps<WCCardActionPrimary>;
8
- }
9
- }
10
- }
11
- declare const WiredCardActionPrimary: import("@lit/react").ReactWebComponent<WCCardActionPrimary, {}>;
12
- export interface CardActionPrimaryProps extends ComponentProps<typeof WiredCardActionPrimary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const CardActionPrimary: import("react").ForwardRefExoticComponent<Omit<CardActionPrimaryProps, "ref"> & import("react").RefAttributes<WCCardActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardActionSecondary as WCCardActionSecondary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-action-secondary': WebComponentProps<WCCardActionSecondary>;
8
- }
9
- }
10
- }
11
- declare const WiredCardActionSecondary: import("@lit/react").ReactWebComponent<WCCardActionSecondary, {}>;
12
- export interface CardActionSecondaryProps extends ComponentProps<typeof WiredCardActionSecondary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const CardActionSecondary: import("react").ForwardRefExoticComponent<Omit<CardActionSecondaryProps, "ref"> & import("react").RefAttributes<WCCardActionSecondary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardActionTertiary as WCCardActionTertiary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-action-tertiary': WebComponentProps<WCCardActionTertiary>;
8
- }
9
- }
10
- }
11
- declare const WiredCardActionTertiary: import("@lit/react").ReactWebComponent<WCCardActionTertiary, {}>;
12
- export interface CardActionTertiaryProps extends ComponentProps<typeof WiredCardActionTertiary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const CardActionTertiary: import("react").ForwardRefExoticComponent<Omit<CardActionTertiaryProps, "ref"> & import("react").RefAttributes<WCCardActionTertiary>>;
17
- export {};
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardBody as WCCardBody } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-body': WebComponentProps<WCCardBody>;
8
- }
9
- }
10
- }
11
- export declare const CardBody: import("@lit/react").ReactWebComponent<WCCardBody, {}>;
12
- export type CardBodyProps = ComponentProps<typeof CardBody>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardDivider as WCCardDivider } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-divider': WebComponentProps<WCCardDivider>;
8
- }
9
- }
10
- }
11
- export declare const CardDivider: import("@lit/react").ReactWebComponent<WCCardDivider, {}>;
12
- export type CardDividerProps = ComponentProps<typeof CardDivider>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardFooter as WCCardFooter } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-footer': WebComponentProps<WCCardFooter>;
8
- }
9
- }
10
- }
11
- export declare const CardFooter: import("@lit/react").ReactWebComponent<WCCardFooter, {}>;
12
- export type CardFooterProps = ComponentProps<typeof CardFooter>;
@@ -1,12 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-subtitle': WebComponentProps<WCCardSubtitle>;
8
- }
9
- }
10
- }
11
- export declare const CardSubtitle: import("@lit/react").ReactWebComponent<WCCardSubtitle, {}>;
12
- export type CardSubtitleProps = ComponentProps<typeof CardSubtitle>;
@@ -1,16 +0,0 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card-title': WebComponentProps<WCCardTitle>;
8
- }
9
- }
10
- }
11
- declare const WiredCardTitle: import("@lit/react").ReactWebComponent<WCCardTitle, {}>;
12
- export type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'> & {
13
- leading?: ReactNode;
14
- };
15
- export declare const CardTitle: import("react").ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & import("react").RefAttributes<WCCardTitle>>;
16
- export {};
@@ -1,2 +0,0 @@
1
- export { default as Card } from './Card';
2
- export type { CardProps } from './Card';
@@ -1,19 +0,0 @@
1
- import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import type { ReactNode, ComponentProps } from 'react';
4
- import type { MirandaChangeEvent } from '../../utils/types';
5
- declare global {
6
- namespace JSX {
7
- interface IntrinsicElements {
8
- 'm-checkbox': WebComponentProps<WCCheckbox>;
9
- }
10
- }
11
- }
12
- declare const WiredCheckbox: import("@lit/react").ReactWebComponent<WCCheckbox, {
13
- onChange: EventName<MirandaChangeEvent<WCCheckbox>>;
14
- }>;
15
- export type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
16
- leading?: ReactNode;
17
- };
18
- declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<WCCheckbox>>;
19
- export default Checkbox;
@@ -1,2 +0,0 @@
1
- export { default as Checkbox } from './Checkbox';
2
- export type { CheckboxProps } from './Checkbox';
@@ -1,37 +0,0 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import { Dialog as WCDialog } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog': WebComponentProps<WCDialog>;
8
- }
9
- }
10
- }
11
- export declare const Dialog: import("@lit/react").ReactWebComponent<WCDialog, {
12
- onClose: EventName<CustomEvent<any>>;
13
- onOpening: EventName<CustomEvent<any>>;
14
- onOpened: EventName<CustomEvent<any>>;
15
- onClosing: EventName<CustomEvent<any>>;
16
- onClosed: EventName<CustomEvent<any>>;
17
- }> & {
18
- ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionPrimary").DialogActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionPrimary>>;
19
- ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionSecondary").DialogActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionSecondary>>;
20
- ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionTertiary").DialogActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionTertiary>>;
21
- Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogActions, {}>;
22
- Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogBody, {}>;
23
- Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogClose, {
24
- onClose: EventName<CustomEvent<any>>;
25
- }>;
26
- Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogFooter, {}>;
27
- Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogHeader, {}>;
28
- };
29
- export type DialogProps = ComponentProps<typeof Dialog>;
30
- export type { DialogActionPrimaryProps } from './DialogActionPrimary';
31
- export type { DialogActionSecondaryProps } from './DialogActionSecondary';
32
- export type { DialogActionTertiaryProps } from './DialogActionTertiary';
33
- export type { DialogActionsProps } from './DialogActions';
34
- export type { DialogBodyProps } from './DialogBody';
35
- export type { DialogCloseProps } from './DialogClose';
36
- export type { DialogFooterProps } from './DialogFooter';
37
- export type { DialogHeaderProps } from './DialogHeader';
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { DialogActionPrimary as WCDialogActionPrimary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-action-primary': WebComponentProps<WCDialogActionPrimary>;
8
- }
9
- }
10
- }
11
- declare const WiredDialogActionPrimary: import("@lit/react").ReactWebComponent<WCDialogActionPrimary, {}>;
12
- export interface DialogActionPrimaryProps extends ComponentProps<typeof WiredDialogActionPrimary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const DialogActionPrimary: import("react").ForwardRefExoticComponent<Omit<DialogActionPrimaryProps, "ref"> & import("react").RefAttributes<WCDialogActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
3
- import { DialogActionSecondary as WCDialogActionSecondary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-action-secondary': WebComponentProps<WCDialogActionSecondary>;
8
- }
9
- }
10
- }
11
- declare const WiredDialogActionSecondary: import("@lit/react").ReactWebComponent<WCDialogActionSecondary, {}>;
12
- export interface DialogActionSecondaryProps extends ComponentProps<typeof WiredDialogActionSecondary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const DialogActionSecondary: import("react").ForwardRefExoticComponent<Omit<DialogActionSecondaryProps, "ref"> & import("react").RefAttributes<WCDialogActionSecondary>>;
17
- export {};