@loadsmart/miranda-react 3.9.0 → 3.11.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/index.d.ts +91 -19
- package/dist/index.js +98 -1
- package/dist/tokens.d.ts +18 -18
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { FilePickerFile } from '@loadsmart/miranda-wc';
|
|
|
30
30
|
import { FileStatus } from '@loadsmart/miranda-wc';
|
|
31
31
|
import { ForwardRefExoticComponent } from 'react';
|
|
32
32
|
import { HeaderTabs as HeaderTabs_2 } from '@loadsmart/miranda-wc';
|
|
33
|
-
import { IconName } from '@loadsmart/miranda-
|
|
33
|
+
import { IconName } from '@loadsmart/miranda-icons';
|
|
34
34
|
import { InputHTMLAttributes } from 'react';
|
|
35
35
|
import { JustifyContentValue } from '@loadsmart/miranda-wc';
|
|
36
36
|
import { LinkReferrerPolicy } from '@loadsmart/miranda-wc';
|
|
@@ -87,6 +87,9 @@ import { TimelineItemVariant } from '@loadsmart/miranda-wc';
|
|
|
87
87
|
import { ToggleSize } from '@loadsmart/miranda-wc';
|
|
88
88
|
import { TooltipPlacement } from '@loadsmart/miranda-wc';
|
|
89
89
|
import { TooltipTrigger } from '@loadsmart/miranda-wc';
|
|
90
|
+
import { TopNavigation as TopNavigation_2 } from '@loadsmart/miranda-wc';
|
|
91
|
+
import { TopNavigationActions as TopNavigationActions_2 } from '@loadsmart/miranda-wc';
|
|
92
|
+
import { TopNavigationItem as TopNavigationItem_2 } from '@loadsmart/miranda-wc';
|
|
90
93
|
import { TypographyVariant } from '@loadsmart/miranda-wc';
|
|
91
94
|
import { Accordion as WCAccordion } from '@loadsmart/miranda-wc';
|
|
92
95
|
import { AccordionContent as WCAccordionContent } from '@loadsmart/miranda-wc';
|
|
@@ -869,6 +872,58 @@ export declare type SidebarProps = ComponentProps<typeof Sidebar>;
|
|
|
869
872
|
|
|
870
873
|
export declare type SidebarSideProps = Omit<BoxProps, 'slot'>;
|
|
871
874
|
|
|
875
|
+
export declare const SideNavigation: ReactWebComponent<WCSideNavigation, {}> & {
|
|
876
|
+
Body: ReactWebComponent<WCSideNavigationBody, {}>;
|
|
877
|
+
Divider: ReactWebComponent<WCSideNavigationDivider, {}>;
|
|
878
|
+
Footer: ReactWebComponent<WCSideNavigationFooter, {}>;
|
|
879
|
+
Header: ReactWebComponent<WCSideNavigationHeader, {}>;
|
|
880
|
+
Item: ForwardRefExoticComponent<Omit<SideNavigationItemProps, "ref"> & RefAttributes<WCSideNavigationItem>>;
|
|
881
|
+
SubNav: ReactWebComponent<WCSideNavigationSubNav, {}>;
|
|
882
|
+
SubNavContent: ReactWebComponent<WCSideNavigationSubNavContent, {}>;
|
|
883
|
+
SubNavItem: ReactWebComponent<WCSideNavigationSubNavItem, {}>;
|
|
884
|
+
SubNavTitle: ReactWebComponent<WCSideNavigationSubNavTitle, {}>;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
export declare const SideNavigationBody: ReactWebComponent<WCSideNavigationBody, {}>;
|
|
888
|
+
|
|
889
|
+
export declare type SideNavigationBodyProps = ComponentProps<typeof SideNavigationBody>;
|
|
890
|
+
|
|
891
|
+
export declare const SideNavigationDivider: ReactWebComponent<WCSideNavigationDivider, {}>;
|
|
892
|
+
|
|
893
|
+
export declare type SideNavigationDividerProps = ComponentProps<typeof SideNavigationDivider>;
|
|
894
|
+
|
|
895
|
+
export declare const SideNavigationFooter: ReactWebComponent<WCSideNavigationFooter, {}>;
|
|
896
|
+
|
|
897
|
+
export declare type SideNavigationFooterProps = ComponentProps<typeof SideNavigationFooter>;
|
|
898
|
+
|
|
899
|
+
export declare const SideNavigationHeader: ReactWebComponent<WCSideNavigationHeader, {}>;
|
|
900
|
+
|
|
901
|
+
export declare type SideNavigationHeaderProps = ComponentProps<typeof SideNavigationHeader>;
|
|
902
|
+
|
|
903
|
+
export declare const SideNavigationItem: default_2.ForwardRefExoticComponent<Omit<SideNavigationItemProps, "ref"> & default_2.RefAttributes<WCSideNavigationItem>>;
|
|
904
|
+
|
|
905
|
+
export declare interface SideNavigationItemProps extends ComponentProps<typeof WiredSideNavigationItem> {
|
|
906
|
+
leading?: ReactNode;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
export declare type SideNavigationProps = ComponentProps<typeof SideNavigation>;
|
|
910
|
+
|
|
911
|
+
export declare const SideNavigationSubNav: ReactWebComponent<WCSideNavigationSubNav, {}>;
|
|
912
|
+
|
|
913
|
+
export declare const SideNavigationSubNavContent: ReactWebComponent<WCSideNavigationSubNavContent, {}>;
|
|
914
|
+
|
|
915
|
+
export declare type SideNavigationSubNavContentProps = ComponentProps<typeof SideNavigationSubNavContent>;
|
|
916
|
+
|
|
917
|
+
export declare const SideNavigationSubNavItem: ReactWebComponent<WCSideNavigationSubNavItem, {}>;
|
|
918
|
+
|
|
919
|
+
export declare type SideNavigationSubNavItemProps = ComponentProps<typeof SideNavigationSubNavItem>;
|
|
920
|
+
|
|
921
|
+
export declare type SideNavigationSubNavProps = ComponentProps<typeof SideNavigationSubNav>;
|
|
922
|
+
|
|
923
|
+
export declare const SideNavigationSubNavTitle: ReactWebComponent<WCSideNavigationSubNavTitle, {}>;
|
|
924
|
+
|
|
925
|
+
export declare type SideNavigationSubNavTitleProps = ComponentProps<typeof SideNavigationSubNavTitle>;
|
|
926
|
+
|
|
872
927
|
export declare const SpinnerWheel: ReactWebComponent<WCSpinnerWheel, {}>;
|
|
873
928
|
|
|
874
929
|
export declare type SpinnerWheelProps = ComponentProps<typeof SpinnerWheel>;
|
|
@@ -1203,6 +1258,21 @@ export declare type TooltipProps = ComponentProps<typeof WiredTooltip> & {
|
|
|
1203
1258
|
|
|
1204
1259
|
export { TooltipTrigger }
|
|
1205
1260
|
|
|
1261
|
+
export declare const TopNavigation: ReactWebComponent<TopNavigation_2, {}> & {
|
|
1262
|
+
Actions: ReactWebComponent<TopNavigationActions_2, {}>;
|
|
1263
|
+
Item: ReactWebComponent<TopNavigationItem_2, {}>;
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
export declare const TopNavigationActions: ReactWebComponent<TopNavigationActions_2, {}>;
|
|
1267
|
+
|
|
1268
|
+
export declare type TopNavigationActionsProps = ComponentProps<typeof TopNavigationActions>;
|
|
1269
|
+
|
|
1270
|
+
export declare const TopNavigationItem: ReactWebComponent<TopNavigationItem_2, {}>;
|
|
1271
|
+
|
|
1272
|
+
export declare type TopNavigationItemProps = ComponentProps<typeof TopNavigationItem>;
|
|
1273
|
+
|
|
1274
|
+
export declare type TopNavigationProps = ComponentProps<typeof TopNavigation>;
|
|
1275
|
+
|
|
1206
1276
|
export { TypographyVariant }
|
|
1207
1277
|
|
|
1208
1278
|
export declare function useSteps(): {
|
|
@@ -1646,6 +1716,8 @@ onChange: EventName<MirandaChangeEvent<WCSelect>>;
|
|
|
1646
1716
|
|
|
1647
1717
|
declare const WiredSelectOption: ReactWebComponent<WCSelectOption, {}>;
|
|
1648
1718
|
|
|
1719
|
+
declare const WiredSideNavigationItem: ReactWebComponent<WCSideNavigationItem, {}>;
|
|
1720
|
+
|
|
1649
1721
|
declare const WiredTab: ReactWebComponent<WCTab, {}>;
|
|
1650
1722
|
|
|
1651
1723
|
declare const WiredTag: ReactWebComponent<WCTag, {}>;
|
|
@@ -1674,37 +1746,40 @@ export { }
|
|
|
1674
1746
|
|
|
1675
1747
|
declare module 'react' {
|
|
1676
1748
|
interface CSSProperties {
|
|
1677
|
-
'--m-
|
|
1678
|
-
'--m-
|
|
1679
|
-
'--m-
|
|
1749
|
+
'--m-card-body-padding'?: string;
|
|
1750
|
+
'--m-card-border-top'?: string;
|
|
1751
|
+
'--m-card-border-left'?: string;
|
|
1752
|
+
'--m-card-border-bottom'?: string;
|
|
1753
|
+
'--m-card-border-right'?: string;
|
|
1754
|
+
'--m-card-border-radius'?: string;
|
|
1680
1755
|
}
|
|
1681
1756
|
}
|
|
1682
1757
|
|
|
1683
1758
|
|
|
1684
1759
|
declare module 'react' {
|
|
1685
1760
|
interface CSSProperties {
|
|
1686
|
-
'--m-
|
|
1687
|
-
'--m-
|
|
1761
|
+
'--m-divider-margin-top'?: string;
|
|
1762
|
+
'--m-divider-margin-bottom'?: string;
|
|
1763
|
+
'--m-divider-margin-y'?: string;
|
|
1688
1764
|
}
|
|
1689
1765
|
}
|
|
1690
1766
|
|
|
1691
1767
|
|
|
1692
1768
|
declare module 'react' {
|
|
1693
1769
|
interface CSSProperties {
|
|
1694
|
-
'--m-
|
|
1695
|
-
'--m-
|
|
1696
|
-
'--m-card-border-left'?: string;
|
|
1697
|
-
'--m-card-border-bottom'?: string;
|
|
1698
|
-
'--m-card-border-right'?: string;
|
|
1699
|
-
'--m-card-border-radius'?: string;
|
|
1770
|
+
'--m-icon-size'?: string;
|
|
1771
|
+
'--m-icon-color'?: string;
|
|
1700
1772
|
}
|
|
1701
1773
|
}
|
|
1702
1774
|
|
|
1703
1775
|
|
|
1704
1776
|
declare module 'react' {
|
|
1705
1777
|
interface CSSProperties {
|
|
1706
|
-
'--m-
|
|
1707
|
-
'--m-
|
|
1778
|
+
'--m-table-border-radius'?: string;
|
|
1779
|
+
'--m-table-border-top-left-radius'?: string;
|
|
1780
|
+
'--m-table-border-top-right-radius'?: string;
|
|
1781
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
1782
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
1708
1783
|
}
|
|
1709
1784
|
}
|
|
1710
1785
|
|
|
@@ -1734,10 +1809,7 @@ declare module 'react' {
|
|
|
1734
1809
|
|
|
1735
1810
|
declare module 'react' {
|
|
1736
1811
|
interface CSSProperties {
|
|
1737
|
-
'--m-
|
|
1738
|
-
'--m-
|
|
1739
|
-
'--m-table-border-top-right-radius'?: string;
|
|
1740
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
1741
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
1812
|
+
'--m-text-display'?: string;
|
|
1813
|
+
'--m-text-max-width'?: string;
|
|
1742
1814
|
}
|
|
1743
1815
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, BackButton as BackButton$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownDivider as DropdownDivider$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, HeaderTabs as HeaderTabs$1, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$2, TableBody as TableBody$2, TableFoot as TableFoot$2, TableRow as TableRow$2, TableCell as TableCell$2, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$2, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$2, TableHeadV2, TableBodyV2, TableFootV2, TableRowV2, TableCellV2, TableHeadCellV2, TableRowSelectV2, TableRowExpandV2, TableV2, TableLayoutToolbar as TableLayoutToolbar$1, TableLayoutFeedback as TableLayoutFeedback$1, TableLayoutActions as TableLayoutActions$1, TableLayout as TableLayout$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1, FileItem, FilePicker as FilePicker$1 } from "@loadsmart/miranda-wc";
|
|
1
|
+
import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, BackButton as BackButton$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownDivider as DropdownDivider$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, HeaderTabs as HeaderTabs$1, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SideNavigationBody as SideNavigationBody$1, SideNavigationDivider as SideNavigationDivider$1, SideNavigationFooter as SideNavigationFooter$1, SideNavigationHeader as SideNavigationHeader$1, SideNavigationItem as SideNavigationItem$1, SideNavigationSubNav as SideNavigationSubNav$1, SideNavigationSubNavContent as SideNavigationSubNavContent$1, SideNavigationSubNavItem as SideNavigationSubNavItem$1, SideNavigationSubNavTitle as SideNavigationSubNavTitle$1, SideNavigation as SideNavigation$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$2, TableBody as TableBody$2, TableFoot as TableFoot$2, TableRow as TableRow$2, TableCell as TableCell$2, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$2, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$2, TableHeadV2, TableBodyV2, TableFootV2, TableRowV2, TableCellV2, TableHeadCellV2, TableRowSelectV2, TableRowExpandV2, TableV2, TableLayoutToolbar as TableLayoutToolbar$1, TableLayoutFeedback as TableLayoutFeedback$1, TableLayoutActions as TableLayoutActions$1, TableLayout as TableLayout$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, TopNavigationActions as TopNavigationActions$1, TopNavigationItem as TopNavigationItem$1, TopNavigation as TopNavigation$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1, FileItem, FilePicker as FilePicker$1 } from "@loadsmart/miranda-wc";
|
|
2
2
|
import { DIALOG_SIZES, DIALOG_VARIANTS, DRAWER_SIZES, EMPTY_STATE_VARIANTS, Accordion, AccordionContent, AccordionTitle, ActionableTag, BackButton, Badge, Banner, BannerActionPrimary, BannerActionSecondary, BannerActions, BannerDescription, BannerIcon, BannerTitle, Body, Box, Button, Card, CardActionPrimary, CardActionSecondary, CardActionTertiary, CardBody, CardDivider, CardFooter, CardSubtitle, CardTitle, CaretButton, Checkbox, CloseButton, Column, Container, Dialog, DialogActionPrimary, DialogActionSecondary, DialogActionTertiary, DialogActions, DialogBody, DialogClose, DialogFooter, DialogHeader, Divider, Drawer, DrawerActionPrimary, DrawerActionSecondary, DrawerActionTertiary, DrawerActions, DrawerBody, DrawerClose, DrawerHeader, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, EmptyState, EmptyStateAction, EmptyStateHeader, EmptyStateIllustration, EmptyStateMessage, Field, FieldHint, FieldLabel, FilePicker, Grid, Group, Header, HeaderActions, HeaderContent, HeaderTitle, Icon, Label, LabeledValue, LabeledValueLabel, LabeledValueValue, Link, LogoLoader, PageContent, Pagination, ProgressBar, ProgressBarCountdown, Radio, RadioGroup, Row, Section, SectionTitle, Select, SelectOption, SideNavigation, SideNavigationBody, SideNavigationDivider, SideNavigationFooter, SideNavigationHeader, SideNavigationItem, SideNavigationSubNav, SideNavigationSubNavContent, SideNavigationSubNavItem, SideNavigationSubNavTitle, Sidebar, SpinnerWheel, Stack, Step, Steps, SubHeader, Switch, Switcher, Tab, TabPanel, Table, TableActions, TableBody, TableCell, TableFeedback, TableFoot, TableHead, TableHeadCell, TableRow, TableToolbar, TableV2 as TableV22, Tabs, Tag, Text, TextArea, TextField, Timeline, TimelineExpandableItem, TimelineItem, TimelineItemBody, TimelineItemFooter, TimelineItemHeader, TimelineItemHeaderSubtitle, TimelineItemHeaderTitle, TimelineItemIcon, Toggle, ToggleGroup, Tooltip } from "@loadsmart/miranda-wc";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { forwardRef, useState, useCallback, Children, isValidElement, cloneElement } from "react";
|
|
@@ -745,6 +745,71 @@ function Select2(props) {
|
|
|
745
745
|
);
|
|
746
746
|
}
|
|
747
747
|
Select2.Option = SelectOption2;
|
|
748
|
+
const SideNavigationBody2 = createComponent({
|
|
749
|
+
tagName: "m-side-navigation-body",
|
|
750
|
+
elementClass: SideNavigationBody$1,
|
|
751
|
+
displayName: "SideNavigationBody"
|
|
752
|
+
});
|
|
753
|
+
const SideNavigationDivider2 = createComponent({
|
|
754
|
+
tagName: "m-side-navigation-divider",
|
|
755
|
+
elementClass: SideNavigationDivider$1,
|
|
756
|
+
displayName: "SideNavigationDivider"
|
|
757
|
+
});
|
|
758
|
+
const SideNavigationFooter2 = createComponent({
|
|
759
|
+
tagName: "m-side-navigation-footer",
|
|
760
|
+
elementClass: SideNavigationFooter$1,
|
|
761
|
+
displayName: "SideNavigationFooter"
|
|
762
|
+
});
|
|
763
|
+
const SideNavigationHeader2 = createComponent({
|
|
764
|
+
tagName: "m-side-navigation-header",
|
|
765
|
+
elementClass: SideNavigationHeader$1,
|
|
766
|
+
displayName: "SideNavigationHeader"
|
|
767
|
+
});
|
|
768
|
+
const WiredSideNavigationItem = createComponent({
|
|
769
|
+
tagName: "m-side-navigation-item",
|
|
770
|
+
elementClass: SideNavigationItem$1,
|
|
771
|
+
displayName: "SideNavigationItem"
|
|
772
|
+
});
|
|
773
|
+
const SideNavigationItem2 = forwardRef((props, ref) => {
|
|
774
|
+
const { leading, children, ...rest } = props;
|
|
775
|
+
return /* @__PURE__ */ React__default.createElement(WiredSideNavigationItem, { ...rest, ref }, leading != null && /* @__PURE__ */ React__default.createElement("span", { slot: "leading" }, leading), children);
|
|
776
|
+
});
|
|
777
|
+
const SideNavigationSubNav2 = createComponent({
|
|
778
|
+
tagName: "m-side-navigation-sub-nav",
|
|
779
|
+
elementClass: SideNavigationSubNav$1,
|
|
780
|
+
displayName: "SideNavigationSubNav"
|
|
781
|
+
});
|
|
782
|
+
const SideNavigationSubNavContent2 = createComponent({
|
|
783
|
+
tagName: "m-side-navigation-sub-nav-content",
|
|
784
|
+
elementClass: SideNavigationSubNavContent$1,
|
|
785
|
+
displayName: "SideNavigationSubNavContent"
|
|
786
|
+
});
|
|
787
|
+
const SideNavigationSubNavItem2 = createComponent({
|
|
788
|
+
tagName: "m-side-navigation-sub-nav-item",
|
|
789
|
+
elementClass: SideNavigationSubNavItem$1,
|
|
790
|
+
displayName: "SideNavigationSubNavItem"
|
|
791
|
+
});
|
|
792
|
+
const SideNavigationSubNavTitle2 = createComponent({
|
|
793
|
+
tagName: "m-side-navigation-sub-nav-title",
|
|
794
|
+
elementClass: SideNavigationSubNavTitle$1,
|
|
795
|
+
displayName: "SideNavigationSubNavTitle"
|
|
796
|
+
});
|
|
797
|
+
const SideNavigation2 = createComponent({
|
|
798
|
+
tagName: "m-side-navigation",
|
|
799
|
+
elementClass: SideNavigation$1,
|
|
800
|
+
displayName: "SideNavigation",
|
|
801
|
+
subComponents: {
|
|
802
|
+
Body: SideNavigationBody2,
|
|
803
|
+
Divider: SideNavigationDivider2,
|
|
804
|
+
Footer: SideNavigationFooter2,
|
|
805
|
+
Header: SideNavigationHeader2,
|
|
806
|
+
Item: SideNavigationItem2,
|
|
807
|
+
SubNav: SideNavigationSubNav2,
|
|
808
|
+
SubNavContent: SideNavigationSubNavContent2,
|
|
809
|
+
SubNavItem: SideNavigationSubNavItem2,
|
|
810
|
+
SubNavTitle: SideNavigationSubNavTitle2
|
|
811
|
+
}
|
|
812
|
+
});
|
|
748
813
|
const SpinnerWheel2 = createComponent({
|
|
749
814
|
tagName: "m-spinner-wheel",
|
|
750
815
|
elementClass: SpinnerWheel$1,
|
|
@@ -1246,6 +1311,25 @@ function Tooltip2(props) {
|
|
|
1246
1311
|
})();
|
|
1247
1312
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(WiredTooltip, { anchor: anchorId, ...rest }, message), childWithId);
|
|
1248
1313
|
}
|
|
1314
|
+
const TopNavigationActions = createComponent({
|
|
1315
|
+
tagName: "m-top-navigation-actions",
|
|
1316
|
+
elementClass: TopNavigationActions$1,
|
|
1317
|
+
displayName: "TopNavigationActions"
|
|
1318
|
+
});
|
|
1319
|
+
const TopNavigationItem = createComponent({
|
|
1320
|
+
tagName: "m-top-navigation-item",
|
|
1321
|
+
elementClass: TopNavigationItem$1,
|
|
1322
|
+
displayName: "TopNavigationItem"
|
|
1323
|
+
});
|
|
1324
|
+
const TopNavigation = createComponent({
|
|
1325
|
+
tagName: "m-top-navigation",
|
|
1326
|
+
elementClass: TopNavigation$1,
|
|
1327
|
+
displayName: "TopNavigation",
|
|
1328
|
+
subComponents: {
|
|
1329
|
+
Actions: TopNavigationActions,
|
|
1330
|
+
Item: TopNavigationItem
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1249
1333
|
const LogoLoader2 = createComponent({
|
|
1250
1334
|
tagName: "m-logo-loader",
|
|
1251
1335
|
elementClass: LogoLoader$1,
|
|
@@ -1317,6 +1401,16 @@ export {
|
|
|
1317
1401
|
Row2 as Row,
|
|
1318
1402
|
Section2 as Section,
|
|
1319
1403
|
Select2 as Select,
|
|
1404
|
+
SideNavigation2 as SideNavigation,
|
|
1405
|
+
SideNavigationBody2 as SideNavigationBody,
|
|
1406
|
+
SideNavigationDivider2 as SideNavigationDivider,
|
|
1407
|
+
SideNavigationFooter2 as SideNavigationFooter,
|
|
1408
|
+
SideNavigationHeader2 as SideNavigationHeader,
|
|
1409
|
+
SideNavigationItem2 as SideNavigationItem,
|
|
1410
|
+
SideNavigationSubNav2 as SideNavigationSubNav,
|
|
1411
|
+
SideNavigationSubNavContent2 as SideNavigationSubNavContent,
|
|
1412
|
+
SideNavigationSubNavItem2 as SideNavigationSubNavItem,
|
|
1413
|
+
SideNavigationSubNavTitle2 as SideNavigationSubNavTitle,
|
|
1320
1414
|
Sidebar2 as Sidebar,
|
|
1321
1415
|
SpinnerWheel2 as SpinnerWheel,
|
|
1322
1416
|
Stack2 as Stack,
|
|
@@ -1368,6 +1462,9 @@ export {
|
|
|
1368
1462
|
Toggle2 as Toggle,
|
|
1369
1463
|
ToggleGroup2 as ToggleGroup,
|
|
1370
1464
|
Tooltip2 as Tooltip,
|
|
1465
|
+
TopNavigation,
|
|
1466
|
+
TopNavigationActions,
|
|
1467
|
+
TopNavigationItem,
|
|
1371
1468
|
Accordion as WCAccordion,
|
|
1372
1469
|
AccordionContent as WCAccordionContent,
|
|
1373
1470
|
AccordionTitle as WCAccordionTitle,
|
package/dist/tokens.d.ts
CHANGED
|
@@ -7,37 +7,40 @@ export { }
|
|
|
7
7
|
|
|
8
8
|
declare module 'react' {
|
|
9
9
|
interface CSSProperties {
|
|
10
|
-
'--m-
|
|
11
|
-
'--m-
|
|
12
|
-
'--m-
|
|
10
|
+
'--m-card-body-padding'?: string;
|
|
11
|
+
'--m-card-border-top'?: string;
|
|
12
|
+
'--m-card-border-left'?: string;
|
|
13
|
+
'--m-card-border-bottom'?: string;
|
|
14
|
+
'--m-card-border-right'?: string;
|
|
15
|
+
'--m-card-border-radius'?: string;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
|
|
17
20
|
declare module 'react' {
|
|
18
21
|
interface CSSProperties {
|
|
19
|
-
'--m-
|
|
20
|
-
'--m-
|
|
22
|
+
'--m-divider-margin-top'?: string;
|
|
23
|
+
'--m-divider-margin-bottom'?: string;
|
|
24
|
+
'--m-divider-margin-y'?: string;
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
declare module 'react' {
|
|
26
30
|
interface CSSProperties {
|
|
27
|
-
'--m-
|
|
28
|
-
'--m-
|
|
29
|
-
'--m-card-border-left'?: string;
|
|
30
|
-
'--m-card-border-bottom'?: string;
|
|
31
|
-
'--m-card-border-right'?: string;
|
|
32
|
-
'--m-card-border-radius'?: string;
|
|
31
|
+
'--m-icon-size'?: string;
|
|
32
|
+
'--m-icon-color'?: string;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
declare module 'react' {
|
|
38
38
|
interface CSSProperties {
|
|
39
|
-
'--m-
|
|
40
|
-
'--m-
|
|
39
|
+
'--m-table-border-radius'?: string;
|
|
40
|
+
'--m-table-border-top-left-radius'?: string;
|
|
41
|
+
'--m-table-border-top-right-radius'?: string;
|
|
42
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
43
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -67,10 +70,7 @@ declare module 'react' {
|
|
|
67
70
|
|
|
68
71
|
declare module 'react' {
|
|
69
72
|
interface CSSProperties {
|
|
70
|
-
'--m-
|
|
71
|
-
'--m-
|
|
72
|
-
'--m-table-border-top-right-radius'?: string;
|
|
73
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
74
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
73
|
+
'--m-text-display'?: string;
|
|
74
|
+
'--m-text-max-width'?: string;
|
|
75
75
|
}
|
|
76
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/miranda-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "React component library based on Miranda Web Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@figma/code-connect": "^1.3.3",
|
|
51
51
|
"@lit/react": "^1.0.5",
|
|
52
|
-
"@loadsmart/miranda-tokens": "4.
|
|
53
|
-
"@loadsmart/miranda-wc": "3.
|
|
52
|
+
"@loadsmart/miranda-tokens": "4.11.0",
|
|
53
|
+
"@loadsmart/miranda-wc": "3.11.0",
|
|
54
54
|
"react-is": "^18.3.1"
|
|
55
55
|
},
|
|
56
56
|
"directories": {
|