@loadsmart/miranda-react 1.32.0 → 1.33.1
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.
- package/dist/components/Banner/Banner.d.ts +14 -21
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/BannerActionPrimary.d.ts +9 -8
- package/dist/components/Banner/BannerActionPrimary.d.ts.map +1 -1
- package/dist/components/Banner/BannerActionSecondary.d.ts +10 -9
- package/dist/components/Banner/BannerActionSecondary.d.ts.map +1 -1
- package/dist/components/Banner/BannerActions.d.ts +6 -10
- package/dist/components/Banner/BannerActions.d.ts.map +1 -1
- package/dist/components/Banner/BannerDescription.d.ts +6 -10
- package/dist/components/Banner/BannerDescription.d.ts.map +1 -1
- package/dist/components/Banner/BannerIcon.d.ts +6 -10
- package/dist/components/Banner/BannerIcon.d.ts.map +1 -1
- package/dist/components/Banner/BannerTitle.d.ts +6 -10
- package/dist/components/Banner/BannerTitle.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +8 -7
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +12 -15
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/CardBody.d.ts +6 -5
- package/dist/components/Card/CardBody.d.ts.map +1 -1
- package/dist/components/Card/CardDivider.d.ts +6 -6
- package/dist/components/Card/CardDivider.d.ts.map +1 -1
- package/dist/components/Card/CardSubtitle.d.ts +6 -5
- package/dist/components/Card/CardSubtitle.d.ts.map +1 -1
- package/dist/components/Card/CardTitle.d.ts +9 -6
- package/dist/components/Card/CardTitle.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +10 -9
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +30 -50
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/DialogActionPrimary.d.ts +9 -8
- package/dist/components/Dialog/DialogActionPrimary.d.ts.map +1 -1
- package/dist/components/Dialog/DialogActionSecondary.d.ts +9 -8
- package/dist/components/Dialog/DialogActionSecondary.d.ts.map +1 -1
- package/dist/components/Dialog/DialogActionTertiary.d.ts +9 -8
- package/dist/components/Dialog/DialogActionTertiary.d.ts.map +1 -1
- package/dist/components/Dialog/DialogActions.d.ts +5 -4
- package/dist/components/Dialog/DialogActions.d.ts.map +1 -1
- package/dist/components/Dialog/DialogBody.d.ts +5 -4
- package/dist/components/Dialog/DialogBody.d.ts.map +1 -1
- package/dist/components/Dialog/DialogClose.d.ts +7 -8
- package/dist/components/Dialog/DialogClose.d.ts.map +1 -1
- package/dist/components/Dialog/DialogFooter.d.ts +5 -4
- package/dist/components/Dialog/DialogFooter.d.ts.map +1 -1
- package/dist/components/Dialog/DialogHeader.d.ts +5 -4
- package/dist/components/Dialog/DialogHeader.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +12 -11
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Field/Field.d.ts +8 -10
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/FieldHint.d.ts +9 -6
- package/dist/components/Field/FieldHint.d.ts.map +1 -1
- package/dist/components/Field/FieldLabel.d.ts +6 -5
- package/dist/components/Field/FieldLabel.d.ts.map +1 -1
- package/dist/components/Header/Header.d.ts +11 -18
- package/dist/components/Header/Header.d.ts.map +1 -1
- package/dist/components/Header/HeaderActions.d.ts +5 -9
- package/dist/components/Header/HeaderActions.d.ts.map +1 -1
- package/dist/components/Header/HeaderBackButton.d.ts +3 -8
- package/dist/components/Header/HeaderBackButton.d.ts.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +5 -9
- package/dist/components/Header/HeaderContent.d.ts.map +1 -1
- package/dist/components/Header/HeaderTitle.d.ts +5 -9
- package/dist/components/Header/HeaderTitle.d.ts.map +1 -1
- package/dist/components/Header/SubHeader.d.ts +5 -9
- package/dist/components/Header/SubHeader.d.ts.map +1 -1
- package/dist/components/Layout/Box.d.ts +6 -5
- package/dist/components/Layout/Box.d.ts.map +1 -1
- package/dist/components/Layout/Grid.d.ts +6 -5
- package/dist/components/Layout/Grid.d.ts.map +1 -1
- package/dist/components/Layout/Group.d.ts +6 -5
- package/dist/components/Layout/Group.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts +9 -12
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/Sidebar.d.ts +11 -11
- package/dist/components/Layout/Sidebar.d.ts.map +1 -1
- package/dist/components/Layout/Stack.d.ts +6 -6
- package/dist/components/Layout/Stack.d.ts.map +1 -1
- package/dist/components/Layout/Switcher.d.ts +6 -6
- package/dist/components/Layout/Switcher.d.ts.map +1 -1
- package/dist/components/Link/Link.d.ts +5 -86
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/PageContent/Body.d.ts +5 -6
- package/dist/components/PageContent/Body.d.ts.map +1 -1
- package/dist/components/PageContent/PageContent.d.ts +5 -6
- package/dist/components/PageContent/PageContent.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +6 -6
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -6
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +1 -1
- package/dist/components/RadioGroup/Radio.d.ts +7 -6
- package/dist/components/RadioGroup/Radio.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +7 -12
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/Section/Section.d.ts +9 -9
- package/dist/components/Section/Section.d.ts.map +1 -1
- package/dist/components/Section/SectionTitle.d.ts +9 -7
- package/dist/components/Section/SectionTitle.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.d.ts +8 -6
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/TabPanel.d.ts +6 -6
- package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +13 -12
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +7 -9
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts +11 -12
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/TextField/TextField.d.ts +13 -9
- package/dist/components/TextField/TextField.d.ts.map +1 -1
- package/dist/components/ToggleGroup/Toggle.d.ts +8 -6
- package/dist/components/ToggleGroup/Toggle.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +16 -12
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +10 -9
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/utils/createComponent.d.ts +10 -44
- package/dist/utils/createComponent.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
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':
|
|
7
|
+
'm-box': WebComponentProps<WCBox>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
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":"
|
|
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 {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
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':
|
|
7
|
+
'm-grid': WebComponentProps<WCGrid>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
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":"
|
|
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 {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
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':
|
|
7
|
+
'm-group': WebComponentProps<WCGroup>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
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":"
|
|
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:
|
|
10
|
-
Group:
|
|
11
|
-
Stack:
|
|
12
|
-
Grid:
|
|
13
|
-
Sidebar:
|
|
14
|
-
|
|
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":"
|
|
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 {
|
|
2
|
-
import
|
|
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':
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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,
|
|
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
|
|
2
|
-
import type {
|
|
3
|
-
import
|
|
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':
|
|
7
|
+
'm-stack': WebComponentProps<WCStack>;
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
declare
|
|
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,
|
|
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
|
|
2
|
-
import type {
|
|
3
|
-
import
|
|
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':
|
|
7
|
+
'm-switcher': WebComponentProps<WCSwitcher>;
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
declare
|
|
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,
|
|
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 {
|
|
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':
|
|
8
|
+
'm-link': WebComponentProps<WCLink>;
|
|
91
9
|
}
|
|
92
10
|
}
|
|
93
11
|
}
|
|
94
|
-
export declare
|
|
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":"
|
|
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
|
|
2
|
-
import type {
|
|
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':
|
|
7
|
+
'm-body': WebComponentProps<WCBody>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const Body:
|
|
12
|
-
|
|
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,
|
|
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 {
|
|
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':
|
|
7
|
+
'm-page-content': WebComponentProps<WCPageContent>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
export declare
|
|
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":"
|
|
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 {
|
|
2
|
-
import
|
|
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 {
|
|
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':
|
|
9
|
+
'm-progress-bar': WebComponentProps<WCProgressBar>;
|
|
11
10
|
}
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
|
-
declare
|
|
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,
|
|
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 {
|
|
2
|
-
import
|
|
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':
|
|
7
|
+
'm-progress-bar-countdown': WebComponentProps<WCProgressBarCountdown>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
declare
|
|
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,
|
|
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 {
|
|
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':
|
|
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":"
|
|
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
|
|
1
|
+
import type { EventName, WebComponentProps } from '@lit-labs/react';
|
|
2
2
|
import { RadioGroup as WCRadioGroup } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type {
|
|
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':
|
|
8
|
+
'm-radio-group': WebComponentProps<WCRadioGroup>;
|
|
13
9
|
}
|
|
14
10
|
}
|
|
15
11
|
}
|
|
16
|
-
declare const RadioGroup:
|
|
17
|
-
onChange:
|
|
18
|
-
}
|
|
19
|
-
|
|
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,
|
|
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 {
|
|
2
|
-
import type {
|
|
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
|
|
6
|
+
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
8
|
-
'm-section':
|
|
8
|
+
'm-section': WebComponentProps<WCSection>;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
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":"
|
|
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"}
|