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

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
@@ -1594,21 +1594,21 @@ export { }
1594
1594
 
1595
1595
  declare module 'react' {
1596
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;
1597
+ '--m-divider-margin-top'?: string;
1598
+ '--m-divider-margin-bottom'?: string;
1599
+ '--m-divider-margin-y'?: string;
1603
1600
  }
1604
1601
  }
1605
1602
 
1606
1603
 
1607
1604
  declare module 'react' {
1608
1605
  interface CSSProperties {
1609
- '--m-divider-margin-top'?: string;
1610
- '--m-divider-margin-bottom'?: string;
1611
- '--m-divider-margin-y'?: string;
1606
+ '--m-card-body-padding'?: string;
1607
+ '--m-card-border-top'?: string;
1608
+ '--m-card-border-left'?: string;
1609
+ '--m-card-border-bottom'?: string;
1610
+ '--m-card-border-right'?: string;
1611
+ '--m-card-border-radius'?: string;
1612
1612
  }
1613
1613
  }
1614
1614
 
@@ -1639,7 +1639,6 @@ declare module 'react' {
1639
1639
  '--m-table-border-top-right-radius'?: string;
1640
1640
  '--m-table-border-bottom-left-radius'?: string;
1641
1641
  '--m-table-border-bottom-right-radius'?: string;
1642
- '--m-table-border-width'?: string;
1643
1642
  }
1644
1643
  }
1645
1644
 
@@ -1659,5 +1658,6 @@ declare module 'react' {
1659
1658
  '--m-table-border-top-right-radius'?: string;
1660
1659
  '--m-table-border-bottom-left-radius'?: string;
1661
1660
  '--m-table-border-bottom-right-radius'?: string;
1661
+ '--m-table-border-width'?: string;
1662
1662
  }
1663
1663
  }
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
@@ -7,21 +7,21 @@ export { }
7
7
 
8
8
  declare module 'react' {
9
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;
10
+ '--m-divider-margin-top'?: string;
11
+ '--m-divider-margin-bottom'?: string;
12
+ '--m-divider-margin-y'?: string;
16
13
  }
17
14
  }
18
15
 
19
16
 
20
17
  declare module 'react' {
21
18
  interface CSSProperties {
22
- '--m-divider-margin-top'?: string;
23
- '--m-divider-margin-bottom'?: string;
24
- '--m-divider-margin-y'?: string;
19
+ '--m-card-body-padding'?: string;
20
+ '--m-card-border-top'?: string;
21
+ '--m-card-border-left'?: string;
22
+ '--m-card-border-bottom'?: string;
23
+ '--m-card-border-right'?: string;
24
+ '--m-card-border-radius'?: string;
25
25
  }
26
26
  }
27
27
 
@@ -52,7 +52,6 @@ declare module 'react' {
52
52
  '--m-table-border-top-right-radius'?: string;
53
53
  '--m-table-border-bottom-left-radius'?: string;
54
54
  '--m-table-border-bottom-right-radius'?: string;
55
- '--m-table-border-width'?: string;
56
55
  }
57
56
  }
58
57
 
@@ -72,5 +71,6 @@ declare module 'react' {
72
71
  '--m-table-border-top-right-radius'?: string;
73
72
  '--m-table-border-bottom-left-radius'?: string;
74
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.0.0-beta.77",
3
+ "version": "3.0.0-beta.79",
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.79",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.79",
46
46
  "react-is": "^18.3.1"
47
47
  },
48
48
  "directories": {