@edux-design/buttons 0.0.6 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @edux-design/buttons
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Minor token updates
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Moved react / dom to peer deps
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @edux-design/utils@0.1.0
19
+
3
20
  ## 0.0.6
4
21
 
5
22
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -60,6 +60,8 @@ type IconButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
60
60
  *
61
61
  * @typedef {React.ButtonHTMLAttributes<HTMLButtonElement> & {
62
62
  * children?: React.ReactNode,
63
+ * startIcon?: React.ReactNode,
64
+ * endIcon?: React.ReactNode,
63
65
  * size?: "small"|"medium"|"large",
64
66
  * isSecondary?: boolean,
65
67
  * isDanger?: boolean,
@@ -94,6 +96,8 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
94
96
  */
95
97
  type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
96
98
  children?: React.ReactNode;
99
+ startIcon?: React.ReactNode;
100
+ endIcon?: React.ReactNode;
97
101
  size?: "small" | "medium" | "large";
98
102
  isSecondary?: boolean;
99
103
  isDanger?: boolean;
package/dist/index.d.ts CHANGED
@@ -60,6 +60,8 @@ type IconButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
60
60
  *
61
61
  * @typedef {React.ButtonHTMLAttributes<HTMLButtonElement> & {
62
62
  * children?: React.ReactNode,
63
+ * startIcon?: React.ReactNode,
64
+ * endIcon?: React.ReactNode,
63
65
  * size?: "small"|"medium"|"large",
64
66
  * isSecondary?: boolean,
65
67
  * isDanger?: boolean,
@@ -94,6 +96,8 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
94
96
  */
95
97
  type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
96
98
  children?: React.ReactNode;
99
+ startIcon?: React.ReactNode;
100
+ endIcon?: React.ReactNode;
97
101
  size?: "small" | "medium" | "large";
98
102
  isSecondary?: boolean;
99
103
  isDanger?: boolean;