@loadsmart/miranda-react 3.0.0-beta.62 → 3.0.0-beta.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/TableLayout/TableLayout.d.ts +25 -0
- package/dist/components/TableLayout/TableLayoutActions.d.ts +12 -0
- package/dist/components/TableLayout/TableLayoutFeedback.d.ts +12 -0
- package/dist/components/TableLayout/TableLayoutToolbar.d.ts +12 -0
- package/dist/components/TableLayout/index.d.ts +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +30 -1
- package/package.json +3 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TableLayout as WCTableLayout } from '@loadsmart/miranda-wc';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-table-layout': WebComponentProps<HTMLElement>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare module 'react' {
|
|
12
|
+
interface CSSProperties {
|
|
13
|
+
'--m-table-border-radius'?: string;
|
|
14
|
+
'--m-table-border-top-left-radius'?: string;
|
|
15
|
+
'--m-table-border-top-right-radius'?: string;
|
|
16
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
17
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export declare const TableLayout: import('@lit/react').ReactWebComponent<WCTableLayout, {}> & {
|
|
21
|
+
Toolbar: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableLayoutToolbar, {}>;
|
|
22
|
+
Feedback: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableLayoutFeedback, {}>;
|
|
23
|
+
Actions: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableLayoutActions, {}>;
|
|
24
|
+
};
|
|
25
|
+
export type TableLayoutProps = ComponentProps<typeof TableLayout>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { TableLayoutActions as WCTableLayoutActions } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-table-layout-actions': WebComponentProps<WCTableLayoutActions>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const TableLayoutActions: import('@lit/react').ReactWebComponent<WCTableLayoutActions, {}>;
|
|
12
|
+
export type TableLayoutActionsProps = ComponentProps<typeof TableLayoutActions>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { TableLayoutFeedback as WCTableLayoutFeedback } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-table-layout-feedback': WebComponentProps<WCTableLayoutFeedback>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const TableLayoutFeedback: import('@lit/react').ReactWebComponent<WCTableLayoutFeedback, {}>;
|
|
12
|
+
export type TableLayoutFeedbackProps = ComponentProps<typeof TableLayoutFeedback>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { TableLayoutToolbar as WCTableLayoutToolbar } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-table-layout-toolbar': WebComponentProps<WCTableLayoutToolbar>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const TableLayoutToolbar: import('@lit/react').ReactWebComponent<WCTableLayoutToolbar, {}>;
|
|
12
|
+
export type TableLayoutToolbarProps = ComponentProps<typeof TableLayoutToolbar>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { TableLayoutToolbar } from './TableLayoutToolbar';
|
|
2
|
+
export { TableLayoutFeedback } from './TableLayoutFeedback';
|
|
3
|
+
export { TableLayoutActions } from './TableLayoutActions';
|
|
4
|
+
export { TableLayout } from './TableLayout';
|
|
5
|
+
export type { TableLayoutToolbarProps } from './TableLayoutToolbar';
|
|
6
|
+
export type { TableLayoutFeedbackProps } from './TableLayoutFeedback';
|
|
7
|
+
export type { TableLayoutActionsProps } from './TableLayoutActions';
|
|
8
|
+
export type { TableLayoutProps } from './TableLayout';
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './components/SpinnerWheel';
|
|
|
26
26
|
export * from './components/Steps';
|
|
27
27
|
export * from './components/Switch';
|
|
28
28
|
export * from './components/Table';
|
|
29
|
+
export * from './components/TableLayout';
|
|
29
30
|
export * from './components/Tabs';
|
|
30
31
|
export * from './components/Tag';
|
|
31
32
|
export * from './components/Text';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$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, BackButton, 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$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$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 } from "@loadsmart/miranda-wc";
|
|
1
|
+
import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$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, BackButton, 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$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$1, 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 } from "@loadsmart/miranda-wc";
|
|
2
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";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { forwardRef, useState, useCallback, Children, isValidElement, cloneElement } from "react";
|
|
@@ -904,6 +904,31 @@ const Table2 = createComponent({
|
|
|
904
904
|
Actions: TableActions2
|
|
905
905
|
}
|
|
906
906
|
});
|
|
907
|
+
const TableLayoutToolbar = createComponent({
|
|
908
|
+
tagName: "m-table-layout-toolbar",
|
|
909
|
+
elementClass: TableLayoutToolbar$1,
|
|
910
|
+
displayName: "TableLayoutToolbar"
|
|
911
|
+
});
|
|
912
|
+
const TableLayoutFeedback = createComponent({
|
|
913
|
+
tagName: "m-table-layout-feedback",
|
|
914
|
+
elementClass: TableLayoutFeedback$1,
|
|
915
|
+
displayName: "TableLayoutFeedback"
|
|
916
|
+
});
|
|
917
|
+
const TableLayoutActions = createComponent({
|
|
918
|
+
tagName: "m-table-layout-actions",
|
|
919
|
+
elementClass: TableLayoutActions$1,
|
|
920
|
+
displayName: "TableLayoutActions"
|
|
921
|
+
});
|
|
922
|
+
const TableLayout = createComponent({
|
|
923
|
+
tagName: "m-table-layout",
|
|
924
|
+
elementClass: TableLayout$1,
|
|
925
|
+
displayName: "TableLayout",
|
|
926
|
+
subComponents: {
|
|
927
|
+
Toolbar: TableLayoutToolbar,
|
|
928
|
+
Feedback: TableLayoutFeedback,
|
|
929
|
+
Actions: TableLayoutActions
|
|
930
|
+
}
|
|
931
|
+
});
|
|
907
932
|
const WiredTab = createComponent({
|
|
908
933
|
tagName: "m-tab",
|
|
909
934
|
elementClass: Tab$1,
|
|
@@ -1205,6 +1230,10 @@ export {
|
|
|
1205
1230
|
TableFoot2 as TableFoot,
|
|
1206
1231
|
TableHead2 as TableHead,
|
|
1207
1232
|
TableHeadCell2 as TableHeadCell,
|
|
1233
|
+
TableLayout,
|
|
1234
|
+
TableLayoutActions,
|
|
1235
|
+
TableLayoutFeedback,
|
|
1236
|
+
TableLayoutToolbar,
|
|
1208
1237
|
TableRow2 as TableRow,
|
|
1209
1238
|
TableSelectionCell,
|
|
1210
1239
|
TableToolbar2 as TableToolbar,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/miranda-react",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.63",
|
|
4
4
|
"description": "React component library based on Miranda Web Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@lit/react": "^1.0.5",
|
|
44
|
-
"@loadsmart/miranda-tokens": "4.0.0-beta.
|
|
45
|
-
"@loadsmart/miranda-wc": "3.0.0-beta.
|
|
44
|
+
"@loadsmart/miranda-tokens": "4.0.0-beta.63",
|
|
45
|
+
"@loadsmart/miranda-wc": "3.0.0-beta.63",
|
|
46
46
|
"react-is": "^18.3.1"
|
|
47
47
|
},
|
|
48
48
|
"directories": {
|