@loadsmart/miranda-react 3.0.0-beta.77 → 3.0.0-beta.78

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
@@ -1592,18 +1592,6 @@ declare const WiredTooltip: ReactWebComponent<WCTooltip, {}>;
1592
1592
  export { }
1593
1593
 
1594
1594
 
1595
- declare module 'react' {
1596
- interface CSSProperties {
1597
- '--m-card-body-padding'?: string;
1598
- '--m-card-border-top'?: string;
1599
- '--m-card-border-left'?: string;
1600
- '--m-card-border-bottom'?: string;
1601
- '--m-card-border-right'?: string;
1602
- '--m-card-border-radius'?: string;
1603
- }
1604
- }
1605
-
1606
-
1607
1595
  declare module 'react' {
1608
1596
  interface CSSProperties {
1609
1597
  '--m-divider-margin-top'?: string;
@@ -1623,11 +1611,12 @@ declare module 'react' {
1623
1611
 
1624
1612
  declare module 'react' {
1625
1613
  interface CSSProperties {
1626
- '--m-table-border-radius'?: string;
1627
- '--m-table-border-top-left-radius'?: string;
1628
- '--m-table-border-top-right-radius'?: string;
1629
- '--m-table-border-bottom-left-radius'?: string;
1630
- '--m-table-border-bottom-right-radius'?: string;
1614
+ '--m-card-body-padding'?: string;
1615
+ '--m-card-border-top'?: string;
1616
+ '--m-card-border-left'?: string;
1617
+ '--m-card-border-bottom'?: string;
1618
+ '--m-card-border-right'?: string;
1619
+ '--m-card-border-radius'?: string;
1631
1620
  }
1632
1621
  }
1633
1622
 
@@ -1639,7 +1628,6 @@ declare module 'react' {
1639
1628
  '--m-table-border-top-right-radius'?: string;
1640
1629
  '--m-table-border-bottom-left-radius'?: string;
1641
1630
  '--m-table-border-bottom-right-radius'?: string;
1642
- '--m-table-border-width'?: string;
1643
1631
  }
1644
1632
  }
1645
1633
 
@@ -1652,6 +1640,18 @@ declare module 'react' {
1652
1640
  }
1653
1641
 
1654
1642
 
1643
+ declare module 'react' {
1644
+ interface CSSProperties {
1645
+ '--m-table-border-radius'?: string;
1646
+ '--m-table-border-top-left-radius'?: string;
1647
+ '--m-table-border-top-right-radius'?: string;
1648
+ '--m-table-border-bottom-left-radius'?: string;
1649
+ '--m-table-border-bottom-right-radius'?: string;
1650
+ '--m-table-border-width'?: string;
1651
+ }
1652
+ }
1653
+
1654
+
1655
1655
  declare module 'react' {
1656
1656
  interface CSSProperties {
1657
1657
  '--m-table-border-radius'?: string;
package/dist/index.js CHANGED
@@ -947,14 +947,21 @@ const TableRowExpand = createComponent({
947
947
  elementClass: TableRowExpandV2,
948
948
  displayName: "TableRowExpandV2"
949
949
  });
950
- function TableRowExpansion(props) {
951
- const { children } = props;
952
- return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, React__default.Children.map(children, (child) => {
950
+ function applySlotToChildren(children) {
951
+ return React__default.Children.map(children, (child) => {
952
+ if (!child) return child;
953
953
  if (React__default.isValidElement(child)) {
954
+ if (child.type === React__default.Fragment) {
955
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, applySlotToChildren(child.props.children));
956
+ }
954
957
  return React__default.cloneElement(child, { slot: "expansion" });
955
958
  }
956
959
  return child;
957
- }));
960
+ });
961
+ }
962
+ function TableRowExpansion(props) {
963
+ const { children } = props;
964
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, applySlotToChildren(children));
958
965
  }
959
966
  const Table2 = createComponent({
960
967
  tagName: "m-table-v2",
package/dist/tokens.d.ts CHANGED
@@ -5,18 +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-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;
16
- }
17
- }
18
-
19
-
20
8
  declare module 'react' {
21
9
  interface CSSProperties {
22
10
  '--m-divider-margin-top'?: string;
@@ -36,11 +24,12 @@ declare module 'react' {
36
24
 
37
25
  declare module 'react' {
38
26
  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;
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;
44
33
  }
45
34
  }
46
35
 
@@ -52,7 +41,6 @@ declare module 'react' {
52
41
  '--m-table-border-top-right-radius'?: string;
53
42
  '--m-table-border-bottom-left-radius'?: string;
54
43
  '--m-table-border-bottom-right-radius'?: string;
55
- '--m-table-border-width'?: string;
56
44
  }
57
45
  }
58
46
 
@@ -65,6 +53,18 @@ declare module 'react' {
65
53
  }
66
54
 
67
55
 
56
+ declare module 'react' {
57
+ interface CSSProperties {
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;
64
+ }
65
+ }
66
+
67
+
68
68
  declare module 'react' {
69
69
  interface CSSProperties {
70
70
  '--m-table-border-radius'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.77",
3
+ "version": "3.0.0-beta.78",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@lit/react": "^1.0.5",
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.77",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.77",
44
+ "@loadsmart/miranda-tokens": "4.0.0-beta.78",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.78",
46
46
  "react-is": "^18.3.1"
47
47
  },
48
48
  "directories": {