@loadsmart/miranda-react 4.0.0-alpha.2 → 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
@@ -4,7 +4,6 @@ import { BannerVariant } from '@loadsmart/miranda-wc';
4
4
  import { ButtonSize } from '@loadsmart/miranda-wc';
5
5
  import { ButtonType } from '@loadsmart/miranda-wc';
6
6
  import { ButtonVariant } from '@loadsmart/miranda-wc';
7
- import { CardToggleEventDetails } from '@loadsmart/miranda-wc';
8
7
  import { ChangeEvent } from 'react';
9
8
  import { ColumnSize } from '@loadsmart/miranda-wc';
10
9
  import { ComponentProps } from 'react';
@@ -362,7 +361,7 @@ export { ButtonType }
362
361
  export { ButtonVariant }
363
362
 
364
363
  export declare const Card: ReactWebComponent<WCCard, {
365
- onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
364
+ onToggle: string;
366
365
  }> & {
367
366
  Title: ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & RefAttributes<WCCardTitle>>;
368
367
  Subtitle: ReactWebComponent<WCCardSubtitle, {}>;
@@ -395,8 +394,6 @@ declare type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'
395
394
  leading?: ReactNode;
396
395
  };
397
396
 
398
- export { CardToggleEventDetails }
399
-
400
397
  export declare const Checkbox: default_2.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & default_2.RefAttributes<WCCheckbox>>;
401
398
 
402
399
  export declare type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
@@ -1782,15 +1779,6 @@ declare const WiredTooltip: ReactWebComponent<WCTooltip, {}>;
1782
1779
  export { }
1783
1780
 
1784
1781
 
1785
- declare module 'react' {
1786
- interface CSSProperties {
1787
- '--m-divider-margin-top'?: string;
1788
- '--m-divider-margin-bottom'?: string;
1789
- '--m-divider-margin-y'?: string;
1790
- }
1791
- }
1792
-
1793
-
1794
1782
  declare module 'react' {
1795
1783
  interface CSSProperties {
1796
1784
  '--m-card-body-padding'?: string;
@@ -1803,6 +1791,15 @@ declare module 'react' {
1803
1791
  }
1804
1792
 
1805
1793
 
1794
+ declare module 'react' {
1795
+ interface CSSProperties {
1796
+ '--m-divider-margin-top'?: string;
1797
+ '--m-divider-margin-bottom'?: string;
1798
+ '--m-divider-margin-y'?: string;
1799
+ }
1800
+ }
1801
+
1802
+
1806
1803
  declare module 'react' {
1807
1804
  interface CSSProperties {
1808
1805
  '--m-icon-size'?: string;
@@ -1818,6 +1815,7 @@ declare module 'react' {
1818
1815
  '--m-table-border-top-right-radius'?: string;
1819
1816
  '--m-table-border-bottom-left-radius'?: string;
1820
1817
  '--m-table-border-bottom-right-radius'?: string;
1818
+ '--m-table-border-width'?: string;
1821
1819
  }
1822
1820
  }
1823
1821
 
@@ -1829,7 +1827,6 @@ declare module 'react' {
1829
1827
  '--m-table-border-top-right-radius'?: string;
1830
1828
  '--m-table-border-bottom-left-radius'?: string;
1831
1829
  '--m-table-border-bottom-right-radius'?: string;
1832
- '--m-table-border-width'?: string;
1833
1830
  }
1834
1831
  }
1835
1832
 
package/dist/tokens.d.ts CHANGED
@@ -5,15 +5,6 @@ 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
-
17
8
  declare module 'react' {
18
9
  interface CSSProperties {
19
10
  '--m-card-body-padding'?: string;
@@ -26,6 +17,15 @@ declare module 'react' {
26
17
  }
27
18
 
28
19
 
20
+ declare module 'react' {
21
+ interface CSSProperties {
22
+ '--m-divider-margin-top'?: string;
23
+ '--m-divider-margin-bottom'?: string;
24
+ '--m-divider-margin-y'?: string;
25
+ }
26
+ }
27
+
28
+
29
29
  declare module 'react' {
30
30
  interface CSSProperties {
31
31
  '--m-icon-size'?: string;
@@ -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,7 +53,6 @@ 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "4.0.0-alpha.2",
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.2",
53
- "@loadsmart/miranda-wc": "4.0.0-alpha.2",
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": {