@loadsmart/miranda-react 3.8.0 → 3.9.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 CHANGED
@@ -17,6 +17,7 @@ import { DialogVariant } from '@loadsmart/miranda-wc';
17
17
  import { DotsLoader as DotsLoader_2 } from '@loadsmart/miranda-wc';
18
18
  import { DRAWER_SIZES } from '@loadsmart/miranda-wc';
19
19
  import { DrawerSize } from '@loadsmart/miranda-wc';
20
+ import { DropdownDivider as DropdownDivider_2 } from '@loadsmart/miranda-wc';
20
21
  import { DropdownPlacement } from '@loadsmart/miranda-wc';
21
22
  import { DropdownSize } from '@loadsmart/miranda-wc';
22
23
  import { EMPTY_STATE_VARIANTS } from '@loadsmart/miranda-wc';
@@ -541,10 +542,13 @@ onExpand: EventName<CustomEvent>;
541
542
  onCollapse: EventName<CustomEvent>;
542
543
  }> & {
543
544
  Item: ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & RefAttributes<WCDropdownItem>>;
545
+ Divider: ReactWebComponent<DropdownDivider_2, {}>;
544
546
  Menu: ReactWebComponent<WCDropdownMenu, {}>;
545
547
  Trigger: ForwardRefExoticComponent<Omit<DropdownTriggerProps, "ref"> & RefAttributes<WCDropdownTrigger>>;
546
548
  };
547
549
 
550
+ export declare const DropdownDivider: ReactWebComponent<DropdownDivider_2, {}>;
551
+
548
552
  export declare const DropdownItem: default_2.ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & default_2.RefAttributes<WCDropdownItem>>;
549
553
 
550
554
  export declare interface DropdownItemProps extends ComponentProps<typeof WiredDropdownItem> {
@@ -1670,12 +1674,9 @@ export { }
1670
1674
 
1671
1675
  declare module 'react' {
1672
1676
  interface CSSProperties {
1673
- '--m-card-body-padding'?: string;
1674
- '--m-card-border-top'?: string;
1675
- '--m-card-border-left'?: string;
1676
- '--m-card-border-bottom'?: string;
1677
- '--m-card-border-right'?: string;
1678
- '--m-card-border-radius'?: string;
1677
+ '--m-divider-margin-top'?: string;
1678
+ '--m-divider-margin-bottom'?: string;
1679
+ '--m-divider-margin-y'?: string;
1679
1680
  }
1680
1681
  }
1681
1682
 
@@ -1690,20 +1691,20 @@ declare module 'react' {
1690
1691
 
1691
1692
  declare module 'react' {
1692
1693
  interface CSSProperties {
1693
- '--m-divider-margin-top'?: string;
1694
- '--m-divider-margin-bottom'?: string;
1695
- '--m-divider-margin-y'?: string;
1694
+ '--m-card-body-padding'?: string;
1695
+ '--m-card-border-top'?: string;
1696
+ '--m-card-border-left'?: string;
1697
+ '--m-card-border-bottom'?: string;
1698
+ '--m-card-border-right'?: string;
1699
+ '--m-card-border-radius'?: string;
1696
1700
  }
1697
1701
  }
1698
1702
 
1699
1703
 
1700
1704
  declare module 'react' {
1701
1705
  interface CSSProperties {
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;
1706
+ '--m-text-display'?: string;
1707
+ '--m-text-max-width'?: string;
1707
1708
  }
1708
1709
  }
1709
1710
 
@@ -1721,8 +1722,12 @@ declare module 'react' {
1721
1722
 
1722
1723
  declare module 'react' {
1723
1724
  interface CSSProperties {
1724
- '--m-text-display'?: string;
1725
- '--m-text-max-width'?: string;
1725
+ '--m-table-border-radius'?: string;
1726
+ '--m-table-border-top-left-radius'?: string;
1727
+ '--m-table-border-top-right-radius'?: string;
1728
+ '--m-table-border-bottom-left-radius'?: string;
1729
+ '--m-table-border-bottom-right-radius'?: string;
1730
+ '--m-table-border-width'?: string;
1726
1731
  }
1727
1732
  }
1728
1733
 
@@ -1734,6 +1739,5 @@ declare module 'react' {
1734
1739
  '--m-table-border-top-right-radius'?: string;
1735
1740
  '--m-table-border-bottom-left-radius'?: string;
1736
1741
  '--m-table-border-bottom-right-radius'?: string;
1737
- '--m-table-border-width'?: string;
1738
1742
  }
1739
1743
  }
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, 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, 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
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";
@@ -370,6 +370,11 @@ const DropdownItem2 = forwardRef(
370
370
  return /* @__PURE__ */ React__default.createElement(WiredDropdownItem, { ...rest, ref }, leading != null && /* @__PURE__ */ React__default.createElement("span", { slot: "leading" }, leading), children, trailing != null && /* @__PURE__ */ React__default.createElement("span", { slot: "trailing" }, trailing));
371
371
  }
372
372
  );
373
+ const DropdownDivider = createComponent({
374
+ tagName: "m-dropdown-divider",
375
+ elementClass: DropdownDivider$1,
376
+ displayName: "DropdownDivider"
377
+ });
373
378
  const DropdownMenu2 = createComponent({
374
379
  tagName: "m-dropdown-menu",
375
380
  elementClass: DropdownMenu$1,
@@ -390,6 +395,7 @@ const Dropdown2 = createComponent({
390
395
  displayName: "Dropdown",
391
396
  subComponents: {
392
397
  Item: DropdownItem2,
398
+ Divider: DropdownDivider,
393
399
  Menu: DropdownMenu2,
394
400
  Trigger: DropdownTrigger2
395
401
  },
@@ -1281,6 +1287,7 @@ export {
1281
1287
  DotsLoader,
1282
1288
  Drawer2 as Drawer,
1283
1289
  Dropdown2 as Dropdown,
1290
+ DropdownDivider,
1284
1291
  DropdownItem2 as DropdownItem,
1285
1292
  DropdownMenu2 as DropdownMenu,
1286
1293
  DropdownTrigger2 as DropdownTrigger,
package/dist/tokens.d.ts CHANGED
@@ -7,12 +7,9 @@ export { }
7
7
 
8
8
  declare module 'react' {
9
9
  interface CSSProperties {
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;
10
+ '--m-divider-margin-top'?: string;
11
+ '--m-divider-margin-bottom'?: string;
12
+ '--m-divider-margin-y'?: string;
16
13
  }
17
14
  }
18
15
 
@@ -27,20 +24,20 @@ declare module 'react' {
27
24
 
28
25
  declare module 'react' {
29
26
  interface CSSProperties {
30
- '--m-divider-margin-top'?: string;
31
- '--m-divider-margin-bottom'?: string;
32
- '--m-divider-margin-y'?: string;
27
+ '--m-card-body-padding'?: string;
28
+ '--m-card-border-top'?: string;
29
+ '--m-card-border-left'?: string;
30
+ '--m-card-border-bottom'?: string;
31
+ '--m-card-border-right'?: string;
32
+ '--m-card-border-radius'?: string;
33
33
  }
34
34
  }
35
35
 
36
36
 
37
37
  declare module 'react' {
38
38
  interface CSSProperties {
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;
39
+ '--m-text-display'?: string;
40
+ '--m-text-max-width'?: string;
44
41
  }
45
42
  }
46
43
 
@@ -58,8 +55,12 @@ declare module 'react' {
58
55
 
59
56
  declare module 'react' {
60
57
  interface CSSProperties {
61
- '--m-text-display'?: string;
62
- '--m-text-max-width'?: string;
58
+ '--m-table-border-radius'?: string;
59
+ '--m-table-border-top-left-radius'?: string;
60
+ '--m-table-border-top-right-radius'?: string;
61
+ '--m-table-border-bottom-left-radius'?: string;
62
+ '--m-table-border-bottom-right-radius'?: string;
63
+ '--m-table-border-width'?: string;
63
64
  }
64
65
  }
65
66
 
@@ -71,6 +72,5 @@ declare module 'react' {
71
72
  '--m-table-border-top-right-radius'?: string;
72
73
  '--m-table-border-bottom-left-radius'?: string;
73
74
  '--m-table-border-bottom-right-radius'?: string;
74
- '--m-table-border-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.8.0",
3
+ "version": "3.9.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.8.0",
53
- "@loadsmart/miranda-wc": "3.8.0",
52
+ "@loadsmart/miranda-tokens": "4.9.0",
53
+ "@loadsmart/miranda-wc": "3.9.0",
54
54
  "react-is": "^18.3.1"
55
55
  },
56
56
  "directories": {