@chayns-components/core 5.0.0-beta.797 → 5.0.0-beta.798
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/lib/cjs/components/color-scheme-provider/ColorSchemeProvider.js +1 -0
- package/lib/cjs/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
- package/lib/cjs/components/context-menu/ContextMenu.js +2 -2
- package/lib/cjs/components/context-menu/ContextMenu.js.map +1 -1
- package/lib/cjs/components/page-provider/PageProvider.js +67 -0
- package/lib/cjs/components/page-provider/PageProvider.js.map +1 -0
- package/lib/cjs/components/page-provider/PageProvider.styles.js +34 -0
- package/lib/cjs/components/page-provider/PageProvider.styles.js.map +1 -0
- package/lib/cjs/components/popup/Popup.js +1 -1
- package/lib/cjs/components/popup/Popup.js.map +1 -1
- package/lib/cjs/constants/pageProvider.js +16 -0
- package/lib/cjs/constants/pageProvider.js.map +1 -0
- package/lib/cjs/index.js +14 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/utils/pageProvider.js +92 -0
- package/lib/cjs/utils/pageProvider.js.map +1 -0
- package/lib/esm/components/color-scheme-provider/ColorSchemeProvider.js +1 -0
- package/lib/esm/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
- package/lib/esm/components/context-menu/ContextMenu.js +2 -2
- package/lib/esm/components/context-menu/ContextMenu.js.map +1 -1
- package/lib/esm/components/page-provider/PageProvider.js +59 -0
- package/lib/esm/components/page-provider/PageProvider.js.map +1 -0
- package/lib/esm/components/page-provider/PageProvider.styles.js +33 -0
- package/lib/esm/components/page-provider/PageProvider.styles.js.map +1 -0
- package/lib/esm/components/popup/Popup.js +1 -1
- package/lib/esm/components/popup/Popup.js.map +1 -1
- package/lib/esm/constants/pageProvider.js +10 -0
- package/lib/esm/constants/pageProvider.js.map +1 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/utils/pageProvider.js +84 -0
- package/lib/esm/utils/pageProvider.js.map +1 -0
- package/lib/types/components/accordion/Accordion.styles.d.ts +1 -1
- package/lib/types/components/accordion/accordion-body/AccordionBody.styles.d.ts +1 -1
- package/lib/types/components/accordion/accordion-head/AccordionHead.styles.d.ts +10 -10
- package/lib/types/components/amount-control/AmountControl.styles.d.ts +1 -1
- package/lib/types/components/button/Button.styles.d.ts +3 -3
- package/lib/types/components/color-scheme-provider/ColorSchemeProvider.d.ts +1 -1
- package/lib/types/components/combobox/ComboBox.styles.d.ts +1 -1
- package/lib/types/components/context-menu/context-menu-content/ContextMenuContent.styles.d.ts +1 -1
- package/lib/types/components/expandable-content/ExpandableContent.styles.d.ts +1 -1
- package/lib/types/components/file-input/FileInput.styles.d.ts +1 -1
- package/lib/types/components/filter-buttons/filter-button/FilterButton.styles.d.ts +1 -1
- package/lib/types/components/input/Input.styles.d.ts +3 -3
- package/lib/types/components/list/list-item/ListItem.styles.d.ts +1 -1
- package/lib/types/components/list/list-item/list-item-body/ListItemBody.styles.d.ts +1 -1
- package/lib/types/components/list/list-item/list-item-head/ListItemHead.styles.d.ts +4 -4
- package/lib/types/components/mention-finder/MentionFinder.styles.d.ts +1 -1
- package/lib/types/components/page-provider/PageProvider.d.ts +14 -0
- package/lib/types/components/page-provider/PageProvider.styles.d.ts +7 -0
- package/lib/types/components/popup/popup-content-wrapper/PopupContentWrapper.styles.d.ts +1 -1
- package/lib/types/components/progress-bar/ProgressBar.styles.d.ts +1 -1
- package/lib/types/components/radio-button/RadioButton.styles.d.ts +1 -1
- package/lib/types/components/search-box/SearchBox.styles.d.ts +1 -1
- package/lib/types/components/search-box/search-box-body/SearchBoxBody.styles.d.ts +1 -1
- package/lib/types/components/search-input/SearchInput.styles.d.ts +2 -2
- package/lib/types/components/slider/Slider.styles.d.ts +2 -2
- package/lib/types/components/slider-button/SliderButton.styles.d.ts +1 -1
- package/lib/types/components/truncation/Truncation.styles.d.ts +1 -1
- package/lib/types/constants/pageProvider.d.ts +6 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/utils/pageProvider.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { getEnvironment, getWindowMetrics } from 'chayns-api';
|
|
2
|
+
import { PAGE_BREAKPOINTS } from '../constants/pageProvider';
|
|
3
|
+
export const getPagePadding = () => {
|
|
4
|
+
const {
|
|
5
|
+
runtimeEnvironment
|
|
6
|
+
} = getEnvironment();
|
|
7
|
+
if (typeof runtimeEnvironment === 'number' && [4, 5].includes(runtimeEnvironment)) {
|
|
8
|
+
return '0';
|
|
9
|
+
}
|
|
10
|
+
if (matchMedia(PAGE_BREAKPOINTS.desktop).matches) {
|
|
11
|
+
return '35px 43px 30px';
|
|
12
|
+
}
|
|
13
|
+
return '15px 10px 20px';
|
|
14
|
+
};
|
|
15
|
+
const getPageProviderInformation = customPadding => {
|
|
16
|
+
const padding = (customPadding ?? getPagePadding()).split(' ');
|
|
17
|
+
const parseValue = value => {
|
|
18
|
+
const parsed = parseInt(value.replace('px', ''), 10);
|
|
19
|
+
return Number.isNaN(parsed) ? 0 : parsed;
|
|
20
|
+
};
|
|
21
|
+
if (padding.length === 1) {
|
|
22
|
+
const value = parseValue(padding[0] ?? '');
|
|
23
|
+
return {
|
|
24
|
+
top: value,
|
|
25
|
+
right: value,
|
|
26
|
+
bottom: value,
|
|
27
|
+
left: value
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
if (padding.length === 2) {
|
|
31
|
+
const [vertical, horizontal] = padding.map(parseValue);
|
|
32
|
+
return {
|
|
33
|
+
top: vertical ?? 0,
|
|
34
|
+
right: horizontal ?? 0,
|
|
35
|
+
bottom: vertical ?? 0,
|
|
36
|
+
left: horizontal ?? 0
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
if (padding.length === 3) {
|
|
40
|
+
const [top, horizontal, bottom] = padding.map(parseValue);
|
|
41
|
+
return {
|
|
42
|
+
top: top ?? 0,
|
|
43
|
+
right: horizontal ?? 0,
|
|
44
|
+
bottom: bottom ?? 0,
|
|
45
|
+
left: horizontal ?? 0
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
if (padding.length === 4) {
|
|
49
|
+
const [top, right, bottom, left] = padding.map(parseValue);
|
|
50
|
+
return {
|
|
51
|
+
top: top ?? 0,
|
|
52
|
+
right: right ?? 0,
|
|
53
|
+
bottom: bottom ?? 0,
|
|
54
|
+
left: left ?? 0
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
top: 0,
|
|
59
|
+
right: 0,
|
|
60
|
+
bottom: 0,
|
|
61
|
+
left: 0
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export const getUsableHeight = async customPadding => {
|
|
65
|
+
let usableHeight;
|
|
66
|
+
const {
|
|
67
|
+
bottomBarHeight,
|
|
68
|
+
topBarHeight,
|
|
69
|
+
windowHeight
|
|
70
|
+
} = await getWindowMetrics();
|
|
71
|
+
const {
|
|
72
|
+
top,
|
|
73
|
+
bottom
|
|
74
|
+
} = getPageProviderInformation(customPadding);
|
|
75
|
+
usableHeight = windowHeight - bottom - top;
|
|
76
|
+
if (bottomBarHeight) {
|
|
77
|
+
usableHeight -= bottomBarHeight;
|
|
78
|
+
}
|
|
79
|
+
if (topBarHeight) {
|
|
80
|
+
usableHeight -= topBarHeight;
|
|
81
|
+
}
|
|
82
|
+
return usableHeight;
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=pageProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageProvider.js","names":["getEnvironment","getWindowMetrics","PAGE_BREAKPOINTS","getPagePadding","runtimeEnvironment","includes","matchMedia","desktop","matches","getPageProviderInformation","customPadding","padding","split","parseValue","value","parsed","parseInt","replace","Number","isNaN","length","top","right","bottom","left","vertical","horizontal","map","getUsableHeight","usableHeight","bottomBarHeight","topBarHeight","windowHeight"],"sources":["../../../src/utils/pageProvider.ts"],"sourcesContent":["import { getEnvironment, getWindowMetrics } from 'chayns-api';\nimport { PAGE_BREAKPOINTS } from '../constants/pageProvider';\n\nexport const getPagePadding = () => {\n const { runtimeEnvironment } = getEnvironment();\n\n if (typeof runtimeEnvironment === 'number' && [4, 5].includes(runtimeEnvironment)) {\n return '0';\n }\n\n if (matchMedia(PAGE_BREAKPOINTS.desktop).matches) {\n return '35px 43px 30px';\n }\n\n return '15px 10px 20px';\n};\n\ntype PaddingValues = {\n top: number;\n right: number;\n bottom: number;\n left: number;\n};\n\nconst getPageProviderInformation = (customPadding?: string): PaddingValues => {\n const padding = (customPadding ?? getPagePadding()).split(' ');\n\n const parseValue = (value: string): number => {\n const parsed = parseInt(value.replace('px', ''), 10);\n return Number.isNaN(parsed) ? 0 : parsed;\n };\n\n if (padding.length === 1) {\n const value = parseValue(padding[0] ?? '');\n return { top: value, right: value, bottom: value, left: value };\n }\n\n if (padding.length === 2) {\n const [vertical, horizontal] = padding.map(parseValue);\n return {\n top: vertical ?? 0,\n right: horizontal ?? 0,\n bottom: vertical ?? 0,\n left: horizontal ?? 0,\n };\n }\n\n if (padding.length === 3) {\n const [top, horizontal, bottom] = padding.map(parseValue);\n return {\n top: top ?? 0,\n right: horizontal ?? 0,\n bottom: bottom ?? 0,\n left: horizontal ?? 0,\n };\n }\n\n if (padding.length === 4) {\n const [top, right, bottom, left] = padding.map(parseValue);\n return { top: top ?? 0, right: right ?? 0, bottom: bottom ?? 0, left: left ?? 0 };\n }\n\n return { top: 0, right: 0, bottom: 0, left: 0 };\n};\n\nexport const getUsableHeight = async (customPadding?: string) => {\n let usableHeight;\n\n const { bottomBarHeight, topBarHeight, windowHeight } = await getWindowMetrics();\n\n const { top, bottom } = getPageProviderInformation(customPadding);\n\n usableHeight = windowHeight - bottom - top;\n\n if (bottomBarHeight) {\n usableHeight -= bottomBarHeight;\n }\n\n if (topBarHeight) {\n usableHeight -= topBarHeight;\n }\n\n return usableHeight;\n};\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -11,6 +11,7 @@ export declare const StyledMotionAccordion: import("styled-components/dist/types
|
|
|
11
11
|
slot?: string | undefined;
|
|
12
12
|
title?: string | undefined;
|
|
13
13
|
color?: string | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
14
15
|
rel?: string | undefined;
|
|
15
16
|
defaultChecked?: boolean | undefined;
|
|
16
17
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -18,7 +19,6 @@ export declare const StyledMotionAccordion: import("styled-components/dist/types
|
|
|
18
19
|
suppressHydrationWarning?: boolean | undefined;
|
|
19
20
|
accessKey?: string | undefined;
|
|
20
21
|
autoFocus?: boolean | undefined;
|
|
21
|
-
className?: string | undefined;
|
|
22
22
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
23
23
|
contextMenu?: string | undefined;
|
|
24
24
|
dir?: string | undefined;
|
|
@@ -8,6 +8,7 @@ export declare const StyledMotionAccordionBody: import("styled-components/dist/t
|
|
|
8
8
|
slot?: string | undefined;
|
|
9
9
|
title?: string | undefined;
|
|
10
10
|
color?: string | undefined;
|
|
11
|
+
className?: string | undefined;
|
|
11
12
|
rel?: string | undefined;
|
|
12
13
|
defaultChecked?: boolean | undefined;
|
|
13
14
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -15,7 +16,6 @@ export declare const StyledMotionAccordionBody: import("styled-components/dist/t
|
|
|
15
16
|
suppressHydrationWarning?: boolean | undefined;
|
|
16
17
|
accessKey?: string | undefined;
|
|
17
18
|
autoFocus?: boolean | undefined;
|
|
18
|
-
className?: string | undefined;
|
|
19
19
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
20
20
|
contextMenu?: string | undefined;
|
|
21
21
|
dir?: string | undefined;
|
|
@@ -4,6 +4,7 @@ export declare const StyledMotionAccordionHead: import("styled-components/dist/t
|
|
|
4
4
|
slot?: string | undefined;
|
|
5
5
|
title?: string | undefined;
|
|
6
6
|
color?: string | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
7
8
|
rel?: string | undefined;
|
|
8
9
|
defaultChecked?: boolean | undefined;
|
|
9
10
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -11,7 +12,6 @@ export declare const StyledMotionAccordionHead: import("styled-components/dist/t
|
|
|
11
12
|
suppressHydrationWarning?: boolean | undefined;
|
|
12
13
|
accessKey?: string | undefined;
|
|
13
14
|
autoFocus?: boolean | undefined;
|
|
14
|
-
className?: string | undefined;
|
|
15
15
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
16
16
|
contextMenu?: string | undefined;
|
|
17
17
|
dir?: string | undefined;
|
|
@@ -269,6 +269,7 @@ export declare const StyledMotionIconWrapper: import("styled-components/dist/typ
|
|
|
269
269
|
slot?: string | undefined;
|
|
270
270
|
title?: string | undefined;
|
|
271
271
|
color?: string | undefined;
|
|
272
|
+
className?: string | undefined;
|
|
272
273
|
rel?: string | undefined;
|
|
273
274
|
defaultChecked?: boolean | undefined;
|
|
274
275
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -276,7 +277,6 @@ export declare const StyledMotionIconWrapper: import("styled-components/dist/typ
|
|
|
276
277
|
suppressHydrationWarning?: boolean | undefined;
|
|
277
278
|
accessKey?: string | undefined;
|
|
278
279
|
autoFocus?: boolean | undefined;
|
|
279
|
-
className?: string | undefined;
|
|
280
280
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
281
281
|
contextMenu?: string | undefined;
|
|
282
282
|
dir?: string | undefined;
|
|
@@ -538,6 +538,7 @@ export declare const StyledMotionContentWrapper: import("styled-components/dist/
|
|
|
538
538
|
slot?: string | undefined;
|
|
539
539
|
title?: string | undefined;
|
|
540
540
|
color?: string | undefined;
|
|
541
|
+
className?: string | undefined;
|
|
541
542
|
rel?: string | undefined;
|
|
542
543
|
defaultChecked?: boolean | undefined;
|
|
543
544
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -545,7 +546,6 @@ export declare const StyledMotionContentWrapper: import("styled-components/dist/
|
|
|
545
546
|
suppressHydrationWarning?: boolean | undefined;
|
|
546
547
|
accessKey?: string | undefined;
|
|
547
548
|
autoFocus?: boolean | undefined;
|
|
548
|
-
className?: string | undefined;
|
|
549
549
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
550
550
|
contextMenu?: string | undefined;
|
|
551
551
|
dir?: string | undefined;
|
|
@@ -803,6 +803,7 @@ export declare const StyledMotionTitleWrapper: import("styled-components/dist/ty
|
|
|
803
803
|
slot?: string | undefined;
|
|
804
804
|
title?: string | undefined;
|
|
805
805
|
color?: string | undefined;
|
|
806
|
+
className?: string | undefined;
|
|
806
807
|
rel?: string | undefined;
|
|
807
808
|
defaultChecked?: boolean | undefined;
|
|
808
809
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -810,7 +811,6 @@ export declare const StyledMotionTitleWrapper: import("styled-components/dist/ty
|
|
|
810
811
|
suppressHydrationWarning?: boolean | undefined;
|
|
811
812
|
accessKey?: string | undefined;
|
|
812
813
|
autoFocus?: boolean | undefined;
|
|
813
|
-
className?: string | undefined;
|
|
814
814
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
815
815
|
contextMenu?: string | undefined;
|
|
816
816
|
dir?: string | undefined;
|
|
@@ -1073,6 +1073,7 @@ export declare const StyledMotionTitle: import("styled-components/dist/types").I
|
|
|
1073
1073
|
slot?: string | undefined;
|
|
1074
1074
|
title?: string | undefined;
|
|
1075
1075
|
color?: string | undefined;
|
|
1076
|
+
className?: string | undefined;
|
|
1076
1077
|
rel?: string | undefined;
|
|
1077
1078
|
defaultChecked?: boolean | undefined;
|
|
1078
1079
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1080,7 +1081,6 @@ export declare const StyledMotionTitle: import("styled-components/dist/types").I
|
|
|
1080
1081
|
suppressHydrationWarning?: boolean | undefined;
|
|
1081
1082
|
accessKey?: string | undefined;
|
|
1082
1083
|
autoFocus?: boolean | undefined;
|
|
1083
|
-
className?: string | undefined;
|
|
1084
1084
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1085
1085
|
contextMenu?: string | undefined;
|
|
1086
1086
|
dir?: string | undefined;
|
|
@@ -1336,6 +1336,7 @@ export declare const StyledMotionTitleElementWrapper: import("styled-components/
|
|
|
1336
1336
|
slot?: string | undefined;
|
|
1337
1337
|
title?: string | undefined;
|
|
1338
1338
|
color?: string | undefined;
|
|
1339
|
+
className?: string | undefined;
|
|
1339
1340
|
rel?: string | undefined;
|
|
1340
1341
|
defaultChecked?: boolean | undefined;
|
|
1341
1342
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1343,7 +1344,6 @@ export declare const StyledMotionTitleElementWrapper: import("styled-components/
|
|
|
1343
1344
|
suppressHydrationWarning?: boolean | undefined;
|
|
1344
1345
|
accessKey?: string | undefined;
|
|
1345
1346
|
autoFocus?: boolean | undefined;
|
|
1346
|
-
className?: string | undefined;
|
|
1347
1347
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1348
1348
|
contextMenu?: string | undefined;
|
|
1349
1349
|
dir?: string | undefined;
|
|
@@ -1602,6 +1602,7 @@ export declare const StyledMotionSearchWrapper: import("styled-components/dist/t
|
|
|
1602
1602
|
slot?: string | undefined;
|
|
1603
1603
|
title?: string | undefined;
|
|
1604
1604
|
color?: string | undefined;
|
|
1605
|
+
className?: string | undefined;
|
|
1605
1606
|
rel?: string | undefined;
|
|
1606
1607
|
defaultChecked?: boolean | undefined;
|
|
1607
1608
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1609,7 +1610,6 @@ export declare const StyledMotionSearchWrapper: import("styled-components/dist/t
|
|
|
1609
1610
|
suppressHydrationWarning?: boolean | undefined;
|
|
1610
1611
|
accessKey?: string | undefined;
|
|
1611
1612
|
autoFocus?: boolean | undefined;
|
|
1612
|
-
className?: string | undefined;
|
|
1613
1613
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1614
1614
|
contextMenu?: string | undefined;
|
|
1615
1615
|
dir?: string | undefined;
|
|
@@ -1867,6 +1867,7 @@ export declare const StyledMotionRightElementWrapper: import("styled-components/
|
|
|
1867
1867
|
slot?: string | undefined;
|
|
1868
1868
|
title?: string | undefined;
|
|
1869
1869
|
color?: string | undefined;
|
|
1870
|
+
className?: string | undefined;
|
|
1870
1871
|
rel?: string | undefined;
|
|
1871
1872
|
defaultChecked?: boolean | undefined;
|
|
1872
1873
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -1874,7 +1875,6 @@ export declare const StyledMotionRightElementWrapper: import("styled-components/
|
|
|
1874
1875
|
suppressHydrationWarning?: boolean | undefined;
|
|
1875
1876
|
accessKey?: string | undefined;
|
|
1876
1877
|
autoFocus?: boolean | undefined;
|
|
1877
|
-
className?: string | undefined;
|
|
1878
1878
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1879
1879
|
contextMenu?: string | undefined;
|
|
1880
1880
|
dir?: string | undefined;
|
|
@@ -2140,6 +2140,7 @@ export declare const StyledMotionRightInput: import("styled-components/dist/type
|
|
|
2140
2140
|
size?: number | undefined;
|
|
2141
2141
|
color?: string | undefined;
|
|
2142
2142
|
type?: import("react").HTMLInputTypeAttribute | undefined;
|
|
2143
|
+
className?: string | undefined;
|
|
2143
2144
|
rel?: string | undefined;
|
|
2144
2145
|
defaultChecked?: boolean | undefined;
|
|
2145
2146
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -2147,7 +2148,6 @@ export declare const StyledMotionRightInput: import("styled-components/dist/type
|
|
|
2147
2148
|
suppressHydrationWarning?: boolean | undefined;
|
|
2148
2149
|
accessKey?: string | undefined;
|
|
2149
2150
|
autoFocus?: boolean | undefined;
|
|
2150
|
-
className?: string | undefined;
|
|
2151
2151
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
2152
2152
|
contextMenu?: string | undefined;
|
|
2153
2153
|
dir?: string | undefined;
|
|
@@ -2429,6 +2429,7 @@ export declare const StyledMotionRightInputIconWrapper: import("styled-component
|
|
|
2429
2429
|
slot?: string | undefined;
|
|
2430
2430
|
title?: string | undefined;
|
|
2431
2431
|
color?: string | undefined;
|
|
2432
|
+
className?: string | undefined;
|
|
2432
2433
|
rel?: string | undefined;
|
|
2433
2434
|
defaultChecked?: boolean | undefined;
|
|
2434
2435
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -2436,7 +2437,6 @@ export declare const StyledMotionRightInputIconWrapper: import("styled-component
|
|
|
2436
2437
|
suppressHydrationWarning?: boolean | undefined;
|
|
2437
2438
|
accessKey?: string | undefined;
|
|
2438
2439
|
autoFocus?: boolean | undefined;
|
|
2439
|
-
className?: string | undefined;
|
|
2440
2440
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
2441
2441
|
contextMenu?: string | undefined;
|
|
2442
2442
|
dir?: string | undefined;
|
|
@@ -26,6 +26,7 @@ export declare const StyledMotionAmountControlButton: import("styled-components/
|
|
|
26
26
|
value?: string | number | readonly string[] | undefined;
|
|
27
27
|
color?: string | undefined;
|
|
28
28
|
type?: "button" | "reset" | "submit" | undefined;
|
|
29
|
+
className?: string | undefined;
|
|
29
30
|
rel?: string | undefined;
|
|
30
31
|
defaultChecked?: boolean | undefined;
|
|
31
32
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -33,7 +34,6 @@ export declare const StyledMotionAmountControlButton: import("styled-components/
|
|
|
33
34
|
suppressHydrationWarning?: boolean | undefined;
|
|
34
35
|
accessKey?: string | undefined;
|
|
35
36
|
autoFocus?: boolean | undefined;
|
|
36
|
-
className?: string | undefined;
|
|
37
37
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
38
38
|
contextMenu?: string | undefined;
|
|
39
39
|
dir?: string | undefined;
|
|
@@ -14,6 +14,7 @@ export declare const StyledMotionButton: import("styled-components/dist/types").
|
|
|
14
14
|
value?: string | number | readonly string[] | undefined;
|
|
15
15
|
color?: string | undefined;
|
|
16
16
|
type?: "button" | "reset" | "submit" | undefined;
|
|
17
|
+
className?: string | undefined;
|
|
17
18
|
rel?: string | undefined;
|
|
18
19
|
defaultChecked?: boolean | undefined;
|
|
19
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -21,7 +22,6 @@ export declare const StyledMotionButton: import("styled-components/dist/types").
|
|
|
21
22
|
suppressHydrationWarning?: boolean | undefined;
|
|
22
23
|
accessKey?: string | undefined;
|
|
23
24
|
autoFocus?: boolean | undefined;
|
|
24
|
-
className?: string | undefined;
|
|
25
25
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
26
26
|
contextMenu?: string | undefined;
|
|
27
27
|
dir?: string | undefined;
|
|
@@ -285,6 +285,7 @@ export declare const StyledMotionChildrenWrapper: import("styled-components/dist
|
|
|
285
285
|
slot?: string | undefined;
|
|
286
286
|
title?: string | undefined;
|
|
287
287
|
color?: string | undefined;
|
|
288
|
+
className?: string | undefined;
|
|
288
289
|
rel?: string | undefined;
|
|
289
290
|
defaultChecked?: boolean | undefined;
|
|
290
291
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -292,7 +293,6 @@ export declare const StyledMotionChildrenWrapper: import("styled-components/dist
|
|
|
292
293
|
suppressHydrationWarning?: boolean | undefined;
|
|
293
294
|
accessKey?: string | undefined;
|
|
294
295
|
autoFocus?: boolean | undefined;
|
|
295
|
-
className?: string | undefined;
|
|
296
296
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
297
297
|
contextMenu?: string | undefined;
|
|
298
298
|
dir?: string | undefined;
|
|
@@ -550,6 +550,7 @@ export declare const StyledMotionWaitCursorWrapper: import("styled-components/di
|
|
|
550
550
|
slot?: string | undefined;
|
|
551
551
|
title?: string | undefined;
|
|
552
552
|
color?: string | undefined;
|
|
553
|
+
className?: string | undefined;
|
|
553
554
|
rel?: string | undefined;
|
|
554
555
|
defaultChecked?: boolean | undefined;
|
|
555
556
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -557,7 +558,6 @@ export declare const StyledMotionWaitCursorWrapper: import("styled-components/di
|
|
|
557
558
|
suppressHydrationWarning?: boolean | undefined;
|
|
558
559
|
accessKey?: string | undefined;
|
|
559
560
|
autoFocus?: boolean | undefined;
|
|
560
|
-
className?: string | undefined;
|
|
561
561
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
562
562
|
contextMenu?: string | undefined;
|
|
563
563
|
dir?: string | undefined;
|
|
@@ -33,6 +33,7 @@ export declare const StyledMotionComboBoxBody: import("styled-components/dist/ty
|
|
|
33
33
|
slot?: string | undefined;
|
|
34
34
|
title?: string | undefined;
|
|
35
35
|
color?: string | undefined;
|
|
36
|
+
className?: string | undefined;
|
|
36
37
|
rel?: string | undefined;
|
|
37
38
|
defaultChecked?: boolean | undefined;
|
|
38
39
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -40,7 +41,6 @@ export declare const StyledMotionComboBoxBody: import("styled-components/dist/ty
|
|
|
40
41
|
suppressHydrationWarning?: boolean | undefined;
|
|
41
42
|
accessKey?: string | undefined;
|
|
42
43
|
autoFocus?: boolean | undefined;
|
|
43
|
-
className?: string | undefined;
|
|
44
44
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
45
45
|
contextMenu?: string | undefined;
|
|
46
46
|
dir?: string | undefined;
|
package/lib/types/components/context-menu/context-menu-content/ContextMenuContent.styles.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const StyledMotionContextMenuContent: import("styled-components/d
|
|
|
7
7
|
slot?: string | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
color?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
10
11
|
rel?: string | undefined;
|
|
11
12
|
defaultChecked?: boolean | undefined;
|
|
12
13
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -14,7 +15,6 @@ export declare const StyledMotionContextMenuContent: import("styled-components/d
|
|
|
14
15
|
suppressHydrationWarning?: boolean | undefined;
|
|
15
16
|
accessKey?: string | undefined;
|
|
16
17
|
autoFocus?: boolean | undefined;
|
|
17
|
-
className?: string | undefined;
|
|
18
18
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
19
19
|
contextMenu?: string | undefined;
|
|
20
20
|
dir?: string | undefined;
|
|
@@ -5,6 +5,7 @@ export declare const StyledMotionExpandableContent: import("styled-components/di
|
|
|
5
5
|
slot?: string | undefined;
|
|
6
6
|
title?: string | undefined;
|
|
7
7
|
color?: string | undefined;
|
|
8
|
+
className?: string | undefined;
|
|
8
9
|
rel?: string | undefined;
|
|
9
10
|
defaultChecked?: boolean | undefined;
|
|
10
11
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -12,7 +13,6 @@ export declare const StyledMotionExpandableContent: import("styled-components/di
|
|
|
12
13
|
suppressHydrationWarning?: boolean | undefined;
|
|
13
14
|
accessKey?: string | undefined;
|
|
14
15
|
autoFocus?: boolean | undefined;
|
|
15
|
-
className?: string | undefined;
|
|
16
16
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
17
17
|
contextMenu?: string | undefined;
|
|
18
18
|
dir?: string | undefined;
|
|
@@ -19,6 +19,7 @@ export declare const StyledMotionFileInputList: import("styled-components/dist/t
|
|
|
19
19
|
slot?: string | undefined;
|
|
20
20
|
title?: string | undefined;
|
|
21
21
|
color?: string | undefined;
|
|
22
|
+
className?: string | undefined;
|
|
22
23
|
rel?: string | undefined;
|
|
23
24
|
defaultChecked?: boolean | undefined;
|
|
24
25
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -26,7 +27,6 @@ export declare const StyledMotionFileInputList: import("styled-components/dist/t
|
|
|
26
27
|
suppressHydrationWarning?: boolean | undefined;
|
|
27
28
|
accessKey?: string | undefined;
|
|
28
29
|
autoFocus?: boolean | undefined;
|
|
29
|
-
className?: string | undefined;
|
|
30
30
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
31
31
|
contextMenu?: string | undefined;
|
|
32
32
|
dir?: string | undefined;
|
|
@@ -28,6 +28,7 @@ export declare const StyledMotionFilterButtonItemBackground: import("styled-comp
|
|
|
28
28
|
slot?: string | undefined;
|
|
29
29
|
title?: string | undefined;
|
|
30
30
|
color?: string | undefined;
|
|
31
|
+
className?: string | undefined;
|
|
31
32
|
rel?: string | undefined;
|
|
32
33
|
defaultChecked?: boolean | undefined;
|
|
33
34
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -35,7 +36,6 @@ export declare const StyledMotionFilterButtonItemBackground: import("styled-comp
|
|
|
35
36
|
suppressHydrationWarning?: boolean | undefined;
|
|
36
37
|
accessKey?: string | undefined;
|
|
37
38
|
autoFocus?: boolean | undefined;
|
|
38
|
-
className?: string | undefined;
|
|
39
39
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
40
40
|
contextMenu?: string | undefined;
|
|
41
41
|
dir?: string | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const StyledMotionInputLabelWrapper: import("styled-components/di
|
|
|
27
27
|
slot?: string | undefined;
|
|
28
28
|
title?: string | undefined;
|
|
29
29
|
color?: string | undefined;
|
|
30
|
+
className?: string | undefined;
|
|
30
31
|
rel?: string | undefined;
|
|
31
32
|
defaultChecked?: boolean | undefined;
|
|
32
33
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -34,7 +35,6 @@ export declare const StyledMotionInputLabelWrapper: import("styled-components/di
|
|
|
34
35
|
suppressHydrationWarning?: boolean | undefined;
|
|
35
36
|
accessKey?: string | undefined;
|
|
36
37
|
autoFocus?: boolean | undefined;
|
|
37
|
-
className?: string | undefined;
|
|
38
38
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
39
39
|
contextMenu?: string | undefined;
|
|
40
40
|
dir?: string | undefined;
|
|
@@ -291,6 +291,7 @@ export declare const StyledMotionInputElement: import("styled-components/dist/ty
|
|
|
291
291
|
slot?: string | undefined;
|
|
292
292
|
title?: string | undefined;
|
|
293
293
|
color?: string | undefined;
|
|
294
|
+
className?: string | undefined;
|
|
294
295
|
rel?: string | undefined;
|
|
295
296
|
defaultChecked?: boolean | undefined;
|
|
296
297
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -298,7 +299,6 @@ export declare const StyledMotionInputElement: import("styled-components/dist/ty
|
|
|
298
299
|
suppressHydrationWarning?: boolean | undefined;
|
|
299
300
|
accessKey?: string | undefined;
|
|
300
301
|
autoFocus?: boolean | undefined;
|
|
301
|
-
className?: string | undefined;
|
|
302
302
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
303
303
|
contextMenu?: string | undefined;
|
|
304
304
|
dir?: string | undefined;
|
|
@@ -562,6 +562,7 @@ export declare const StyledMotionInputClearIcon: import("styled-components/dist/
|
|
|
562
562
|
slot?: string | undefined;
|
|
563
563
|
title?: string | undefined;
|
|
564
564
|
color?: string | undefined;
|
|
565
|
+
className?: string | undefined;
|
|
565
566
|
rel?: string | undefined;
|
|
566
567
|
defaultChecked?: boolean | undefined;
|
|
567
568
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -569,7 +570,6 @@ export declare const StyledMotionInputClearIcon: import("styled-components/dist/
|
|
|
569
570
|
suppressHydrationWarning?: boolean | undefined;
|
|
570
571
|
accessKey?: string | undefined;
|
|
571
572
|
autoFocus?: boolean | undefined;
|
|
572
|
-
className?: string | undefined;
|
|
573
573
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
574
574
|
contextMenu?: string | undefined;
|
|
575
575
|
dir?: string | undefined;
|
|
@@ -9,6 +9,7 @@ export declare const StyledMotionListItem: import("styled-components/dist/types"
|
|
|
9
9
|
slot?: string | undefined;
|
|
10
10
|
title?: string | undefined;
|
|
11
11
|
color?: string | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
12
13
|
rel?: string | undefined;
|
|
13
14
|
defaultChecked?: boolean | undefined;
|
|
14
15
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -16,7 +17,6 @@ export declare const StyledMotionListItem: import("styled-components/dist/types"
|
|
|
16
17
|
suppressHydrationWarning?: boolean | undefined;
|
|
17
18
|
accessKey?: string | undefined;
|
|
18
19
|
autoFocus?: boolean | undefined;
|
|
19
|
-
className?: string | undefined;
|
|
20
20
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
21
21
|
contextMenu?: string | undefined;
|
|
22
22
|
dir?: string | undefined;
|
|
@@ -2,6 +2,7 @@ export declare const StyledMotionListItemBody: import("styled-components/dist/ty
|
|
|
2
2
|
slot?: string | undefined;
|
|
3
3
|
title?: string | undefined;
|
|
4
4
|
color?: string | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
5
6
|
rel?: string | undefined;
|
|
6
7
|
defaultChecked?: boolean | undefined;
|
|
7
8
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -9,7 +10,6 @@ export declare const StyledMotionListItemBody: import("styled-components/dist/ty
|
|
|
9
10
|
suppressHydrationWarning?: boolean | undefined;
|
|
10
11
|
accessKey?: string | undefined;
|
|
11
12
|
autoFocus?: boolean | undefined;
|
|
12
|
-
className?: string | undefined;
|
|
13
13
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
14
14
|
contextMenu?: string | undefined;
|
|
15
15
|
dir?: string | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const StyledListItemHead: import("styled-components/dist/types").
|
|
|
7
7
|
slot?: string | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
color?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
10
11
|
rel?: string | undefined;
|
|
11
12
|
defaultChecked?: boolean | undefined;
|
|
12
13
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -14,7 +15,6 @@ export declare const StyledListItemHead: import("styled-components/dist/types").
|
|
|
14
15
|
suppressHydrationWarning?: boolean | undefined;
|
|
15
16
|
accessKey?: string | undefined;
|
|
16
17
|
autoFocus?: boolean | undefined;
|
|
17
|
-
className?: string | undefined;
|
|
18
18
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
19
19
|
contextMenu?: string | undefined;
|
|
20
20
|
dir?: string | undefined;
|
|
@@ -271,6 +271,7 @@ export declare const StyledMotionListItemHeadIndicator: import("styled-component
|
|
|
271
271
|
slot?: string | undefined;
|
|
272
272
|
title?: string | undefined;
|
|
273
273
|
color?: string | undefined;
|
|
274
|
+
className?: string | undefined;
|
|
274
275
|
rel?: string | undefined;
|
|
275
276
|
defaultChecked?: boolean | undefined;
|
|
276
277
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -278,7 +279,6 @@ export declare const StyledMotionListItemHeadIndicator: import("styled-component
|
|
|
278
279
|
suppressHydrationWarning?: boolean | undefined;
|
|
279
280
|
accessKey?: string | undefined;
|
|
280
281
|
autoFocus?: boolean | undefined;
|
|
281
|
-
className?: string | undefined;
|
|
282
282
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
283
283
|
contextMenu?: string | undefined;
|
|
284
284
|
dir?: string | undefined;
|
|
@@ -548,6 +548,7 @@ export declare const StyledListItemHeadTitleText: import("styled-components/dist
|
|
|
548
548
|
slot?: string | undefined;
|
|
549
549
|
title?: string | undefined;
|
|
550
550
|
color?: string | undefined;
|
|
551
|
+
className?: string | undefined;
|
|
551
552
|
rel?: string | undefined;
|
|
552
553
|
defaultChecked?: boolean | undefined;
|
|
553
554
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -555,7 +556,6 @@ export declare const StyledListItemHeadTitleText: import("styled-components/dist
|
|
|
555
556
|
suppressHydrationWarning?: boolean | undefined;
|
|
556
557
|
accessKey?: string | undefined;
|
|
557
558
|
autoFocus?: boolean | undefined;
|
|
558
|
-
className?: string | undefined;
|
|
559
559
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
560
560
|
contextMenu?: string | undefined;
|
|
561
561
|
dir?: string | undefined;
|
|
@@ -824,6 +824,7 @@ export declare const StyledMotionListItemHeadHoverItem: import("styled-component
|
|
|
824
824
|
slot?: string | undefined;
|
|
825
825
|
title?: string | undefined;
|
|
826
826
|
color?: string | undefined;
|
|
827
|
+
className?: string | undefined;
|
|
827
828
|
rel?: string | undefined;
|
|
828
829
|
defaultChecked?: boolean | undefined;
|
|
829
830
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -831,7 +832,6 @@ export declare const StyledMotionListItemHeadHoverItem: import("styled-component
|
|
|
831
832
|
suppressHydrationWarning?: boolean | undefined;
|
|
832
833
|
accessKey?: string | undefined;
|
|
833
834
|
autoFocus?: boolean | undefined;
|
|
834
|
-
className?: string | undefined;
|
|
835
835
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
836
836
|
contextMenu?: string | undefined;
|
|
837
837
|
dir?: string | undefined;
|
|
@@ -8,6 +8,7 @@ export declare const StyledMotionMentionFinderPopup: import("styled-components/d
|
|
|
8
8
|
slot?: string | undefined;
|
|
9
9
|
title?: string | undefined;
|
|
10
10
|
color?: string | undefined;
|
|
11
|
+
className?: string | undefined;
|
|
11
12
|
rel?: string | undefined;
|
|
12
13
|
defaultChecked?: boolean | undefined;
|
|
13
14
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -15,7 +16,6 @@ export declare const StyledMotionMentionFinderPopup: import("styled-components/d
|
|
|
15
16
|
suppressHydrationWarning?: boolean | undefined;
|
|
16
17
|
accessKey?: string | undefined;
|
|
17
18
|
autoFocus?: boolean | undefined;
|
|
18
|
-
className?: string | undefined;
|
|
19
19
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
20
20
|
contextMenu?: string | undefined;
|
|
21
21
|
dir?: string | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { type ColorSchemeProviderProps } from '../color-scheme-provider/ColorSchemeProvider';
|
|
3
|
+
interface PageProviderProps extends ColorSchemeProviderProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the padding should be removed.
|
|
6
|
+
*/
|
|
7
|
+
shouldRemovePadding?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the usable height should be used.
|
|
10
|
+
*/
|
|
11
|
+
shouldUseUsableHeight?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const PageProvider: FC<PageProviderProps>;
|
|
14
|
+
export default PageProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
type StyledPageProviderProps = {
|
|
3
|
+
$padding?: CSSProperties['padding'];
|
|
4
|
+
$usableHeight?: CSSProperties['height'];
|
|
5
|
+
};
|
|
6
|
+
export declare const StyledPageProvider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledPageProviderProps>> & string;
|
|
7
|
+
export {};
|
|
@@ -10,6 +10,7 @@ export declare const StyledMotionPopupContentWrapper: import("styled-components/
|
|
|
10
10
|
slot?: string | undefined;
|
|
11
11
|
title?: string | undefined;
|
|
12
12
|
color?: string | undefined;
|
|
13
|
+
className?: string | undefined;
|
|
13
14
|
rel?: string | undefined;
|
|
14
15
|
defaultChecked?: boolean | undefined;
|
|
15
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -17,7 +18,6 @@ export declare const StyledMotionPopupContentWrapper: import("styled-components/
|
|
|
17
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
18
19
|
accessKey?: string | undefined;
|
|
19
20
|
autoFocus?: boolean | undefined;
|
|
20
|
-
className?: string | undefined;
|
|
21
21
|
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
22
22
|
contextMenu?: string | undefined;
|
|
23
23
|
dir?: string | undefined;
|