@kopexa/button 17.0.31 → 17.0.32
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 +2 -2
- package/dist/button.mjs +1 -1
- package/dist/{chunk-IJVQIWUX.mjs → chunk-7VQVEEJX.mjs} +1 -1
- package/dist/{chunk-5NEE2ULZ.mjs → chunk-Q6UB25A7.mjs} +2 -2
- package/dist/{chunk-2AERBV4F.mjs → chunk-VBZTGSJA.mjs} +1 -1
- package/dist/copy-button.js +2 -2
- package/dist/copy-button.mjs +2 -2
- package/dist/icon-button.js +2 -2
- package/dist/icon-button.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +3 -3
- package/package.json +8 -8
package/dist/button.js
CHANGED
|
@@ -144,7 +144,7 @@ var Button = (props) => {
|
|
|
144
144
|
...rest,
|
|
145
145
|
children: [
|
|
146
146
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
147
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
147
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
148
148
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
149
149
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
150
150
|
]
|
|
@@ -175,7 +175,7 @@ var Button = (props) => {
|
|
|
175
175
|
...rest,
|
|
176
176
|
children: [
|
|
177
177
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
178
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
178
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
179
179
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
180
180
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
181
181
|
]
|
package/dist/button.mjs
CHANGED
|
@@ -114,7 +114,7 @@ var Button = (props) => {
|
|
|
114
114
|
...rest,
|
|
115
115
|
children: [
|
|
116
116
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ jsx(Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
117
|
-
/* @__PURE__ */ jsx(Slot.Slottable, { children }),
|
|
117
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ jsx(Slot.Slottable, { children }),
|
|
118
118
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ jsx(Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
119
119
|
!disableRipple && /* @__PURE__ */ jsx(Ripple, { ...getRippleProps() })
|
|
120
120
|
]
|
|
@@ -145,7 +145,7 @@ var Button = (props) => {
|
|
|
145
145
|
...rest,
|
|
146
146
|
children: [
|
|
147
147
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ jsx(Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
148
|
-
/* @__PURE__ */ jsx(Slot.Slottable, { children }),
|
|
148
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ jsx(Slot.Slottable, { children }),
|
|
149
149
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ jsx(Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
150
150
|
!disableRipple && /* @__PURE__ */ jsx(Ripple, { ...getRippleProps() })
|
|
151
151
|
]
|
package/dist/copy-button.js
CHANGED
|
@@ -148,7 +148,7 @@ var Button = (props) => {
|
|
|
148
148
|
...rest,
|
|
149
149
|
children: [
|
|
150
150
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
151
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
151
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
152
152
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
153
153
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
154
154
|
]
|
|
@@ -179,7 +179,7 @@ var Button = (props) => {
|
|
|
179
179
|
...rest,
|
|
180
180
|
children: [
|
|
181
181
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
182
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
182
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
183
183
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
184
184
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
185
185
|
]
|
package/dist/copy-button.mjs
CHANGED
package/dist/icon-button.js
CHANGED
|
@@ -145,7 +145,7 @@ var Button = (props) => {
|
|
|
145
145
|
...rest,
|
|
146
146
|
children: [
|
|
147
147
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
148
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
148
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
149
149
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
150
150
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
151
151
|
]
|
|
@@ -176,7 +176,7 @@ var Button = (props) => {
|
|
|
176
176
|
...rest,
|
|
177
177
|
children: [
|
|
178
178
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
179
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
179
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
180
180
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
181
181
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
182
182
|
]
|
package/dist/icon-button.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -146,7 +146,7 @@ var Button = (props) => {
|
|
|
146
146
|
...rest,
|
|
147
147
|
children: [
|
|
148
148
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
149
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
149
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
150
150
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
151
151
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
152
152
|
]
|
|
@@ -177,7 +177,7 @@ var Button = (props) => {
|
|
|
177
177
|
...rest,
|
|
178
178
|
children: [
|
|
179
179
|
isLoading && spinnerPlacement === "start" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : startContent,
|
|
180
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
180
|
+
!(isLoading && isIconOnly) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slot.Slottable, { children }),
|
|
181
181
|
isLoading && spinnerPlacement === "end" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { color: "current", size: spinnerSize }) : endContent,
|
|
182
182
|
!disableRipple && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ripple.Ripple, { ...getRippleProps() })
|
|
183
183
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CopyButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VBZTGSJA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
IconButton
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7VQVEEJX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q6UB25A7.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": "17.0.
|
|
3
|
+
"version": "17.0.32",
|
|
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": "17.17.
|
|
31
|
+
"@kopexa/theme": "17.17.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@radix-ui/react-slot": "^1.2.4",
|
|
35
|
-
"@kopexa/icons": "17.5.
|
|
36
|
-
"@kopexa/
|
|
37
|
-
"@kopexa/
|
|
38
|
-
"@kopexa/
|
|
39
|
-
"@kopexa/
|
|
40
|
-
"@kopexa/tooltip": "17.1.
|
|
35
|
+
"@kopexa/icons": "17.5.3",
|
|
36
|
+
"@kopexa/react-utils": "17.0.32",
|
|
37
|
+
"@kopexa/ripple": "17.0.32",
|
|
38
|
+
"@kopexa/shared-utils": "17.0.32",
|
|
39
|
+
"@kopexa/spinner": "17.0.32",
|
|
40
|
+
"@kopexa/tooltip": "17.1.4"
|
|
41
41
|
},
|
|
42
42
|
"clean-package": "../../../clean-package.config.json",
|
|
43
43
|
"module": "dist/index.mjs",
|