playbook-ui 13.15.0 → 13.16.0

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 (38) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +4 -3
  3. package/dist/pb_flex/_flex.d.ts +3 -3
  4. package/dist/pb_form_group/_form_group.d.ts +4 -2
  5. package/dist/pb_form_pill/_form_pill.d.ts +1 -1
  6. package/dist/pb_gauge/_gauge.d.ts +4 -3
  7. package/dist/pb_home_address_street/_home_address_street.d.ts +2 -1
  8. package/dist/pb_icon_stat_value/_icon_stat_value.d.ts +4 -2
  9. package/dist/pb_icon_value/_icon_value.d.ts +4 -2
  10. package/dist/pb_passphrase/_passphrase.d.ts +6 -4
  11. package/dist/pb_person_contact/_person_contact.d.ts +4 -2
  12. package/dist/pb_popover/_popover.d.ts +1 -1
  13. package/dist/pb_progress_simple/_progress_simple.d.ts +2 -1
  14. package/dist/pb_radio/_radio.d.ts +68 -68
  15. package/dist/pb_rich_text_editor/TipTap/EditorButton.d.ts +3 -2
  16. package/dist/pb_rich_text_editor/TipTap/EditorTypes.d.ts +1 -1
  17. package/dist/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -1
  18. package/dist/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -1
  19. package/dist/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -1
  20. package/dist/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -1
  21. package/dist/pb_rich_text_editor/_rich_text_editor.d.ts +2 -2
  22. package/dist/pb_section_separator/_section_separator.d.ts +1 -1
  23. package/dist/pb_select/_select.d.ts +72 -68
  24. package/dist/pb_selectable_card_icon/_selectable_card_icon.d.ts +1 -1
  25. package/dist/pb_selectable_icon/_selectable_icon.d.ts +4 -2
  26. package/dist/pb_selectable_list/_selectable_list.d.ts +2 -1
  27. package/dist/pb_source/_source.d.ts +2 -1
  28. package/dist/pb_text_input/_text_input.d.ts +68 -68
  29. package/dist/pb_textarea/_textarea.d.ts +72 -72
  30. package/dist/pb_tooltip/_tooltip.d.ts +68 -68
  31. package/dist/playbook-doc.js +5 -5
  32. package/dist/playbook-rails.js +3 -3
  33. package/dist/playbook.css +1 -1
  34. package/dist/playbook.js +4 -4
  35. package/dist/types/base.d.ts +1 -0
  36. package/dist/types/data.d.ts +1 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # 13.15.0
2
+ ##### January 5, 2024
3
+
4
+ List of changes:
5
+
6
+ **Kit Enhancements:**
7
+ - Convert Truncate Prop to Global [\#2975](https://github.com/powerhome/playbook/pull/2975) ([markdoeswork](https://github.com/markdoeswork))
8
+
9
+ **Fixed Bugs:**
10
+ - Display Prop Responsive Arguments Are Blocking Font Color [\#2973](https://github.com/powerhome/playbook/pull/2973) ([israel-molestina](https://github.com/israel-molestina))
11
+
12
+ **Improvements:**
13
+ - Docs: Add `xxl` As Max Width Value [\#2986](https://github.com/powerhome/playbook/pull/2986) ([israel-molestina](https://github.com/israel-molestina))
14
+ - Docs: List Nav Items Alphabetically Within Their Categories [\#2977](https://github.com/powerhome/playbook/pull/2977) ([augustomallmann](https://github.com/augustomallmann))
15
+ - Docs: Person [\#2953](https://github.com/powerhome/playbook/pull/2953) ([nickamantia](https://github.com/nickamantia))
16
+ - Docs: User [\#2898](https://github.com/powerhome/playbook/pull/2898) ([nickamantia](https://github.com/nickamantia))
17
+ - Docs: Reaction Button Variant [\#2985](https://github.com/powerhome/playbook/pull/2985) ([rachelradford21](https://github.com/rachelradford21))
18
+ - Docs: Select [\#2983](https://github.com/powerhome/playbook/pull/2983) ([rachelradford21](https://github.com/rachelradford21))
19
+ - Docs: Dialog [\#2979](https://github.com/powerhome/playbook/pull/2979) ([rachelradford21](https://github.com/rachelradford21))
20
+ - Linter Implementation: Kits A - D [\#2942](https://github.com/powerhome/playbook/pull/2942) ([augustomallmann](https://github.com/augustomallmann))
21
+ - Ready Playbook Web for Swift! [\#2978](https://github.com/powerhome/playbook/pull/2978) ([jasoncypret](https://github.com/jasoncypret))
22
+
23
+
24
+ [Full Changelog](https://github.com/powerhome/playbook/compare/13.14.0...13.15.0)
25
+
26
+
27
+
28
+
1
29
  # Customize Your Calendar: Introducing Quick Pick Custom Ranges for Tailored Date Selection
2
30
 
3
31
  ##### December 19, 2023
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { VoidCallback } from "../types";
2
3
  declare type FixedConfirmationToastProps = {
3
4
  autoClose?: number;
4
5
  children?: React.ReactChild[] | React.ReactChild;
@@ -7,15 +8,15 @@ declare type FixedConfirmationToastProps = {
7
8
  data?: string;
8
9
  horizontal?: "right" | "left" | "center";
9
10
  htmlOptions?: {
10
- [key: string]: string | number | boolean | (() => void);
11
+ [key: string]: string | number | boolean | (VoidCallback);
11
12
  };
12
13
  id?: string;
13
14
  multiLine?: boolean;
14
- onClose?: () => void;
15
+ onClose?: VoidCallback;
15
16
  open?: boolean;
16
17
  status?: "success" | "error" | "neutral" | "tip";
17
18
  text?: string;
18
19
  vertical?: "top" | "bottom";
19
20
  };
20
- declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) => JSX.Element;
21
+ declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) => React.ReactElement;
21
22
  export default FixedConfirmationToast;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { GlobalProps } from '../utilities/globalProps';
3
- import { Sizes } from '../types';
3
+ import { GenericObject, Sizes } from '../types';
4
4
  declare type FlexProps = {
5
5
  children: React.ReactChild[] | React.ReactNode;
6
6
  className?: string;
7
- data?: object;
7
+ data?: GenericObject;
8
8
  horizontal?: "left" | "center" | "right" | "stretch" | "none";
9
9
  justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none";
10
10
  htmlOptions?: {
@@ -23,5 +23,5 @@ declare type FlexProps = {
23
23
  wrap?: boolean;
24
24
  alignSelf?: "start" | "end" | "center" | "stretch" | "none";
25
25
  } & GlobalProps;
26
- declare const Flex: (props: FlexProps) => JSX.Element;
26
+ declare const Flex: (props: FlexProps) => React.ReactElement;
27
27
  export default Flex;
@@ -1,15 +1,17 @@
1
+ import React from 'react';
2
+ import { GenericObject } from '../types';
1
3
  declare type FormGroupProps = {
2
4
  aria?: {
3
5
  [key: string]: string;
4
6
  };
5
7
  children?: Node;
6
8
  className?: string;
7
- data?: object;
9
+ data?: GenericObject;
8
10
  fullWidth?: boolean;
9
11
  htmlOptions?: {
10
12
  [key: string]: string | number | boolean | (() => void);
11
13
  };
12
14
  id?: string;
13
15
  };
14
- declare const FormGroup: (props: FormGroupProps) => JSX.Element;
16
+ declare const FormGroup: (props: FormGroupProps) => React.ReactElement;
15
17
  export default FormGroup;
@@ -19,5 +19,5 @@ declare type FormPillProps = {
19
19
  onTouchEnd?: React.TouchEventHandler<HTMLSpanElement>;
20
20
  };
21
21
  } & GlobalProps;
22
- declare const FormPill: (props: FormPillProps) => JSX.Element;
22
+ declare const FormPill: (props: FormPillProps) => React.ReactElement;
23
23
  export default FormPill;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  declare type GaugeProps = {
2
3
  aria: {
3
4
  [key: string]: string;
@@ -7,7 +8,7 @@ declare type GaugeProps = {
7
8
  name: string;
8
9
  value: number[] | number;
9
10
  }[];
10
- dark?: Boolean;
11
+ dark?: boolean;
11
12
  data?: {
12
13
  [key: string]: string;
13
14
  };
@@ -27,8 +28,8 @@ declare type GaugeProps = {
27
28
  title?: string;
28
29
  tooltipHtml?: string;
29
30
  colors: string[];
30
- minorTickInterval: any;
31
+ minorTickInterval?: number;
31
32
  circumference: number[];
32
33
  };
33
- declare const Gauge: ({ aria, className, chartData, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => JSX.Element;
34
+ declare const Gauge: ({ aria, chartData, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => React.ReactElement;
34
35
  export default Gauge;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  declare type HomeAddressStreetProps = {
2
3
  aria?: {
3
4
  [key: string]: string;
@@ -22,5 +23,5 @@ declare type HomeAddressStreetProps = {
22
23
  zipcode: string;
23
24
  territory: string;
24
25
  };
25
- declare const HomeAddressStreet: (props: HomeAddressStreetProps) => JSX.Element;
26
+ declare const HomeAddressStreet: (props: HomeAddressStreetProps) => React.ReactElement;
26
27
  export default HomeAddressStreet;
@@ -1,9 +1,11 @@
1
+ import React from 'react';
2
+ import { GenericObject } from '../types';
1
3
  declare type IconStatValueProps = {
2
4
  aria?: {
3
5
  [key: string]: string;
4
6
  };
5
7
  className?: string;
6
- data?: object;
8
+ data?: GenericObject;
7
9
  dark?: boolean;
8
10
  icon: string;
9
11
  htmlOptions?: {
@@ -17,5 +19,5 @@ declare type IconStatValueProps = {
17
19
  value: number;
18
20
  variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
19
21
  };
20
- declare const IconStatValue: (props: IconStatValueProps) => JSX.Element;
22
+ declare const IconStatValue: (props: IconStatValueProps) => React.ReactElement;
21
23
  export default IconStatValue;
@@ -1,3 +1,5 @@
1
+ import React from 'react';
2
+ import { GenericObject } from '../types';
1
3
  declare type IconValueProps = {
2
4
  align?: "left" | "center" | "right";
3
5
  aria?: {
@@ -5,7 +7,7 @@ declare type IconValueProps = {
5
7
  };
6
8
  className?: string;
7
9
  dark?: boolean;
8
- data?: object;
10
+ data?: GenericObject;
9
11
  icon: string;
10
12
  htmlOptions?: {
11
13
  [key: string]: string | number | boolean | (() => void);
@@ -13,5 +15,5 @@ declare type IconValueProps = {
13
15
  id?: string;
14
16
  text: string;
15
17
  };
16
- declare const IconValue: (props: IconValueProps) => JSX.Element;
18
+ declare const IconValue: (props: IconValueProps) => React.ReactElement;
17
19
  export default IconValue;
@@ -1,22 +1,24 @@
1
+ import React from "react";
2
+ import { GenericObject } from "../types";
1
3
  declare type PassphraseProps = {
2
4
  aria?: {
3
5
  [key: string]: string;
4
6
  };
5
7
  confirmation?: boolean;
6
8
  className?: string;
7
- data?: object;
9
+ data?: GenericObject;
8
10
  dark?: boolean;
9
11
  htmlOptions?: {
10
12
  [key: string]: string | number | boolean | (() => void);
11
13
  };
12
14
  id?: string;
13
- inputProps?: {};
15
+ inputProps?: GenericObject;
14
16
  label?: string;
15
- onChange: (inputValue: String) => void;
17
+ onChange: (inputValue: string) => void;
16
18
  showTipsBelow?: "always" | "xs" | "sm" | "md" | "lg" | "xl";
17
19
  tips?: Array<string>;
18
20
  uncontrolled?: boolean;
19
21
  value: string;
20
22
  };
21
- declare const Passphrase: (props: PassphraseProps) => JSX.Element;
23
+ declare const Passphrase: (props: PassphraseProps) => React.ReactElement;
22
24
  export default Passphrase;
@@ -1,3 +1,5 @@
1
+ import React from 'react';
2
+ import { GenericObject } from '../types';
1
3
  declare type ContactItem = {
2
4
  contactType: string;
3
5
  contactValue: string;
@@ -8,7 +10,7 @@ declare type PersonContactProps = {
8
10
  [key: string]: string;
9
11
  };
10
12
  className?: string | string[];
11
- data?: object;
13
+ data?: GenericObject;
12
14
  firstName: string;
13
15
  htmlOptions?: {
14
16
  [key: string]: string | number | boolean | (() => void);
@@ -17,5 +19,5 @@ declare type PersonContactProps = {
17
19
  lastName: string;
18
20
  contacts?: ContactItem[];
19
21
  };
20
- declare const PersonContact: (props: PersonContactProps) => JSX.Element;
22
+ declare const PersonContact: (props: PersonContactProps) => React.ReactElement;
21
23
  export default PersonContact;
@@ -21,5 +21,5 @@ declare type PbPopoverProps = {
21
21
  } & GlobalProps & Omit<PopperProps<any>, 'children'> & {
22
22
  children?: React.ReactChild[] | React.ReactChild;
23
23
  };
24
- declare const PbReactPopover: (props: PbPopoverProps) => JSX.Element;
24
+ declare const PbReactPopover: (props: PbPopoverProps) => React.ReactElement;
25
25
  export default PbReactPopover;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  declare type ProgressSimpleProps = {
2
3
  align?: "left" | "center" | "right";
3
4
  className?: string | string[];
@@ -14,5 +15,5 @@ declare type ProgressSimpleProps = {
14
15
  variant?: "default" | "positive" | "negative" | "warning";
15
16
  width: string;
16
17
  };
17
- declare const ProgressSimple: (props: ProgressSimpleProps) => JSX.Element;
18
+ declare const ProgressSimple: (props: ProgressSimpleProps) => React.ReactElement;
18
19
  export default ProgressSimple;
@@ -30,13 +30,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
30
30
  } & {
31
31
  borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
32
32
  } & {
33
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
33
+ cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
34
34
  } & {
35
35
  dark?: boolean;
36
36
  } & {
37
37
  display?: import("../types").DisplayType;
38
38
  } & import("../types").DisplaySizes & {
39
- flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
39
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
40
40
  } & {
41
41
  flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
42
42
  } & {
@@ -52,13 +52,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
52
52
  } & {
53
53
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
54
54
  } & {
55
- marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
56
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
57
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
58
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
59
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
60
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
61
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
55
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
56
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
57
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
58
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
59
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
60
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
61
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
62
62
  break?: string;
63
63
  default?: string;
64
64
  } & {
@@ -66,19 +66,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
66
66
  } & {
67
67
  numberSpacing?: "tabular";
68
68
  } & {
69
- order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
69
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
70
70
  } & {
71
71
  overflowX?: "auto" | "scroll" | "hidden" | "visible";
72
72
  overflowY?: "auto" | "scroll" | "hidden" | "visible";
73
73
  overflow?: "auto" | "scroll" | "hidden" | "visible";
74
74
  } & {
75
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
76
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
77
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
78
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
79
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
80
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
81
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
75
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
76
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
77
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
78
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
79
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
80
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
81
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
82
82
  break?: string;
83
83
  default?: string;
84
84
  } & {
@@ -124,13 +124,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
124
124
  } & {
125
125
  borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
126
126
  } & {
127
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
127
+ cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
128
128
  } & {
129
129
  dark?: boolean;
130
130
  } & {
131
131
  display?: import("../types").DisplayType;
132
132
  } & import("../types").DisplaySizes & {
133
- flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
133
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
134
134
  } & {
135
135
  flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
136
136
  } & {
@@ -146,13 +146,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
146
146
  } & {
147
147
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
148
148
  } & {
149
- marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
150
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
151
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
152
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
153
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
154
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
155
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
149
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
150
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
151
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
152
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
153
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
154
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
155
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
156
156
  break?: string;
157
157
  default?: string;
158
158
  } & {
@@ -160,19 +160,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
160
160
  } & {
161
161
  numberSpacing?: "tabular";
162
162
  } & {
163
- order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
163
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
164
164
  } & {
165
165
  overflowX?: "auto" | "scroll" | "hidden" | "visible";
166
166
  overflowY?: "auto" | "scroll" | "hidden" | "visible";
167
167
  overflow?: "auto" | "scroll" | "hidden" | "visible";
168
168
  } & {
169
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
170
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
171
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
172
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
173
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
174
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
175
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
169
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
170
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
171
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
172
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
173
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
174
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
175
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
176
176
  break?: string;
177
177
  default?: string;
178
178
  } & {
@@ -218,11 +218,11 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
218
218
  } & {
219
219
  borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
220
220
  } & {
221
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
221
+ cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
222
222
  } & {
223
223
  dark?: boolean;
224
224
  } & import("../types").DisplaySizes & {
225
- flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
225
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
226
226
  } & {
227
227
  flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
228
228
  } & {
@@ -238,13 +238,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
238
238
  } & {
239
239
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
240
240
  } & {
241
- marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
242
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
243
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
244
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
245
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
246
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
247
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
241
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
242
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
243
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
244
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
245
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
246
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
247
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
248
248
  break?: string;
249
249
  default?: string;
250
250
  } & {
@@ -252,19 +252,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
252
252
  } & {
253
253
  numberSpacing?: "tabular";
254
254
  } & {
255
- order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
255
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
256
256
  } & {
257
257
  overflowX?: "auto" | "scroll" | "hidden" | "visible";
258
258
  overflowY?: "auto" | "scroll" | "hidden" | "visible";
259
259
  overflow?: "auto" | "scroll" | "hidden" | "visible";
260
260
  } & {
261
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
262
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
263
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
264
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
265
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
266
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
267
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
261
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
262
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
263
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
264
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
265
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
266
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
267
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
268
268
  break?: string;
269
269
  default?: string;
270
270
  } & {
@@ -310,11 +310,11 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
310
310
  } & {
311
311
  borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
312
312
  } & {
313
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
313
+ cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
314
314
  } & {
315
315
  dark?: boolean;
316
316
  } & import("../types").DisplaySizes & {
317
- flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
317
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
318
318
  } & {
319
319
  flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
320
320
  } & {
@@ -330,13 +330,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
330
330
  } & {
331
331
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
332
332
  } & {
333
- marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
334
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
335
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
336
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
337
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
338
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
339
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
333
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
334
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
335
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
336
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
337
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
338
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
339
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
340
340
  break?: string;
341
341
  default?: string;
342
342
  } & {
@@ -344,19 +344,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
344
344
  } & {
345
345
  numberSpacing?: "tabular";
346
346
  } & {
347
- order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
347
+ order?: 2 | "none" | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
348
348
  } & {
349
349
  overflowX?: "auto" | "scroll" | "hidden" | "visible";
350
350
  overflowY?: "auto" | "scroll" | "hidden" | "visible";
351
351
  overflow?: "auto" | "scroll" | "hidden" | "visible";
352
352
  } & {
353
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
354
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
355
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
356
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
357
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
358
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
359
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
353
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
354
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
355
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
356
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
357
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
358
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
359
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
360
360
  break?: string;
361
361
  default?: string;
362
362
  } & {
@@ -1,9 +1,10 @@
1
+ import React from "react";
1
2
  declare type EditorButtonProps = {
2
3
  classname?: string;
3
- onclick?: () => {} | void;
4
+ onclick?: () => undefined | void;
4
5
  icon?: string;
5
6
  text?: string;
6
7
  disable?: boolean;
7
8
  };
8
- declare const EditorButton: ({ classname, disable, onclick, icon, text, }: EditorButtonProps) => JSX.Element;
9
+ declare const EditorButton: ({ classname, disable, onclick, icon, text, }: EditorButtonProps) => React.ReactElement;
9
10
  export default EditorButton;
@@ -3,7 +3,7 @@ export declare type ToolbarTypes = {
3
3
  icon?: string;
4
4
  isActive?: string | null;
5
5
  text?: string;
6
- onclick?: () => {};
6
+ onclick?: () => undefined;
7
7
  classname?: string;
8
8
  disable?: boolean;
9
9
  };
@@ -1,2 +1,3 @@
1
- declare const EditorToolbar: ({ editor, extensions }: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const EditorToolbar: ({ editor, extensions }: any) => React.ReactElement;
2
3
  export default EditorToolbar;
@@ -1,2 +1,3 @@
1
- declare const ToolbarDropdown: ({ editor }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const ToolbarDropdown: ({ editor }: any) => React.ReactElement;
2
3
  export default ToolbarDropdown;
@@ -1,2 +1,3 @@
1
- declare const ToolbarHistoryItems: ({ editor }: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const ToolbarHistoryItems: ({ editor }: any) => React.ReactElement;
2
3
  export default ToolbarHistoryItems;
@@ -1,2 +1,3 @@
1
- declare const ToolbarNodes: ({ editor }: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const ToolbarNodes: ({ editor }: any) => React.ReactElement;
2
3
  export default ToolbarNodes;
@@ -6,7 +6,7 @@ declare type RichTextEditorProps = {
6
6
  };
7
7
  advancedEditor?: any;
8
8
  advancedEditorToolbar?: boolean;
9
- toolbarBottom?: Boolean;
9
+ toolbarBottom?: boolean;
10
10
  children?: React.ReactNode | React.ReactNode[];
11
11
  className?: string;
12
12
  data?: {
@@ -30,5 +30,5 @@ declare type RichTextEditorProps = {
30
30
  value?: string;
31
31
  maxWidth?: string;
32
32
  } & GlobalProps;
33
- declare const RichTextEditor: (props: RichTextEditorProps) => JSX.Element;
33
+ declare const RichTextEditor: (props: RichTextEditorProps) => React.ReactElement;
34
34
  export default RichTextEditor;
@@ -18,5 +18,5 @@ declare type SectionSeparatorProps = {
18
18
  text?: string;
19
19
  variant?: "card" | "background";
20
20
  };
21
- declare const SectionSeparator: (props: SectionSeparatorProps) => JSX.Element;
21
+ declare const SectionSeparator: (props: SectionSeparatorProps) => React.ReactElement;
22
22
  export default SectionSeparator;