@deepnoid/ui 0.0.84 → 0.0.87
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/{chunk-XTJL67KM.mjs → chunk-2COCX2VX.mjs} +37 -47
- package/dist/{chunk-KA4L5SCT.mjs → chunk-4DLTBZUQ.mjs} +1 -1
- package/dist/{chunk-RTH3FPAS.mjs → chunk-4SWFYTMR.mjs} +3 -3
- package/dist/{chunk-463XE4SI.mjs → chunk-4VIEZ5FT.mjs} +4 -4
- package/dist/{chunk-NTTHTGDK.mjs → chunk-FNPWLOGV.mjs} +37 -39
- package/dist/{chunk-ILMIS63S.mjs → chunk-H7BLXC5M.mjs} +14 -14
- package/dist/{chunk-QURXBWKK.mjs → chunk-IOV7MEPG.mjs} +323 -331
- package/dist/{chunk-SQLRQTFC.mjs → chunk-LY6LJRUX.mjs} +1 -1
- package/dist/{chunk-EWKYBS7I.mjs → chunk-PHQY5T3E.mjs} +1 -1
- package/dist/{chunk-AHORH5PH.mjs → chunk-PRUAIZTU.mjs} +1 -1
- package/dist/{chunk-LGELMZCN.mjs → chunk-QIZOXBOY.mjs} +1 -1
- package/dist/chunk-QX6VJLEM.mjs +83 -0
- package/dist/{chunk-ADDUBJ4I.mjs → chunk-S4DTK5GI.mjs} +1 -1
- package/dist/{chunk-QCOPD2HG.mjs → chunk-SFNR4F3J.mjs} +1 -1
- package/dist/chunk-ZOTHPHXA.mjs +41 -0
- package/dist/components/accordion/accordion.d.mts +154 -0
- package/dist/components/accordion/accordion.test.js +37 -39
- package/dist/components/accordion/accordion.test.mjs +1 -1
- package/dist/components/accordion/accordionItem.d.mts +282 -0
- package/dist/components/accordion/accordionItem.js +323 -331
- package/dist/components/accordion/accordionItem.mjs +3 -3
- package/dist/components/accordion/index.d.mts +6 -0
- package/dist/components/accordion/index.js +323 -331
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/button/button-group.d.mts +14 -0
- package/dist/components/button/button-group.test.d.mts +2 -0
- package/dist/components/button/button-group.test.js +37 -39
- package/dist/components/button/button-group.test.mjs +2 -2
- package/dist/components/button/button.d.mts +18 -0
- package/dist/components/button/button.test.d.mts +2 -0
- package/dist/components/button/button.test.js +50 -52
- package/dist/components/button/button.test.mjs +2 -2
- package/dist/components/button/index.d.mts +3 -0
- package/dist/components/card/card.d.mts +124 -0
- package/dist/components/card/card.test.d.mts +2 -0
- package/dist/components/card/card.test.js +37 -39
- package/dist/components/card/card.test.mjs +1 -1
- package/dist/components/card/index.d.mts +5 -0
- package/dist/components/card/index.d.ts +5 -0
- package/dist/components/checkbox/checkbox.d.mts +349 -0
- package/dist/components/checkbox/checkbox.test.d.mts +2 -0
- package/dist/components/checkbox/checkbox.test.js +37 -39
- package/dist/components/checkbox/checkbox.test.mjs +2 -2
- package/dist/components/checkbox/index.d.mts +5 -0
- package/dist/components/checkbox/index.d.ts +5 -0
- package/dist/components/icon/Icon.d.mts +513 -0
- package/dist/components/icon/Icon.js +323 -331
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.d.mts +4 -0
- package/dist/components/icon/index.d.ts +4 -0
- package/dist/components/icon/index.js +323 -331
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +134 -0
- package/dist/components/icon/template.js +323 -331
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.d.mts +5 -0
- package/dist/components/input/index.d.ts +5 -0
- package/dist/components/input/index.js +323 -331
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +437 -0
- package/dist/components/input/input.js +323 -331
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/input/input.test.d.mts +2 -0
- package/dist/components/input/input.test.js +373 -383
- package/dist/components/input/input.test.mjs +5 -5
- package/dist/components/list/index.d.mts +6 -0
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/{dropdown/dropdown.d.ts → list/list.d.mts} +9 -9
- package/dist/components/list/list.test.d.mts +2 -0
- package/dist/components/list/list.test.js +37 -39
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/list/listItem.d.mts +183 -0
- package/dist/components/modal/index.d.mts +8 -0
- package/dist/components/modal/index.d.ts +8 -0
- package/dist/components/modal/index.js +323 -331
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.d.mts +214 -0
- package/dist/components/modal/modal.js +323 -331
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/modal/modal.test.d.mts +2 -0
- package/dist/components/modal/modal.test.js +360 -370
- package/dist/components/modal/modal.test.mjs +4 -4
- package/dist/components/pagination/index.d.mts +4 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/pagination.d.mts +186 -0
- package/dist/components/pagination/pagination.test.d.mts +2 -0
- package/dist/components/pagination/pagination.test.js +37 -39
- package/dist/components/pagination/pagination.test.mjs +1 -1
- package/dist/components/pagination/usePagination.d.mts +16 -0
- package/dist/components/progress/index.d.mts +5 -0
- package/dist/components/progress/index.d.ts +5 -0
- package/dist/components/progress/progress.d.mts +281 -0
- package/dist/components/progress/progress.test.d.mts +2 -0
- package/dist/components/progress/progress.test.d.ts +2 -0
- package/dist/components/progress/progress.test.js +37 -39
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/index.d.mts +5 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/radio.d.mts +278 -0
- package/dist/components/radio/radio.test.d.mts +2 -0
- package/dist/components/radio/radio.test.js +37 -39
- package/dist/components/radio/radio.test.mjs +1 -1
- package/dist/components/select/index.d.mts +5 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/index.js +323 -331
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.d.mts +18 -0
- package/dist/components/select/option.js +323 -331
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.d.mts +449 -0
- package/dist/components/select/select.js +323 -331
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/select/select.test.d.mts +2 -0
- package/dist/components/select/select.test.js +360 -370
- package/dist/components/select/select.test.mjs +6 -6
- package/dist/components/select/useSelect.d.mts +32 -0
- package/dist/components/slider/index.d.mts +5 -0
- package/dist/components/slider/index.d.ts +5 -0
- package/dist/components/slider/slider.d.mts +333 -0
- package/dist/components/slider/slider.test.d.mts +2 -0
- package/dist/components/slider/slider.test.d.ts +2 -0
- package/dist/components/slider/slider.test.js +37 -39
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/index.d.mts +5 -0
- package/dist/components/switch/index.d.ts +5 -0
- package/dist/components/switch/switch.d.mts +304 -0
- package/dist/components/switch/switch.test.d.mts +2 -0
- package/dist/components/switch/switch.test.d.ts +2 -0
- package/dist/components/switch/switch.test.js +37 -39
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/index.d.mts +5 -0
- package/dist/components/table/index.d.ts +5 -0
- package/dist/components/table/index.js +323 -331
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table-body.d.mts +26 -0
- package/dist/components/table/table-body.js +323 -331
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.d.mts +21 -0
- package/dist/components/table/table.d.mts +583 -0
- package/dist/components/table/table.js +323 -331
- package/dist/components/table/table.mjs +4 -4
- package/dist/components/table/table.test.d.mts +2 -0
- package/dist/components/table/table.test.d.ts +2 -0
- package/dist/components/table/table.test.js +360 -370
- package/dist/components/table/table.test.mjs +5 -5
- package/dist/components/tabs/index.d.mts +5 -0
- package/dist/components/tabs/index.d.ts +5 -0
- package/dist/components/tabs/tabs.d.mts +241 -0
- package/dist/components/tabs/tabs.test.d.mts +2 -0
- package/dist/components/tabs/tabs.test.d.ts +2 -0
- package/dist/components/tabs/tabs.test.js +37 -39
- package/dist/components/tabs/tabs.test.mjs +2 -2
- package/dist/components/textarea/index.d.mts +2 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/textarea.d.mts +17 -0
- package/dist/components/textarea/textarea.test.d.mts +2 -0
- package/dist/components/textarea/textarea.test.d.ts +2 -0
- package/dist/components/textarea/textarea.test.js +50 -52
- package/dist/components/textarea/textarea.test.mjs +2 -2
- package/dist/components/toast/index.d.mts +9 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/index.js +474 -458
- package/dist/components/toast/index.mjs +12 -7
- package/dist/components/toast/toast-utils.d.mts +9 -0
- package/dist/components/toast/toast-utils.d.ts +9 -0
- package/dist/components/toast/toast-utils.js +25 -45
- package/dist/components/toast/toast-utils.mjs +1 -1
- package/dist/components/toast/toast.d.mts +208 -0
- package/dist/components/toast/toast.d.ts +14 -10
- package/dist/components/toast/toast.js +359 -456
- package/dist/components/toast/toast.mjs +3 -5
- package/dist/components/toast/toast.test.d.mts +2 -0
- package/dist/components/toast/toast.test.d.ts +2 -0
- package/dist/components/toast/toast.test.js +400 -499
- package/dist/components/toast/toast.test.mjs +6 -8
- package/dist/components/toast/use-toast.d.mts +31 -0
- package/dist/components/toast/use-toast.d.ts +31 -0
- package/dist/components/toast/use-toast.js +3822 -0
- package/dist/components/toast/use-toast.mjs +17 -0
- package/dist/components/tooltip/index.d.mts +6 -0
- package/dist/components/tooltip/index.d.ts +6 -0
- package/dist/components/tooltip/tooltip-utils.d.mts +2 -0
- package/dist/components/tooltip/tooltip-utils.d.ts +2 -0
- package/dist/components/tooltip/tooltip.d.mts +143 -0
- package/dist/components/tooltip/tooltip.test.d.mts +2 -0
- package/dist/components/tooltip/tooltip.test.d.ts +2 -0
- package/dist/components/tooltip/tooltip.test.js +37 -39
- package/dist/components/tooltip/tooltip.test.mjs +1 -1
- package/dist/components/tooltip/useTooltip.d.mts +2 -0
- package/dist/components/tooltip/useTooltip.d.ts +2 -0
- package/dist/index.d.mts +33 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +576 -511
- package/dist/index.mjs +139 -39
- package/dist/tooltip-utils-DCKA5gnI.d.mts +30 -0
- package/dist/tooltip-utils-DCKA5gnI.d.ts +30 -0
- package/dist/utils/clsx.d.mts +3 -0
- package/dist/utils/props.d.mts +3 -0
- package/dist/utils/tailwind-variants.d.mts +26 -0
- package/dist/utils/types.d.mts +10 -0
- package/package.json +3 -2
- package/dist/chunk-5T5F5WVS.mjs +0 -32
- package/dist/chunk-LXPWTJ3F.mjs +0 -58
- package/dist/chunk-SDNTEP5C.mjs +0 -61
- package/dist/chunk-W7ABNK3K.mjs +0 -1
- package/dist/components/dropdown/dropdown.js +0 -122
- package/dist/components/dropdown/dropdown.mjs +0 -10
- package/dist/components/dropdown/dropdown.test.js +0 -12997
- package/dist/components/dropdown/dropdown.test.mjs +0 -25
- package/dist/components/dropdown/index.js +0 -128
- package/dist/components/dropdown/index.mjs +0 -11
- package/dist/components/toast/useToast.d.ts +0 -0
- package/dist/components/toast/useToast.js +0 -110
- package/dist/components/toast/useToast.mjs +0 -9
- /package/dist/{chunk-RDEWIZV3.mjs → chunk-LUWGOKLG.mjs} +0 -0
- /package/dist/components/{dropdown/dropdown.test.d.ts → accordion/accordion.test.d.mts} +0 -0
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "../../chunk-SWR7E3NU.mjs";
|
|
6
6
|
import {
|
|
7
7
|
accordionItem_default
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-SFNR4F3J.mjs";
|
|
9
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-PRUAIZTU.mjs";
|
|
11
|
+
import "../../chunk-IOV7MEPG.mjs";
|
|
12
12
|
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-J725QONZ.mjs";
|
|
14
14
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import react__default, { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ButtonGroupProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
variant?: "solid" | "line" | "tonal" | "trans" | "ghost";
|
|
8
|
+
radius?: "default" | "full" | "none";
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const ButtonGroup: react__default.ForwardRefExoticComponent<ButtonGroupProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
|
|
14
|
+
export { type ButtonGroupProps, ButtonGroup as default };
|
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
|
|
33
|
-
// ../../node_modules
|
|
33
|
+
// ../../node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
34
34
|
var require_ansi_styles = __commonJS({
|
|
35
|
-
"../../node_modules
|
|
35
|
+
"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports2, module2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
38
38
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -168,9 +168,9 @@ var require_ansi_styles = __commonJS({
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
// ../../node_modules
|
|
171
|
+
// ../../node_modules/pretty-format/build/collections.js
|
|
172
172
|
var require_collections = __commonJS({
|
|
173
|
-
"../../node_modules
|
|
173
|
+
"../../node_modules/pretty-format/build/collections.js"(exports2) {
|
|
174
174
|
"use strict";
|
|
175
175
|
Object.defineProperty(exports2, "__esModule", {
|
|
176
176
|
value: true
|
|
@@ -286,9 +286,9 @@ var require_collections = __commonJS({
|
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
// ../../node_modules
|
|
289
|
+
// ../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
|
|
290
290
|
var require_AsymmetricMatcher = __commonJS({
|
|
291
|
-
"../../node_modules
|
|
291
|
+
"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(exports2) {
|
|
292
292
|
"use strict";
|
|
293
293
|
Object.defineProperty(exports2, "__esModule", {
|
|
294
294
|
value: true
|
|
@@ -373,9 +373,9 @@ var require_ansi_regex = __commonJS({
|
|
|
373
373
|
}
|
|
374
374
|
});
|
|
375
375
|
|
|
376
|
-
// ../../node_modules
|
|
376
|
+
// ../../node_modules/pretty-format/build/plugins/ConvertAnsi.js
|
|
377
377
|
var require_ConvertAnsi = __commonJS({
|
|
378
|
-
"../../node_modules
|
|
378
|
+
"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports2) {
|
|
379
379
|
"use strict";
|
|
380
380
|
Object.defineProperty(exports2, "__esModule", {
|
|
381
381
|
value: true
|
|
@@ -444,9 +444,9 @@ var require_ConvertAnsi = __commonJS({
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
// ../../node_modules
|
|
447
|
+
// ../../node_modules/pretty-format/build/plugins/DOMCollection.js
|
|
448
448
|
var require_DOMCollection = __commonJS({
|
|
449
|
-
"../../node_modules
|
|
449
|
+
"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports2) {
|
|
450
450
|
"use strict";
|
|
451
451
|
Object.defineProperty(exports2, "__esModule", {
|
|
452
452
|
value: true
|
|
@@ -494,9 +494,9 @@ var require_DOMCollection = __commonJS({
|
|
|
494
494
|
}
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
// ../../node_modules
|
|
497
|
+
// ../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
|
|
498
498
|
var require_escapeHTML = __commonJS({
|
|
499
|
-
"../../node_modules
|
|
499
|
+
"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports2) {
|
|
500
500
|
"use strict";
|
|
501
501
|
Object.defineProperty(exports2, "__esModule", {
|
|
502
502
|
value: true
|
|
@@ -508,9 +508,9 @@ var require_escapeHTML = __commonJS({
|
|
|
508
508
|
}
|
|
509
509
|
});
|
|
510
510
|
|
|
511
|
-
// ../../node_modules
|
|
511
|
+
// ../../node_modules/pretty-format/build/plugins/lib/markup.js
|
|
512
512
|
var require_markup = __commonJS({
|
|
513
|
-
"../../node_modules
|
|
513
|
+
"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports2) {
|
|
514
514
|
"use strict";
|
|
515
515
|
Object.defineProperty(exports2, "__esModule", {
|
|
516
516
|
value: true
|
|
@@ -563,9 +563,9 @@ var require_markup = __commonJS({
|
|
|
563
563
|
}
|
|
564
564
|
});
|
|
565
565
|
|
|
566
|
-
// ../../node_modules
|
|
566
|
+
// ../../node_modules/pretty-format/build/plugins/DOMElement.js
|
|
567
567
|
var require_DOMElement = __commonJS({
|
|
568
|
-
"../../node_modules
|
|
568
|
+
"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports2) {
|
|
569
569
|
"use strict";
|
|
570
570
|
Object.defineProperty(exports2, "__esModule", {
|
|
571
571
|
value: true
|
|
@@ -651,9 +651,9 @@ var require_DOMElement = __commonJS({
|
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
653
|
|
|
654
|
-
// ../../node_modules
|
|
654
|
+
// ../../node_modules/pretty-format/build/plugins/Immutable.js
|
|
655
655
|
var require_Immutable = __commonJS({
|
|
656
|
-
"../../node_modules
|
|
656
|
+
"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports2) {
|
|
657
657
|
"use strict";
|
|
658
658
|
Object.defineProperty(exports2, "__esModule", {
|
|
659
659
|
value: true
|
|
@@ -808,9 +808,9 @@ var require_Immutable = __commonJS({
|
|
|
808
808
|
}
|
|
809
809
|
});
|
|
810
810
|
|
|
811
|
-
// ../../node_modules
|
|
811
|
+
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
|
812
812
|
var require_react_is_production_min = __commonJS({
|
|
813
|
-
"../../node_modules
|
|
813
|
+
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
|
|
814
814
|
"use strict";
|
|
815
815
|
var b = 60103;
|
|
816
816
|
var c = 60106;
|
|
@@ -946,9 +946,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
|
|
949
|
-
// ../../node_modules
|
|
949
|
+
// ../../node_modules/react-is/cjs/react-is.development.js
|
|
950
950
|
var require_react_is_development = __commonJS({
|
|
951
|
-
"../../node_modules
|
|
951
|
+
"../../node_modules/react-is/cjs/react-is.development.js"(exports2) {
|
|
952
952
|
"use strict";
|
|
953
953
|
if (process.env.NODE_ENV !== "production") {
|
|
954
954
|
(function() {
|
|
@@ -1138,9 +1138,9 @@ var require_react_is_development = __commonJS({
|
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
1140
1140
|
|
|
1141
|
-
// ../../node_modules
|
|
1141
|
+
// ../../node_modules/react-is/index.js
|
|
1142
1142
|
var require_react_is = __commonJS({
|
|
1143
|
-
"../../node_modules
|
|
1143
|
+
"../../node_modules/react-is/index.js"(exports2, module2) {
|
|
1144
1144
|
"use strict";
|
|
1145
1145
|
if (process.env.NODE_ENV === "production") {
|
|
1146
1146
|
module2.exports = require_react_is_production_min();
|
|
@@ -1150,9 +1150,9 @@ var require_react_is = __commonJS({
|
|
|
1150
1150
|
}
|
|
1151
1151
|
});
|
|
1152
1152
|
|
|
1153
|
-
// ../../node_modules
|
|
1153
|
+
// ../../node_modules/pretty-format/build/plugins/ReactElement.js
|
|
1154
1154
|
var require_ReactElement = __commonJS({
|
|
1155
|
-
"../../node_modules
|
|
1155
|
+
"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports2) {
|
|
1156
1156
|
"use strict";
|
|
1157
1157
|
Object.defineProperty(exports2, "__esModule", {
|
|
1158
1158
|
value: true
|
|
@@ -1280,9 +1280,9 @@ var require_ReactElement = __commonJS({
|
|
|
1280
1280
|
}
|
|
1281
1281
|
});
|
|
1282
1282
|
|
|
1283
|
-
// ../../node_modules
|
|
1283
|
+
// ../../node_modules/pretty-format/build/plugins/ReactTestComponent.js
|
|
1284
1284
|
var require_ReactTestComponent = __commonJS({
|
|
1285
|
-
"../../node_modules
|
|
1285
|
+
"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports2) {
|
|
1286
1286
|
"use strict";
|
|
1287
1287
|
Object.defineProperty(exports2, "__esModule", {
|
|
1288
1288
|
value: true
|
|
@@ -1342,9 +1342,9 @@ var require_ReactTestComponent = __commonJS({
|
|
|
1342
1342
|
}
|
|
1343
1343
|
});
|
|
1344
1344
|
|
|
1345
|
-
// ../../node_modules
|
|
1345
|
+
// ../../node_modules/pretty-format/build/index.js
|
|
1346
1346
|
var require_build = __commonJS({
|
|
1347
|
-
"../../node_modules
|
|
1347
|
+
"../../node_modules/pretty-format/build/index.js"(exports2) {
|
|
1348
1348
|
"use strict";
|
|
1349
1349
|
Object.defineProperty(exports2, "__esModule", {
|
|
1350
1350
|
value: true
|
|
@@ -8775,9 +8775,7 @@ var require_lz_string = __commonJS({
|
|
|
8775
8775
|
return keyStrBase64.charAt(a);
|
|
8776
8776
|
});
|
|
8777
8777
|
switch (res.length % 4) {
|
|
8778
|
-
// To produce valid Base64
|
|
8779
8778
|
default:
|
|
8780
|
-
// When could this happen ?
|
|
8781
8779
|
case 0:
|
|
8782
8780
|
return res;
|
|
8783
8781
|
case 1:
|
|
@@ -9219,7 +9217,7 @@ var ReactDOMClient = __toESM(require("react-dom/client"));
|
|
|
9219
9217
|
// ../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js
|
|
9220
9218
|
var prettyFormat = __toESM(require_build());
|
|
9221
9219
|
|
|
9222
|
-
// ../../node_modules
|
|
9220
|
+
// ../../node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
|
|
9223
9221
|
var toStr = Object.prototype.toString;
|
|
9224
9222
|
function isCallable(fn) {
|
|
9225
9223
|
return typeof fn === "function" || toStr.call(fn) === "[object Function]";
|
|
@@ -9267,7 +9265,7 @@ function arrayFrom(arrayLike, mapFn) {
|
|
|
9267
9265
|
return A;
|
|
9268
9266
|
}
|
|
9269
9267
|
|
|
9270
|
-
// ../../node_modules
|
|
9268
|
+
// ../../node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
|
|
9271
9269
|
function _typeof(obj) {
|
|
9272
9270
|
"@babel/helpers - typeof";
|
|
9273
9271
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
@@ -9371,7 +9369,7 @@ var SetLike = /* @__PURE__ */ function() {
|
|
|
9371
9369
|
}();
|
|
9372
9370
|
var SetLike_default = typeof Set === "undefined" ? Set : SetLike;
|
|
9373
9371
|
|
|
9374
|
-
// ../../node_modules
|
|
9372
|
+
// ../../node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
9375
9373
|
function getLocalName(element) {
|
|
9376
9374
|
var _element$localName;
|
|
9377
9375
|
return (
|
|
@@ -9554,7 +9552,7 @@ function getExplicitRole(element) {
|
|
|
9554
9552
|
return null;
|
|
9555
9553
|
}
|
|
9556
9554
|
|
|
9557
|
-
// ../../node_modules
|
|
9555
|
+
// ../../node_modules/dom-accessibility-api/dist/util.mjs
|
|
9558
9556
|
function isElement(node) {
|
|
9559
9557
|
return node !== null && node.nodeType === node.ELEMENT_NODE;
|
|
9560
9558
|
}
|
|
@@ -9623,7 +9621,7 @@ function hasAnyConcreteRoles(node, roles2) {
|
|
|
9623
9621
|
return false;
|
|
9624
9622
|
}
|
|
9625
9623
|
|
|
9626
|
-
// ../../node_modules
|
|
9624
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
9627
9625
|
function asFlatString(s) {
|
|
9628
9626
|
return s.trim().replace(/\s\s+/g, " ");
|
|
9629
9627
|
}
|
|
@@ -9992,7 +9990,7 @@ function computeTextAlternative(root) {
|
|
|
9992
9990
|
}));
|
|
9993
9991
|
}
|
|
9994
9992
|
|
|
9995
|
-
// ../../node_modules
|
|
9993
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-description.mjs
|
|
9996
9994
|
function _typeof2(obj) {
|
|
9997
9995
|
"@babel/helpers - typeof";
|
|
9998
9996
|
return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
@@ -10059,7 +10057,7 @@ function computeAccessibleDescription(root) {
|
|
|
10059
10057
|
return description;
|
|
10060
10058
|
}
|
|
10061
10059
|
|
|
10062
|
-
// ../../node_modules
|
|
10060
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-name.mjs
|
|
10063
10061
|
function prohibitsNaming(node) {
|
|
10064
10062
|
return hasAnyConcreteRoles(node, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "superscript"]);
|
|
10065
10063
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
userEvent
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_group_default
|
|
7
7
|
} from "../../chunk-NGQ3MK2J.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "../../chunk-66WCZEEU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
render
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
14
14
|
import "../../chunk-J725QONZ.mjs";
|
|
15
15
|
import "../../chunk-IZ6II3QA.mjs";
|
|
16
16
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
|
|
7
|
+
size?: "sm" | "md" | "lg";
|
|
8
|
+
variant?: "solid" | "line" | "tonal" | "trans" | "ghost";
|
|
9
|
+
radius?: "default" | "full" | "none";
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
isInGroup?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
startContent?: ReactNode;
|
|
14
|
+
endContent?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
|
|
18
|
+
export { type ButtonProps, Button as default };
|