@chayns-components/core 5.0.0-beta.796 → 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.
Files changed (67) hide show
  1. package/lib/cjs/components/button/Button.js +7 -1
  2. package/lib/cjs/components/button/Button.js.map +1 -1
  3. package/lib/cjs/components/color-scheme-provider/ColorSchemeProvider.js +1 -0
  4. package/lib/cjs/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
  5. package/lib/cjs/components/context-menu/ContextMenu.js +2 -2
  6. package/lib/cjs/components/context-menu/ContextMenu.js.map +1 -1
  7. package/lib/cjs/components/page-provider/PageProvider.js +67 -0
  8. package/lib/cjs/components/page-provider/PageProvider.js.map +1 -0
  9. package/lib/cjs/components/page-provider/PageProvider.styles.js +34 -0
  10. package/lib/cjs/components/page-provider/PageProvider.styles.js.map +1 -0
  11. package/lib/cjs/components/popup/Popup.js +1 -1
  12. package/lib/cjs/components/popup/Popup.js.map +1 -1
  13. package/lib/cjs/constants/pageProvider.js +16 -0
  14. package/lib/cjs/constants/pageProvider.js.map +1 -0
  15. package/lib/cjs/index.js +14 -0
  16. package/lib/cjs/index.js.map +1 -1
  17. package/lib/cjs/utils/pageProvider.js +92 -0
  18. package/lib/cjs/utils/pageProvider.js.map +1 -0
  19. package/lib/esm/components/button/Button.js +7 -1
  20. package/lib/esm/components/button/Button.js.map +1 -1
  21. package/lib/esm/components/color-scheme-provider/ColorSchemeProvider.js +1 -0
  22. package/lib/esm/components/color-scheme-provider/ColorSchemeProvider.js.map +1 -1
  23. package/lib/esm/components/context-menu/ContextMenu.js +2 -2
  24. package/lib/esm/components/context-menu/ContextMenu.js.map +1 -1
  25. package/lib/esm/components/page-provider/PageProvider.js +59 -0
  26. package/lib/esm/components/page-provider/PageProvider.js.map +1 -0
  27. package/lib/esm/components/page-provider/PageProvider.styles.js +33 -0
  28. package/lib/esm/components/page-provider/PageProvider.styles.js.map +1 -0
  29. package/lib/esm/components/popup/Popup.js +1 -1
  30. package/lib/esm/components/popup/Popup.js.map +1 -1
  31. package/lib/esm/constants/pageProvider.js +10 -0
  32. package/lib/esm/constants/pageProvider.js.map +1 -0
  33. package/lib/esm/index.js +2 -0
  34. package/lib/esm/index.js.map +1 -1
  35. package/lib/esm/utils/pageProvider.js +84 -0
  36. package/lib/esm/utils/pageProvider.js.map +1 -0
  37. package/lib/types/components/accordion/Accordion.styles.d.ts +1 -1
  38. package/lib/types/components/accordion/accordion-body/AccordionBody.styles.d.ts +1 -1
  39. package/lib/types/components/accordion/accordion-head/AccordionHead.styles.d.ts +10 -10
  40. package/lib/types/components/amount-control/AmountControl.styles.d.ts +1 -1
  41. package/lib/types/components/button/Button.styles.d.ts +3 -3
  42. package/lib/types/components/color-scheme-provider/ColorSchemeProvider.d.ts +1 -1
  43. package/lib/types/components/combobox/ComboBox.styles.d.ts +1 -1
  44. package/lib/types/components/context-menu/context-menu-content/ContextMenuContent.styles.d.ts +1 -1
  45. package/lib/types/components/expandable-content/ExpandableContent.styles.d.ts +1 -1
  46. package/lib/types/components/file-input/FileInput.styles.d.ts +1 -1
  47. package/lib/types/components/filter-buttons/filter-button/FilterButton.styles.d.ts +1 -1
  48. package/lib/types/components/input/Input.styles.d.ts +3 -3
  49. package/lib/types/components/list/list-item/ListItem.styles.d.ts +1 -1
  50. package/lib/types/components/list/list-item/list-item-body/ListItemBody.styles.d.ts +1 -1
  51. package/lib/types/components/list/list-item/list-item-head/ListItemHead.styles.d.ts +4 -4
  52. package/lib/types/components/mention-finder/MentionFinder.styles.d.ts +1 -1
  53. package/lib/types/components/page-provider/PageProvider.d.ts +14 -0
  54. package/lib/types/components/page-provider/PageProvider.styles.d.ts +7 -0
  55. package/lib/types/components/popup/popup-content-wrapper/PopupContentWrapper.styles.d.ts +1 -1
  56. package/lib/types/components/progress-bar/ProgressBar.styles.d.ts +1 -1
  57. package/lib/types/components/radio-button/RadioButton.styles.d.ts +1 -1
  58. package/lib/types/components/search-box/SearchBox.styles.d.ts +1 -1
  59. package/lib/types/components/search-box/search-box-body/SearchBoxBody.styles.d.ts +1 -1
  60. package/lib/types/components/search-input/SearchInput.styles.d.ts +2 -2
  61. package/lib/types/components/slider/Slider.styles.d.ts +2 -2
  62. package/lib/types/components/slider-button/SliderButton.styles.d.ts +1 -1
  63. package/lib/types/components/truncation/Truncation.styles.d.ts +1 -1
  64. package/lib/types/constants/pageProvider.d.ts +6 -0
  65. package/lib/types/index.d.ts +2 -0
  66. package/lib/types/utils/pageProvider.d.ts +2 -0
  67. package/package.json +2 -2
@@ -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;
@@ -7,6 +7,7 @@ export declare const StyledMotionProgressBarProgress: import("styled-components/
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 StyledMotionProgressBarProgress: import("styled-components/
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;
@@ -29,6 +29,7 @@ export declare const StyledMotionRadioButtonChildren: import("styled-components/
29
29
  slot?: string | undefined;
30
30
  title?: string | undefined;
31
31
  color?: string | undefined;
32
+ className?: string | undefined;
32
33
  rel?: string | undefined;
33
34
  defaultChecked?: boolean | undefined;
34
35
  defaultValue?: string | number | readonly string[] | undefined;
@@ -36,7 +37,6 @@ export declare const StyledMotionRadioButtonChildren: import("styled-components/
36
37
  suppressHydrationWarning?: boolean | undefined;
37
38
  accessKey?: string | undefined;
38
39
  autoFocus?: boolean | undefined;
39
- className?: string | undefined;
40
40
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
41
41
  contextMenu?: string | undefined;
42
42
  dir?: string | undefined;
@@ -10,6 +10,7 @@ export declare const StyledMotionSearchBoxBody: import("styled-components/dist/t
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 StyledMotionSearchBoxBody: import("styled-components/dist/t
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;
@@ -7,6 +7,7 @@ export declare const StyledMotionSearchBoxBody: import("styled-components/dist/t
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 StyledMotionSearchBoxBody: import("styled-components/dist/t
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;
@@ -7,6 +7,7 @@ export declare const StyledMotionSearchInputContentWrapper: import("styled-compo
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 StyledMotionSearchInputContentWrapper: import("styled-compo
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;
@@ -273,6 +273,7 @@ export declare const StyledMotionSearchInputIconWrapperContent: import("styled-c
273
273
  slot?: string | undefined;
274
274
  title?: string | undefined;
275
275
  color?: string | undefined;
276
+ className?: string | undefined;
276
277
  rel?: string | undefined;
277
278
  defaultChecked?: boolean | undefined;
278
279
  defaultValue?: string | number | readonly string[] | undefined;
@@ -280,7 +281,6 @@ export declare const StyledMotionSearchInputIconWrapperContent: import("styled-c
280
281
  suppressHydrationWarning?: boolean | undefined;
281
282
  accessKey?: string | undefined;
282
283
  autoFocus?: boolean | undefined;
283
- className?: string | undefined;
284
284
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
285
285
  contextMenu?: string | undefined;
286
286
  dir?: string | undefined;
@@ -16,6 +16,7 @@ export declare const StyledSliderInput: import("styled-components/dist/types").I
16
16
  size?: number | undefined;
17
17
  color?: string | undefined;
18
18
  type?: import("react").HTMLInputTypeAttribute | undefined;
19
+ className?: string | undefined;
19
20
  rel?: string | undefined;
20
21
  defaultChecked?: boolean | undefined;
21
22
  defaultValue?: string | number | readonly string[] | undefined;
@@ -23,7 +24,6 @@ export declare const StyledSliderInput: import("styled-components/dist/types").I
23
24
  suppressHydrationWarning?: boolean | undefined;
24
25
  accessKey?: string | undefined;
25
26
  autoFocus?: boolean | undefined;
26
- className?: string | undefined;
27
27
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
28
28
  contextMenu?: string | undefined;
29
29
  dir?: string | undefined;
@@ -309,6 +309,7 @@ export declare const StyledSliderInput: import("styled-components/dist/types").I
309
309
  size?: number | undefined;
310
310
  color?: string | undefined;
311
311
  type?: import("react").HTMLInputTypeAttribute | undefined;
312
+ className?: string | undefined;
312
313
  rel?: string | undefined;
313
314
  defaultChecked?: boolean | undefined;
314
315
  defaultValue?: string | number | readonly string[] | undefined;
@@ -316,7 +317,6 @@ export declare const StyledSliderInput: import("styled-components/dist/types").I
316
317
  suppressHydrationWarning?: boolean | undefined;
317
318
  accessKey?: string | undefined;
318
319
  autoFocus?: boolean | undefined;
319
- className?: string | undefined;
320
320
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
321
321
  contextMenu?: string | undefined;
322
322
  dir?: string | undefined;
@@ -21,6 +21,7 @@ export declare const StyledMotionSliderButtonThumb: import("styled-components/di
21
21
  slot?: string | undefined;
22
22
  title?: string | undefined;
23
23
  color?: string | undefined;
24
+ className?: string | undefined;
24
25
  rel?: string | undefined;
25
26
  defaultChecked?: boolean | undefined;
26
27
  defaultValue?: string | number | readonly string[] | undefined;
@@ -28,7 +29,6 @@ export declare const StyledMotionSliderButtonThumb: import("styled-components/di
28
29
  suppressHydrationWarning?: boolean | undefined;
29
30
  accessKey?: string | undefined;
30
31
  autoFocus?: boolean | undefined;
31
- className?: string | undefined;
32
32
  contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
33
33
  contextMenu?: string | undefined;
34
34
  dir?: string | undefined;
@@ -5,6 +5,7 @@ export declare const StyledMotionTruncationContent: 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 StyledMotionTruncationContent: 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;
@@ -0,0 +1,6 @@
1
+ export declare const PAGE_BREAKPOINTS: {
2
+ mobile: string;
3
+ desktop: string;
4
+ desk: string;
5
+ retina: string;
6
+ };
@@ -25,6 +25,7 @@ export { default as ListItem, type ListItemElements, type ListItemProps, } from
25
25
  export { default as MentionFinder } from './components/mention-finder/MentionFinder';
26
26
  export type { MentionMember } from './components/mention-finder/MentionFinder';
27
27
  export { default as NumberInput } from './components/number-input/NumberInput';
28
+ export { default as PageProvider } from './components/page-provider/PageProvider';
28
29
  export { default as Popup } from './components/popup/Popup';
29
30
  export { default as PopupContent } from './components/popup/popup-content/PopupContent';
30
31
  export { default as ProgressBar } from './components/progress-bar/ProgressBar';
@@ -66,4 +67,5 @@ export { ClampPosition } from './types/truncation';
66
67
  export { getIsTouch } from './utils/environment';
67
68
  export { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';
68
69
  export { isTobitEmployee } from './utils/isTobitEmployee';
70
+ export { getUsableHeight } from './utils/pageProvider';
69
71
  export { uploadFile } from './utils/uploadFile';
@@ -0,0 +1,2 @@
1
+ export declare const getPagePadding: () => "0" | "35px 43px 30px" | "15px 10px 20px";
2
+ export declare const getUsableHeight: (customPadding?: string) => Promise<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chayns-components/core",
3
- "version": "5.0.0-beta.796",
3
+ "version": "5.0.0-beta.798",
4
4
  "description": "A set of beautiful React components for developing your own applications with chayns.",
5
5
  "sideEffects": false,
6
6
  "browserslist": [
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "6200ec20e0dd1265bab9bdc3cdfabd85d353927f"
88
+ "gitHead": "1b2793ca4a6dc367f85223773ab1a9a361e4f834"
89
89
  }