@loadsmart/miranda-react 3.6.1 → 3.8.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 +79 -17
- package/dist/index.js +24 -7
- package/dist/tokens.d.ts +7 -7
- 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,8 @@ 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 {
|
|
28
|
+
import { FilePickerFile } from '@loadsmart/miranda-wc';
|
|
29
|
+
import { FileStatus } from '@loadsmart/miranda-wc';
|
|
31
30
|
import { ForwardRefExoticComponent } from 'react';
|
|
32
31
|
import { HeaderTabs as HeaderTabs_2 } from '@loadsmart/miranda-wc';
|
|
33
32
|
import { IconName } from '@loadsmart/miranda-wc';
|
|
@@ -79,7 +78,6 @@ import { TableSelectEventDetailsV2 } from '@loadsmart/miranda-wc';
|
|
|
79
78
|
import { TableSelectionCell as TableSelectionCell_2 } from '@loadsmart/miranda-wc';
|
|
80
79
|
import { TableSize } from '@loadsmart/miranda-wc';
|
|
81
80
|
import { TableSortDirection } from '@loadsmart/miranda-wc';
|
|
82
|
-
import { TableV2 as TableV2_2 } from '@loadsmart/miranda-wc';
|
|
83
81
|
import { TableV2Size } from '@loadsmart/miranda-wc';
|
|
84
82
|
import { TableV2SortDirection } from '@loadsmart/miranda-wc';
|
|
85
83
|
import { TagSize } from '@loadsmart/miranda-wc';
|
|
@@ -95,6 +93,7 @@ import { AccordionProps as WCAccordionProps } from '@loadsmart/miranda-wc';
|
|
|
95
93
|
import { AccordionTitle as WCAccordionTitle } from '@loadsmart/miranda-wc';
|
|
96
94
|
import { ActionableTag as WCActionableTag } from '@loadsmart/miranda-wc';
|
|
97
95
|
import { ActionableTagProps as WCActionableTagProps } from '@loadsmart/miranda-wc';
|
|
96
|
+
import { BackButton as WCBackButton } from '@loadsmart/miranda-wc';
|
|
98
97
|
import { Badge as WCBadge } from '@loadsmart/miranda-wc';
|
|
99
98
|
import { BadgeProps as WCBadgeProps } from '@loadsmart/miranda-wc';
|
|
100
99
|
import { Banner as WCBanner } from '@loadsmart/miranda-wc';
|
|
@@ -105,6 +104,7 @@ import { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc'
|
|
|
105
104
|
import { BannerIcon as WCBannerIcon } from '@loadsmart/miranda-wc';
|
|
106
105
|
import { BannerProps as WCBannerProps } from '@loadsmart/miranda-wc';
|
|
107
106
|
import { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
|
|
107
|
+
import { Body as WCBody } from '@loadsmart/miranda-wc';
|
|
108
108
|
import { Box as WCBox } from '@loadsmart/miranda-wc';
|
|
109
109
|
import { BoxProps as WCBoxProps } from '@loadsmart/miranda-wc';
|
|
110
110
|
import { Button as WCButton } from '@loadsmart/miranda-wc';
|
|
@@ -119,8 +119,11 @@ import { CardFooter as WCCardFooter } from '@loadsmart/miranda-wc';
|
|
|
119
119
|
import { CardProps as WCCardProps } from '@loadsmart/miranda-wc';
|
|
120
120
|
import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc';
|
|
121
121
|
import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc';
|
|
122
|
+
import { CaretButton as WCCaretButton } from '@loadsmart/miranda-wc';
|
|
122
123
|
import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
|
|
123
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';
|
|
124
127
|
import { Column as WCColumn } from '@loadsmart/miranda-wc';
|
|
125
128
|
import { ColumnProps as WCColumnProps } from '@loadsmart/miranda-wc';
|
|
126
129
|
import { Container as WCContainer } from '@loadsmart/miranda-wc';
|
|
@@ -135,6 +138,7 @@ import { DialogFooter as WCDialogFooter } from '@loadsmart/miranda-wc';
|
|
|
135
138
|
import { DialogHeader as WCDialogHeader } from '@loadsmart/miranda-wc';
|
|
136
139
|
import { DialogProps as WCDialogProps } from '@loadsmart/miranda-wc';
|
|
137
140
|
import { Divider as WCDivider } from '@loadsmart/miranda-wc';
|
|
141
|
+
import { DotsLoaderProps as WCDotsLoaderProps } from '@loadsmart/miranda-wc';
|
|
138
142
|
import { Drawer as WCDrawer } from '@loadsmart/miranda-wc';
|
|
139
143
|
import { DrawerActionPrimary as WCDrawerActionPrimary } from '@loadsmart/miranda-wc';
|
|
140
144
|
import { DrawerActions as WCDrawerActions } from '@loadsmart/miranda-wc';
|
|
@@ -162,6 +166,7 @@ import { FieldHintProps as WCFieldHintProps } from '@loadsmart/miranda-wc';
|
|
|
162
166
|
import { FieldLabel as WCFieldLabel } from '@loadsmart/miranda-wc';
|
|
163
167
|
import { FieldLabelProps as WCFieldLabelProps } from '@loadsmart/miranda-wc';
|
|
164
168
|
import { FieldProps as WCFieldProps } from '@loadsmart/miranda-wc';
|
|
169
|
+
import { FilePicker as WCFilePicker } from '@loadsmart/miranda-wc';
|
|
165
170
|
import { Grid as WCGrid } from '@loadsmart/miranda-wc';
|
|
166
171
|
import { GridProps as WCGridProps } from '@loadsmart/miranda-wc';
|
|
167
172
|
import { Group as WCGroup } from '@loadsmart/miranda-wc';
|
|
@@ -172,10 +177,12 @@ import { HeaderContent as WCHeaderContent } from '@loadsmart/miranda-wc';
|
|
|
172
177
|
import { HeaderTitle as WCHeaderTitle } from '@loadsmart/miranda-wc';
|
|
173
178
|
import { Icon as WCIcon } from '@loadsmart/miranda-wc';
|
|
174
179
|
import { IconProps as WCIconProps } from '@loadsmart/miranda-wc';
|
|
180
|
+
import { Label as WCLabel } from '@loadsmart/miranda-wc';
|
|
175
181
|
import { LabeledValue as WCLabeledValue } from '@loadsmart/miranda-wc';
|
|
176
182
|
import { LabeledValueLabel as WCLabeledValueLabel } from '@loadsmart/miranda-wc';
|
|
177
183
|
import { LabeledValueProps as WCLabeledValueProps } from '@loadsmart/miranda-wc';
|
|
178
184
|
import { LabeledValueValue as WCLabeledValueValue } from '@loadsmart/miranda-wc';
|
|
185
|
+
import { LabelProps as WCLabelProps } from '@loadsmart/miranda-wc';
|
|
179
186
|
import { Link as WCLink } from '@loadsmart/miranda-wc';
|
|
180
187
|
import { LogoLoader as WCLogoLoader } from '@loadsmart/miranda-wc';
|
|
181
188
|
import { LogoLoaderProps as WCLogoLoaderProps } from '@loadsmart/miranda-wc';
|
|
@@ -199,6 +206,16 @@ import { Select as WCSelect } from '@loadsmart/miranda-wc';
|
|
|
199
206
|
import { SelectOption as WCSelectOption } from '@loadsmart/miranda-wc';
|
|
200
207
|
import { Sidebar as WCSidebar } from '@loadsmart/miranda-wc';
|
|
201
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';
|
|
202
219
|
import { SpinnerWheel as WCSpinnerWheel } from '@loadsmart/miranda-wc';
|
|
203
220
|
import { SpinnerWheelProps as WCSpinnerWheelProps } from '@loadsmart/miranda-wc';
|
|
204
221
|
import { Stack as WCStack } from '@loadsmart/miranda-wc';
|
|
@@ -225,6 +242,7 @@ import { TableHeadCellProps as WCTableHeadCellProps } from '@loadsmart/miranda-w
|
|
|
225
242
|
import { TableProps as WCTableProps } from '@loadsmart/miranda-wc';
|
|
226
243
|
import { TableRow as WCTableRow } from '@loadsmart/miranda-wc';
|
|
227
244
|
import { TableToolbar as WCTableToolbar } from '@loadsmart/miranda-wc';
|
|
245
|
+
import { TableV2 as WCTableV2 } from '@loadsmart/miranda-wc';
|
|
228
246
|
import { TabPanel as WCTabPanel } from '@loadsmart/miranda-wc';
|
|
229
247
|
import { TabPanelProps as WCTabPanelProps } from '@loadsmart/miranda-wc';
|
|
230
248
|
import { TabProps as WCTabProps } from '@loadsmart/miranda-wc';
|
|
@@ -280,7 +298,7 @@ export { ActionableTagVariant }
|
|
|
280
298
|
|
|
281
299
|
export { AlignItemsValue }
|
|
282
300
|
|
|
283
|
-
export declare const BackButton: ReactWebComponent<
|
|
301
|
+
export declare const BackButton: ReactWebComponent<WCBackButton, {}>;
|
|
284
302
|
|
|
285
303
|
export declare type BackButtonProps = ComponentProps<typeof BackButton>;
|
|
286
304
|
|
|
@@ -597,14 +615,18 @@ export { FieldSize }
|
|
|
597
615
|
|
|
598
616
|
export { FieldStatus }
|
|
599
617
|
|
|
600
|
-
export declare const FilePicker: ReactWebComponent<
|
|
601
|
-
onChange: EventName<MirandaChangeEvent<
|
|
618
|
+
export declare const FilePicker: ReactWebComponent<WCFilePicker, {
|
|
619
|
+
onChange: EventName<MirandaChangeEvent<WCFilePicker>>;
|
|
602
620
|
}> & {
|
|
603
621
|
FileItem: typeof FileItem;
|
|
604
622
|
};
|
|
605
623
|
|
|
624
|
+
export { FilePickerFile }
|
|
625
|
+
|
|
606
626
|
export declare type FilePickerProps = default_2.ComponentProps<typeof FilePicker>;
|
|
607
627
|
|
|
628
|
+
export { FileStatus }
|
|
629
|
+
|
|
608
630
|
export declare const Grid: ReactWebComponent<WCGrid, {}>;
|
|
609
631
|
|
|
610
632
|
export declare type GridProps = ComponentProps<typeof Grid>;
|
|
@@ -618,7 +640,7 @@ export declare const Header: ReactWebComponent<WCHeader, {}> & {
|
|
|
618
640
|
Content: ReactWebComponent<WCHeaderContent, {}>;
|
|
619
641
|
Title: ReactWebComponent<WCHeaderTitle, {}>;
|
|
620
642
|
SubHeader: ReactWebComponent<WCSubHeader, {}>;
|
|
621
|
-
BackButton: ReactWebComponent<
|
|
643
|
+
BackButton: ReactWebComponent<WCBackButton, {}>;
|
|
622
644
|
Tabs: ReactWebComponent<HeaderTabs_2, {
|
|
623
645
|
onTabChange: EventName<CustomEvent<TabChangeEventDetail>>;
|
|
624
646
|
}>;
|
|
@@ -711,7 +733,7 @@ export declare type MirandaChangeEvent<T = Element> = ChangeEvent<T> & Event;
|
|
|
711
733
|
declare type MirandaChangeEvent_2<T = Element> = ChangeEvent<T> & Event;
|
|
712
734
|
|
|
713
735
|
export declare const PageContent: ReactWebComponent<WCPageContent, {}> & {
|
|
714
|
-
Body: ReactWebComponent<
|
|
736
|
+
Body: ReactWebComponent<WCBody, {}>;
|
|
715
737
|
};
|
|
716
738
|
|
|
717
739
|
export declare const Pagination: ReactWebComponent<WCPagination, {
|
|
@@ -1036,7 +1058,7 @@ export declare const TableToolbar: ReactWebComponent<WCTableToolbar, {}>;
|
|
|
1036
1058
|
|
|
1037
1059
|
export declare type TableToolbarProps = ComponentProps<typeof TableToolbar>;
|
|
1038
1060
|
|
|
1039
|
-
export declare const TableV2: ReactWebComponent<
|
|
1061
|
+
export declare const TableV2: ReactWebComponent<WCTableV2, {
|
|
1040
1062
|
onSelect: EventName<CustomEvent<TableSelectEventDetails_3>>;
|
|
1041
1063
|
onExpand: EventName<CustomEvent<TableExpandEventDetails>>;
|
|
1042
1064
|
onCollapse: EventName<CustomEvent<TableExpandEventDetails>>;
|
|
@@ -1200,6 +1222,8 @@ export { WCActionableTag }
|
|
|
1200
1222
|
|
|
1201
1223
|
export { WCActionableTagProps }
|
|
1202
1224
|
|
|
1225
|
+
export { WCBackButton }
|
|
1226
|
+
|
|
1203
1227
|
export { WCBadge }
|
|
1204
1228
|
|
|
1205
1229
|
export { WCBadgeProps }
|
|
@@ -1220,6 +1244,8 @@ export { WCBannerProps }
|
|
|
1220
1244
|
|
|
1221
1245
|
export { WCBannerTitle }
|
|
1222
1246
|
|
|
1247
|
+
export { WCBody }
|
|
1248
|
+
|
|
1223
1249
|
export { WCBox }
|
|
1224
1250
|
|
|
1225
1251
|
export { WCBoxProps }
|
|
@@ -1248,10 +1274,16 @@ export { WCCardSubtitle }
|
|
|
1248
1274
|
|
|
1249
1275
|
export { WCCardTitle }
|
|
1250
1276
|
|
|
1277
|
+
export { WCCaretButton }
|
|
1278
|
+
|
|
1251
1279
|
export { WCCheckbox }
|
|
1252
1280
|
|
|
1253
1281
|
export { WCCheckboxProps }
|
|
1254
1282
|
|
|
1283
|
+
export { WCCloseButton }
|
|
1284
|
+
|
|
1285
|
+
export { WCCloseButtonProps }
|
|
1286
|
+
|
|
1255
1287
|
export { WCColumn }
|
|
1256
1288
|
|
|
1257
1289
|
export { WCColumnProps }
|
|
@@ -1280,6 +1312,8 @@ export { WCDialogProps }
|
|
|
1280
1312
|
|
|
1281
1313
|
export { WCDivider }
|
|
1282
1314
|
|
|
1315
|
+
export { WCDotsLoaderProps }
|
|
1316
|
+
|
|
1283
1317
|
export { WCDrawer }
|
|
1284
1318
|
|
|
1285
1319
|
export { WCDrawerActionPrimary }
|
|
@@ -1334,6 +1368,8 @@ export { WCFieldLabelProps }
|
|
|
1334
1368
|
|
|
1335
1369
|
export { WCFieldProps }
|
|
1336
1370
|
|
|
1371
|
+
export { WCFilePicker }
|
|
1372
|
+
|
|
1337
1373
|
export { WCGrid }
|
|
1338
1374
|
|
|
1339
1375
|
export { WCGridProps }
|
|
@@ -1354,6 +1390,8 @@ export { WCIcon }
|
|
|
1354
1390
|
|
|
1355
1391
|
export { WCIconProps }
|
|
1356
1392
|
|
|
1393
|
+
export { WCLabel }
|
|
1394
|
+
|
|
1357
1395
|
export { WCLabeledValue }
|
|
1358
1396
|
|
|
1359
1397
|
export { WCLabeledValueLabel }
|
|
@@ -1362,6 +1400,8 @@ export { WCLabeledValueProps }
|
|
|
1362
1400
|
|
|
1363
1401
|
export { WCLabeledValueValue }
|
|
1364
1402
|
|
|
1403
|
+
export { WCLabelProps }
|
|
1404
|
+
|
|
1365
1405
|
export { WCLink }
|
|
1366
1406
|
|
|
1367
1407
|
export { WCLogoLoader }
|
|
@@ -1408,6 +1448,26 @@ export { WCSidebar }
|
|
|
1408
1448
|
|
|
1409
1449
|
export { WCSidebarProps }
|
|
1410
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
|
+
|
|
1411
1471
|
export { WCSpinnerWheel }
|
|
1412
1472
|
|
|
1413
1473
|
export { WCSpinnerWheelProps }
|
|
@@ -1460,6 +1520,8 @@ export { WCTableRow }
|
|
|
1460
1520
|
|
|
1461
1521
|
export { WCTableToolbar }
|
|
1462
1522
|
|
|
1523
|
+
export { WCTableV2 }
|
|
1524
|
+
|
|
1463
1525
|
export { WCTabPanel }
|
|
1464
1526
|
|
|
1465
1527
|
export { WCTabPanelProps }
|
|
@@ -1637,8 +1699,11 @@ declare module 'react' {
|
|
|
1637
1699
|
|
|
1638
1700
|
declare module 'react' {
|
|
1639
1701
|
interface CSSProperties {
|
|
1640
|
-
'--m-
|
|
1641
|
-
'--m-
|
|
1702
|
+
'--m-table-border-radius'?: string;
|
|
1703
|
+
'--m-table-border-top-left-radius'?: string;
|
|
1704
|
+
'--m-table-border-top-right-radius'?: string;
|
|
1705
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
1706
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
1642
1707
|
}
|
|
1643
1708
|
}
|
|
1644
1709
|
|
|
@@ -1656,11 +1721,8 @@ declare module 'react' {
|
|
|
1656
1721
|
|
|
1657
1722
|
declare module 'react' {
|
|
1658
1723
|
interface CSSProperties {
|
|
1659
|
-
'--m-
|
|
1660
|
-
'--m-
|
|
1661
|
-
'--m-table-border-top-right-radius'?: string;
|
|
1662
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
1663
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
1724
|
+
'--m-text-display'?: string;
|
|
1725
|
+
'--m-text-max-width'?: string;
|
|
1664
1726
|
}
|
|
1665
1727
|
}
|
|
1666
1728
|
|
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
|
@@ -36,8 +36,11 @@ declare module 'react' {
|
|
|
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
|
|
|
@@ -55,11 +58,8 @@ declare module 'react' {
|
|
|
55
58
|
|
|
56
59
|
declare module 'react' {
|
|
57
60
|
interface CSSProperties {
|
|
58
|
-
'--m-
|
|
59
|
-
'--m-
|
|
60
|
-
'--m-table-border-top-right-radius'?: string;
|
|
61
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
62
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
61
|
+
'--m-text-display'?: string;
|
|
62
|
+
'--m-text-max-width'?: string;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/miranda-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.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.8.0",
|
|
53
|
+
"@loadsmart/miranda-wc": "3.8.0",
|
|
54
54
|
"react-is": "^18.3.1"
|
|
55
55
|
},
|
|
56
56
|
"directories": {
|