@loadsmart/miranda-react 3.0.0-beta.76 → 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
@@ -1594,29 +1594,29 @@ 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-icon-size'?: string;
1607
+ '--m-icon-color'?: string;
1612
1608
  }
1613
1609
  }
1614
1610
 
1615
1611
 
1616
1612
  declare module 'react' {
1617
1613
  interface CSSProperties {
1618
- '--m-icon-size'?: string;
1619
- '--m-icon-color'?: 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;
1620
1620
  }
1621
1621
  }
1622
1622
 
@@ -1628,18 +1628,14 @@ declare module 'react' {
1628
1628
  '--m-table-border-top-right-radius'?: string;
1629
1629
  '--m-table-border-bottom-left-radius'?: string;
1630
1630
  '--m-table-border-bottom-right-radius'?: string;
1631
- '--m-table-border-width'?: string;
1632
1631
  }
1633
1632
  }
1634
1633
 
1635
1634
 
1636
1635
  declare module 'react' {
1637
1636
  interface CSSProperties {
1638
- '--m-table-border-radius'?: string;
1639
- '--m-table-border-top-left-radius'?: string;
1640
- '--m-table-border-top-right-radius'?: string;
1641
- '--m-table-border-bottom-left-radius'?: string;
1642
- '--m-table-border-bottom-right-radius'?: string;
1637
+ '--m-text-display'?: string;
1638
+ '--m-text-max-width'?: string;
1643
1639
  }
1644
1640
  }
1645
1641
 
@@ -1651,13 +1647,17 @@ declare module 'react' {
1651
1647
  '--m-table-border-top-right-radius'?: string;
1652
1648
  '--m-table-border-bottom-left-radius'?: string;
1653
1649
  '--m-table-border-bottom-right-radius'?: string;
1650
+ '--m-table-border-width'?: string;
1654
1651
  }
1655
1652
  }
1656
1653
 
1657
1654
 
1658
1655
  declare module 'react' {
1659
1656
  interface CSSProperties {
1660
- '--m-text-display'?: string;
1661
- '--m-text-max-width'?: string;
1657
+ '--m-table-border-radius'?: string;
1658
+ '--m-table-border-top-left-radius'?: string;
1659
+ '--m-table-border-top-right-radius'?: string;
1660
+ '--m-table-border-bottom-left-radius'?: string;
1661
+ '--m-table-border-bottom-right-radius'?: 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,29 +7,29 @@ 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-icon-size'?: string;
20
+ '--m-icon-color'?: string;
25
21
  }
26
22
  }
27
23
 
28
24
 
29
25
  declare module 'react' {
30
26
  interface CSSProperties {
31
- '--m-icon-size'?: string;
32
- '--m-icon-color'?: 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;
33
33
  }
34
34
  }
35
35
 
@@ -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
 
@@ -64,13 +60,17 @@ declare module 'react' {
64
60
  '--m-table-border-top-right-radius'?: string;
65
61
  '--m-table-border-bottom-left-radius'?: string;
66
62
  '--m-table-border-bottom-right-radius'?: string;
63
+ '--m-table-border-width'?: string;
67
64
  }
68
65
  }
69
66
 
70
67
 
71
68
  declare module 'react' {
72
69
  interface CSSProperties {
73
- '--m-text-display'?: string;
74
- '--m-text-max-width'?: string;
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;
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.76",
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.76",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.76",
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": {