rte-utils 1.2.309 → 1.2.311

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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './Button.css';
2
3
  interface ButtonProps {
3
4
  text: string;
@@ -10,6 +11,7 @@ interface ButtonProps {
10
11
  textColor?: string;
11
12
  borderColor?: string;
12
13
  size?: 'small' | 'medium' | 'large';
14
+ style?: React.CSSProperties;
13
15
  }
14
- export declare const Button: ({ text, leftIcon, rightIcon, onClick, disabled, className, bgColor, textColor, borderColor, size, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Button: ({ text, leftIcon, rightIcon, onClick, disabled, className, bgColor, textColor, borderColor, size, style, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
15
17
  export {};
@@ -20,3 +20,4 @@ export declare const BothIconsCustom: Story;
20
20
  export declare const WithBorder: Story;
21
21
  export declare const BorderWithIcon: Story;
22
22
  export declare const BorderSmallSize: Story;
23
+ export declare const CustomStyle: Story;
@@ -9,20 +9,24 @@ export interface OptionItemProps {
9
9
  */
10
10
  content: string;
11
11
  /**
12
- * The icon to display next to the tickbox
12
+ * The content class name
13
+ */
14
+ className?: string;
15
+ /**
16
+ * The icon to display in the OptionItem
13
17
  */
14
18
  icon?: React.ReactNode;
15
19
  /**
16
- * The checked state of the tickbox
20
+ * The checked state of the OptionItem
17
21
  */
18
22
  checked?: boolean;
19
23
  /**
20
- * The disabled state of the tickbox
24
+ * The disabled state of the OptionItem
21
25
  */
22
26
  disabled?: boolean;
23
27
  /**
24
- * The on change handler of the tickbox
28
+ * The on change handler of the OptionItem
25
29
  */
26
30
  onChange: (checked: boolean) => void;
27
31
  }
28
- export declare const OptionItem: ({ type, content, icon, checked, disabled, onChange, }: OptionItemProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const OptionItem: ({ type, content, className, icon, checked, disabled, onChange, }: OptionItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -11,6 +11,7 @@ export declare const RadioDefault: Story;
11
11
  export declare const RadioChecked: Story;
12
12
  export declare const RadioDisabled: Story;
13
13
  export declare const RadioDisabledChecked: Story;
14
+ export declare const WithClassName: Story;
14
15
  export declare const WithIcon: Story;
15
16
  export declare const WithIconChecked: Story;
16
17
  export declare const RadioGroup: Story;