@loadsmart/miranda-react 2.0.1 → 3.0.0-alpha.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/Accordion/Accordion.d.ts +19 -0
- package/dist/components/Accordion/AccordionContent.d.ts +10 -0
- package/dist/components/Accordion/AccordionTitle.d.ts +16 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Badge/Badge.d.ts +12 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Banner/Banner.d.ts +14 -24
- package/dist/components/Banner/BannerActionPrimary.d.ts +10 -10
- package/dist/components/Banner/BannerActionSecondary.d.ts +10 -10
- package/dist/components/Banner/BannerActions.d.ts +6 -11
- package/dist/components/Banner/BannerDescription.d.ts +6 -11
- package/dist/components/Banner/BannerIcon.d.ts +6 -11
- package/dist/components/Banner/BannerTitle.d.ts +6 -11
- package/dist/components/Banner/index.d.ts +0 -1
- package/dist/components/Button/Button.d.ts +9 -9
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Card/Card.d.ts +28 -16
- package/dist/components/Card/CardActionPrimary.d.ts +17 -0
- package/dist/components/Card/CardActionSecondary.d.ts +17 -0
- package/dist/components/Card/CardActionTertiary.d.ts +17 -0
- package/dist/components/Card/CardBody.d.ts +6 -6
- package/dist/components/Card/CardDivider.d.ts +6 -7
- package/dist/components/Card/CardFooter.d.ts +12 -0
- package/dist/components/Card/CardSubtitle.d.ts +6 -6
- package/dist/components/Card/CardTitle.d.ts +10 -8
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +10 -11
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +30 -54
- package/dist/components/Dialog/DialogActionPrimary.d.ts +10 -10
- package/dist/components/Dialog/DialogActionSecondary.d.ts +10 -10
- package/dist/components/Dialog/DialogActionTertiary.d.ts +10 -10
- package/dist/components/Dialog/DialogActions.d.ts +5 -5
- package/dist/components/Dialog/DialogBody.d.ts +5 -5
- package/dist/components/Dialog/DialogClose.d.ts +7 -9
- package/dist/components/Dialog/DialogFooter.d.ts +5 -5
- package/dist/components/Dialog/DialogHeader.d.ts +5 -5
- package/dist/components/Dialog/index.d.ts +0 -1
- package/dist/components/Divider/Divider.d.ts +12 -12
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Drawer/Drawer.d.ts +38 -0
- package/dist/components/Drawer/DrawerActionPrimary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActionSecondary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActionTertiary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActions.d.ts +12 -0
- package/dist/components/Drawer/DrawerBody.d.ts +12 -0
- package/dist/components/Drawer/DrawerClose.d.ts +14 -0
- package/dist/components/Drawer/DrawerHeader.d.ts +12 -0
- package/dist/components/Drawer/index.d.ts +4 -0
- package/dist/components/Dropdown/Dropdown.d.ts +22 -0
- package/dist/components/Dropdown/DropdownItem.d.ts +16 -0
- package/dist/components/Dropdown/DropdownMenu.d.ts +12 -0
- package/dist/components/Dropdown/DropdownTrigger.d.ts +15 -0
- package/dist/components/Dropdown/index.d.ts +5 -0
- package/dist/components/EmptyState/EmptyState.d.ts +23 -0
- package/dist/components/EmptyState/EmptyStateAction.d.ts +17 -0
- package/dist/components/EmptyState/EmptyStateHeader.d.ts +12 -0
- package/dist/components/EmptyState/EmptyStateIllustration.d.ts +12 -0
- package/dist/components/EmptyState/EmptyStateMessage.d.ts +12 -0
- package/dist/components/EmptyState/index.d.ts +4 -0
- package/dist/components/Field/Field.d.ts +8 -12
- package/dist/components/Field/FieldHint.d.ts +10 -8
- package/dist/components/Field/FieldLabel.d.ts +6 -6
- package/dist/components/Field/index.d.ts +0 -1
- package/dist/components/Header/Header.d.ts +18 -0
- package/dist/components/Header/HeaderActions.d.ts +12 -0
- package/dist/components/Header/HeaderBackButton.d.ts +10 -0
- package/dist/components/Header/HeaderContent.d.ts +12 -0
- package/dist/components/Header/HeaderTitle.d.ts +12 -0
- package/dist/components/Header/SubHeader.d.ts +12 -0
- package/dist/components/Header/index.d.ts +8 -0
- package/dist/components/Icon/Icon.d.ts +19 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Label/Label.d.ts +12 -0
- package/dist/components/LabeledValue/LabeledValue.d.ts +25 -0
- package/dist/components/LabeledValue/index.d.ts +1 -0
- package/dist/components/Layout/Box.d.ts +6 -6
- package/dist/components/Layout/Grid.d.ts +6 -6
- package/dist/components/Layout/Group.d.ts +6 -6
- package/dist/components/Layout/Layout.d.ts +12 -13
- package/dist/components/Layout/Row.d.ts +18 -0
- package/dist/components/Layout/Sidebar.d.ts +12 -14
- package/dist/components/Layout/Stack.d.ts +6 -7
- package/dist/components/Layout/Switcher.d.ts +6 -7
- package/dist/components/Layout/index.d.ts +2 -1
- package/dist/components/Link/Link.d.ts +14 -0
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/LogoLoader/LogoLoader.d.ts +13 -0
- package/dist/components/LogoLoader/index.d.ts +2 -0
- package/dist/components/PageContent/Body.d.ts +12 -0
- package/dist/components/PageContent/PageContent.d.ts +14 -0
- package/dist/components/PageContent/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +16 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +6 -7
- package/dist/components/ProgressBar/index.d.ts +0 -1
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -7
- package/dist/components/ProgressBarCountdown/index.d.ts +0 -1
- package/dist/components/RadioGroup/Radio.d.ts +8 -8
- package/dist/components/RadioGroup/RadioGroup.d.ts +9 -14
- package/dist/components/RadioGroup/index.d.ts +0 -1
- package/dist/components/Section/Section.d.ts +9 -11
- package/dist/components/Section/SectionTitle.d.ts +10 -9
- package/dist/components/Section/index.d.ts +0 -1
- package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +13 -0
- package/dist/components/SpinnerWheel/index.d.ts +2 -0
- package/dist/components/Steps/Step.d.ts +12 -0
- package/dist/components/Steps/Steps.d.ts +20 -0
- package/dist/components/Steps/index.d.ts +5 -0
- package/dist/components/Steps/useSteps.d.ts +10 -0
- package/dist/components/Switch/Switch.d.ts +14 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +33 -0
- package/dist/components/Table/TableActions.d.ts +12 -0
- package/dist/components/Table/TableBody.d.ts +12 -0
- package/dist/components/Table/TableCell.d.ts +12 -0
- package/dist/components/Table/TableFeedback.d.ts +12 -0
- package/dist/components/Table/TableFoot.d.ts +12 -0
- package/dist/components/Table/TableHead.d.ts +12 -0
- package/dist/components/Table/TableHeadCell.d.ts +15 -0
- package/dist/components/Table/TableRow.d.ts +12 -0
- package/dist/components/Table/TableToolbar.d.ts +12 -0
- package/dist/components/Table/index.d.ts +21 -0
- package/dist/components/Tabs/Tab.d.ts +9 -8
- package/dist/components/Tabs/TabPanel.d.ts +6 -7
- package/dist/components/Tabs/Tabs.d.ts +12 -13
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Tag/ActionableTag.d.ts +20 -0
- package/dist/components/Tag/Tag.d.ts +8 -11
- package/dist/components/Tag/index.d.ts +2 -1
- package/dist/components/Text/Text.d.ts +11 -13
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +18 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextField/TextField.d.ts +13 -11
- package/dist/components/TextField/index.d.ts +0 -1
- package/dist/components/Timeline/Timeline.d.ts +22 -0
- package/dist/components/Timeline/TimelineExpandableItem.d.ts +12 -0
- package/dist/components/Timeline/TimelineItem.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemBody.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemFooter.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeader.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemIcon.d.ts +12 -0
- package/dist/components/Timeline/index.d.ts +10 -0
- package/dist/components/ToggleGroup/Toggle.d.ts +9 -8
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +18 -13
- package/dist/components/ToggleGroup/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +10 -11
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/index.d.ts +87 -1
- package/dist/index.js +1198 -3
- package/dist/styles/variables.css +2 -0
- package/dist/styles/variables.scss +3 -0
- package/dist/tests/constants.d.ts +0 -1
- package/dist/tests/types.d.ts +0 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.js +2 -0
- package/dist/utils/createComponent.d.ts +5 -45
- package/dist/utils/types.d.ts +6 -1
- package/dist/utils/utils.d.ts +0 -1
- package/package.json +12 -16
- package/dist/components/Banner/Banner.d.ts.map +0 -1
- package/dist/components/Banner/BannerActionPrimary.d.ts.map +0 -1
- package/dist/components/Banner/BannerActionSecondary.d.ts.map +0 -1
- package/dist/components/Banner/BannerActions.d.ts.map +0 -1
- package/dist/components/Banner/BannerDescription.d.ts.map +0 -1
- package/dist/components/Banner/BannerIcon.d.ts.map +0 -1
- package/dist/components/Banner/BannerTitle.d.ts.map +0 -1
- package/dist/components/Banner/index.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/Card/Card.d.ts.map +0 -1
- package/dist/components/Card/CardBody.d.ts.map +0 -1
- package/dist/components/Card/CardDivider.d.ts.map +0 -1
- package/dist/components/Card/CardSubtitle.d.ts.map +0 -1
- package/dist/components/Card/CardTitle.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Dialog/Dialog.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionPrimary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionSecondary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionTertiary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActions.d.ts.map +0 -1
- package/dist/components/Dialog/DialogBody.d.ts.map +0 -1
- package/dist/components/Dialog/DialogClose.d.ts.map +0 -1
- package/dist/components/Dialog/DialogFooter.d.ts.map +0 -1
- package/dist/components/Dialog/DialogHeader.d.ts.map +0 -1
- package/dist/components/Dialog/index.d.ts.map +0 -1
- package/dist/components/Divider/Divider.d.ts.map +0 -1
- package/dist/components/Divider/index.d.ts.map +0 -1
- package/dist/components/Field/Field.d.ts.map +0 -1
- package/dist/components/Field/FieldHint.d.ts.map +0 -1
- package/dist/components/Field/FieldLabel.d.ts.map +0 -1
- package/dist/components/Field/index.d.ts.map +0 -1
- package/dist/components/Layout/Box.d.ts.map +0 -1
- package/dist/components/Layout/Grid.d.ts.map +0 -1
- package/dist/components/Layout/Group.d.ts.map +0 -1
- package/dist/components/Layout/Layout.d.ts.map +0 -1
- package/dist/components/Layout/Sidebar.d.ts.map +0 -1
- package/dist/components/Layout/Stack.d.ts.map +0 -1
- package/dist/components/Layout/Switcher.d.ts.map +0 -1
- package/dist/components/Layout/index.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/components/ProgressBar/index.d.ts.map +0 -1
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +0 -1
- package/dist/components/ProgressBarCountdown/index.d.ts.map +0 -1
- package/dist/components/RadioGroup/Radio.d.ts.map +0 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/dist/components/RadioGroup/index.d.ts.map +0 -1
- package/dist/components/Section/Section.d.ts.map +0 -1
- package/dist/components/Section/SectionTitle.d.ts.map +0 -1
- package/dist/components/Section/index.d.ts.map +0 -1
- package/dist/components/Tabs/Tab.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanel.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Tabs/index.d.ts.map +0 -1
- package/dist/components/Tag/Tag.d.ts.map +0 -1
- package/dist/components/Tag/index.d.ts.map +0 -1
- package/dist/components/Text/Text.d.ts.map +0 -1
- package/dist/components/Text/index.d.ts.map +0 -1
- package/dist/components/TextField/TextField.d.ts.map +0 -1
- package/dist/components/TextField/index.d.ts.map +0 -1
- package/dist/components/ToggleGroup/Toggle.d.ts.map +0 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +0 -1
- package/dist/components/ToggleGroup/index.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/Tooltip/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tests/constants.d.ts.map +0 -1
- package/dist/tests/types.d.ts.map +0 -1
- package/dist/utils/createComponent.d.ts.map +0 -1
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/utils.d.ts.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { Accordion as WCAccordion } from '@loadsmart/miranda-wc';
|
|
4
|
+
import type { AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
|
|
5
|
+
declare global {
|
|
6
|
+
namespace JSX {
|
|
7
|
+
interface IntrinsicElements {
|
|
8
|
+
'm-accordion': WebComponentProps<WCAccordion>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
declare const Accordion: import("@lit/react").ReactWebComponent<WCAccordion, {
|
|
13
|
+
onToggle: EventName<CustomEvent<AccordionToggleEventDetails>>;
|
|
14
|
+
}> & {
|
|
15
|
+
Title: import("react").ForwardRefExoticComponent<Omit<import("./AccordionTitle").AccordionTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").AccordionTitle>>;
|
|
16
|
+
Content: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").AccordionContent, {}>;
|
|
17
|
+
};
|
|
18
|
+
export type AccordionProps = ComponentProps<typeof Accordion>;
|
|
19
|
+
export default Accordion;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
|
+
import { AccordionContent as WCAccordionContent } from '@loadsmart/miranda-wc';
|
|
3
|
+
declare global {
|
|
4
|
+
namespace JSX {
|
|
5
|
+
interface IntrinsicElements {
|
|
6
|
+
'm-accordion-content': WebComponentProps<WCAccordionContent>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const AccordionContent: import("@lit/react").ReactWebComponent<WCAccordionContent, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { AccordionTitle as WCAccordionTitle } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-accordion-title': WebComponentProps<WCAccordionTitle>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredAccordionTitle: import("@lit/react").ReactWebComponent<WCAccordionTitle, {}>;
|
|
12
|
+
export type AccordionTitleProps = Omit<ComponentProps<typeof WiredAccordionTitle>, 'slot'> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
export declare const AccordionTitle: import("react").ForwardRefExoticComponent<Omit<AccordionTitleProps, "ref"> & import("react").RefAttributes<WCAccordionTitle>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { Badge as WCBadge } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-badge': WebComponentProps<WCBadge>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const Badge: import("@lit/react").ReactWebComponent<WCBadge, {}>;
|
|
12
|
+
export type BadgeProps = ComponentProps<typeof Badge>;
|
|
@@ -1,32 +1,22 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
2
3
|
import { Banner as WCBanner } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { BannerProps as WCBannerProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
import { BannerActionPrimary } from './BannerActionPrimary';
|
|
5
|
-
import { BannerActions } from './BannerActions';
|
|
6
|
-
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
4
|
declare global {
|
|
15
5
|
namespace JSX {
|
|
16
6
|
interface IntrinsicElements {
|
|
17
|
-
'm-banner':
|
|
7
|
+
'm-banner': WebComponentProps<WCBanner>;
|
|
18
8
|
}
|
|
19
9
|
}
|
|
20
10
|
}
|
|
21
|
-
export declare
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
11
|
+
export declare const Banner: import("@lit/react").ReactWebComponent<WCBanner, {
|
|
12
|
+
onDismiss: EventName<CustomEvent<any>>;
|
|
13
|
+
}> & {
|
|
14
|
+
ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionPrimary").BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionPrimary>>;
|
|
15
|
+
Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerActions, {}>;
|
|
16
|
+
ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionSecondary").BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionSecondary>>;
|
|
17
|
+
Description: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerDescription, {}>;
|
|
18
|
+
Icon: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerIcon, {}>;
|
|
19
|
+
Title: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerTitle, {}>;
|
|
20
|
+
};
|
|
21
|
+
export type BannerProps = ComponentProps<typeof Banner>;
|
|
31
22
|
export type { BannerVariant } from '@loadsmart/miranda-wc';
|
|
32
|
-
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WebComponentProps } from '@lit/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
|
}
|
|
13
|
-
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const WiredBannerActionPrimary: import("@lit/react").ReactWebComponent<WCBannerActionPrimary, {}>;
|
|
12
|
+
export type BannerActionPrimaryProps = ComponentProps<typeof WiredBannerActionPrimary> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare const BannerActionPrimary: import("react").ForwardRefExoticComponent<Omit<BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<WCBannerActionPrimary>>;
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
-
|
|
17
|
-
|
|
11
|
+
declare const WiredBannerActionSecondary: import("@lit/react").ReactWebComponent<WCBannerActionSecondary, {}>;
|
|
12
|
+
export type BannerActionSecondaryProps = ComponentProps<typeof WiredBannerActionSecondary> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare const BannerActionSecondary: import("react").ForwardRefExoticComponent<Omit<BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<WCBannerActionSecondary>>;
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
-
}
|
|
17
|
-
//# sourceMappingURL=BannerActions.d.ts.map
|
|
11
|
+
export declare const BannerActions: import("@lit/react").ReactWebComponent<WCBannerActions, {}>;
|
|
12
|
+
export type BannerActionsProps = ComponentProps<typeof BannerActions>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
-
}
|
|
17
|
-
//# sourceMappingURL=BannerDescription.d.ts.map
|
|
11
|
+
export declare const BannerDescription: import("@lit/react").ReactWebComponent<WCBannerDescription, {}>;
|
|
12
|
+
export type BannerDescriptionProps = ComponentProps<typeof BannerDescription>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
-
}
|
|
17
|
-
//# sourceMappingURL=BannerIcon.d.ts.map
|
|
11
|
+
export declare const BannerIcon: import("@lit/react").ReactWebComponent<WCBannerIcon, {}>;
|
|
12
|
+
export type BannerIconProps = ComponentProps<typeof BannerIcon>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
-
}
|
|
17
|
-
//# sourceMappingURL=BannerTitle.d.ts.map
|
|
11
|
+
export declare const BannerTitle: import("@lit/react").ReactWebComponent<WCBannerTitle, {}>;
|
|
12
|
+
export type BannerTitleProps = ComponentProps<typeof BannerTitle>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
}
|
|
15
|
-
declare
|
|
11
|
+
declare const WiredButton: import("@lit/react").ReactWebComponent<WCButton, {}>;
|
|
12
|
+
export interface ButtonProps extends ComponentProps<typeof WiredButton> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<WCButton>>;
|
|
16
17
|
export default Button;
|
|
17
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,23 +1,35 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { CardBody } from './CardBody';
|
|
6
|
-
import { CardDivider } from './CardDivider';
|
|
7
|
-
export type CardProps = HTMLAttributes<HTMLElement> & WCCardProps;
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { Card as WCCard } from '@loadsmart/miranda-wc';
|
|
4
|
+
import type { CardToggleEventDetails } from '@loadsmart/miranda-wc';
|
|
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
|
-
|
|
12
|
+
declare const Card: import("@lit/react").ReactWebComponent<WCCard, {
|
|
13
|
+
onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
|
|
14
|
+
}> & {
|
|
15
|
+
Title: import("react").ForwardRefExoticComponent<Omit<import("./CardTitle").CardTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardTitle>>;
|
|
16
|
+
Subtitle: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardSubtitle, {}>;
|
|
17
|
+
Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardBody, {}>;
|
|
18
|
+
Divider: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardDivider, {}>;
|
|
19
|
+
ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionPrimary").CardActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionPrimary>>;
|
|
20
|
+
ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionSecondary").CardActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionSecondary>>;
|
|
21
|
+
ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionTertiary").CardActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionTertiary>>;
|
|
22
|
+
Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardFooter, {}>;
|
|
23
|
+
};
|
|
24
|
+
declare module 'react' {
|
|
25
|
+
interface CSSProperties {
|
|
26
|
+
'--m-card-body-padding'?: string;
|
|
27
|
+
'--m-card-border-top'?: string;
|
|
28
|
+
'--m-card-border-left'?: string;
|
|
29
|
+
'--m-card-border-bottom'?: string;
|
|
30
|
+
'--m-card-border-right'?: string;
|
|
31
|
+
'--m-card-border-radius'?: string;
|
|
32
|
+
}
|
|
21
33
|
}
|
|
34
|
+
export type CardProps = ComponentProps<typeof Card>;
|
|
22
35
|
export default Card;
|
|
23
|
-
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { CardActionPrimary as WCCardActionPrimary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-card-action-primary': WebComponentProps<WCCardActionPrimary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredCardActionPrimary: import("@lit/react").ReactWebComponent<WCCardActionPrimary, {}>;
|
|
12
|
+
export interface CardActionPrimaryProps extends ComponentProps<typeof WiredCardActionPrimary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const CardActionPrimary: import("react").ForwardRefExoticComponent<Omit<CardActionPrimaryProps, "ref"> & import("react").RefAttributes<WCCardActionPrimary>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { CardActionSecondary as WCCardActionSecondary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-card-action-secondary': WebComponentProps<WCCardActionSecondary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredCardActionSecondary: import("@lit/react").ReactWebComponent<WCCardActionSecondary, {}>;
|
|
12
|
+
export interface CardActionSecondaryProps extends ComponentProps<typeof WiredCardActionSecondary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const CardActionSecondary: import("react").ForwardRefExoticComponent<Omit<CardActionSecondaryProps, "ref"> & import("react").RefAttributes<WCCardActionSecondary>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { CardActionTertiary as WCCardActionTertiary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-card-action-tertiary': WebComponentProps<WCCardActionTertiary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredCardActionTertiary: import("@lit/react").ReactWebComponent<WCCardActionTertiary, {}>;
|
|
12
|
+
export interface CardActionTertiaryProps extends ComponentProps<typeof WiredCardActionTertiary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const CardActionTertiary: import("react").ForwardRefExoticComponent<Omit<CardActionTertiaryProps, "ref"> & import("react").RefAttributes<WCCardActionTertiary>>;
|
|
17
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
|
12
|
-
|
|
11
|
+
export declare const CardBody: import("@lit/react").ReactWebComponent<WCCardBody, {}>;
|
|
12
|
+
export type CardBodyProps = ComponentProps<typeof CardBody>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
|
13
|
-
|
|
11
|
+
export declare const CardDivider: import("@lit/react").ReactWebComponent<WCCardDivider, {}>;
|
|
12
|
+
export type CardDividerProps = ComponentProps<typeof CardDivider>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { CardFooter as WCCardFooter } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-card-footer': WebComponentProps<WCCardFooter>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const CardFooter: import("@lit/react").ReactWebComponent<WCCardFooter, {}>;
|
|
12
|
+
export type CardFooterProps = ComponentProps<typeof CardFooter>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
|
12
|
-
|
|
11
|
+
export declare const CardSubtitle: import("@lit/react").ReactWebComponent<WCCardSubtitle, {}>;
|
|
12
|
+
export type CardSubtitleProps = ComponentProps<typeof CardSubtitle>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/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
|
}
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
declare const WiredCardTitle: import("@lit/react").ReactWebComponent<WCCardTitle, {}>;
|
|
12
|
+
export type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'> & {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
export declare const CardTitle: import("react").ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & import("react").RefAttributes<WCCardTitle>>;
|
|
16
|
+
export {};
|
|
@@ -1,19 +1,18 @@
|
|
|
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
|
-
export interface CheckboxHTMLAttributes extends Omit<HTMLAttributes<WCCheckbox>, 'onChange'>, WCCheckboxProps {
|
|
5
|
-
onChange?: (event: CustomEvent<CheckboxChangeEventDetail>) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface CheckboxProps extends CheckboxHTMLAttributes {
|
|
8
|
-
leading?: ReactNode;
|
|
9
|
-
}
|
|
3
|
+
import type { WebComponentProps } from '@lit/react';
|
|
10
4
|
declare global {
|
|
11
5
|
namespace JSX {
|
|
12
6
|
interface IntrinsicElements {
|
|
13
|
-
'm-checkbox':
|
|
7
|
+
'm-checkbox': WebComponentProps<WCCheckbox>;
|
|
14
8
|
}
|
|
15
9
|
}
|
|
16
10
|
}
|
|
17
|
-
declare
|
|
11
|
+
declare const WiredCheckbox: import("@lit/react").ReactWebComponent<WCCheckbox, {
|
|
12
|
+
onChange: string;
|
|
13
|
+
}>;
|
|
14
|
+
export type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
|
|
15
|
+
leading?: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<WCCheckbox>>;
|
|
18
18
|
export default Checkbox;
|
|
19
|
-
//# sourceMappingURL=Checkbox.d.ts.map
|