@loadsmart/miranda-react 3.7.0 → 3.8.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/index.d.ts +79 -23
- package/dist/index.js +24 -7
- package/dist/tokens.d.ts +13 -13
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
|
|
2
2
|
import { ActionableTagVariant } from '@loadsmart/miranda-wc';
|
|
3
3
|
import { AlignItemsValue } from '@loadsmart/miranda-wc';
|
|
4
|
-
import { BackButton as BackButton_2 } from '@loadsmart/miranda-wc';
|
|
5
4
|
import { BannerVariant } from '@loadsmart/miranda-wc';
|
|
6
|
-
import { Body as Body_2 } from '@loadsmart/miranda-wc';
|
|
7
5
|
import { ButtonSize } from '@loadsmart/miranda-wc';
|
|
8
6
|
import { ButtonType } from '@loadsmart/miranda-wc';
|
|
9
7
|
import { ButtonVariant } from '@loadsmart/miranda-wc';
|
|
@@ -27,7 +25,6 @@ import { EventName } from '@lit/react';
|
|
|
27
25
|
import { FieldSize } from '@loadsmart/miranda-wc';
|
|
28
26
|
import { FieldStatus } from '@loadsmart/miranda-wc';
|
|
29
27
|
import { FileItem } from '@loadsmart/miranda-wc';
|
|
30
|
-
import { FilePicker as FilePicker_2 } from '@loadsmart/miranda-wc';
|
|
31
28
|
import { FilePickerFile } from '@loadsmart/miranda-wc';
|
|
32
29
|
import { FileStatus } from '@loadsmart/miranda-wc';
|
|
33
30
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -81,7 +78,6 @@ import { TableSelectEventDetailsV2 } from '@loadsmart/miranda-wc';
|
|
|
81
78
|
import { TableSelectionCell as TableSelectionCell_2 } from '@loadsmart/miranda-wc';
|
|
82
79
|
import { TableSize } from '@loadsmart/miranda-wc';
|
|
83
80
|
import { TableSortDirection } from '@loadsmart/miranda-wc';
|
|
84
|
-
import { TableV2 as TableV2_2 } from '@loadsmart/miranda-wc';
|
|
85
81
|
import { TableV2Size } from '@loadsmart/miranda-wc';
|
|
86
82
|
import { TableV2SortDirection } from '@loadsmart/miranda-wc';
|
|
87
83
|
import { TagSize } from '@loadsmart/miranda-wc';
|
|
@@ -97,6 +93,7 @@ import { AccordionProps as WCAccordionProps } from '@loadsmart/miranda-wc';
|
|
|
97
93
|
import { AccordionTitle as WCAccordionTitle } from '@loadsmart/miranda-wc';
|
|
98
94
|
import { ActionableTag as WCActionableTag } from '@loadsmart/miranda-wc';
|
|
99
95
|
import { ActionableTagProps as WCActionableTagProps } from '@loadsmart/miranda-wc';
|
|
96
|
+
import { BackButton as WCBackButton } from '@loadsmart/miranda-wc';
|
|
100
97
|
import { Badge as WCBadge } from '@loadsmart/miranda-wc';
|
|
101
98
|
import { BadgeProps as WCBadgeProps } from '@loadsmart/miranda-wc';
|
|
102
99
|
import { Banner as WCBanner } from '@loadsmart/miranda-wc';
|
|
@@ -107,6 +104,7 @@ import { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc'
|
|
|
107
104
|
import { BannerIcon as WCBannerIcon } from '@loadsmart/miranda-wc';
|
|
108
105
|
import { BannerProps as WCBannerProps } from '@loadsmart/miranda-wc';
|
|
109
106
|
import { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
|
|
107
|
+
import { Body as WCBody } from '@loadsmart/miranda-wc';
|
|
110
108
|
import { Box as WCBox } from '@loadsmart/miranda-wc';
|
|
111
109
|
import { BoxProps as WCBoxProps } from '@loadsmart/miranda-wc';
|
|
112
110
|
import { Button as WCButton } from '@loadsmart/miranda-wc';
|
|
@@ -121,8 +119,11 @@ import { CardFooter as WCCardFooter } from '@loadsmart/miranda-wc';
|
|
|
121
119
|
import { CardProps as WCCardProps } from '@loadsmart/miranda-wc';
|
|
122
120
|
import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc';
|
|
123
121
|
import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc';
|
|
122
|
+
import { CaretButton as WCCaretButton } from '@loadsmart/miranda-wc';
|
|
124
123
|
import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
|
|
125
124
|
import { CheckboxProps as WCCheckboxProps } from '@loadsmart/miranda-wc';
|
|
125
|
+
import { CloseButton as WCCloseButton } from '@loadsmart/miranda-wc';
|
|
126
|
+
import { CloseButtonProps as WCCloseButtonProps } from '@loadsmart/miranda-wc';
|
|
126
127
|
import { Column as WCColumn } from '@loadsmart/miranda-wc';
|
|
127
128
|
import { ColumnProps as WCColumnProps } from '@loadsmart/miranda-wc';
|
|
128
129
|
import { Container as WCContainer } from '@loadsmart/miranda-wc';
|
|
@@ -137,6 +138,7 @@ import { DialogFooter as WCDialogFooter } from '@loadsmart/miranda-wc';
|
|
|
137
138
|
import { DialogHeader as WCDialogHeader } from '@loadsmart/miranda-wc';
|
|
138
139
|
import { DialogProps as WCDialogProps } from '@loadsmart/miranda-wc';
|
|
139
140
|
import { Divider as WCDivider } from '@loadsmart/miranda-wc';
|
|
141
|
+
import { DotsLoaderProps as WCDotsLoaderProps } from '@loadsmart/miranda-wc';
|
|
140
142
|
import { Drawer as WCDrawer } from '@loadsmart/miranda-wc';
|
|
141
143
|
import { DrawerActionPrimary as WCDrawerActionPrimary } from '@loadsmart/miranda-wc';
|
|
142
144
|
import { DrawerActions as WCDrawerActions } from '@loadsmart/miranda-wc';
|
|
@@ -164,6 +166,7 @@ import { FieldHintProps as WCFieldHintProps } from '@loadsmart/miranda-wc';
|
|
|
164
166
|
import { FieldLabel as WCFieldLabel } from '@loadsmart/miranda-wc';
|
|
165
167
|
import { FieldLabelProps as WCFieldLabelProps } from '@loadsmart/miranda-wc';
|
|
166
168
|
import { FieldProps as WCFieldProps } from '@loadsmart/miranda-wc';
|
|
169
|
+
import { FilePicker as WCFilePicker } from '@loadsmart/miranda-wc';
|
|
167
170
|
import { Grid as WCGrid } from '@loadsmart/miranda-wc';
|
|
168
171
|
import { GridProps as WCGridProps } from '@loadsmart/miranda-wc';
|
|
169
172
|
import { Group as WCGroup } from '@loadsmart/miranda-wc';
|
|
@@ -174,10 +177,12 @@ import { HeaderContent as WCHeaderContent } from '@loadsmart/miranda-wc';
|
|
|
174
177
|
import { HeaderTitle as WCHeaderTitle } from '@loadsmart/miranda-wc';
|
|
175
178
|
import { Icon as WCIcon } from '@loadsmart/miranda-wc';
|
|
176
179
|
import { IconProps as WCIconProps } from '@loadsmart/miranda-wc';
|
|
180
|
+
import { Label as WCLabel } from '@loadsmart/miranda-wc';
|
|
177
181
|
import { LabeledValue as WCLabeledValue } from '@loadsmart/miranda-wc';
|
|
178
182
|
import { LabeledValueLabel as WCLabeledValueLabel } from '@loadsmart/miranda-wc';
|
|
179
183
|
import { LabeledValueProps as WCLabeledValueProps } from '@loadsmart/miranda-wc';
|
|
180
184
|
import { LabeledValueValue as WCLabeledValueValue } from '@loadsmart/miranda-wc';
|
|
185
|
+
import { LabelProps as WCLabelProps } from '@loadsmart/miranda-wc';
|
|
181
186
|
import { Link as WCLink } from '@loadsmart/miranda-wc';
|
|
182
187
|
import { LogoLoader as WCLogoLoader } from '@loadsmart/miranda-wc';
|
|
183
188
|
import { LogoLoaderProps as WCLogoLoaderProps } from '@loadsmart/miranda-wc';
|
|
@@ -201,6 +206,16 @@ import { Select as WCSelect } from '@loadsmart/miranda-wc';
|
|
|
201
206
|
import { SelectOption as WCSelectOption } from '@loadsmart/miranda-wc';
|
|
202
207
|
import { Sidebar as WCSidebar } from '@loadsmart/miranda-wc';
|
|
203
208
|
import { SidebarProps as WCSidebarProps } from '@loadsmart/miranda-wc';
|
|
209
|
+
import { SideNavigation as WCSideNavigation } from '@loadsmart/miranda-wc';
|
|
210
|
+
import { SideNavigationBody as WCSideNavigationBody } from '@loadsmart/miranda-wc';
|
|
211
|
+
import { SideNavigationDivider as WCSideNavigationDivider } from '@loadsmart/miranda-wc';
|
|
212
|
+
import { SideNavigationFooter as WCSideNavigationFooter } from '@loadsmart/miranda-wc';
|
|
213
|
+
import { SideNavigationHeader as WCSideNavigationHeader } from '@loadsmart/miranda-wc';
|
|
214
|
+
import { SideNavigationItem as WCSideNavigationItem } from '@loadsmart/miranda-wc';
|
|
215
|
+
import { SideNavigationSubNav as WCSideNavigationSubNav } from '@loadsmart/miranda-wc';
|
|
216
|
+
import { SideNavigationSubNavContent as WCSideNavigationSubNavContent } from '@loadsmart/miranda-wc';
|
|
217
|
+
import { SideNavigationSubNavItem as WCSideNavigationSubNavItem } from '@loadsmart/miranda-wc';
|
|
218
|
+
import { SideNavigationSubNavTitle as WCSideNavigationSubNavTitle } from '@loadsmart/miranda-wc';
|
|
204
219
|
import { SpinnerWheel as WCSpinnerWheel } from '@loadsmart/miranda-wc';
|
|
205
220
|
import { SpinnerWheelProps as WCSpinnerWheelProps } from '@loadsmart/miranda-wc';
|
|
206
221
|
import { Stack as WCStack } from '@loadsmart/miranda-wc';
|
|
@@ -227,6 +242,7 @@ import { TableHeadCellProps as WCTableHeadCellProps } from '@loadsmart/miranda-w
|
|
|
227
242
|
import { TableProps as WCTableProps } from '@loadsmart/miranda-wc';
|
|
228
243
|
import { TableRow as WCTableRow } from '@loadsmart/miranda-wc';
|
|
229
244
|
import { TableToolbar as WCTableToolbar } from '@loadsmart/miranda-wc';
|
|
245
|
+
import { TableV2 as WCTableV2 } from '@loadsmart/miranda-wc';
|
|
230
246
|
import { TabPanel as WCTabPanel } from '@loadsmart/miranda-wc';
|
|
231
247
|
import { TabPanelProps as WCTabPanelProps } from '@loadsmart/miranda-wc';
|
|
232
248
|
import { TabProps as WCTabProps } from '@loadsmart/miranda-wc';
|
|
@@ -282,7 +298,7 @@ export { ActionableTagVariant }
|
|
|
282
298
|
|
|
283
299
|
export { AlignItemsValue }
|
|
284
300
|
|
|
285
|
-
export declare const BackButton: ReactWebComponent<
|
|
301
|
+
export declare const BackButton: ReactWebComponent<WCBackButton, {}>;
|
|
286
302
|
|
|
287
303
|
export declare type BackButtonProps = ComponentProps<typeof BackButton>;
|
|
288
304
|
|
|
@@ -599,8 +615,8 @@ export { FieldSize }
|
|
|
599
615
|
|
|
600
616
|
export { FieldStatus }
|
|
601
617
|
|
|
602
|
-
export declare const FilePicker: ReactWebComponent<
|
|
603
|
-
onChange: EventName<MirandaChangeEvent<
|
|
618
|
+
export declare const FilePicker: ReactWebComponent<WCFilePicker, {
|
|
619
|
+
onChange: EventName<MirandaChangeEvent<WCFilePicker>>;
|
|
604
620
|
}> & {
|
|
605
621
|
FileItem: typeof FileItem;
|
|
606
622
|
};
|
|
@@ -624,7 +640,7 @@ export declare const Header: ReactWebComponent<WCHeader, {}> & {
|
|
|
624
640
|
Content: ReactWebComponent<WCHeaderContent, {}>;
|
|
625
641
|
Title: ReactWebComponent<WCHeaderTitle, {}>;
|
|
626
642
|
SubHeader: ReactWebComponent<WCSubHeader, {}>;
|
|
627
|
-
BackButton: ReactWebComponent<
|
|
643
|
+
BackButton: ReactWebComponent<WCBackButton, {}>;
|
|
628
644
|
Tabs: ReactWebComponent<HeaderTabs_2, {
|
|
629
645
|
onTabChange: EventName<CustomEvent<TabChangeEventDetail>>;
|
|
630
646
|
}>;
|
|
@@ -717,7 +733,7 @@ export declare type MirandaChangeEvent<T = Element> = ChangeEvent<T> & Event;
|
|
|
717
733
|
declare type MirandaChangeEvent_2<T = Element> = ChangeEvent<T> & Event;
|
|
718
734
|
|
|
719
735
|
export declare const PageContent: ReactWebComponent<WCPageContent, {}> & {
|
|
720
|
-
Body: ReactWebComponent<
|
|
736
|
+
Body: ReactWebComponent<WCBody, {}>;
|
|
721
737
|
};
|
|
722
738
|
|
|
723
739
|
export declare const Pagination: ReactWebComponent<WCPagination, {
|
|
@@ -1042,7 +1058,7 @@ export declare const TableToolbar: ReactWebComponent<WCTableToolbar, {}>;
|
|
|
1042
1058
|
|
|
1043
1059
|
export declare type TableToolbarProps = ComponentProps<typeof TableToolbar>;
|
|
1044
1060
|
|
|
1045
|
-
export declare const TableV2: ReactWebComponent<
|
|
1061
|
+
export declare const TableV2: ReactWebComponent<WCTableV2, {
|
|
1046
1062
|
onSelect: EventName<CustomEvent<TableSelectEventDetails_3>>;
|
|
1047
1063
|
onExpand: EventName<CustomEvent<TableExpandEventDetails>>;
|
|
1048
1064
|
onCollapse: EventName<CustomEvent<TableExpandEventDetails>>;
|
|
@@ -1206,6 +1222,8 @@ export { WCActionableTag }
|
|
|
1206
1222
|
|
|
1207
1223
|
export { WCActionableTagProps }
|
|
1208
1224
|
|
|
1225
|
+
export { WCBackButton }
|
|
1226
|
+
|
|
1209
1227
|
export { WCBadge }
|
|
1210
1228
|
|
|
1211
1229
|
export { WCBadgeProps }
|
|
@@ -1226,6 +1244,8 @@ export { WCBannerProps }
|
|
|
1226
1244
|
|
|
1227
1245
|
export { WCBannerTitle }
|
|
1228
1246
|
|
|
1247
|
+
export { WCBody }
|
|
1248
|
+
|
|
1229
1249
|
export { WCBox }
|
|
1230
1250
|
|
|
1231
1251
|
export { WCBoxProps }
|
|
@@ -1254,10 +1274,16 @@ export { WCCardSubtitle }
|
|
|
1254
1274
|
|
|
1255
1275
|
export { WCCardTitle }
|
|
1256
1276
|
|
|
1277
|
+
export { WCCaretButton }
|
|
1278
|
+
|
|
1257
1279
|
export { WCCheckbox }
|
|
1258
1280
|
|
|
1259
1281
|
export { WCCheckboxProps }
|
|
1260
1282
|
|
|
1283
|
+
export { WCCloseButton }
|
|
1284
|
+
|
|
1285
|
+
export { WCCloseButtonProps }
|
|
1286
|
+
|
|
1261
1287
|
export { WCColumn }
|
|
1262
1288
|
|
|
1263
1289
|
export { WCColumnProps }
|
|
@@ -1286,6 +1312,8 @@ export { WCDialogProps }
|
|
|
1286
1312
|
|
|
1287
1313
|
export { WCDivider }
|
|
1288
1314
|
|
|
1315
|
+
export { WCDotsLoaderProps }
|
|
1316
|
+
|
|
1289
1317
|
export { WCDrawer }
|
|
1290
1318
|
|
|
1291
1319
|
export { WCDrawerActionPrimary }
|
|
@@ -1340,6 +1368,8 @@ export { WCFieldLabelProps }
|
|
|
1340
1368
|
|
|
1341
1369
|
export { WCFieldProps }
|
|
1342
1370
|
|
|
1371
|
+
export { WCFilePicker }
|
|
1372
|
+
|
|
1343
1373
|
export { WCGrid }
|
|
1344
1374
|
|
|
1345
1375
|
export { WCGridProps }
|
|
@@ -1360,6 +1390,8 @@ export { WCIcon }
|
|
|
1360
1390
|
|
|
1361
1391
|
export { WCIconProps }
|
|
1362
1392
|
|
|
1393
|
+
export { WCLabel }
|
|
1394
|
+
|
|
1363
1395
|
export { WCLabeledValue }
|
|
1364
1396
|
|
|
1365
1397
|
export { WCLabeledValueLabel }
|
|
@@ -1368,6 +1400,8 @@ export { WCLabeledValueProps }
|
|
|
1368
1400
|
|
|
1369
1401
|
export { WCLabeledValueValue }
|
|
1370
1402
|
|
|
1403
|
+
export { WCLabelProps }
|
|
1404
|
+
|
|
1371
1405
|
export { WCLink }
|
|
1372
1406
|
|
|
1373
1407
|
export { WCLogoLoader }
|
|
@@ -1414,6 +1448,26 @@ export { WCSidebar }
|
|
|
1414
1448
|
|
|
1415
1449
|
export { WCSidebarProps }
|
|
1416
1450
|
|
|
1451
|
+
export { WCSideNavigation }
|
|
1452
|
+
|
|
1453
|
+
export { WCSideNavigationBody }
|
|
1454
|
+
|
|
1455
|
+
export { WCSideNavigationDivider }
|
|
1456
|
+
|
|
1457
|
+
export { WCSideNavigationFooter }
|
|
1458
|
+
|
|
1459
|
+
export { WCSideNavigationHeader }
|
|
1460
|
+
|
|
1461
|
+
export { WCSideNavigationItem }
|
|
1462
|
+
|
|
1463
|
+
export { WCSideNavigationSubNav }
|
|
1464
|
+
|
|
1465
|
+
export { WCSideNavigationSubNavContent }
|
|
1466
|
+
|
|
1467
|
+
export { WCSideNavigationSubNavItem }
|
|
1468
|
+
|
|
1469
|
+
export { WCSideNavigationSubNavTitle }
|
|
1470
|
+
|
|
1417
1471
|
export { WCSpinnerWheel }
|
|
1418
1472
|
|
|
1419
1473
|
export { WCSpinnerWheelProps }
|
|
@@ -1466,6 +1520,8 @@ export { WCTableRow }
|
|
|
1466
1520
|
|
|
1467
1521
|
export { WCTableToolbar }
|
|
1468
1522
|
|
|
1523
|
+
export { WCTableV2 }
|
|
1524
|
+
|
|
1469
1525
|
export { WCTabPanel }
|
|
1470
1526
|
|
|
1471
1527
|
export { WCTabPanelProps }
|
|
@@ -1626,17 +1682,17 @@ declare module 'react' {
|
|
|
1626
1682
|
|
|
1627
1683
|
declare module 'react' {
|
|
1628
1684
|
interface CSSProperties {
|
|
1629
|
-
'--m-
|
|
1630
|
-
'--m-
|
|
1685
|
+
'--m-divider-margin-top'?: string;
|
|
1686
|
+
'--m-divider-margin-bottom'?: string;
|
|
1687
|
+
'--m-divider-margin-y'?: string;
|
|
1631
1688
|
}
|
|
1632
1689
|
}
|
|
1633
1690
|
|
|
1634
1691
|
|
|
1635
1692
|
declare module 'react' {
|
|
1636
1693
|
interface CSSProperties {
|
|
1637
|
-
'--m-
|
|
1638
|
-
'--m-
|
|
1639
|
-
'--m-divider-margin-y'?: string;
|
|
1694
|
+
'--m-icon-size'?: string;
|
|
1695
|
+
'--m-icon-color'?: string;
|
|
1640
1696
|
}
|
|
1641
1697
|
}
|
|
1642
1698
|
|
|
@@ -1648,7 +1704,6 @@ declare module 'react' {
|
|
|
1648
1704
|
'--m-table-border-top-right-radius'?: string;
|
|
1649
1705
|
'--m-table-border-bottom-left-radius'?: string;
|
|
1650
1706
|
'--m-table-border-bottom-right-radius'?: string;
|
|
1651
|
-
'--m-table-border-width'?: string;
|
|
1652
1707
|
}
|
|
1653
1708
|
}
|
|
1654
1709
|
|
|
@@ -1660,24 +1715,25 @@ declare module 'react' {
|
|
|
1660
1715
|
'--m-table-border-top-right-radius'?: string;
|
|
1661
1716
|
'--m-table-border-bottom-left-radius'?: string;
|
|
1662
1717
|
'--m-table-border-bottom-right-radius'?: string;
|
|
1718
|
+
'--m-table-border-width'?: string;
|
|
1663
1719
|
}
|
|
1664
1720
|
}
|
|
1665
1721
|
|
|
1666
1722
|
|
|
1667
1723
|
declare module 'react' {
|
|
1668
1724
|
interface CSSProperties {
|
|
1669
|
-
'--m-
|
|
1670
|
-
'--m-
|
|
1671
|
-
'--m-table-border-top-right-radius'?: string;
|
|
1672
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
1673
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
1725
|
+
'--m-text-display'?: string;
|
|
1726
|
+
'--m-text-max-width'?: string;
|
|
1674
1727
|
}
|
|
1675
1728
|
}
|
|
1676
1729
|
|
|
1677
1730
|
|
|
1678
1731
|
declare module 'react' {
|
|
1679
1732
|
interface CSSProperties {
|
|
1680
|
-
'--m-
|
|
1681
|
-
'--m-
|
|
1733
|
+
'--m-table-border-radius'?: string;
|
|
1734
|
+
'--m-table-border-top-left-radius'?: string;
|
|
1735
|
+
'--m-table-border-top-right-radius'?: string;
|
|
1736
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
1737
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
1682
1738
|
}
|
|
1683
1739
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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, 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";
|
|
2
|
-
import { DIALOG_SIZES, DIALOG_VARIANTS, DRAWER_SIZES, EMPTY_STATE_VARIANTS, Accordion, AccordionContent, AccordionTitle, ActionableTag, Badge, Banner, BannerActionPrimary, BannerActionSecondary, BannerActions, BannerDescription, BannerIcon, BannerTitle, Box, Button, Card, CardActionPrimary, CardActionSecondary, CardActionTertiary, CardBody, CardDivider, CardFooter, CardSubtitle, CardTitle, Checkbox, 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, Grid, Group, Header, HeaderActions, HeaderContent, HeaderTitle, Icon, LabeledValue, LabeledValueLabel, LabeledValueValue, Link, LogoLoader, PageContent, Pagination, ProgressBar, ProgressBarCountdown, Radio, RadioGroup, Row, Section, SectionTitle, Select, SelectOption, Sidebar, SpinnerWheel, Stack, Step, Steps, SubHeader, Switch, Switcher, Tab, TabPanel, Table, TableActions, TableBody, TableCell, TableFeedback, TableFoot, TableHead, TableHeadCell, TableRow, TableToolbar, Tabs, Tag, Text, TextArea, TextField, Timeline, TimelineExpandableItem, TimelineItem, TimelineItemBody, TimelineItemFooter, TimelineItemHeader, TimelineItemHeaderSubtitle, TimelineItemHeaderTitle, TimelineItemIcon, Toggle, ToggleGroup, Tooltip } from "@loadsmart/miranda-wc";
|
|
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";
|
|
5
5
|
import { createComponent as createComponent$1 } from "@lit/react";
|
|
@@ -46,7 +46,7 @@ const Accordion2 = createComponent({
|
|
|
46
46
|
Content: AccordionContent2
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
const
|
|
49
|
+
const BackButton2 = createComponent({
|
|
50
50
|
tagName: "m-back-button",
|
|
51
51
|
elementClass: BackButton$1,
|
|
52
52
|
displayName: "BackButton"
|
|
@@ -625,7 +625,7 @@ const Link2 = createComponent({
|
|
|
625
625
|
elementClass: Link$1,
|
|
626
626
|
displayName: "Link"
|
|
627
627
|
});
|
|
628
|
-
const
|
|
628
|
+
const Body2 = createComponent({
|
|
629
629
|
tagName: "m-body",
|
|
630
630
|
elementClass: Body$1,
|
|
631
631
|
displayName: "Body"
|
|
@@ -635,7 +635,7 @@ const PageContent2 = createComponent({
|
|
|
635
635
|
elementClass: PageContent$1,
|
|
636
636
|
displayName: "PageContent",
|
|
637
637
|
subComponents: {
|
|
638
|
-
Body
|
|
638
|
+
Body: Body2
|
|
639
639
|
}
|
|
640
640
|
});
|
|
641
641
|
const Pagination2 = createComponent({
|
|
@@ -1250,7 +1250,7 @@ const DotsLoader = createComponent({
|
|
|
1250
1250
|
elementClass: DotsLoader$1,
|
|
1251
1251
|
displayName: "DotsLoader"
|
|
1252
1252
|
});
|
|
1253
|
-
const
|
|
1253
|
+
const FilePicker2 = createComponent({
|
|
1254
1254
|
tagName: "m-file-Picker",
|
|
1255
1255
|
elementClass: FilePicker$1,
|
|
1256
1256
|
displayName: "FilePicker",
|
|
@@ -1264,7 +1264,7 @@ const FilePicker = createComponent({
|
|
|
1264
1264
|
export {
|
|
1265
1265
|
Accordion2 as Accordion,
|
|
1266
1266
|
ActionableTag2 as ActionableTag,
|
|
1267
|
-
BackButton,
|
|
1267
|
+
BackButton2 as BackButton,
|
|
1268
1268
|
Badge2 as Badge,
|
|
1269
1269
|
Banner2 as Banner,
|
|
1270
1270
|
Box2 as Box,
|
|
@@ -1287,7 +1287,7 @@ export {
|
|
|
1287
1287
|
EMPTY_STATE_VARIANTS,
|
|
1288
1288
|
EmptyState2 as EmptyState,
|
|
1289
1289
|
Field2 as Field,
|
|
1290
|
-
FilePicker,
|
|
1290
|
+
FilePicker2 as FilePicker,
|
|
1291
1291
|
Grid2 as Grid,
|
|
1292
1292
|
Group2 as Group,
|
|
1293
1293
|
Header2 as Header,
|
|
@@ -1365,6 +1365,7 @@ export {
|
|
|
1365
1365
|
AccordionContent as WCAccordionContent,
|
|
1366
1366
|
AccordionTitle as WCAccordionTitle,
|
|
1367
1367
|
ActionableTag as WCActionableTag,
|
|
1368
|
+
BackButton as WCBackButton,
|
|
1368
1369
|
Badge as WCBadge,
|
|
1369
1370
|
Banner as WCBanner,
|
|
1370
1371
|
BannerActionPrimary as WCBannerActionPrimary,
|
|
@@ -1373,6 +1374,7 @@ export {
|
|
|
1373
1374
|
BannerDescription as WCBannerDescription,
|
|
1374
1375
|
BannerIcon as WCBannerIcon,
|
|
1375
1376
|
BannerTitle as WCBannerTitle,
|
|
1377
|
+
Body as WCBody,
|
|
1376
1378
|
Box as WCBox,
|
|
1377
1379
|
Button as WCButton,
|
|
1378
1380
|
Card as WCCard,
|
|
@@ -1384,7 +1386,9 @@ export {
|
|
|
1384
1386
|
CardFooter as WCCardFooter,
|
|
1385
1387
|
CardSubtitle as WCCardSubtitle,
|
|
1386
1388
|
CardTitle as WCCardTitle,
|
|
1389
|
+
CaretButton as WCCaretButton,
|
|
1387
1390
|
Checkbox as WCCheckbox,
|
|
1391
|
+
CloseButton as WCCloseButton,
|
|
1388
1392
|
Column as WCColumn,
|
|
1389
1393
|
Container as WCContainer,
|
|
1390
1394
|
Dialog as WCDialog,
|
|
@@ -1417,6 +1421,7 @@ export {
|
|
|
1417
1421
|
Field as WCField,
|
|
1418
1422
|
FieldHint as WCFieldHint,
|
|
1419
1423
|
FieldLabel as WCFieldLabel,
|
|
1424
|
+
FilePicker as WCFilePicker,
|
|
1420
1425
|
Grid as WCGrid,
|
|
1421
1426
|
Group as WCGroup,
|
|
1422
1427
|
Header as WCHeader,
|
|
@@ -1424,6 +1429,7 @@ export {
|
|
|
1424
1429
|
HeaderContent as WCHeaderContent,
|
|
1425
1430
|
HeaderTitle as WCHeaderTitle,
|
|
1426
1431
|
Icon as WCIcon,
|
|
1432
|
+
Label as WCLabel,
|
|
1427
1433
|
LabeledValue as WCLabeledValue,
|
|
1428
1434
|
LabeledValueLabel as WCLabeledValueLabel,
|
|
1429
1435
|
LabeledValueValue as WCLabeledValueValue,
|
|
@@ -1440,6 +1446,16 @@ export {
|
|
|
1440
1446
|
SectionTitle as WCSectionTitle,
|
|
1441
1447
|
Select as WCSelect,
|
|
1442
1448
|
SelectOption as WCSelectOption,
|
|
1449
|
+
SideNavigation as WCSideNavigation,
|
|
1450
|
+
SideNavigationBody as WCSideNavigationBody,
|
|
1451
|
+
SideNavigationDivider as WCSideNavigationDivider,
|
|
1452
|
+
SideNavigationFooter as WCSideNavigationFooter,
|
|
1453
|
+
SideNavigationHeader as WCSideNavigationHeader,
|
|
1454
|
+
SideNavigationItem as WCSideNavigationItem,
|
|
1455
|
+
SideNavigationSubNav as WCSideNavigationSubNav,
|
|
1456
|
+
SideNavigationSubNavContent as WCSideNavigationSubNavContent,
|
|
1457
|
+
SideNavigationSubNavItem as WCSideNavigationSubNavItem,
|
|
1458
|
+
SideNavigationSubNavTitle as WCSideNavigationSubNavTitle,
|
|
1443
1459
|
Sidebar as WCSidebar,
|
|
1444
1460
|
SpinnerWheel as WCSpinnerWheel,
|
|
1445
1461
|
Stack as WCStack,
|
|
@@ -1460,6 +1476,7 @@ export {
|
|
|
1460
1476
|
TableHeadCell as WCTableHeadCell,
|
|
1461
1477
|
TableRow as WCTableRow,
|
|
1462
1478
|
TableToolbar as WCTableToolbar,
|
|
1479
|
+
TableV22 as WCTableV2,
|
|
1463
1480
|
Tabs as WCTabs,
|
|
1464
1481
|
Tag as WCTag,
|
|
1465
1482
|
Text as WCText,
|
package/dist/tokens.d.ts
CHANGED
|
@@ -19,17 +19,17 @@ declare module 'react' {
|
|
|
19
19
|
|
|
20
20
|
declare module 'react' {
|
|
21
21
|
interface CSSProperties {
|
|
22
|
-
'--m-
|
|
23
|
-
'--m-
|
|
22
|
+
'--m-divider-margin-top'?: string;
|
|
23
|
+
'--m-divider-margin-bottom'?: string;
|
|
24
|
+
'--m-divider-margin-y'?: string;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
declare module 'react' {
|
|
29
30
|
interface CSSProperties {
|
|
30
|
-
'--m-
|
|
31
|
-
'--m-
|
|
32
|
-
'--m-divider-margin-y'?: string;
|
|
31
|
+
'--m-icon-size'?: string;
|
|
32
|
+
'--m-icon-color'?: string;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -41,7 +41,6 @@ declare module 'react' {
|
|
|
41
41
|
'--m-table-border-top-right-radius'?: string;
|
|
42
42
|
'--m-table-border-bottom-left-radius'?: string;
|
|
43
43
|
'--m-table-border-bottom-right-radius'?: string;
|
|
44
|
-
'--m-table-border-width'?: string;
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
|
|
@@ -53,24 +52,25 @@ declare module 'react' {
|
|
|
53
52
|
'--m-table-border-top-right-radius'?: string;
|
|
54
53
|
'--m-table-border-bottom-left-radius'?: string;
|
|
55
54
|
'--m-table-border-bottom-right-radius'?: string;
|
|
55
|
+
'--m-table-border-width'?: string;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
declare module 'react' {
|
|
61
61
|
interface CSSProperties {
|
|
62
|
-
'--m-
|
|
63
|
-
'--m-
|
|
64
|
-
'--m-table-border-top-right-radius'?: string;
|
|
65
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
66
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
62
|
+
'--m-text-display'?: string;
|
|
63
|
+
'--m-text-max-width'?: string;
|
|
67
64
|
}
|
|
68
65
|
}
|
|
69
66
|
|
|
70
67
|
|
|
71
68
|
declare module 'react' {
|
|
72
69
|
interface CSSProperties {
|
|
73
|
-
'--m-
|
|
74
|
-
'--m-
|
|
70
|
+
'--m-table-border-radius'?: string;
|
|
71
|
+
'--m-table-border-top-left-radius'?: string;
|
|
72
|
+
'--m-table-border-top-right-radius'?: string;
|
|
73
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
74
|
+
'--m-table-border-bottom-right-radius'?: 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.8.1",
|
|
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.8.1",
|
|
53
|
+
"@loadsmart/miranda-wc": "3.8.1",
|
|
54
54
|
"react-is": "^18.3.1"
|
|
55
55
|
},
|
|
56
56
|
"directories": {
|