@loadsmart/miranda-react 3.23.0 → 3.24.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/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ Please check our [releases](https://github.com/loadsmart/miranda-wc/releases?q=miranda-react) page for the complete CHANGELOG.
package/dist/index.d.ts CHANGED
@@ -46,9 +46,14 @@ import { ReactElement } from 'react';
46
46
  import { ReactNode } from 'react';
47
47
  import { ReactWebComponent } from '@lit/react';
48
48
  import { RefAttributes } from 'react';
49
+ import { SelectionProps } from 'utils/SelectionProps';
49
50
  import { SelectionType } from '@loadsmart/miranda-wc';
50
51
  import { SelectionValue } from '@loadsmart/miranda-wc';
51
52
  import { SideNavigationTrigger as SideNavigationTrigger_2 } from '@loadsmart/miranda-wc';
53
+ import { Skeleton as Skeleton_2 } from '@loadsmart/miranda-wc';
54
+ import { SkeletonAvatar as SkeletonAvatar_2 } from '@loadsmart/miranda-wc';
55
+ import { SkeletonTag as SkeletonTag_2 } from '@loadsmart/miranda-wc';
56
+ import { SkeletonText as SkeletonText_2 } from '@loadsmart/miranda-wc';
52
57
  import { StepChangeEventDetail } from '@loadsmart/miranda-wc';
53
58
  import { StepNavigateEventDetail } from '@loadsmart/miranda-wc';
54
59
  import { SwitchSize } from '@loadsmart/miranda-wc';
@@ -343,11 +348,6 @@ export declare type BannerProps = ComponentProps<typeof Banner>;
343
348
 
344
349
  export { BannerVariant }
345
350
 
346
- declare interface BaseProps<TValue> {
347
- type?: SelectionType;
348
- value?: TValue;
349
- }
350
-
351
351
  export declare const Box: ReactWebComponent<WCBox, {}>;
352
352
 
353
353
  export declare type BoxProps = ComponentProps<typeof Box>;
@@ -741,12 +741,6 @@ export declare type LogoLoaderProps = ComponentProps<typeof LogoLoader>;
741
741
  */
742
742
  export declare type MirandaChangeEvent<T = Element> = ChangeEvent<T> & Event;
743
743
 
744
- /**
745
- * This is a patch type to make our components compatible to React's
746
- * synthetic event types.
747
- */
748
- declare type MirandaChangeEvent_2<T = Element> = ChangeEvent<T> & Event;
749
-
750
744
  export declare const Page: ReactWebComponent<WCPage, {}> & {
751
745
  Content: ReactWebComponent<WCPageContent, {}> & {
752
746
  Body: ReactWebComponent<WCBody, {}>;
@@ -830,43 +824,6 @@ export declare namespace Select {
830
824
  var Option: default_2.ForwardRefExoticComponent<Omit<SelectOptionProps, "ref"> & default_2.RefAttributes<WCSelectOption>>;
831
825
  }
832
826
 
833
- declare type SelectionChangeEventHandler<TComponent, T> = (
834
- event: MirandaChangeEvent_2<Omit<TComponent, 'value'> & { value: T }>,
835
- ) => void;
836
-
837
- declare type SelectionOption<TValue extends string = string> = {
838
- value: TValue;
839
- };
840
-
841
- declare type SelectionProps<
842
- TComponent,
843
- TProps extends BaseProps<SelectionValue<string>>,
844
- TSelectionType extends SelectionType = SelectionType,
845
- OptionValue extends string = string,
846
- TSelectionOption extends SelectionOption<OptionValue> = SelectionOption<OptionValue>,
847
- TOptions extends ReadonlyArray<TSelectionOption> = ReadonlyArray<TSelectionOption>,
848
- > = Omit<TProps, 'type' | 'value' | 'options' | 'onChange'> & {
849
- type?: TSelectionType;
850
- value?: TSelectionType extends 'single'
851
- ? TOptions[number]['value'] | null
852
- : TSelectionType extends 'single-strict'
853
- ? TOptions[number]['value']
854
- : TSelectionType extends 'multiple'
855
- ? ReadonlyArray<TOptions[number]['value']> | null
856
- : SelectionValue<TOptions[number]['value']>; // Infer value type from options
857
- options?: TOptions;
858
- onChange?: SelectionChangeEventHandler<
859
- TComponent,
860
- TSelectionType extends 'single'
861
- ? TOptions[number]['value'] | null
862
- : TSelectionType extends 'single-strict'
863
- ? TOptions[number]['value']
864
- : TSelectionType extends 'multiple'
865
- ? Array<TOptions[number]['value']> | null
866
- : SelectionValue<TOptions[number]['value']>
867
- >;
868
- };
869
-
870
827
  export { SelectionType }
871
828
 
872
829
  export { SelectionValue }
@@ -954,6 +911,26 @@ export declare const SideNavigationTrigger: ReactWebComponent<SideNavigationTrig
954
911
 
955
912
  export declare type SideNavigationTriggerProps = ComponentProps<typeof SideNavigationTrigger>;
956
913
 
914
+ export declare const Skeleton: ReactWebComponent<Skeleton_2, {}> & {
915
+ Text: ReactWebComponent<SkeletonText_2, {}>;
916
+ Tag: ReactWebComponent<SkeletonTag_2, {}>;
917
+ Avatar: ReactWebComponent<SkeletonAvatar_2, {}>;
918
+ };
919
+
920
+ export declare const SkeletonAvatar: ReactWebComponent<SkeletonAvatar_2, {}>;
921
+
922
+ export declare type SkeletonAvatarProps = ComponentProps<typeof SkeletonAvatar>;
923
+
924
+ export declare type SkeletonProps = ComponentProps<typeof Skeleton>;
925
+
926
+ export declare const SkeletonTag: ReactWebComponent<SkeletonTag_2, {}>;
927
+
928
+ export declare type SkeletonTagProps = ComponentProps<typeof SkeletonTag>;
929
+
930
+ export declare const SkeletonText: ReactWebComponent<SkeletonText_2, {}>;
931
+
932
+ export declare type SkeletonTextProps = ComponentProps<typeof SkeletonText>;
933
+
957
934
  export declare const SpinnerWheel: ReactWebComponent<WCSpinnerWheel, {}>;
958
935
 
959
936
  export declare type SpinnerWheelProps = ComponentProps<typeof SpinnerWheel>;
@@ -1789,6 +1766,15 @@ declare const WiredTooltip: ReactWebComponent<WCTooltip, {}>;
1789
1766
  export { }
1790
1767
 
1791
1768
 
1769
+ declare module 'react' {
1770
+ interface CSSProperties {
1771
+ '--m-divider-margin-top'?: string;
1772
+ '--m-divider-margin-bottom'?: string;
1773
+ '--m-divider-margin-y'?: string;
1774
+ }
1775
+ }
1776
+
1777
+
1792
1778
  declare module 'react' {
1793
1779
  interface CSSProperties {
1794
1780
  '--m-card-body-padding'?: string;
@@ -1811,17 +1797,11 @@ declare module 'react' {
1811
1797
 
1812
1798
  declare module 'react' {
1813
1799
  interface CSSProperties {
1814
- '--m-divider-margin-top'?: string;
1815
- '--m-divider-margin-bottom'?: string;
1816
- '--m-divider-margin-y'?: string;
1817
- }
1818
- }
1819
-
1820
-
1821
- declare module 'react' {
1822
- interface CSSProperties {
1823
- '--m-text-display'?: string;
1824
- '--m-text-max-width'?: string;
1800
+ '--m-table-border-radius'?: string;
1801
+ '--m-table-border-top-left-radius'?: string;
1802
+ '--m-table-border-top-right-radius'?: string;
1803
+ '--m-table-border-bottom-left-radius'?: string;
1804
+ '--m-table-border-bottom-right-radius'?: string;
1825
1805
  }
1826
1806
  }
1827
1807
 
@@ -1851,10 +1831,7 @@ declare module 'react' {
1851
1831
 
1852
1832
  declare module 'react' {
1853
1833
  interface CSSProperties {
1854
- '--m-table-border-radius'?: string;
1855
- '--m-table-border-top-left-radius'?: string;
1856
- '--m-table-border-top-right-radius'?: string;
1857
- '--m-table-border-bottom-left-radius'?: string;
1858
- '--m-table-border-bottom-right-radius'?: string;
1834
+ '--m-text-display'?: string;
1835
+ '--m-text-max-width'?: string;
1859
1836
  }
1860
1837
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Avatar as Avatar$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, Page as Page$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SideNavigationBody as SideNavigationBody$1, SideNavigationDivider as SideNavigationDivider$1, SideNavigationFooter as SideNavigationFooter$1, SideNavigationHeader as SideNavigationHeader$1, SideNavigationItem as SideNavigationItem$1, SideNavigationSubNav as SideNavigationSubNav$1, SideNavigationSubNavContent as SideNavigationSubNavContent$1, SideNavigationSubNavItem as SideNavigationSubNavItem$1, SideNavigationSubNavTitle as SideNavigationSubNavTitle$1, SideNavigationTrigger as SideNavigationTrigger$1, SideNavigation as SideNavigation$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$2, TableBody as TableBody$2, TableFoot as TableFoot$2, TableRow as TableRow$2, TableCell as TableCell$2, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$2, TableFeedback as TableFeedback$1, TableActions as TableActions$1, TableSelectionCell as TableSelectionCell$1, Table as Table$2, TableHeadV2, TableBodyV2, TableFootV2, TableRowV2, TableCellV2, TableHeadCellV2, TableRowSelectV2, TableRowExpandV2, TableV2, TableLayoutToolbar as TableLayoutToolbar$1, TableLayoutFeedback as TableLayoutFeedback$1, TableLayoutActions as TableLayoutActions$1, TableLayout as TableLayout$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, TagRemove as TagRemove$1, TagExpand as TagExpand$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, TopNavigationItem as TopNavigationItem$1, TopNavigation as TopNavigation$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1, FileItem, FilePicker as FilePicker$1 } from "@loadsmart/miranda-wc";
1
+ import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Avatar as Avatar$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, Page as Page$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SideNavigationBody as SideNavigationBody$1, SideNavigationDivider as SideNavigationDivider$1, SideNavigationFooter as SideNavigationFooter$1, SideNavigationHeader as SideNavigationHeader$1, SideNavigationItem as SideNavigationItem$1, SideNavigationSubNav as SideNavigationSubNav$1, SideNavigationSubNavContent as SideNavigationSubNavContent$1, SideNavigationSubNavItem as SideNavigationSubNavItem$1, SideNavigationSubNavTitle as SideNavigationSubNavTitle$1, SideNavigationTrigger as SideNavigationTrigger$1, SideNavigation as SideNavigation$1, SkeletonText as SkeletonText$1, SkeletonTag as SkeletonTag$1, SkeletonAvatar as SkeletonAvatar$1, Skeleton as Skeleton$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, TagRemove as TagRemove$1, TagExpand as TagExpand$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, TopNavigationItem as TopNavigationItem$1, TopNavigation as TopNavigation$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1, FileItem, FilePicker as FilePicker$1 } from "@loadsmart/miranda-wc";
2
2
  import { DIALOG_SIZES, DIALOG_VARIANTS, DRAWER_SIZES, EMPTY_STATE_VARIANTS, Accordion, AccordionContent, AccordionTitle, ActionableTag, Avatar, 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, Page, 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";
@@ -831,6 +831,34 @@ const SideNavigation2 = createComponent({
831
831
  Trigger: SideNavigationTrigger
832
832
  }
833
833
  });
834
+ const SkeletonTextComponent = createComponent({
835
+ tagName: "m-skeleton-text",
836
+ elementClass: SkeletonText$1,
837
+ displayName: "Skeleton.Text"
838
+ });
839
+ const SkeletonText = SkeletonTextComponent;
840
+ const SkeletonTagComponent = createComponent({
841
+ tagName: "m-skeleton-tag",
842
+ elementClass: SkeletonTag$1,
843
+ displayName: "Skeleton.Tag"
844
+ });
845
+ const SkeletonTag = SkeletonTagComponent;
846
+ const SkeletonAvatarComponent = createComponent({
847
+ tagName: "m-skeleton-avatar",
848
+ elementClass: SkeletonAvatar$1,
849
+ displayName: "Skeleton.Avatar"
850
+ });
851
+ const SkeletonAvatar = SkeletonAvatarComponent;
852
+ const Skeleton = createComponent({
853
+ tagName: "m-skeleton",
854
+ elementClass: Skeleton$1,
855
+ displayName: "Skeleton",
856
+ subComponents: {
857
+ Text: SkeletonText,
858
+ Tag: SkeletonTag,
859
+ Avatar: SkeletonAvatar
860
+ }
861
+ });
834
862
  const SpinnerWheel2 = createComponent({
835
863
  tagName: "m-spinner-wheel",
836
864
  elementClass: SpinnerWheel$1,
@@ -1448,6 +1476,10 @@ export {
1448
1476
  SideNavigationSubNavTitle2 as SideNavigationSubNavTitle,
1449
1477
  SideNavigationTrigger,
1450
1478
  Sidebar2 as Sidebar,
1479
+ Skeleton,
1480
+ SkeletonAvatar,
1481
+ SkeletonTag,
1482
+ SkeletonText,
1451
1483
  SpinnerWheel2 as SpinnerWheel,
1452
1484
  Stack2 as Stack,
1453
1485
  Step2 as Step,
package/dist/tokens.d.ts CHANGED
@@ -5,6 +5,15 @@ export * from "@loadsmart/miranda-tokens/dist/themes.js";
5
5
  export { }
6
6
 
7
7
 
8
+ declare module 'react' {
9
+ interface CSSProperties {
10
+ '--m-divider-margin-top'?: string;
11
+ '--m-divider-margin-bottom'?: string;
12
+ '--m-divider-margin-y'?: string;
13
+ }
14
+ }
15
+
16
+
8
17
  declare module 'react' {
9
18
  interface CSSProperties {
10
19
  '--m-card-body-padding'?: string;
@@ -27,17 +36,11 @@ declare module 'react' {
27
36
 
28
37
  declare module 'react' {
29
38
  interface CSSProperties {
30
- '--m-divider-margin-top'?: string;
31
- '--m-divider-margin-bottom'?: string;
32
- '--m-divider-margin-y'?: string;
33
- }
34
- }
35
-
36
-
37
- declare module 'react' {
38
- interface CSSProperties {
39
- '--m-text-display'?: string;
40
- '--m-text-max-width'?: string;
39
+ '--m-table-border-radius'?: string;
40
+ '--m-table-border-top-left-radius'?: string;
41
+ '--m-table-border-top-right-radius'?: string;
42
+ '--m-table-border-bottom-left-radius'?: string;
43
+ '--m-table-border-bottom-right-radius'?: string;
41
44
  }
42
45
  }
43
46
 
@@ -67,10 +70,7 @@ declare module 'react' {
67
70
 
68
71
  declare module 'react' {
69
72
  interface CSSProperties {
70
- '--m-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;
73
+ '--m-text-display'?: string;
74
+ '--m-text-max-width'?: string;
75
75
  }
76
76
  }
package/package.json CHANGED
@@ -1,67 +1,67 @@
1
1
  {
2
- "name": "@loadsmart/miranda-react",
3
- "version": "3.23.0",
4
- "description": "React component library based on Miranda Web Components",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "files": [
9
- "dist"
10
- ],
11
- "scripts": {
12
- "build-docs": "storybook build -o ./docs",
13
- "dev": "storybook dev -p 7007",
14
- "test": "cypress run --component --browser chrome",
15
- "cypress": "cypress open --component --browser chrome",
16
- "build": "vite build",
17
- "prePublishOnly": "npm run build",
18
- "release": "semantic-release",
19
- "typecheck": "tsc --noEmit",
20
- "figma:create": "dotenvx run -- figma connect create --outDir src/components",
21
- "figma:parse": "dotenvx run -- figma connect parse",
22
- "figma:publish": "dotenvx run -- figma connect publish",
23
- "figma:unpublish": "dotenvx run -- figma connect unpublish",
24
- "figma:build-icons": "tsx ./src/scripts/build-icons-figma-connect.ts"
25
- },
26
- "author": "Loadsmart",
27
- "license": "UNLICENSED",
28
- "devDependencies": {
29
- "@figma/code-connect": "^1.3.6",
30
- "@loadsmart/miranda-utils": "*",
31
- "@types/node": "^22.15.23",
32
- "@types/react": "^17.0.85",
33
- "@types/react-dom": "^17.0.26",
34
- "@types/react-is": "^18.3.0",
35
- "@vitejs/plugin-react": "^4.4.1",
36
- "react": "^17.0.2",
37
- "react-dom": "^17.0.2",
38
- "ts-loader": "^9.4.2",
39
- "tsx": "^4.19.4",
40
- "vite": "^6.3.2",
41
- "vite-plugin-dts": "^4.5.3"
42
- },
43
- "peerDependencies": {
44
- "react": ">=16.8.0",
45
- "react-dom": ">=16.8.0"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- },
50
- "dependencies": {
51
- "@lit/react": "^1.0.5",
52
- "@loadsmart/miranda-tokens": "4.23.0",
53
- "@loadsmart/miranda-wc": "3.23.0",
54
- "react-is": "^18.3.1"
55
- },
56
- "directories": {
57
- "test": "tests"
58
- },
59
- "repository": {
60
- "type": "git",
61
- "url": "git+https://github.com/loadsmart/miranda-wc.git"
62
- },
63
- "bugs": {
64
- "url": "https://github.com/loadsmart/miranda-wc/issues"
65
- },
66
- "homepage": "https://github.com/loadsmart/miranda-wc#readme"
67
- }
2
+ "name": "@loadsmart/miranda-react",
3
+ "version": "3.24.1",
4
+ "description": "React component library based on Miranda Web Components",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "build-docs": "storybook build -o ./docs",
13
+ "dev": "storybook dev -p 7007",
14
+ "test": "cypress run --component --browser chrome",
15
+ "cypress": "cypress open --component --browser chrome",
16
+ "build": "vite build",
17
+ "release": "semantic-release",
18
+ "typecheck": "tsc --noEmit",
19
+ "figma:create": "dotenvx run -- figma connect create --outDir src/components",
20
+ "figma:parse": "dotenvx run -- figma connect parse",
21
+ "figma:publish": "dotenvx run -- figma connect publish",
22
+ "figma:unpublish": "dotenvx run -- figma connect unpublish",
23
+ "figma:build-icons": "tsx ./src/scripts/build-icons-figma-connect.ts"
24
+ },
25
+ "author": "Loadsmart",
26
+ "license": "UNLICENSED",
27
+ "devDependencies": {
28
+ "@figma/code-connect": "^1.3.6",
29
+ "@loadsmart/miranda-utils": "0.0.0",
30
+ "@types/node": "^24.1.0",
31
+ "@types/react": "^18.3.24",
32
+ "@types/react-dom": "^18.3.7",
33
+ "@types/react-is": "^18.3.1",
34
+ "@vitejs/plugin-react": "^4.4.1",
35
+ "react": "^18.3.1",
36
+ "react-dom": "^18.3.1",
37
+ "ts-loader": "^9.4.2",
38
+ "tsx": "^4.19.4",
39
+ "typescript": "~5.8.3",
40
+ "vite": "^6.3.2",
41
+ "vite-plugin-dts": "^4.5.3"
42
+ },
43
+ "peerDependencies": {
44
+ "react": ">=16.8.0",
45
+ "react-dom": ">=16.8.0"
46
+ },
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "dependencies": {
51
+ "@lit/react": "^1.0.5",
52
+ "@loadsmart/miranda-tokens": "4.24.3",
53
+ "@loadsmart/miranda-wc": "3.24.1",
54
+ "react-is": "^18.3.1"
55
+ },
56
+ "directories": {
57
+ "test": "tests"
58
+ },
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "git+https://github.com/loadsmart/miranda-wc.git"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/loadsmart/miranda-wc/issues"
65
+ },
66
+ "homepage": "https://github.com/loadsmart/miranda-wc#readme"
67
+ }