@loadsmart/miranda-react 3.0.0-beta.63 → 3.0.0-beta.64

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 (170) hide show
  1. package/dist/index.d.ts +1567 -110
  2. package/dist/tokens.d.ts +64 -2
  3. package/package.json +3 -3
  4. package/dist/components/Accordion/Accordion.d.ts +0 -18
  5. package/dist/components/Accordion/AccordionContent.d.ts +0 -10
  6. package/dist/components/Accordion/AccordionTitle.d.ts +0 -16
  7. package/dist/components/Accordion/index.d.ts +0 -2
  8. package/dist/components/Badge/Badge.d.ts +0 -12
  9. package/dist/components/Badge/index.d.ts +0 -2
  10. package/dist/components/Banner/Banner.d.ts +0 -22
  11. package/dist/components/Banner/BannerActionPrimary.d.ts +0 -17
  12. package/dist/components/Banner/BannerActionSecondary.d.ts +0 -17
  13. package/dist/components/Banner/BannerActions.d.ts +0 -12
  14. package/dist/components/Banner/BannerDescription.d.ts +0 -12
  15. package/dist/components/Banner/BannerIcon.d.ts +0 -12
  16. package/dist/components/Banner/BannerTitle.d.ts +0 -12
  17. package/dist/components/Banner/index.d.ts +0 -2
  18. package/dist/components/Button/Button.d.ts +0 -17
  19. package/dist/components/Button/index.d.ts +0 -2
  20. package/dist/components/Card/Card.d.ts +0 -34
  21. package/dist/components/Card/CardActionPrimary.d.ts +0 -17
  22. package/dist/components/Card/CardActionSecondary.d.ts +0 -17
  23. package/dist/components/Card/CardActionTertiary.d.ts +0 -17
  24. package/dist/components/Card/CardBody.d.ts +0 -12
  25. package/dist/components/Card/CardDivider.d.ts +0 -12
  26. package/dist/components/Card/CardFooter.d.ts +0 -12
  27. package/dist/components/Card/CardSubtitle.d.ts +0 -12
  28. package/dist/components/Card/CardTitle.d.ts +0 -16
  29. package/dist/components/Card/index.d.ts +0 -2
  30. package/dist/components/Checkbox/Checkbox.d.ts +0 -19
  31. package/dist/components/Checkbox/index.d.ts +0 -2
  32. package/dist/components/Dialog/Dialog.d.ts +0 -37
  33. package/dist/components/Dialog/DialogActionPrimary.d.ts +0 -17
  34. package/dist/components/Dialog/DialogActionSecondary.d.ts +0 -17
  35. package/dist/components/Dialog/DialogActionTertiary.d.ts +0 -17
  36. package/dist/components/Dialog/DialogActions.d.ts +0 -12
  37. package/dist/components/Dialog/DialogBody.d.ts +0 -12
  38. package/dist/components/Dialog/DialogClose.d.ts +0 -14
  39. package/dist/components/Dialog/DialogFooter.d.ts +0 -12
  40. package/dist/components/Dialog/DialogHeader.d.ts +0 -12
  41. package/dist/components/Dialog/index.d.ts +0 -4
  42. package/dist/components/Divider/Divider.d.ts +0 -19
  43. package/dist/components/Divider/index.d.ts +0 -2
  44. package/dist/components/DotsLoader/DotsLoader.d.ts +0 -13
  45. package/dist/components/DotsLoader/index.d.ts +0 -2
  46. package/dist/components/Drawer/Drawer.d.ts +0 -35
  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 -21
  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/HeaderTabs.d.ts +0 -14
  75. package/dist/components/Header/HeaderTitle.d.ts +0 -12
  76. package/dist/components/Header/SubHeader.d.ts +0 -12
  77. package/dist/components/Header/index.d.ts +0 -10
  78. package/dist/components/Icon/Icon.d.ts +0 -19
  79. package/dist/components/Icon/index.d.ts +0 -2
  80. package/dist/components/Label/Label.d.ts +0 -12
  81. package/dist/components/LabeledValue/LabeledValue.d.ts +0 -25
  82. package/dist/components/LabeledValue/index.d.ts +0 -1
  83. package/dist/components/Layout/Box.d.ts +0 -13
  84. package/dist/components/Layout/Grid.d.ts +0 -13
  85. package/dist/components/Layout/Group.d.ts +0 -13
  86. package/dist/components/Layout/Layout.d.ts +0 -16
  87. package/dist/components/Layout/Row.d.ts +0 -18
  88. package/dist/components/Layout/Sidebar.d.ts +0 -19
  89. package/dist/components/Layout/Stack.d.ts +0 -13
  90. package/dist/components/Layout/Switcher.d.ts +0 -13
  91. package/dist/components/Layout/index.d.ts +0 -9
  92. package/dist/components/Link/Link.d.ts +0 -13
  93. package/dist/components/Link/index.d.ts +0 -2
  94. package/dist/components/LogoLoader/LogoLoader.d.ts +0 -13
  95. package/dist/components/LogoLoader/index.d.ts +0 -2
  96. package/dist/components/PageContent/Body.d.ts +0 -12
  97. package/dist/components/PageContent/PageContent.d.ts +0 -14
  98. package/dist/components/PageContent/index.d.ts +0 -1
  99. package/dist/components/Pagination/Pagination.d.ts +0 -15
  100. package/dist/components/Pagination/index.d.ts +0 -2
  101. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -14
  102. package/dist/components/ProgressBar/index.d.ts +0 -2
  103. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +0 -13
  104. package/dist/components/ProgressBarCountdown/index.d.ts +0 -2
  105. package/dist/components/RadioGroup/Radio.d.ts +0 -16
  106. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -18
  107. package/dist/components/RadioGroup/index.d.ts +0 -4
  108. package/dist/components/Section/Section.d.ts +0 -15
  109. package/dist/components/Section/SectionTitle.d.ts +0 -16
  110. package/dist/components/Section/index.d.ts +0 -2
  111. package/dist/components/Select/Select.d.ts +0 -30
  112. package/dist/components/Select/SelectOption.d.ts +0 -16
  113. package/dist/components/Select/index.d.ts +0 -2
  114. package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +0 -13
  115. package/dist/components/SpinnerWheel/index.d.ts +0 -2
  116. package/dist/components/Steps/Step.d.ts +0 -12
  117. package/dist/components/Steps/Steps.d.ts +0 -20
  118. package/dist/components/Steps/index.d.ts +0 -5
  119. package/dist/components/Steps/useSteps.d.ts +0 -10
  120. package/dist/components/Switch/Switch.d.ts +0 -15
  121. package/dist/components/Switch/index.d.ts +0 -2
  122. package/dist/components/Table/Table.d.ts +0 -37
  123. package/dist/components/Table/TableActions.d.ts +0 -12
  124. package/dist/components/Table/TableBody.d.ts +0 -12
  125. package/dist/components/Table/TableCell.d.ts +0 -12
  126. package/dist/components/Table/TableFeedback.d.ts +0 -12
  127. package/dist/components/Table/TableFoot.d.ts +0 -12
  128. package/dist/components/Table/TableHead.d.ts +0 -12
  129. package/dist/components/Table/TableHeadCell.d.ts +0 -14
  130. package/dist/components/Table/TableRow.d.ts +0 -12
  131. package/dist/components/Table/TableSelectionCell.d.ts +0 -12
  132. package/dist/components/Table/TableToolbar.d.ts +0 -12
  133. package/dist/components/Table/index.d.ts +0 -23
  134. package/dist/components/TableLayout/TableLayout.d.ts +0 -25
  135. package/dist/components/TableLayout/TableLayoutActions.d.ts +0 -12
  136. package/dist/components/TableLayout/TableLayoutFeedback.d.ts +0 -12
  137. package/dist/components/TableLayout/TableLayoutToolbar.d.ts +0 -12
  138. package/dist/components/TableLayout/index.d.ts +0 -8
  139. package/dist/components/Tabs/Tab.d.ts +0 -16
  140. package/dist/components/Tabs/TabPanel.d.ts +0 -13
  141. package/dist/components/Tabs/Tabs.d.ts +0 -18
  142. package/dist/components/Tabs/index.d.ts +0 -7
  143. package/dist/components/Tag/ActionableTag.d.ts +0 -20
  144. package/dist/components/Tag/Tag.d.ts +0 -16
  145. package/dist/components/Tag/index.d.ts +0 -4
  146. package/dist/components/Text/Text.d.ts +0 -19
  147. package/dist/components/Text/index.d.ts +0 -2
  148. package/dist/components/TextArea/TextArea.d.ts +0 -18
  149. package/dist/components/TextArea/index.d.ts +0 -2
  150. package/dist/components/TextField/TextField.d.ts +0 -23
  151. package/dist/components/TextField/index.d.ts +0 -2
  152. package/dist/components/Timeline/Timeline.d.ts +0 -22
  153. package/dist/components/Timeline/TimelineExpandableItem.d.ts +0 -12
  154. package/dist/components/Timeline/TimelineItem.d.ts +0 -12
  155. package/dist/components/Timeline/TimelineItemBody.d.ts +0 -12
  156. package/dist/components/Timeline/TimelineItemFooter.d.ts +0 -12
  157. package/dist/components/Timeline/TimelineItemHeader.d.ts +0 -12
  158. package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +0 -12
  159. package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +0 -12
  160. package/dist/components/Timeline/TimelineItemIcon.d.ts +0 -12
  161. package/dist/components/Timeline/index.d.ts +0 -10
  162. package/dist/components/ToggleGroup/Toggle.d.ts +0 -16
  163. package/dist/components/ToggleGroup/ToggleGroup.d.ts +0 -27
  164. package/dist/components/ToggleGroup/index.d.ts +0 -4
  165. package/dist/components/Tooltip/Tooltip.d.ts +0 -23
  166. package/dist/components/Tooltip/index.d.ts +0 -2
  167. package/dist/utils/SelectionProps.d.ts +0 -28
  168. package/dist/utils/createComponent.d.ts +0 -6
  169. package/dist/utils/types.d.ts +0 -15
  170. package/dist/utils/utils.d.ts +0 -5
package/dist/tokens.d.ts CHANGED
@@ -1,2 +1,64 @@
1
- export * from '@loadsmart/miranda-tokens';
2
- export * from '@loadsmart/miranda-tokens/dist/themes.js';
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-divider-margin-top'?: string;
11
+ '--m-divider-margin-bottom'?: string;
12
+ '--m-divider-margin-y'?: string;
13
+ }
14
+ }
15
+
16
+
17
+ declare module 'react' {
18
+ interface CSSProperties {
19
+ '--m-card-body-padding'?: string;
20
+ '--m-card-border-top'?: string;
21
+ '--m-card-border-left'?: string;
22
+ '--m-card-border-bottom'?: string;
23
+ '--m-card-border-right'?: string;
24
+ '--m-card-border-radius'?: 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-table-border-radius'?: string;
40
+ '--m-table-border-top-left-radius'?: string;
41
+ '--m-table-border-top-right-radius'?: string;
42
+ '--m-table-border-bottom-left-radius'?: string;
43
+ '--m-table-border-bottom-right-radius'?: string;
44
+ }
45
+ }
46
+
47
+
48
+ declare module 'react' {
49
+ interface CSSProperties {
50
+ '--m-table-border-radius'?: string;
51
+ '--m-table-border-top-left-radius'?: string;
52
+ '--m-table-border-top-right-radius'?: string;
53
+ '--m-table-border-bottom-left-radius'?: string;
54
+ '--m-table-border-bottom-right-radius'?: string;
55
+ }
56
+ }
57
+
58
+
59
+ declare module 'react' {
60
+ interface CSSProperties {
61
+ '--m-text-display'?: string;
62
+ '--m-text-max-width'?: string;
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.63",
3
+ "version": "3.0.0-beta.64",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@lit/react": "^1.0.5",
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.63",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.63",
44
+ "@loadsmart/miranda-tokens": "4.0.0-beta.64",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.64",
46
46
  "react-is": "^18.3.1"
47
47
  },
48
48
  "directories": {
@@ -1,18 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { EventName, WebComponentProps } from '@lit/react';
3
- import { Accordion as WCAccordion, AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-accordion': WebComponentProps<WCAccordion>;
8
- }
9
- }
10
- }
11
- declare const Accordion: import('@lit/react').ReactWebComponent<WCAccordion, {
12
- onToggle: EventName<CustomEvent<AccordionToggleEventDetails>>;
13
- }> & {
14
- Title: import('react').ForwardRefExoticComponent<Omit<import('./AccordionTitle').AccordionTitleProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').AccordionTitle>>;
15
- Content: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').AccordionContent, {}>;
16
- };
17
- export type AccordionProps = ComponentProps<typeof Accordion>;
18
- export default Accordion;
@@ -1,10 +0,0 @@
1
- import { 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 { default as React, ComponentProps, ReactNode } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<AccordionTitleProps, "ref"> & 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 { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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>;
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 { default as React, ComponentProps, ReactNode } from 'react';
2
- import { WebComponentProps } from '@lit/react';
3
- import { BannerActionPrimary as WCBannerActionPrimary } from '@loadsmart/miranda-wc';
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: React.ForwardRefExoticComponent<Omit<BannerActionPrimaryProps, "ref"> & React.RefAttributes<WCBannerActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import { default as React, ComponentProps, ReactNode } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<BannerActionSecondaryProps, "ref"> & React.RefAttributes<WCBannerActionSecondary>>;
17
- export {};
@@ -1,12 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & 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,34 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { EventName, WebComponentProps } from '@lit/react';
3
- import { Card as WCCard, CardToggleEventDetails } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-card': WebComponentProps<WCCard>;
8
- }
9
- }
10
- }
11
- declare const Card: import('@lit/react').ReactWebComponent<WCCard, {
12
- onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
13
- }> & {
14
- Title: import('react').ForwardRefExoticComponent<Omit<import('./CardTitle').CardTitleProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').CardTitle>>;
15
- Subtitle: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').CardSubtitle, {}>;
16
- Body: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').CardBody, {}>;
17
- Divider: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').CardDivider, {}>;
18
- ActionPrimary: import('react').ForwardRefExoticComponent<Omit<import('./CardActionPrimary').CardActionPrimaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').CardActionPrimary>>;
19
- ActionSecondary: import('react').ForwardRefExoticComponent<Omit<import('./CardActionSecondary').CardActionSecondaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').CardActionSecondary>>;
20
- ActionTertiary: import('react').ForwardRefExoticComponent<Omit<import('./CardActionTertiary').CardActionTertiaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').CardActionTertiary>>;
21
- Footer: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').CardFooter, {}>;
22
- };
23
- declare module 'react' {
24
- interface CSSProperties {
25
- '--m-card-body-padding'?: string;
26
- '--m-card-border-top'?: string;
27
- '--m-card-border-left'?: string;
28
- '--m-card-border-bottom'?: string;
29
- '--m-card-border-right'?: string;
30
- '--m-card-border-radius'?: string;
31
- }
32
- }
33
- export type CardProps = ComponentProps<typeof Card>;
34
- export default Card;
@@ -1,17 +0,0 @@
1
- import { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<CardActionPrimaryProps, "ref"> & React.RefAttributes<WCCardActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<CardActionSecondaryProps, "ref"> & React.RefAttributes<WCCardActionSecondary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<CardActionTertiaryProps, "ref"> & React.RefAttributes<WCCardActionTertiary>>;
17
- export {};
@@ -1,12 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { ComponentProps } from 'react';
2
- import { 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 { default as React, ComponentProps, ReactNode } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & 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 { default as React, ReactNode, ComponentProps } from 'react';
2
- import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
3
- import { EventName, WebComponentProps } from '@lit/react';
4
- import { 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: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & 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 { ComponentProps } from 'react';
2
- import { 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>;
13
- onOpening: EventName<CustomEvent>;
14
- onOpened: EventName<CustomEvent>;
15
- onClosing: EventName<CustomEvent>;
16
- onClosed: EventName<CustomEvent>;
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>;
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 { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<DialogActionPrimaryProps, "ref"> & React.RefAttributes<WCDialogActionPrimary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import { default as React, ReactNode, ComponentProps } from 'react';
2
- import { 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: React.ForwardRefExoticComponent<Omit<DialogActionSecondaryProps, "ref"> & React.RefAttributes<WCDialogActionSecondary>>;
17
- export {};
@@ -1,17 +0,0 @@
1
- import { default as React, ReactNode, ComponentProps } from 'react';
2
- import { WebComponentProps } from '@lit/react';
3
- import { DialogActionTertiary as WCDialogActionTertiary } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-action-tertiary': WebComponentProps<WCDialogActionTertiary>;
8
- }
9
- }
10
- }
11
- declare const WiredDialogActionTertiary: import('@lit/react').ReactWebComponent<WCDialogActionTertiary, {}>;
12
- export interface DialogActionTertiaryProps extends ComponentProps<typeof WiredDialogActionTertiary> {
13
- leading?: ReactNode;
14
- trailing?: ReactNode;
15
- }
16
- export declare const DialogActionTertiary: React.ForwardRefExoticComponent<Omit<DialogActionTertiaryProps, "ref"> & React.RefAttributes<WCDialogActionTertiary>>;
17
- export {};
@@ -1,12 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { WebComponentProps } from '@lit/react';
3
- import { DialogActions as WCDialogActions } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-actions': WebComponentProps<WCDialogActions>;
8
- }
9
- }
10
- }
11
- export declare const DialogActions: import('@lit/react').ReactWebComponent<WCDialogActions, {}>;
12
- export type DialogActionsProps = ComponentProps<typeof DialogActions>;
@@ -1,12 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { WebComponentProps } from '@lit/react';
3
- import { DialogBody as WCDialogBody } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-body': WebComponentProps<WCDialogBody>;
8
- }
9
- }
10
- }
11
- export declare const DialogBody: import('@lit/react').ReactWebComponent<WCDialogBody, {}>;
12
- export type DialogBodyProps = ComponentProps<typeof DialogBody>;
@@ -1,14 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { WebComponentProps, EventName } from '@lit/react';
3
- import { DialogClose as WCDialogClose } from '@loadsmart/miranda-wc';
4
- declare global {
5
- namespace JSX {
6
- interface IntrinsicElements {
7
- 'm-dialog-close': WebComponentProps<WCDialogClose>;
8
- }
9
- }
10
- }
11
- export declare const DialogClose: import('@lit/react').ReactWebComponent<WCDialogClose, {
12
- onClose: EventName<CustomEvent>;
13
- }>;
14
- export type DialogCloseProps = ComponentProps<typeof DialogClose>;