@loadsmart/miranda-react 1.32.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/components/Banner/Banner.d.ts +14 -21
  2. package/dist/components/Banner/Banner.d.ts.map +1 -1
  3. package/dist/components/Banner/BannerActionPrimary.d.ts +9 -8
  4. package/dist/components/Banner/BannerActionPrimary.d.ts.map +1 -1
  5. package/dist/components/Banner/BannerActionSecondary.d.ts +10 -9
  6. package/dist/components/Banner/BannerActionSecondary.d.ts.map +1 -1
  7. package/dist/components/Banner/BannerActions.d.ts +6 -10
  8. package/dist/components/Banner/BannerActions.d.ts.map +1 -1
  9. package/dist/components/Banner/BannerDescription.d.ts +6 -10
  10. package/dist/components/Banner/BannerDescription.d.ts.map +1 -1
  11. package/dist/components/Banner/BannerIcon.d.ts +6 -10
  12. package/dist/components/Banner/BannerIcon.d.ts.map +1 -1
  13. package/dist/components/Banner/BannerTitle.d.ts +6 -10
  14. package/dist/components/Banner/BannerTitle.d.ts.map +1 -1
  15. package/dist/components/Button/Button.d.ts +8 -7
  16. package/dist/components/Button/Button.d.ts.map +1 -1
  17. package/dist/components/Card/Card.d.ts +12 -15
  18. package/dist/components/Card/Card.d.ts.map +1 -1
  19. package/dist/components/Card/CardBody.d.ts +6 -5
  20. package/dist/components/Card/CardBody.d.ts.map +1 -1
  21. package/dist/components/Card/CardDivider.d.ts +6 -6
  22. package/dist/components/Card/CardDivider.d.ts.map +1 -1
  23. package/dist/components/Card/CardSubtitle.d.ts +6 -5
  24. package/dist/components/Card/CardSubtitle.d.ts.map +1 -1
  25. package/dist/components/Card/CardTitle.d.ts +9 -6
  26. package/dist/components/Card/CardTitle.d.ts.map +1 -1
  27. package/dist/components/Checkbox/Checkbox.d.ts +10 -9
  28. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  29. package/dist/components/Dialog/Dialog.d.ts +30 -50
  30. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  31. package/dist/components/Dialog/DialogActionPrimary.d.ts +9 -8
  32. package/dist/components/Dialog/DialogActionPrimary.d.ts.map +1 -1
  33. package/dist/components/Dialog/DialogActionSecondary.d.ts +9 -8
  34. package/dist/components/Dialog/DialogActionSecondary.d.ts.map +1 -1
  35. package/dist/components/Dialog/DialogActionTertiary.d.ts +9 -8
  36. package/dist/components/Dialog/DialogActionTertiary.d.ts.map +1 -1
  37. package/dist/components/Dialog/DialogActions.d.ts +5 -4
  38. package/dist/components/Dialog/DialogActions.d.ts.map +1 -1
  39. package/dist/components/Dialog/DialogBody.d.ts +5 -4
  40. package/dist/components/Dialog/DialogBody.d.ts.map +1 -1
  41. package/dist/components/Dialog/DialogClose.d.ts +7 -8
  42. package/dist/components/Dialog/DialogClose.d.ts.map +1 -1
  43. package/dist/components/Dialog/DialogFooter.d.ts +5 -4
  44. package/dist/components/Dialog/DialogFooter.d.ts.map +1 -1
  45. package/dist/components/Dialog/DialogHeader.d.ts +5 -4
  46. package/dist/components/Dialog/DialogHeader.d.ts.map +1 -1
  47. package/dist/components/Divider/Divider.d.ts +12 -11
  48. package/dist/components/Divider/Divider.d.ts.map +1 -1
  49. package/dist/components/Field/Field.d.ts +8 -10
  50. package/dist/components/Field/Field.d.ts.map +1 -1
  51. package/dist/components/Field/FieldHint.d.ts +9 -6
  52. package/dist/components/Field/FieldHint.d.ts.map +1 -1
  53. package/dist/components/Field/FieldLabel.d.ts +6 -5
  54. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  55. package/dist/components/Header/Header.d.ts +11 -18
  56. package/dist/components/Header/Header.d.ts.map +1 -1
  57. package/dist/components/Header/HeaderActions.d.ts +5 -9
  58. package/dist/components/Header/HeaderActions.d.ts.map +1 -1
  59. package/dist/components/Header/HeaderBackButton.d.ts +3 -8
  60. package/dist/components/Header/HeaderBackButton.d.ts.map +1 -1
  61. package/dist/components/Header/HeaderContent.d.ts +5 -9
  62. package/dist/components/Header/HeaderContent.d.ts.map +1 -1
  63. package/dist/components/Header/HeaderTitle.d.ts +5 -9
  64. package/dist/components/Header/HeaderTitle.d.ts.map +1 -1
  65. package/dist/components/Header/SubHeader.d.ts +5 -9
  66. package/dist/components/Header/SubHeader.d.ts.map +1 -1
  67. package/dist/components/Layout/Box.d.ts +6 -5
  68. package/dist/components/Layout/Box.d.ts.map +1 -1
  69. package/dist/components/Layout/Grid.d.ts +6 -5
  70. package/dist/components/Layout/Grid.d.ts.map +1 -1
  71. package/dist/components/Layout/Group.d.ts +6 -5
  72. package/dist/components/Layout/Group.d.ts.map +1 -1
  73. package/dist/components/Layout/Layout.d.ts +9 -12
  74. package/dist/components/Layout/Layout.d.ts.map +1 -1
  75. package/dist/components/Layout/Sidebar.d.ts +11 -11
  76. package/dist/components/Layout/Sidebar.d.ts.map +1 -1
  77. package/dist/components/Layout/Stack.d.ts +6 -6
  78. package/dist/components/Layout/Stack.d.ts.map +1 -1
  79. package/dist/components/Layout/Switcher.d.ts +6 -6
  80. package/dist/components/Layout/Switcher.d.ts.map +1 -1
  81. package/dist/components/Link/Link.d.ts +5 -86
  82. package/dist/components/Link/Link.d.ts.map +1 -1
  83. package/dist/components/PageContent/Body.d.ts +5 -6
  84. package/dist/components/PageContent/Body.d.ts.map +1 -1
  85. package/dist/components/PageContent/PageContent.d.ts +5 -6
  86. package/dist/components/PageContent/PageContent.d.ts.map +1 -1
  87. package/dist/components/ProgressBar/ProgressBar.d.ts +6 -6
  88. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  89. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -6
  90. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +1 -1
  91. package/dist/components/RadioGroup/Radio.d.ts +7 -6
  92. package/dist/components/RadioGroup/Radio.d.ts.map +1 -1
  93. package/dist/components/RadioGroup/RadioGroup.d.ts +7 -12
  94. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  95. package/dist/components/Section/Section.d.ts +9 -9
  96. package/dist/components/Section/Section.d.ts.map +1 -1
  97. package/dist/components/Section/SectionTitle.d.ts +9 -7
  98. package/dist/components/Section/SectionTitle.d.ts.map +1 -1
  99. package/dist/components/Tabs/Tab.d.ts +8 -6
  100. package/dist/components/Tabs/Tab.d.ts.map +1 -1
  101. package/dist/components/Tabs/TabPanel.d.ts +6 -6
  102. package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
  103. package/dist/components/Tabs/Tabs.d.ts +13 -12
  104. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  105. package/dist/components/Tag/Tag.d.ts +7 -9
  106. package/dist/components/Tag/Tag.d.ts.map +1 -1
  107. package/dist/components/Text/Text.d.ts +11 -12
  108. package/dist/components/Text/Text.d.ts.map +1 -1
  109. package/dist/components/TextField/TextField.d.ts +13 -9
  110. package/dist/components/TextField/TextField.d.ts.map +1 -1
  111. package/dist/components/ToggleGroup/Toggle.d.ts +8 -6
  112. package/dist/components/ToggleGroup/Toggle.d.ts.map +1 -1
  113. package/dist/components/ToggleGroup/ToggleGroup.d.ts +16 -12
  114. package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  115. package/dist/components/Tooltip/Tooltip.d.ts +10 -9
  116. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  117. package/dist/index.js +2 -2
  118. package/dist/index.js.map +1 -1
  119. package/dist/utils/createComponent.d.ts +10 -44
  120. package/dist/utils/createComponent.d.ts.map +1 -1
  121. package/package.json +2 -2
@@ -1,13 +1,14 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { BoxProps as WCBoxProps } from '@loadsmart/miranda-wc';
3
- export type BoxProps = HTMLAttributes<HTMLElement> & WCBoxProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Box as WCBox } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-box': BoxProps;
7
+ 'm-box': WebComponentProps<WCBox>;
8
8
  }
9
9
  }
10
10
  }
11
- declare function Box(props: BoxProps): JSX.Element;
11
+ declare const Box: import("@lit-labs/react").ReactWebComponent<WCBox, {}>;
12
+ export type BoxProps = ComponentProps<typeof Box>;
12
13
  export default Box;
13
14
  //# sourceMappingURL=Box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIpE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,OAAO,EAAE,QAAQ,CAAC;SAClB;KACD;CACD;AAID,iBAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,GAAG,GAAG,CAAC,OAAO,CAEzC;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGrD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;SAClC;KACD;CACD;AAED,QAAA,MAAM,GAAG,wDAIP,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAElD,eAAe,GAAG,CAAC"}
@@ -1,13 +1,14 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { GridProps as WCGridProps, GridAttributes } from '@loadsmart/miranda-wc';
3
- export type GridProps = HTMLAttributes<HTMLElement> & WCGridProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Grid as WCGrid } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-grid': HTMLAttributes<HTMLElement> & GridAttributes;
7
+ 'm-grid': WebComponentProps<WCGrid>;
8
8
  }
9
9
  }
10
10
  }
11
- declare function Grid({ gap, rowGap, columnGap, minColumnWidth, children, ...rest }: GridProps): JSX.Element;
11
+ declare const Grid: import("@lit-labs/react").ReactWebComponent<WCGrid, {}>;
12
+ export type GridProps = ComponentProps<typeof Grid>;
12
13
  export default Grid;
13
14
  //# sourceMappingURL=Grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACX,SAAS,IAAI,WAAW,EACxB,cAAc,EACd,MAAM,uBAAuB,CAAC;AAK/B,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC;AAElE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,cAAc,CAAC;SACvD;KACD;CACD;AAID,iBAAS,IAAI,CAAC,EACb,GAA0B,EAC1B,MAAM,EACN,SAAS,EACT,cAAgD,EAChD,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAazB;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;SACpC;KACD;CACD;AAED,QAAA,MAAM,IAAI,yDAIR,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,eAAe,IAAI,CAAC"}
@@ -1,13 +1,14 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { GroupProps as WCGroupProps, GroupAttributes } from '@loadsmart/miranda-wc';
3
- export type GroupProps = HTMLAttributes<HTMLElement> & WCGroupProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Group as WCGroup } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-group': HTMLAttributes<HTMLElement> & GroupAttributes;
7
+ 'm-group': WebComponentProps<WCGroup>;
8
8
  }
9
9
  }
10
10
  }
11
- declare function Group({ gap, align, justify, children, ...rest }: GroupProps): JSX.Element;
11
+ declare const Group: import("@lit-labs/react").ReactWebComponent<WCGroup, {}>;
12
+ export type GroupProps = ComponentProps<typeof Group>;
12
13
  export default Group;
13
14
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACX,UAAU,IAAI,YAAY,EAC1B,eAAe,EACf,MAAM,uBAAuB,CAAC;AAI/B,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,YAAY,CAAC;AAEpE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC;SACzD;KACD;CACD;AAID,iBAAS,KAAK,CAAC,EACd,GAA2B,EAC3B,KAA+B,EAC/B,OAAmC,EACnC,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAM1B;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;SACtC;KACD;CACD;AAED,QAAA,MAAM,KAAK,0DAIT,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAEtD,eAAe,KAAK,CAAC"}
@@ -1,17 +1,14 @@
1
- import Box from './Box';
2
- import Group from './Group';
3
- import Stack from './Stack';
4
- import Grid from './Grid';
5
- import Sidebar from './Sidebar';
6
- import Switcher from './Switcher';
7
1
  declare const Layout: {
8
2
  (): null;
9
- Box: typeof Box;
10
- Group: typeof Group;
11
- Stack: typeof Stack;
12
- Grid: typeof Grid;
13
- Sidebar: typeof Sidebar;
14
- Switcher: typeof Switcher;
3
+ Box: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Box, {}>;
4
+ Group: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Group, {}>;
5
+ Stack: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Stack, {}>;
6
+ Grid: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Grid, {}>;
7
+ Sidebar: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Sidebar, {}> & {
8
+ Side: ({ children, ...boxProps }: import("./Sidebar").SidebarSideProps) => JSX.Element;
9
+ Content: ({ children, ...boxProps }: import("./Sidebar").SidebarContentProps) => JSX.Element;
10
+ };
11
+ Switcher: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").Switcher, {}>;
15
12
  };
16
13
  export default Layout;
17
14
  //# sourceMappingURL=Layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,QAAA,MAAM,MAAM;QAAO,IAAI;;;;;;;CAEtB,CAAC;AASF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM;QAAO,IAAI;;;;;;;;;;CAEtB,CAAC;AASF,eAAe,MAAM,CAAC"}
@@ -1,22 +1,22 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { SidebarAttributes, SidebarProps as WCSidebarProps } from '@loadsmart/miranda-wc';
1
+ import type { WebComponentProps } from '@lit-labs/react';
2
+ import { Sidebar as WCSidebar } from '@loadsmart/miranda-wc';
3
+ import type { ComponentProps } from 'react';
3
4
  import type { BoxProps } from './Box';
4
5
  declare global {
5
6
  namespace JSX {
6
7
  interface IntrinsicElements {
7
- 'm-sidebar': HTMLAttributes<HTMLElement> & SidebarAttributes;
8
+ 'm-sidebar': WebComponentProps<WCSidebar>;
8
9
  }
9
10
  }
10
11
  }
11
- export type SidebarSideProps = BoxProps;
12
+ export type SidebarSideProps = Omit<BoxProps, 'slot'>;
12
13
  declare function SidebarSide({ children, ...boxProps }: SidebarSideProps): JSX.Element;
13
- export type SidebarContentProps = BoxProps;
14
+ export type SidebarContentProps = Omit<BoxProps, 'slot'>;
14
15
  declare function SidebarContent({ children, ...boxProps }: SidebarContentProps): JSX.Element;
15
- export type SidebarProps = React.HTMLAttributes<HTMLElement> & WCSidebarProps;
16
- declare function Sidebar({ gap, sideWidth, minContentWidth, reversed, children, ...rest }: SidebarProps): JSX.Element;
17
- declare namespace Sidebar {
18
- var Side: typeof SidebarSide;
19
- var Content: typeof SidebarContent;
20
- }
16
+ declare const Sidebar: import("@lit-labs/react").ReactWebComponent<WCSidebar, {}> & {
17
+ Side: typeof SidebarSide;
18
+ Content: typeof SidebarContent;
19
+ };
20
+ export type SidebarProps = ComponentProps<typeof Sidebar>;
21
21
  export default Sidebar;
22
22
  //# sourceMappingURL=Sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACX,iBAAiB,EACjB,YAAY,IAAI,cAAc,EAC9B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,iBAAiB,CAAC;SAC7D;KACD;CACD;AAED,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAExC,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAM7E;AAED,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAE3C,iBAAS,cAAc,CAAC,EACvB,QAAQ,EACR,GAAG,QAAQ,EACX,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAMnC;AAED,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,cAAc,CAAC;AAE9E,iBAAS,OAAO,CAAC,EAChB,GAA6B,EAC7B,SAAyC,EACzC,eAAqD,EACrD,QAAuC,EACvC,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAa5B;kBApBQ,OAAO;;;;AAyBhB,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,WAAW,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;SAC1C;KACD;CACD;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAEtD,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,EAAE,gBAAgB,eAM/D;AAED,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAEzD,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,EAAE,mBAAmB,eAMrE;AAED,QAAA,MAAM,OAAO;;;CAQX,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAE1D,eAAe,OAAO,CAAC"}
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- import type { StackProps as WCStackProps, StackAttributes } from '@loadsmart/miranda-wc';
4
- export type StackProps = React.HTMLAttributes<HTMLElement> & WCStackProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Stack as WCStack } from '@loadsmart/miranda-wc';
5
4
  declare global {
6
5
  namespace JSX {
7
6
  interface IntrinsicElements {
8
- 'm-stack': HTMLAttributes<HTMLElement> & StackAttributes;
7
+ 'm-stack': WebComponentProps<WCStack>;
9
8
  }
10
9
  }
11
10
  }
12
- declare function Stack({ gap, align, justify, children, ...rest }: StackProps): JSX.Element;
11
+ declare const Stack: import("@lit-labs/react").ReactWebComponent<WCStack, {}>;
12
+ export type StackProps = ComponentProps<typeof Stack>;
13
13
  export default Stack;
14
14
  //# sourceMappingURL=Stack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACX,UAAU,IAAI,YAAY,EAC1B,eAAe,EACf,MAAM,uBAAuB,CAAC;AAI/B,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,YAAY,CAAC;AAE1E,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC;SACzD;KACD;CACD;AAID,iBAAS,KAAK,CAAC,EACd,GAA2B,EAC3B,KAA+B,EAC/B,OAAmC,EACnC,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAM1B;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;SACtC;KACD;CACD;AAED,QAAA,MAAM,KAAK,0DAIT,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAEtD,eAAe,KAAK,CAAC"}
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- import type { SwitcherProps as WCSwitcherProps, SwitcherAttributes } from '@loadsmart/miranda-wc';
4
- export type SwitcherProps = React.HTMLAttributes<HTMLElement> & WCSwitcherProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Switcher as WCSwitcher } from '@loadsmart/miranda-wc';
5
4
  declare global {
6
5
  namespace JSX {
7
6
  interface IntrinsicElements {
8
- 'm-switcher': HTMLAttributes<HTMLElement> & SwitcherAttributes;
7
+ 'm-switcher': WebComponentProps<WCSwitcher>;
9
8
  }
10
9
  }
11
10
  }
12
- declare function Switcher({ gap, rowGap, columnGap, threshold, limit, children, ...rest }: SwitcherProps): JSX.Element;
11
+ declare const Switcher: import("@lit-labs/react").ReactWebComponent<WCSwitcher, {}>;
12
+ export type SwitcherProps = ComponentProps<typeof Switcher>;
13
13
  export default Switcher;
14
14
  //# sourceMappingURL=Switcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switcher.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACX,aAAa,IAAI,eAAe,EAChC,kBAAkB,EAClB,MAAM,uBAAuB,CAAC;AAO/B,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC;AAEhF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,YAAY,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC;SAC/D;KACD;CACD;AAID,iBAAS,QAAQ,CAAC,EACjB,GAA8B,EAC9B,MAAM,EACN,SAAS,EACT,SAA0C,EAC1C,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACP,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAc7B;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Switcher.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,YAAY,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;SAC5C;KACD;CACD;AAED,QAAA,MAAM,QAAQ,6DAIZ,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE5D,eAAe,QAAQ,CAAC"}
@@ -1,96 +1,15 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
2
3
  import { Link as WCLink } from '@loadsmart/miranda-wc';
3
4
  import type { LinkReferrerPolicy, LinkSize, LinkTarget } from '@loadsmart/miranda-wc';
4
- export interface LinkProps extends HTMLAttributes<WCLink> {
5
- /**
6
- * Link content.
7
- */
8
- children?: ReactNode;
9
- /**
10
- * The URL that the hyperlink points to. Links are not restricted to
11
- * HTTP-based URLs — they can use any URL scheme supported by browsers:
12
- * - Sections of a page with document fragments
13
- * - Specific text portions with [text fragments](https://developer.mozilla.org/en-US/docs/Web/Text_fragments)
14
- * - Pieces of media files with media fragments
15
- * - Telephone numbers with `tel:` URLs
16
- * - Email addresses with `mailto:` URLs
17
- * - While web browsers may not support other URL schemes, websites can with [`registerProtocolHandler()`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)
18
- *
19
- * If not provided or, for security reasons, the URL starts with the
20
- * `javascript:` scheme, the link will be disabled.
21
- */
22
- href?: string;
23
- /**
24
- * Where to display the linked URL, as the name for a browsing context (a
25
- * tab, window, or [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe)).
26
- * The following keywords have special meanings for where to load the URL:
27
- * - `_self`: the current browsing context. (Default)
28
- * - `_blank`: usually a new tab, but users can configure browsers to open a new window instead.
29
- * - `_parent`: the parent browsing context of the current one. If no parent, behaves as `_self`.
30
- * - `_top`: the topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as `_self`.
31
- */
32
- target?: LinkTarget;
33
- /**
34
- * The relationship of the linked URL as space-separated link types. You can
35
- * check some possible values for [`rel` on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel).
36
- *
37
- * Additionally, values may be added if the following criteria are met:
38
- * - If `target` is set to `_blank` and `referrerpolicy` is not set, `noreferrer` will be added.
39
- * - If `target` is set to `_blank` and `rel` do not contains `opener`, `noopener` will be added.
40
- */
41
- rel?: string;
42
- /**
43
- * Causes the browser to treat the linked URL as a download. Can be used
44
- * with or without a `filename` value:
45
- * - Without a value, the browser will suggest a filename/extension, generated from various sources:
46
- * - The [Content-Disposition](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) HTTP header
47
- * - The final segment in the URL [path](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)
48
- * - The [media type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) (from the [`Content-Type`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) header, the start of a [`data:` URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs), or [`Blob.type`](https://developer.mozilla.org/en-US/docs/Web/API/Blob/type) for a [`blob:` URL](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL_static))
49
- * - `filename`: defining a value suggests it as the filename. `/` and `\` characters are converted to underscores (`_`). Filesystems may forbid other characters in filenames, so browsers will adjust the suggested name if necessary.
50
- *
51
- * > Note:
52
- * > - `download` only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), or the `blob:` and `data:` schemes.
53
- * > - How browsers treat downloads varies by browser, user settings, and other factors. The user may be prompted before a download starts, or the file may be saved automatically, or it may open automatically, either in an external application or in the browser itself.
54
- * > - If the `Content-Disposition` header has different information from the `download` attribute, resulting behavior may differ:
55
- * > - If the header specifies a `filename`, it takes priority over a filename specified in the `download` attribute.
56
- * > - If the header specifies a disposition of `inline`, Chrome and Firefox prioritize the attribute and treat it as a download. Old Firefox versions (before 82) prioritize the header and will display the content inline.
57
- */
58
- download?: string;
59
- /**
60
- * A space-separated list of URLs. When the link is followed, the browser
61
- * will send [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST)
62
- * requests with the body `PING` to the URLs. Typically for tracking.
63
- */
64
- ping?: string;
65
- /**
66
- * How much of the [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer)
67
- * to send when following the link.
68
- * - `no-referrer`: The [Referer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) header will not be sent.
69
- * - `no-referrer-when-downgrade`: The [Referer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin)s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS) ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS)).
70
- * - `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL), [host](https://developer.mozilla.org/en-US/docs/Glossary/Host), and [port](https://developer.mozilla.org/en-US/docs/Glossary/Port).
71
- * - `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.
72
- * - `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy), but cross-origin requests will contain no referrer information.
73
- * - `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP).
74
- * - `strict-origin-when-cross-origin` (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).
75
- * - `unsafe-url`: The referrer will include the origin and the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
76
- */
77
- referrerpolicy?: LinkReferrerPolicy;
78
- /**
79
- * Link size.
80
- */
81
- size?: LinkSize;
82
- /**
83
- * Disables the link.
84
- */
85
- disabled?: boolean;
86
- }
87
5
  declare global {
88
6
  namespace JSX {
89
7
  interface IntrinsicElements {
90
- 'm-link': LinkProps;
8
+ 'm-link': WebComponentProps<WCLink>;
91
9
  }
92
10
  }
93
11
  }
94
- export declare function Link(props: LinkProps): JSX.Element;
12
+ export declare const Link: import("@lit-labs/react").ReactWebComponent<WCLink, {}>;
13
+ export type LinkProps = ComponentProps<typeof Link>;
95
14
  export type { LinkReferrerPolicy, LinkSize, LinkTarget };
96
15
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EACX,kBAAkB,EAClB,QAAQ,EACR,UAAU,EACV,MAAM,uBAAuB,CAAC;AAI/B,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,MAAM,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IAEpC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,SAAS,CAAC;SACpB;KACD;CACD;AAID,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,eAEpC;AAED,YAAY,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EACX,kBAAkB,EAClB,QAAQ,EACR,UAAU,EACV,MAAM,uBAAuB,CAAC;AAG/B,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;SACpC;KACD;CACD;AAED,eAAO,MAAM,IAAI,yDAIf,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,YAAY,EAAE,kBAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC"}
@@ -1,14 +1,13 @@
1
- import * as React from 'react';
2
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
3
  import { Body as WCBody } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-body': HTMLAttributes<WCBody>;
7
+ 'm-body': WebComponentProps<WCBody>;
8
8
  }
9
9
  }
10
10
  }
11
- export declare const Body: React.ForwardRefExoticComponent<Partial<Omit<React.HTMLAttributes<WCBody>, never> & Omit<WCBody, "children" | "style" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {} & {
12
- children?: React.ReactNode;
13
- }> & React.RefAttributes<unknown>>;
11
+ export declare const Body: import("@lit-labs/react").ReactWebComponent<WCBody, {}>;
12
+ export type BodyProps = ComponentProps<typeof Body>;
14
13
  //# sourceMappingURL=Body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/components/PageContent/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;SACjC;KACD;CACD;AAED,eAAO,MAAM,IAAI;;kCAA2C,CAAC"}
1
+ {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/components/PageContent/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAIvD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,QAAQ,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;SACpC;KACD;CACD;AAED,eAAO,MAAM,IAAI,yDAIf,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -1,14 +1,13 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { WebComponentProps } from '@lit-labs/react';
2
+ import type { ComponentProps } from 'react';
2
3
  import { PageContent as WCPageContent } from '@loadsmart/miranda-wc';
3
- export interface PageContentProps extends HTMLAttributes<WCPageContent> {
4
- children?: ReactNode;
5
- }
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-page-content': HTMLAttributes<WCPageContent>;
7
+ 'm-page-content': WebComponentProps<WCPageContent>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function PageContent(props: PageContentProps): JSX.Element;
11
+ export declare const PageContent: import("@lit-labs/react").ReactWebComponent<WCPageContent, {}>;
12
+ export type PageContentProps = ComponentProps<typeof PageContent>;
14
13
  //# sourceMappingURL=PageContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageContent.d.ts","sourceRoot":"","sources":["../../../src/components/PageContent/PageContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAIrE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,aAAa,CAAC;IACtE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,gBAAgB,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;SAChD;KACD;CACD;AAQD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,eAElD"}
1
+ {"version":3,"file":"PageContent.d.ts","sourceRoot":"","sources":["../../../src/components/PageContent/PageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAIrE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,gBAAgB,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;SACnD;KACD;CACD;AAED,eAAO,MAAM,WAAW,gEAItB,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -1,16 +1,16 @@
1
- import type { HTMLAttributes } from 'react';
2
- import * as React from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
3
  import { ProgressBar as WCProgressBar } from '@loadsmart/miranda-wc';
4
- import type { ProgressBarProps as WCProgressBarProps, ProgressBarVariant as WCProgressBarVariant } from '@loadsmart/miranda-wc';
4
+ import type { ProgressBarVariant as WCProgressBarVariant } from '@loadsmart/miranda-wc';
5
5
  export type ProgressBarVariant = WCProgressBarVariant;
6
- export type ProgressBarProps = React.HTMLAttributes<HTMLElement> & WCProgressBarProps;
7
6
  declare global {
8
7
  namespace JSX {
9
8
  interface IntrinsicElements {
10
- 'm-progress-bar': HTMLAttributes<WCProgressBar> & WCProgressBarProps;
9
+ 'm-progress-bar': WebComponentProps<WCProgressBar>;
11
10
  }
12
11
  }
13
12
  }
14
- declare function ProgressBar(props: ProgressBarProps): JSX.Element;
13
+ declare const ProgressBar: import("@lit-labs/react").ReactWebComponent<WCProgressBar, {}>;
14
+ export type ProgressBarProps = ComponentProps<typeof ProgressBar>;
15
15
  export default ProgressBar;
16
16
  //# sourceMappingURL=ProgressBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EACX,gBAAgB,IAAI,kBAAkB,EACtC,kBAAkB,IAAI,oBAAoB,EAC1C,MAAM,uBAAuB,CAAC;AAG/B,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAC/D,kBAAkB,CAAC;AAEpB,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,gBAAgB,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,kBAAkB,CAAC;SACrE;KACD;CACD;AAQD,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,eAE3C;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAGxF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,gBAAgB,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;SACnD;KACD;CACD;AAED,QAAA,MAAM,WAAW,gEAIf,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAElE,eAAe,WAAW,CAAC"}
@@ -1,15 +1,14 @@
1
- import type { HTMLAttributes } from 'react';
2
- import * as React from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
3
  import { ProgressBarCountdown as WCProgressBarCountdown } from '@loadsmart/miranda-wc';
4
- import type { ProgressBarCountdownProps as WCProgressBarCountdownProps } from '@loadsmart/miranda-wc';
5
- export type ProgressBarCountdownProps = React.HTMLAttributes<HTMLElement> & WCProgressBarCountdownProps;
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-progress-bar-countdown': HTMLAttributes<WCProgressBarCountdown> & WCProgressBarCountdownProps;
7
+ 'm-progress-bar-countdown': WebComponentProps<WCProgressBarCountdown>;
10
8
  }
11
9
  }
12
10
  }
13
- declare function ProgressBarCountdown(props: ProgressBarCountdownProps): JSX.Element;
11
+ declare const ProgressBarCountdown: import("@lit-labs/react").ReactWebComponent<WCProgressBarCountdown, {}>;
12
+ export type ProgressBarCountdownProps = ComponentProps<typeof ProgressBarCountdown>;
14
13
  export default ProgressBarCountdown;
15
14
  //# sourceMappingURL=ProgressBarCountdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBarCountdown.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBarCountdown/ProgressBarCountdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,KAAK,EAAE,yBAAyB,IAAI,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAItG,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GACxE,2BAA2B,CAAC;AAE7B,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,0BAA0B,EAAE,cAAc,CAAC,sBAAsB,CAAC,GACjE,2BAA2B,CAAC;SAC7B;KACD;CACD;AAQD,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,eAE7D;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"ProgressBarCountdown.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBarCountdown/ProgressBarCountdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAGvF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,0BAA0B,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,CAAC;SACtE;KACD;CACD;AAED,QAAA,MAAM,oBAAoB,yEAIxB,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,cAAc,CACrD,OAAO,oBAAoB,CAC3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,16 +1,17 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
2
3
  import { Radio as WCRadio } from '@loadsmart/miranda-wc';
3
- import type { RadioProps as WCRadioProps } from '@loadsmart/miranda-wc';
4
- export interface RadioProps extends HTMLAttributes<WCRadio>, WCRadioProps {
5
- leading?: ReactNode;
6
- }
7
4
  declare global {
8
5
  namespace JSX {
9
6
  interface IntrinsicElements {
10
- 'm-radio': HTMLAttributes<HTMLElement> & RadioProps;
7
+ 'm-radio': WebComponentProps<WCRadio> & RadioProps;
11
8
  }
12
9
  }
13
10
  }
11
+ declare const WiredRadio: import("@lit-labs/react").ReactWebComponent<WCRadio, {}>;
12
+ export type RadioProps = ComponentProps<typeof WiredRadio> & {
13
+ leading?: ReactNode;
14
+ };
14
15
  declare function Radio(props: RadioProps): JSX.Element;
15
16
  export default Radio;
16
17
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIxE,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,YAAY;IACxE,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;SACpD;KACD;CACD;AAID,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,eAS/B;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIzD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,SAAS,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;SACnD;KACD;CACD;AAED,QAAA,MAAM,UAAU,0DAId,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IAC5D,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,eAS/B;AAED,eAAe,KAAK,CAAC"}
@@ -1,22 +1,17 @@
1
- import * as React from 'react';
1
+ import type { EventName, WebComponentProps } from '@lit-labs/react';
2
2
  import { RadioGroup as WCRadioGroup } from '@loadsmart/miranda-wc';
3
- import type { RadioGroupProps as WCRadioGroupProps } from '@loadsmart/miranda-wc';
4
- import type { HTMLAttributes } from 'react';
3
+ import type { ComponentProps } from 'react';
5
4
  import type { RadioGroupChangeEventDetail } from '@loadsmart/miranda-wc/dist/components/radio-group/radio-group';
6
- export interface RadioGroupProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, WCRadioGroupProps {
7
- onChange?: WCRadioGroupProps['m-change'];
8
- }
9
5
  declare global {
10
6
  namespace JSX {
11
7
  interface IntrinsicElements {
12
- 'm-radio-group': HTMLAttributes<HTMLElement>;
8
+ 'm-radio-group': WebComponentProps<WCRadioGroup>;
13
9
  }
14
10
  }
15
11
  }
16
- declare const RadioGroup: React.ForwardRefExoticComponent<Partial<Omit<React.HTMLAttributes<WCRadioGroup>, "onChange"> & Omit<WCRadioGroup, "children" | "style" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
17
- onChange: (e: CustomEvent<RadioGroupChangeEventDetail>) => void;
18
- } & {
19
- children?: React.ReactNode;
20
- }> & React.RefAttributes<unknown>>;
12
+ declare const RadioGroup: import("@lit-labs/react").ReactWebComponent<WCRadioGroup, {
13
+ onChange: EventName<CustomEvent<RadioGroupChangeEventDetail>>;
14
+ }>;
15
+ export type RadioGroupProps = ComponentProps<typeof RadioGroup>;
21
16
  export default RadioGroup;
22
17
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAElF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAGjH,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,EACpD,iBAAiB;IAClB,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;CACzC;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,eAAe,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;SAC7C;KACD;CACD;AAED,QAAA,MAAM,UAAU;;;;kCAEd,CAAC;AAEH,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAGjH,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,eAAe,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;SACjD;KACD;CACD;AAED,QAAA,MAAM,UAAU;;EAOd,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEhE,eAAe,UAAU,CAAC"}
@@ -1,17 +1,17 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { SectionProps as WCSectionProps } from '@loadsmart/miranda-wc';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit-labs/react';
3
+ import { Section as WCSection } from '@loadsmart/miranda-wc';
3
4
  import { SectionTitle } from './SectionTitle';
4
- export type SectionProps = HTMLAttributes<HTMLElement> & WCSectionProps;
5
5
  declare global {
6
- namespace React.JSX {
6
+ namespace JSX {
7
7
  interface IntrinsicElements {
8
- 'm-section': SectionProps;
8
+ 'm-section': WebComponentProps<WCSection>;
9
9
  }
10
10
  }
11
11
  }
12
- declare function Section({ children, ...props }: SectionProps): JSX.Element;
13
- declare namespace Section {
14
- var Title: typeof SectionTitle;
15
- }
12
+ declare const Section: import("@lit-labs/react").ReactWebComponent<WCSection, {}> & {
13
+ Title: typeof SectionTitle;
14
+ };
15
+ export type SectionProps = ComponentProps<typeof Section>;
16
16
  export default Section;
17
17
  //# sourceMappingURL=Section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAK5E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG,cAAc,CAAC;AAExE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,KAAK,CAAC,GAAG,CAAC;QACnB,UAAU,iBAAiB;YAC1B,WAAW,EAAE,YAAY,CAAC;SAC1B;KACD;CACD;AAID,iBAAS,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,eAEpD;kBAFQ,OAAO;;;AAMhB,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAG7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,WAAW,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;SAC1C;KACD;CACD;AAED,QAAA,MAAM,OAAO;;CAOX,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAE1D,eAAe,OAAO,CAAC"}