@loadsmart/miranda-react 4.0.0-alpha.2 → 4.0.0-alpha.4
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 +18 -21
- package/dist/tokens.d.ts +17 -17
- package/package.json +3 -3
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:
|
|
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,18 +1815,15 @@ 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
|
|
|
1824
1822
|
|
|
1825
1823
|
declare module 'react' {
|
|
1826
1824
|
interface CSSProperties {
|
|
1827
|
-
'--m-
|
|
1828
|
-
'--m-
|
|
1829
|
-
'--m-table-border-top-right-radius'?: string;
|
|
1830
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
1831
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
1832
|
-
'--m-table-border-width'?: string;
|
|
1825
|
+
'--m-text-display'?: string;
|
|
1826
|
+
'--m-text-max-width'?: string;
|
|
1833
1827
|
}
|
|
1834
1828
|
}
|
|
1835
1829
|
|
|
@@ -1847,7 +1841,10 @@ declare module 'react' {
|
|
|
1847
1841
|
|
|
1848
1842
|
declare module 'react' {
|
|
1849
1843
|
interface CSSProperties {
|
|
1850
|
-
'--m-
|
|
1851
|
-
'--m-
|
|
1844
|
+
'--m-table-border-radius'?: string;
|
|
1845
|
+
'--m-table-border-top-left-radius'?: string;
|
|
1846
|
+
'--m-table-border-top-right-radius'?: string;
|
|
1847
|
+
'--m-table-border-bottom-left-radius'?: string;
|
|
1848
|
+
'--m-table-border-bottom-right-radius'?: string;
|
|
1852
1849
|
}
|
|
1853
1850
|
}
|
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,18 +41,15 @@ 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
|
|
|
47
48
|
|
|
48
49
|
declare module 'react' {
|
|
49
50
|
interface CSSProperties {
|
|
50
|
-
'--m-
|
|
51
|
-
'--m-
|
|
52
|
-
'--m-table-border-top-right-radius'?: string;
|
|
53
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
54
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
55
|
-
'--m-table-border-width'?: string;
|
|
51
|
+
'--m-text-display'?: string;
|
|
52
|
+
'--m-text-max-width'?: string;
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
|
|
@@ -70,7 +67,10 @@ declare module 'react' {
|
|
|
70
67
|
|
|
71
68
|
declare module 'react' {
|
|
72
69
|
interface CSSProperties {
|
|
73
|
-
'--m-
|
|
74
|
-
'--m-
|
|
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": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.4",
|
|
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.
|
|
53
|
-
"@loadsmart/miranda-wc": "4.0.0-alpha.
|
|
52
|
+
"@loadsmart/miranda-tokens": "5.0.0-alpha.4",
|
|
53
|
+
"@loadsmart/miranda-wc": "4.0.0-alpha.4",
|
|
54
54
|
"react-is": "^18.3.1"
|
|
55
55
|
},
|
|
56
56
|
"directories": {
|