@loadsmart/miranda-react 4.0.0-alpha.1 → 4.0.0-alpha.3

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
@@ -1,11 +1,9 @@
1
- import { AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
2
1
  import { ActionableTagVariant } from '@loadsmart/miranda-wc';
3
2
  import { AlignItemsValue } from '@loadsmart/miranda-wc';
4
3
  import { BannerVariant } from '@loadsmart/miranda-wc';
5
4
  import { ButtonSize } from '@loadsmart/miranda-wc';
6
5
  import { ButtonType } from '@loadsmart/miranda-wc';
7
6
  import { ButtonVariant } from '@loadsmart/miranda-wc';
8
- import { CardToggleEventDetails } from '@loadsmart/miranda-wc';
9
7
  import { ChangeEvent } from 'react';
10
8
  import { ColumnSize } from '@loadsmart/miranda-wc';
11
9
  import { ComponentProps } from 'react';
@@ -281,7 +279,7 @@ import { Tooltip as WCTooltip } from '@loadsmart/miranda-wc';
281
279
  import { TooltipProps as WCTooltipProps } from '@loadsmart/miranda-wc';
282
280
 
283
281
  export declare const Accordion: ReactWebComponent<WCAccordion, {
284
- onToggle: EventName<CustomEvent<AccordionToggleEventDetails>>;
282
+ onToggle: string;
285
283
  }> & {
286
284
  Title: ForwardRefExoticComponent<Omit<AccordionTitleProps, "ref"> & RefAttributes<WCAccordionTitle>>;
287
285
  Content: ReactWebComponent<WCAccordionContent, {}>;
@@ -293,8 +291,6 @@ declare type AccordionTitleProps = Omit<ComponentProps<typeof WiredAccordionTitl
293
291
  leading?: ReactNode;
294
292
  };
295
293
 
296
- export { AccordionToggleEventDetails }
297
-
298
294
  export declare const ActionableTag: default_2.ForwardRefExoticComponent<Omit<ActionableTagProps, "ref"> & default_2.RefAttributes<WCActionableTag>>;
299
295
 
300
296
  export declare type ActionableTagProps = ComponentProps<typeof WiredActionableTag> & {
@@ -365,7 +361,7 @@ export { ButtonType }
365
361
  export { ButtonVariant }
366
362
 
367
363
  export declare const Card: ReactWebComponent<WCCard, {
368
- onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
364
+ onToggle: string;
369
365
  }> & {
370
366
  Title: ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & RefAttributes<WCCardTitle>>;
371
367
  Subtitle: ReactWebComponent<WCCardSubtitle, {}>;
@@ -398,8 +394,6 @@ declare type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'
398
394
  leading?: ReactNode;
399
395
  };
400
396
 
401
- export { CardToggleEventDetails }
402
-
403
397
  export declare const Checkbox: default_2.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & default_2.RefAttributes<WCCheckbox>>;
404
398
 
405
399
  export declare type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
@@ -1821,6 +1815,7 @@ declare module 'react' {
1821
1815
  '--m-table-border-top-right-radius'?: string;
1822
1816
  '--m-table-border-bottom-left-radius'?: string;
1823
1817
  '--m-table-border-bottom-right-radius'?: string;
1818
+ '--m-table-border-width'?: string;
1824
1819
  }
1825
1820
  }
1826
1821
 
@@ -1832,25 +1827,24 @@ declare module 'react' {
1832
1827
  '--m-table-border-top-right-radius'?: string;
1833
1828
  '--m-table-border-bottom-left-radius'?: string;
1834
1829
  '--m-table-border-bottom-right-radius'?: string;
1835
- '--m-table-border-width'?: string;
1836
1830
  }
1837
1831
  }
1838
1832
 
1839
1833
 
1840
1834
  declare module 'react' {
1841
1835
  interface CSSProperties {
1842
- '--m-text-display'?: string;
1843
- '--m-text-max-width'?: string;
1836
+ '--m-table-border-radius'?: string;
1837
+ '--m-table-border-top-left-radius'?: string;
1838
+ '--m-table-border-top-right-radius'?: string;
1839
+ '--m-table-border-bottom-left-radius'?: string;
1840
+ '--m-table-border-bottom-right-radius'?: string;
1844
1841
  }
1845
1842
  }
1846
1843
 
1847
1844
 
1848
1845
  declare module 'react' {
1849
1846
  interface CSSProperties {
1850
- '--m-table-border-radius'?: string;
1851
- '--m-table-border-top-left-radius'?: string;
1852
- '--m-table-border-top-right-radius'?: string;
1853
- '--m-table-border-bottom-left-radius'?: string;
1854
- '--m-table-border-bottom-right-radius'?: string;
1847
+ '--m-text-display'?: string;
1848
+ '--m-text-max-width'?: string;
1855
1849
  }
1856
1850
  }
package/dist/tokens.d.ts CHANGED
@@ -41,6 +41,7 @@ declare module 'react' {
41
41
  '--m-table-border-top-right-radius'?: string;
42
42
  '--m-table-border-bottom-left-radius'?: string;
43
43
  '--m-table-border-bottom-right-radius'?: string;
44
+ '--m-table-border-width'?: string;
44
45
  }
45
46
  }
46
47
 
@@ -52,25 +53,24 @@ declare module 'react' {
52
53
  '--m-table-border-top-right-radius'?: string;
53
54
  '--m-table-border-bottom-left-radius'?: string;
54
55
  '--m-table-border-bottom-right-radius'?: string;
55
- '--m-table-border-width'?: string;
56
56
  }
57
57
  }
58
58
 
59
59
 
60
60
  declare module 'react' {
61
61
  interface CSSProperties {
62
- '--m-text-display'?: string;
63
- '--m-text-max-width'?: string;
62
+ '--m-table-border-radius'?: string;
63
+ '--m-table-border-top-left-radius'?: string;
64
+ '--m-table-border-top-right-radius'?: string;
65
+ '--m-table-border-bottom-left-radius'?: string;
66
+ '--m-table-border-bottom-right-radius'?: string;
64
67
  }
65
68
  }
66
69
 
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "4.0.0-alpha.1",
3
+ "version": "4.0.0-alpha.3",
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
  },
50
50
  "dependencies": {
51
51
  "@lit/react": "^1.0.5",
52
- "@loadsmart/miranda-tokens": "5.0.0-alpha.1",
53
- "@loadsmart/miranda-wc": "4.0.0-alpha.1",
52
+ "@loadsmart/miranda-tokens": "5.0.0-alpha.3",
53
+ "@loadsmart/miranda-wc": "4.0.0-alpha.3",
54
54
  "react-is": "^18.3.1"
55
55
  },
56
56
  "directories": {