@loadsmart/miranda-react 1.31.1 → 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.
- 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 +13 -0
- package/dist/components/PageContent/Body.d.ts.map +1 -0
- package/dist/components/PageContent/PageContent.d.ts +13 -0
- package/dist/components/PageContent/PageContent.d.ts.map +1 -0
- package/dist/components/PageContent/index.d.ts +2 -0
- package/dist/components/PageContent/index.d.ts.map +1 -0
- 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,32 +1,25 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { Banner as WCBanner } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { BannerProps as WCBannerProps } from '@loadsmart/miranda-wc';
|
|
4
4
|
import { BannerActionPrimary } from './BannerActionPrimary';
|
|
5
|
-
import { BannerActions } from './BannerActions';
|
|
6
5
|
import { BannerActionSecondary } from './BannerActionSecondary';
|
|
7
|
-
import { BannerDescription } from './BannerDescription';
|
|
8
|
-
import { BannerIcon } from './BannerIcon';
|
|
9
|
-
import { BannerTitle } from './BannerTitle';
|
|
10
|
-
export interface BannerProps extends HTMLAttributes<WCBanner>, WCBannerProps {
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
onDismiss?: (event: CustomEvent) => void;
|
|
13
|
-
}
|
|
14
6
|
declare global {
|
|
15
7
|
namespace JSX {
|
|
16
8
|
interface IntrinsicElements {
|
|
17
|
-
'm-banner':
|
|
9
|
+
'm-banner': WebComponentProps<WCBanner>;
|
|
18
10
|
}
|
|
19
11
|
}
|
|
20
12
|
}
|
|
21
|
-
export declare
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
13
|
+
export declare const Banner: import("@lit-labs/react").ReactWebComponent<WCBanner, {
|
|
14
|
+
onDismiss: EventName<CustomEvent<any>>;
|
|
15
|
+
}> & {
|
|
16
|
+
ActionPrimary: typeof BannerActionPrimary;
|
|
17
|
+
Actions: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerActions, {}>;
|
|
18
|
+
ActionSecondary: typeof BannerActionSecondary;
|
|
19
|
+
Description: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerDescription, {}>;
|
|
20
|
+
Icon: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerIcon, {}>;
|
|
21
|
+
Title: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerTitle, {}>;
|
|
22
|
+
};
|
|
23
|
+
export type BannerProps = ComponentProps<typeof Banner>;
|
|
31
24
|
export type { BannerVariant } from '@loadsmart/miranda-wc';
|
|
32
25
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAKhE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;SACxC;KACD;CACD;AAED,eAAO,MAAM,MAAM;;;;;;;;;CAejB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
2
|
import { BannerActionPrimary as WCBannerActionPrimary } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ButtonProps } from '../Button';
|
|
5
|
-
export type BannerActionPrimaryProps = Omit<ButtonProps, 'variant' | 'type'> & Partial<Pick<ButtonProps, 'variant' | 'type'>>;
|
|
3
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-action-primary':
|
|
7
|
+
'm-banner-action-primary': WebComponentProps<WCBannerActionPrimary>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
11
|
+
declare const WiredBannerActionPrimary: import("@lit-labs/react").ReactWebComponent<WCBannerActionPrimary, {}>;
|
|
12
|
+
export type BannerActionPrimaryProps = ComponentProps<typeof WiredBannerActionPrimary> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
};
|
|
13
16
|
export declare function BannerActionPrimary(props: BannerActionPrimaryProps): JSX.Element;
|
|
14
|
-
export
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
17
|
+
export {};
|
|
17
18
|
//# sourceMappingURL=BannerActionPrimary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerActionPrimary.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActionPrimary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BannerActionPrimary.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActionPrimary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,IAAI,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,yBAAyB,EAAE,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;SACpE;KACD;CACD;AAED,QAAA,MAAM,wBAAwB,wEAI5B,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,cAAc,CACpD,OAAO,wBAAwB,CAC/B,GAAG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,eAUlE"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { BannerActionSecondary as WCBannerActionSecondary } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
import type { ButtonProps } from '../Button';
|
|
5
|
-
export type BanneActionSecondaryProps = Omit<ButtonProps, 'variant' | 'type'> & Partial<Pick<ButtonProps, 'variant' | 'type'>>;
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-action-secondary':
|
|
7
|
+
'm-banner-action-secondary': WebComponentProps<WCBannerActionSecondary>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
declare const WiredBannerActionSecondary: import("@lit-labs/react").ReactWebComponent<WCBannerActionSecondary, {}>;
|
|
12
|
+
export type BannerActionSecondaryProps = ComponentProps<typeof WiredBannerActionSecondary> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare function BannerActionSecondary(props: BannerActionSecondaryProps): JSX.Element;
|
|
17
|
+
export {};
|
|
17
18
|
//# sourceMappingURL=BannerActionSecondary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerActionSecondary.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActionSecondary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BannerActionSecondary.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActionSecondary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAIzF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,2BAA2B,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,CAAC;SACxE;KACD;CACD;AAED,QAAA,MAAM,0BAA0B,0EAI9B,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,cAAc,CACtD,OAAO,0BAA0B,CACjC,GAAG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,eAUtE"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
3
|
+
import { BannerActions as WCBannerActions } from '@loadsmart/miranda-wc';
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-actions':
|
|
7
|
+
'm-banner-actions': WebComponentProps<WCBannerActions>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
export declare
|
|
14
|
-
export
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
11
|
+
export declare const BannerActions: import("@lit-labs/react").ReactWebComponent<WCBannerActions, {}>;
|
|
12
|
+
export type BannerActionsProps = ComponentProps<typeof BannerActions>;
|
|
17
13
|
//# sourceMappingURL=BannerActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerActions.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"BannerActions.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGzE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,kBAAkB,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAC;SACvD;KACD;CACD;AAED,eAAO,MAAM,aAAa,kEAIxB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
3
|
+
import { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc';
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-description':
|
|
7
|
+
'm-banner-description': WebComponentProps<WCBannerDescription>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
export declare
|
|
14
|
-
export
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
11
|
+
export declare const BannerDescription: import("@lit-labs/react").ReactWebComponent<WCBannerDescription, {}>;
|
|
12
|
+
export type BannerDescriptionProps = ComponentProps<typeof BannerDescription>;
|
|
17
13
|
//# sourceMappingURL=BannerDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"BannerDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,iBAAiB,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,sBAAsB,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;SAC/D;KACD;CACD;AAED,eAAO,MAAM,iBAAiB,sEAI5B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
3
|
+
import { BannerIcon as WCBannerIcon } from '@loadsmart/miranda-wc';
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-icon':
|
|
7
|
+
'm-banner-icon': WebComponentProps<WCBannerIcon>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
export declare
|
|
14
|
-
export
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
11
|
+
export declare const BannerIcon: import("@lit-labs/react").ReactWebComponent<WCBannerIcon, {}>;
|
|
12
|
+
export type BannerIconProps = ComponentProps<typeof BannerIcon>;
|
|
17
13
|
//# sourceMappingURL=BannerIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"BannerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGnE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,eAAe,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;SACjD;KACD;CACD;AAED,eAAO,MAAM,UAAU,+DAIrB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
3
|
+
import { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
|
|
6
4
|
declare global {
|
|
7
5
|
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-banner-title':
|
|
7
|
+
'm-banner-title': WebComponentProps<WCBannerTitle>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
export declare
|
|
14
|
-
export
|
|
15
|
-
var displayName: string;
|
|
16
|
-
}
|
|
11
|
+
export declare const BannerTitle: import("@lit-labs/react").ReactWebComponent<WCBannerTitle, {}>;
|
|
12
|
+
export type BannerTitleProps = ComponentProps<typeof BannerTitle>;
|
|
17
13
|
//# sourceMappingURL=BannerTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"BannerTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/BannerTitle.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;AAGrE,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,17 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { Button as WCButton } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
export interface ButtonProps extends HTMLAttributes<WCButton>, Omit<WCButtonProps, 'click'> {
|
|
5
|
-
leading?: ReactNode;
|
|
6
|
-
trailing?: ReactNode;
|
|
7
|
-
}
|
|
8
4
|
declare global {
|
|
9
5
|
namespace JSX {
|
|
10
6
|
interface IntrinsicElements {
|
|
11
|
-
'm-button':
|
|
7
|
+
'm-button': WebComponentProps<WCButton>;
|
|
12
8
|
}
|
|
13
9
|
}
|
|
14
10
|
}
|
|
11
|
+
declare const WiredButton: import("@lit-labs/react").ReactWebComponent<WCButton, {}>;
|
|
12
|
+
export interface ButtonProps extends ComponentProps<typeof WiredButton> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
15
16
|
declare function Button(props: ButtonProps): JSX.Element;
|
|
16
17
|
export default Button;
|
|
17
18
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.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,MAAM,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI3D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;SACxC;KACD;CACD;AAED,QAAA,MAAM,WAAW,2DAIf,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,WAAW,CAAC;IACtE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,eAUjC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
3
|
+
import { Card as WCCard } from '@loadsmart/miranda-wc';
|
|
3
4
|
import { CardTitle } from './CardTitle';
|
|
4
|
-
import { CardSubtitle } from './CardSubtitle';
|
|
5
|
-
import { CardBody } from './CardBody';
|
|
6
|
-
import { CardDivider } from './CardDivider';
|
|
7
|
-
export type CardProps = HTMLAttributes<HTMLElement> & WCCardProps;
|
|
8
5
|
declare global {
|
|
9
|
-
namespace
|
|
6
|
+
namespace JSX {
|
|
10
7
|
interface IntrinsicElements {
|
|
11
|
-
'm-card':
|
|
8
|
+
'm-card': WebComponentProps<WCCard>;
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
declare const Card: import("@lit-labs/react").ReactWebComponent<WCCard, {}> & {
|
|
13
|
+
Title: typeof CardTitle;
|
|
14
|
+
Subtitle: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardSubtitle, {}>;
|
|
15
|
+
Body: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardBody, {}>;
|
|
16
|
+
Divider: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardDivider, {}>;
|
|
17
|
+
};
|
|
18
|
+
export type CardProps = ComponentProps<typeof Card>;
|
|
22
19
|
export default Card;
|
|
23
20
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.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,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,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;;;;;CAUR,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,eAAe,IAAI,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { CardBody as WCCardBody } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type CardBodyProps = Omit<HTMLAttributes<WCCardBody>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
|
-
namespace
|
|
5
|
+
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-card-body':
|
|
7
|
+
'm-card-body': WebComponentProps<WCCardBody>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare const CardBody: import("@lit-labs/react").ReactWebComponent<WCCardBody, {}>;
|
|
12
|
+
export type CardBodyProps = ComponentProps<typeof CardBody>;
|
|
12
13
|
//# sourceMappingURL=CardBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardBody.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBody.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardBody.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBody.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,aAAa,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;SAC7C;KACD;CACD;AAED,eAAO,MAAM,QAAQ,6DAInB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { CardDivider as WCCardDivider } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { DividerProps } from '../Divider';
|
|
4
|
-
export type CardDividerHTMLAttributes = Omit<HTMLAttributes<WCCardDivider>, 'slot'>;
|
|
5
4
|
declare global {
|
|
6
|
-
namespace
|
|
5
|
+
namespace JSX {
|
|
7
6
|
interface IntrinsicElements {
|
|
8
|
-
'm-card-divider':
|
|
7
|
+
'm-card-divider': WebComponentProps<WCCardDivider>;
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
export declare
|
|
11
|
+
export declare const CardDivider: import("@lit-labs/react").ReactWebComponent<WCCardDivider, {}>;
|
|
12
|
+
export type CardDividerProps = ComponentProps<typeof CardDivider>;
|
|
13
13
|
//# sourceMappingURL=CardDivider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDivider.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardDivider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDivider.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardDivider.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;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,12 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type CardSubtitleProps = Omit<HTMLAttributes<WCCardSubtitle>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
|
-
namespace
|
|
5
|
+
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-card-subtitle':
|
|
7
|
+
'm-card-subtitle': WebComponentProps<WCCardSubtitle>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare const CardSubtitle: import("@lit-labs/react").ReactWebComponent<WCCardSubtitle, {}>;
|
|
12
|
+
export type CardSubtitleProps = ComponentProps<typeof CardSubtitle>;
|
|
12
13
|
//# sourceMappingURL=CardSubtitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardSubtitle.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardSubtitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardSubtitle.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,iBAAiB,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;SACrD;KACD;CACD;AAED,eAAO,MAAM,YAAY,iEAIvB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc';
|
|
3
|
-
export interface CardTitleProps extends Omit<HTMLAttributes<WCCardTitle>, 'slot'> {
|
|
4
|
-
leading?: string;
|
|
5
|
-
}
|
|
6
4
|
declare global {
|
|
7
|
-
namespace
|
|
5
|
+
namespace JSX {
|
|
8
6
|
interface IntrinsicElements {
|
|
9
|
-
'm-card-title':
|
|
7
|
+
'm-card-title': WebComponentProps<WCCardTitle>;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
11
|
+
declare const WiredCardTitle: import("@lit-labs/react").ReactWebComponent<WCCardTitle, {}>;
|
|
12
|
+
export type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
};
|
|
13
15
|
export declare function CardTitle({ children, leading, ...props }: CardTitleProps): JSX.Element;
|
|
16
|
+
export {};
|
|
14
17
|
//# sourceMappingURL=CardTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardTitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIjE,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;SAC/C;KACD;CACD;AAED,QAAA,MAAM,cAAc,8DAIlB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,CAChC,cAAc,CAAC,OAAO,cAAc,CAAC,EACrC,MAAM,CACN,GAAG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,eAOxE"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import type { ReactNode,
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
2
|
import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
onChange?: (event: CustomEvent<CheckboxChangeEventDetail>) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface CheckboxProps extends CheckboxHTMLAttributes {
|
|
8
|
-
leading?: ReactNode;
|
|
9
|
-
}
|
|
3
|
+
import type { CheckboxChangeEventDetail } from '@loadsmart/miranda-wc';
|
|
4
|
+
import type { EventName, WebComponentProps } from '@lit-labs/react';
|
|
10
5
|
declare global {
|
|
11
6
|
namespace JSX {
|
|
12
7
|
interface IntrinsicElements {
|
|
13
|
-
'm-checkbox':
|
|
8
|
+
'm-checkbox': WebComponentProps<WCCheckbox>;
|
|
14
9
|
}
|
|
15
10
|
}
|
|
16
11
|
}
|
|
12
|
+
declare const WiredCheckbox: import("@lit-labs/react").ReactWebComponent<WCCheckbox, {
|
|
13
|
+
onChange: EventName<CustomEvent<CheckboxChangeEventDetail>>;
|
|
14
|
+
}>;
|
|
15
|
+
export type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
|
|
16
|
+
leading?: ReactNode;
|
|
17
|
+
};
|
|
17
18
|
declare function Checkbox(props: CheckboxProps): JSX.Element;
|
|
18
19
|
export default Checkbox;
|
|
19
20
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGpE,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,aAAa;;EAOjB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IAClE,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,iBAAS,QAAQ,CAAC,KAAK,EAAE,aAAa,eASrC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,61 +1,41 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit-labs/react';
|
|
2
3
|
import { Dialog as WCDialog } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { DialogProps as WCDialogProps } from '@loadsmart/miranda-wc';
|
|
4
4
|
import { DialogActionPrimary } from './DialogActionPrimary';
|
|
5
5
|
import { DialogActionSecondary } from './DialogActionSecondary';
|
|
6
6
|
import { DialogActionTertiary } from './DialogActionTertiary';
|
|
7
|
-
import { DialogActions } from './DialogActions';
|
|
8
|
-
import { DialogBody } from './DialogBody';
|
|
9
|
-
import { DialogClose } from './DialogClose';
|
|
10
|
-
import { DialogFooter } from './DialogFooter';
|
|
11
|
-
import { DialogHeader } from './DialogHeader';
|
|
12
|
-
export type DialogHTMLAttributes = HTMLAttributes<WCDialog> & WCDialogProps;
|
|
13
|
-
export interface DialogProps extends DialogHTMLAttributes {
|
|
14
|
-
/**
|
|
15
|
-
* Fired when there's a click on the overlay behind the dialog or the `ESC` key is pressed
|
|
16
|
-
*/
|
|
17
|
-
onClose?: (event: CustomEvent) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Fired before the dialog starts to open, it's not cancelable
|
|
20
|
-
*/
|
|
21
|
-
onOpening?: (event: CustomEvent) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Fired after the dialog is opened, it's not cancelable
|
|
24
|
-
*/
|
|
25
|
-
onOpened?: (event: CustomEvent) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Fired before the dialog starts to close, it's not cancelable
|
|
28
|
-
*/
|
|
29
|
-
onClosing?: (event: CustomEvent) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Fired after the dialog is closed, it's not cancelable
|
|
32
|
-
*/
|
|
33
|
-
onClosed?: (event: CustomEvent) => void;
|
|
34
|
-
}
|
|
35
7
|
declare global {
|
|
36
8
|
namespace JSX {
|
|
37
9
|
interface IntrinsicElements {
|
|
38
|
-
'm-dialog':
|
|
10
|
+
'm-dialog': WebComponentProps<WCDialog>;
|
|
39
11
|
}
|
|
40
12
|
}
|
|
41
13
|
}
|
|
42
|
-
export declare
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export
|
|
14
|
+
export declare const Dialog: import("@lit-labs/react").ReactWebComponent<WCDialog, {
|
|
15
|
+
onClose: EventName<CustomEvent<any>>;
|
|
16
|
+
onOpening: EventName<CustomEvent<any>>;
|
|
17
|
+
onOpened: EventName<CustomEvent<any>>;
|
|
18
|
+
onClosing: EventName<CustomEvent<any>>;
|
|
19
|
+
onClosed: EventName<CustomEvent<any>>;
|
|
20
|
+
}> & {
|
|
21
|
+
ActionPrimary: typeof DialogActionPrimary;
|
|
22
|
+
ActionSecondary: typeof DialogActionSecondary;
|
|
23
|
+
ActionTertiary: typeof DialogActionTertiary;
|
|
24
|
+
Actions: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogActions, {}>;
|
|
25
|
+
Body: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogBody, {}>;
|
|
26
|
+
Close: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogClose, {
|
|
27
|
+
onClose: EventName<CustomEvent<any>>;
|
|
28
|
+
}>;
|
|
29
|
+
Footer: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogFooter, {}>;
|
|
30
|
+
Header: import("@lit-labs/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogHeader, {}>;
|
|
31
|
+
};
|
|
32
|
+
export type DialogProps = ComponentProps<typeof Dialog>;
|
|
33
|
+
export type { DialogActionPrimaryProps } from './DialogActionPrimary';
|
|
34
|
+
export type { DialogActionSecondaryProps } from './DialogActionSecondary';
|
|
35
|
+
export type { DialogActionTertiaryProps } from './DialogActionTertiary';
|
|
36
|
+
export type { DialogActionsProps } from './DialogActions';
|
|
37
|
+
export type { DialogBodyProps } from './DialogBody';
|
|
38
|
+
export type { DialogCloseProps } from './DialogClose';
|
|
39
|
+
export type { DialogFooterProps } from './DialogFooter';
|
|
40
|
+
export type { DialogHeaderProps } from './DialogHeader';
|
|
61
41
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,GAAG,CAAC;QACb,UAAU,iBAAiB;YAC1B,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;SACxC;KACD;CACD;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAqBjB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|