@kopexa/button 14.0.2 → 14.0.4

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/dist/button.js CHANGED
@@ -68,6 +68,8 @@ var Button = (props) => {
68
68
  shortcutKeys,
69
69
  tooltip,
70
70
  spacing,
71
+ mode,
72
+ placeholder,
71
73
  ...rest
72
74
  } = props;
73
75
  const Comp = asChild ? Slot.Root : "button";
@@ -91,9 +93,22 @@ var Button = (props) => {
91
93
  fullWidth,
92
94
  isIconOnly,
93
95
  className,
94
- spacing
96
+ spacing,
97
+ mode,
98
+ placeholder
95
99
  });
96
- }, [variant, size, color, radius, isIconOnly, fullWidth, className, spacing]);
100
+ }, [
101
+ variant,
102
+ size,
103
+ color,
104
+ radius,
105
+ isIconOnly,
106
+ fullWidth,
107
+ className,
108
+ spacing,
109
+ mode,
110
+ placeholder
111
+ ]);
97
112
  const handleClick = (0, import_react.useCallback)(
98
113
  (e) => {
99
114
  if (disableRipple || isDisabled) return;
package/dist/button.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  Button,
5
5
  ShortcutDisplay
6
- } from "./chunk-SNQHD6JL.mjs";
6
+ } from "./chunk-5NEE2ULZ.mjs";
7
7
  export {
8
8
  Button,
9
9
  ShortcutDisplay
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "./chunk-SNQHD6JL.mjs";
4
+ } from "./chunk-5NEE2ULZ.mjs";
5
5
 
6
6
  // src/copy-button.tsx
7
7
  import { CopyIcon } from "@kopexa/icons";
@@ -38,6 +38,8 @@ var Button = (props) => {
38
38
  shortcutKeys,
39
39
  tooltip,
40
40
  spacing,
41
+ mode,
42
+ placeholder,
41
43
  ...rest
42
44
  } = props;
43
45
  const Comp = asChild ? Slot.Root : "button";
@@ -61,9 +63,22 @@ var Button = (props) => {
61
63
  fullWidth,
62
64
  isIconOnly,
63
65
  className,
64
- spacing
66
+ spacing,
67
+ mode,
68
+ placeholder
65
69
  });
66
- }, [variant, size, color, radius, isIconOnly, fullWidth, className, spacing]);
70
+ }, [
71
+ variant,
72
+ size,
73
+ color,
74
+ radius,
75
+ isIconOnly,
76
+ fullWidth,
77
+ className,
78
+ spacing,
79
+ mode,
80
+ placeholder
81
+ ]);
67
82
  const handleClick = useCallback(
68
83
  (e) => {
69
84
  if (disableRipple || isDisabled) return;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "./chunk-SNQHD6JL.mjs";
4
+ } from "./chunk-5NEE2ULZ.mjs";
5
5
 
6
6
  // src/icon-button.tsx
7
7
  import { cloneElement, isValidElement } from "react";
@@ -72,6 +72,8 @@ var Button = (props) => {
72
72
  shortcutKeys,
73
73
  tooltip,
74
74
  spacing,
75
+ mode,
76
+ placeholder,
75
77
  ...rest
76
78
  } = props;
77
79
  const Comp = asChild ? Slot.Root : "button";
@@ -95,9 +97,22 @@ var Button = (props) => {
95
97
  fullWidth,
96
98
  isIconOnly,
97
99
  className,
98
- spacing
100
+ spacing,
101
+ mode,
102
+ placeholder
99
103
  });
100
- }, [variant, size, color, radius, isIconOnly, fullWidth, className, spacing]);
104
+ }, [
105
+ variant,
106
+ size,
107
+ color,
108
+ radius,
109
+ isIconOnly,
110
+ fullWidth,
111
+ className,
112
+ spacing,
113
+ mode,
114
+ placeholder
115
+ ]);
101
116
  const handleClick = (0, import_react.useCallback)(
102
117
  (e) => {
103
118
  if (disableRipple || isDisabled) return;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  CopyButton
4
- } from "./chunk-IGA5FORT.mjs";
5
- import "./chunk-SNQHD6JL.mjs";
4
+ } from "./chunk-2AERBV4F.mjs";
5
+ import "./chunk-5NEE2ULZ.mjs";
6
6
  export {
7
7
  CopyButton
8
8
  };
@@ -69,6 +69,8 @@ var Button = (props) => {
69
69
  shortcutKeys,
70
70
  tooltip,
71
71
  spacing,
72
+ mode,
73
+ placeholder,
72
74
  ...rest
73
75
  } = props;
74
76
  const Comp = asChild ? Slot.Root : "button";
@@ -92,9 +94,22 @@ var Button = (props) => {
92
94
  fullWidth,
93
95
  isIconOnly,
94
96
  className,
95
- spacing
97
+ spacing,
98
+ mode,
99
+ placeholder
96
100
  });
97
- }, [variant, size, color, radius, isIconOnly, fullWidth, className, spacing]);
101
+ }, [
102
+ variant,
103
+ size,
104
+ color,
105
+ radius,
106
+ isIconOnly,
107
+ fullWidth,
108
+ className,
109
+ spacing,
110
+ mode,
111
+ placeholder
112
+ ]);
98
113
  const handleClick = (0, import_react.useCallback)(
99
114
  (e) => {
100
115
  if (disableRipple || isDisabled) return;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  IconButton
4
- } from "./chunk-7ROCG4IU.mjs";
5
- import "./chunk-SNQHD6JL.mjs";
4
+ } from "./chunk-IJVQIWUX.mjs";
5
+ import "./chunk-5NEE2ULZ.mjs";
6
6
  export {
7
7
  IconButton
8
8
  };
package/dist/index.js CHANGED
@@ -70,6 +70,8 @@ var Button = (props) => {
70
70
  shortcutKeys,
71
71
  tooltip,
72
72
  spacing,
73
+ mode,
74
+ placeholder,
73
75
  ...rest
74
76
  } = props;
75
77
  const Comp = asChild ? Slot.Root : "button";
@@ -93,9 +95,22 @@ var Button = (props) => {
93
95
  fullWidth,
94
96
  isIconOnly,
95
97
  className,
96
- spacing
98
+ spacing,
99
+ mode,
100
+ placeholder
97
101
  });
98
- }, [variant, size, color, radius, isIconOnly, fullWidth, className, spacing]);
102
+ }, [
103
+ variant,
104
+ size,
105
+ color,
106
+ radius,
107
+ isIconOnly,
108
+ fullWidth,
109
+ className,
110
+ spacing,
111
+ mode,
112
+ placeholder
113
+ ]);
99
114
  const handleClick = (0, import_react.useCallback)(
100
115
  (e) => {
101
116
  if (disableRipple || isDisabled) return;
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  CopyButton
4
- } from "./chunk-IGA5FORT.mjs";
4
+ } from "./chunk-2AERBV4F.mjs";
5
5
  import {
6
6
  IconButton
7
- } from "./chunk-7ROCG4IU.mjs";
7
+ } from "./chunk-IJVQIWUX.mjs";
8
8
  import {
9
9
  Button
10
- } from "./chunk-SNQHD6JL.mjs";
10
+ } from "./chunk-5NEE2ULZ.mjs";
11
11
  export {
12
12
  Button,
13
13
  CopyButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/button",
3
- "version": "14.0.2",
3
+ "version": "14.0.4",
4
4
  "description": "Buttons allow users to perform actions and choose with a single tap.",
5
5
  "keywords": [
6
6
  "button"
@@ -28,16 +28,16 @@
28
28
  "motion": ">=12.23.6",
29
29
  "react": ">=19.0.0-rc.0",
30
30
  "react-dom": ">=19.0.0-rc.0",
31
- "@kopexa/theme": "14.0.2"
31
+ "@kopexa/theme": "14.0.4"
32
32
  },
33
33
  "dependencies": {
34
34
  "@radix-ui/react-slot": "^1.2.3",
35
- "@kopexa/shared-utils": "14.0.2",
36
- "@kopexa/react-utils": "14.0.2",
37
- "@kopexa/spinner": "14.0.2",
38
- "@kopexa/tooltip": "14.0.2",
39
- "@kopexa/ripple": "14.0.2",
40
- "@kopexa/icons": "14.0.2"
35
+ "@kopexa/shared-utils": "14.0.4",
36
+ "@kopexa/react-utils": "14.0.4",
37
+ "@kopexa/spinner": "14.0.4",
38
+ "@kopexa/tooltip": "14.0.4",
39
+ "@kopexa/ripple": "14.0.4",
40
+ "@kopexa/icons": "14.0.4"
41
41
  },
42
42
  "clean-package": "../../../clean-package.config.json",
43
43
  "module": "dist/index.mjs",