@loadsmart/miranda-react 3.1.1 → 3.2.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
@@ -28,7 +28,6 @@ import { FieldSize } from '@loadsmart/miranda-wc';
28
28
  import { FieldStatus } from '@loadsmart/miranda-wc';
29
29
  import { FileItem } from '@loadsmart/miranda-wc';
30
30
  import { FilePicker as FilePicker_2 } from '@loadsmart/miranda-wc';
31
- import { FilePickerEvent } from '@loadsmart/miranda-wc';
32
31
  import { ForwardRefExoticComponent } from 'react';
33
32
  import { HeaderTabs as HeaderTabs_2 } from '@loadsmart/miranda-wc';
34
33
  import { IconName } from '@loadsmart/miranda-wc';
@@ -595,7 +594,7 @@ export { FieldSize }
595
594
  export { FieldStatus }
596
595
 
597
596
  export declare const FilePicker: ReactWebComponent<FilePicker_2, {
598
- onChange: EventName<CustomEvent<FilePickerEvent>>;
597
+ onChange: EventName<MirandaChangeEvent<FilePicker_2>>;
599
598
  }> & {
600
599
  FileItem: typeof FileItem;
601
600
  };
@@ -1603,6 +1602,14 @@ declare const WiredTooltip: ReactWebComponent<WCTooltip, {}>;
1603
1602
  export { }
1604
1603
 
1605
1604
 
1605
+ declare module 'react' {
1606
+ interface CSSProperties {
1607
+ '--m-icon-size'?: string;
1608
+ '--m-icon-color'?: string;
1609
+ }
1610
+ }
1611
+
1612
+
1606
1613
  declare module 'react' {
1607
1614
  interface CSSProperties {
1608
1615
  '--m-card-body-padding'?: string;
@@ -1624,14 +1631,6 @@ declare module 'react' {
1624
1631
  }
1625
1632
 
1626
1633
 
1627
- declare module 'react' {
1628
- interface CSSProperties {
1629
- '--m-icon-size'?: string;
1630
- '--m-icon-color'?: string;
1631
- }
1632
- }
1633
-
1634
-
1635
1634
  declare module 'react' {
1636
1635
  interface CSSProperties {
1637
1636
  '--m-table-border-radius'?: string;
@@ -1639,18 +1638,14 @@ declare module 'react' {
1639
1638
  '--m-table-border-top-right-radius'?: string;
1640
1639
  '--m-table-border-bottom-left-radius'?: string;
1641
1640
  '--m-table-border-bottom-right-radius'?: string;
1642
- '--m-table-border-width'?: string;
1643
1641
  }
1644
1642
  }
1645
1643
 
1646
1644
 
1647
1645
  declare module 'react' {
1648
1646
  interface CSSProperties {
1649
- '--m-table-border-radius'?: string;
1650
- '--m-table-border-top-left-radius'?: string;
1651
- '--m-table-border-top-right-radius'?: string;
1652
- '--m-table-border-bottom-left-radius'?: string;
1653
- '--m-table-border-bottom-right-radius'?: string;
1647
+ '--m-text-display'?: string;
1648
+ '--m-text-max-width'?: string;
1654
1649
  }
1655
1650
  }
1656
1651
 
@@ -1668,7 +1663,11 @@ declare module 'react' {
1668
1663
 
1669
1664
  declare module 'react' {
1670
1665
  interface CSSProperties {
1671
- '--m-text-display'?: string;
1672
- '--m-text-max-width'?: string;
1666
+ '--m-table-border-radius'?: string;
1667
+ '--m-table-border-top-left-radius'?: string;
1668
+ '--m-table-border-top-right-radius'?: string;
1669
+ '--m-table-border-bottom-left-radius'?: string;
1670
+ '--m-table-border-bottom-right-radius'?: string;
1671
+ '--m-table-border-width'?: string;
1673
1672
  }
1674
1673
  }
package/dist/tokens.d.ts CHANGED
@@ -5,6 +5,14 @@ export * from "@loadsmart/miranda-tokens/dist/themes.js";
5
5
  export { }
6
6
 
7
7
 
8
+ declare module 'react' {
9
+ interface CSSProperties {
10
+ '--m-icon-size'?: string;
11
+ '--m-icon-color'?: string;
12
+ }
13
+ }
14
+
15
+
8
16
  declare module 'react' {
9
17
  interface CSSProperties {
10
18
  '--m-card-body-padding'?: string;
@@ -26,14 +34,6 @@ declare module 'react' {
26
34
  }
27
35
 
28
36
 
29
- declare module 'react' {
30
- interface CSSProperties {
31
- '--m-icon-size'?: string;
32
- '--m-icon-color'?: string;
33
- }
34
- }
35
-
36
-
37
37
  declare module 'react' {
38
38
  interface CSSProperties {
39
39
  '--m-table-border-radius'?: string;
@@ -41,18 +41,14 @@ 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;
45
44
  }
46
45
  }
47
46
 
48
47
 
49
48
  declare module 'react' {
50
49
  interface CSSProperties {
51
- '--m-table-border-radius'?: string;
52
- '--m-table-border-top-left-radius'?: string;
53
- '--m-table-border-top-right-radius'?: string;
54
- '--m-table-border-bottom-left-radius'?: string;
55
- '--m-table-border-bottom-right-radius'?: string;
50
+ '--m-text-display'?: string;
51
+ '--m-text-max-width'?: string;
56
52
  }
57
53
  }
58
54
 
@@ -70,7 +66,11 @@ declare module 'react' {
70
66
 
71
67
  declare module 'react' {
72
68
  interface CSSProperties {
73
- '--m-text-display'?: string;
74
- '--m-text-max-width'?: string;
69
+ '--m-table-border-radius'?: string;
70
+ '--m-table-border-top-left-radius'?: string;
71
+ '--m-table-border-top-right-radius'?: string;
72
+ '--m-table-border-bottom-left-radius'?: string;
73
+ '--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.1.1",
3
+ "version": "3.2.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.1.1",
53
- "@loadsmart/miranda-wc": "3.1.1",
52
+ "@loadsmart/miranda-tokens": "4.2.0",
53
+ "@loadsmart/miranda-wc": "3.2.0",
54
54
  "react-is": "^18.3.1"
55
55
  },
56
56
  "directories": {