@deepnoid/ui 0.0.84 → 0.0.86
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-NTTHTGDK.mjs → chunk-FNPWLOGV.mjs} +37 -39
- package/dist/chunk-FRIK4CS7.mjs +83 -0
- package/dist/{chunk-ILMIS63S.mjs → chunk-H7BLXC5M.mjs} +14 -14
- package/dist/{chunk-XTJL67KM.mjs → chunk-HH2LF2SU.mjs} +32 -46
- package/dist/{chunk-ADDUBJ4I.mjs → chunk-S4DTK5GI.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/index.d.mts +6 -0
- 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/index.d.mts +4 -0
- package/dist/components/icon/index.d.ts +4 -0
- package/dist/components/icon/template.d.mts +134 -0
- package/dist/components/input/index.d.mts +5 -0
- package/dist/components/input/index.d.ts +5 -0
- package/dist/components/input/input.d.mts +437 -0
- package/dist/components/input/input.test.d.mts +2 -0
- package/dist/components/input/input.test.js +50 -52
- package/dist/components/input/input.test.mjs +2 -2
- 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/modal.d.mts +214 -0
- package/dist/components/modal/modal.test.d.mts +2 -0
- package/dist/components/modal/modal.test.js +37 -39
- package/dist/components/modal/modal.test.mjs +1 -1
- 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.mjs +2 -2
- package/dist/components/select/option.d.mts +18 -0
- package/dist/components/select/select.d.mts +449 -0
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/select/select.test.d.mts +2 -0
- package/dist/components/select/select.test.js +37 -39
- package/dist/components/select/select.test.mjs +4 -4
- 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.mjs +2 -2
- package/dist/components/table/table-body.d.mts +26 -0
- package/dist/components/table/table-head.d.mts +21 -0
- package/dist/components/table/table.d.mts +583 -0
- package/dist/components/table/table.mjs +2 -2
- 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 +37 -39
- package/dist/components/table/table.test.mjs +3 -3
- 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 +147 -127
- package/dist/components/toast/index.mjs +10 -5
- 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 +207 -0
- package/dist/components/toast/toast.d.ts +13 -10
- package/dist/components/toast/toast.js +32 -125
- package/dist/components/toast/toast.mjs +1 -3
- 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 +73 -168
- package/dist/components/toast/toast.test.mjs +4 -6
- 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 +3826 -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 +249 -180
- package/dist/index.mjs +136 -36
- 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 +2 -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/{chunk-RTH3FPAS.mjs → chunk-PSXPOYLX.mjs} +3 -3
- package/dist/{chunk-463XE4SI.mjs → chunk-RVGOARET.mjs} +3 -3
- /package/dist/components/{dropdown/dropdown.test.d.ts → accordion/accordion.test.d.mts} +0 -0
|
@@ -26,9 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
|
|
29
|
-
// ../../node_modules
|
|
29
|
+
// ../../node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
30
30
|
var require_ansi_styles = __commonJS({
|
|
31
|
-
"../../node_modules
|
|
31
|
+
"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports2, module2) {
|
|
32
32
|
"use strict";
|
|
33
33
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
34
34
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -164,9 +164,9 @@ var require_ansi_styles = __commonJS({
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
// ../../node_modules
|
|
167
|
+
// ../../node_modules/pretty-format/build/collections.js
|
|
168
168
|
var require_collections = __commonJS({
|
|
169
|
-
"../../node_modules
|
|
169
|
+
"../../node_modules/pretty-format/build/collections.js"(exports2) {
|
|
170
170
|
"use strict";
|
|
171
171
|
Object.defineProperty(exports2, "__esModule", {
|
|
172
172
|
value: true
|
|
@@ -282,9 +282,9 @@ var require_collections = __commonJS({
|
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
284
|
|
|
285
|
-
// ../../node_modules
|
|
285
|
+
// ../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
|
|
286
286
|
var require_AsymmetricMatcher = __commonJS({
|
|
287
|
-
"../../node_modules
|
|
287
|
+
"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(exports2) {
|
|
288
288
|
"use strict";
|
|
289
289
|
Object.defineProperty(exports2, "__esModule", {
|
|
290
290
|
value: true
|
|
@@ -369,9 +369,9 @@ var require_ansi_regex = __commonJS({
|
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
371
|
|
|
372
|
-
// ../../node_modules
|
|
372
|
+
// ../../node_modules/pretty-format/build/plugins/ConvertAnsi.js
|
|
373
373
|
var require_ConvertAnsi = __commonJS({
|
|
374
|
-
"../../node_modules
|
|
374
|
+
"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports2) {
|
|
375
375
|
"use strict";
|
|
376
376
|
Object.defineProperty(exports2, "__esModule", {
|
|
377
377
|
value: true
|
|
@@ -440,9 +440,9 @@ var require_ConvertAnsi = __commonJS({
|
|
|
440
440
|
}
|
|
441
441
|
});
|
|
442
442
|
|
|
443
|
-
// ../../node_modules
|
|
443
|
+
// ../../node_modules/pretty-format/build/plugins/DOMCollection.js
|
|
444
444
|
var require_DOMCollection = __commonJS({
|
|
445
|
-
"../../node_modules
|
|
445
|
+
"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports2) {
|
|
446
446
|
"use strict";
|
|
447
447
|
Object.defineProperty(exports2, "__esModule", {
|
|
448
448
|
value: true
|
|
@@ -490,9 +490,9 @@ var require_DOMCollection = __commonJS({
|
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
492
|
|
|
493
|
-
// ../../node_modules
|
|
493
|
+
// ../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
|
|
494
494
|
var require_escapeHTML = __commonJS({
|
|
495
|
-
"../../node_modules
|
|
495
|
+
"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports2) {
|
|
496
496
|
"use strict";
|
|
497
497
|
Object.defineProperty(exports2, "__esModule", {
|
|
498
498
|
value: true
|
|
@@ -504,9 +504,9 @@ var require_escapeHTML = __commonJS({
|
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
// ../../node_modules
|
|
507
|
+
// ../../node_modules/pretty-format/build/plugins/lib/markup.js
|
|
508
508
|
var require_markup = __commonJS({
|
|
509
|
-
"../../node_modules
|
|
509
|
+
"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports2) {
|
|
510
510
|
"use strict";
|
|
511
511
|
Object.defineProperty(exports2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -559,9 +559,9 @@ var require_markup = __commonJS({
|
|
|
559
559
|
}
|
|
560
560
|
});
|
|
561
561
|
|
|
562
|
-
// ../../node_modules
|
|
562
|
+
// ../../node_modules/pretty-format/build/plugins/DOMElement.js
|
|
563
563
|
var require_DOMElement = __commonJS({
|
|
564
|
-
"../../node_modules
|
|
564
|
+
"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports2) {
|
|
565
565
|
"use strict";
|
|
566
566
|
Object.defineProperty(exports2, "__esModule", {
|
|
567
567
|
value: true
|
|
@@ -647,9 +647,9 @@ var require_DOMElement = __commonJS({
|
|
|
647
647
|
}
|
|
648
648
|
});
|
|
649
649
|
|
|
650
|
-
// ../../node_modules
|
|
650
|
+
// ../../node_modules/pretty-format/build/plugins/Immutable.js
|
|
651
651
|
var require_Immutable = __commonJS({
|
|
652
|
-
"../../node_modules
|
|
652
|
+
"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports2) {
|
|
653
653
|
"use strict";
|
|
654
654
|
Object.defineProperty(exports2, "__esModule", {
|
|
655
655
|
value: true
|
|
@@ -804,9 +804,9 @@ var require_Immutable = __commonJS({
|
|
|
804
804
|
}
|
|
805
805
|
});
|
|
806
806
|
|
|
807
|
-
// ../../node_modules
|
|
807
|
+
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
|
808
808
|
var require_react_is_production_min = __commonJS({
|
|
809
|
-
"../../node_modules
|
|
809
|
+
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
|
|
810
810
|
"use strict";
|
|
811
811
|
var b = 60103;
|
|
812
812
|
var c = 60106;
|
|
@@ -942,9 +942,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
942
942
|
}
|
|
943
943
|
});
|
|
944
944
|
|
|
945
|
-
// ../../node_modules
|
|
945
|
+
// ../../node_modules/react-is/cjs/react-is.development.js
|
|
946
946
|
var require_react_is_development = __commonJS({
|
|
947
|
-
"../../node_modules
|
|
947
|
+
"../../node_modules/react-is/cjs/react-is.development.js"(exports2) {
|
|
948
948
|
"use strict";
|
|
949
949
|
if (process.env.NODE_ENV !== "production") {
|
|
950
950
|
(function() {
|
|
@@ -1134,9 +1134,9 @@ var require_react_is_development = __commonJS({
|
|
|
1134
1134
|
}
|
|
1135
1135
|
});
|
|
1136
1136
|
|
|
1137
|
-
// ../../node_modules
|
|
1137
|
+
// ../../node_modules/react-is/index.js
|
|
1138
1138
|
var require_react_is = __commonJS({
|
|
1139
|
-
"../../node_modules
|
|
1139
|
+
"../../node_modules/react-is/index.js"(exports2, module2) {
|
|
1140
1140
|
"use strict";
|
|
1141
1141
|
if (process.env.NODE_ENV === "production") {
|
|
1142
1142
|
module2.exports = require_react_is_production_min();
|
|
@@ -1146,9 +1146,9 @@ var require_react_is = __commonJS({
|
|
|
1146
1146
|
}
|
|
1147
1147
|
});
|
|
1148
1148
|
|
|
1149
|
-
// ../../node_modules
|
|
1149
|
+
// ../../node_modules/pretty-format/build/plugins/ReactElement.js
|
|
1150
1150
|
var require_ReactElement = __commonJS({
|
|
1151
|
-
"../../node_modules
|
|
1151
|
+
"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports2) {
|
|
1152
1152
|
"use strict";
|
|
1153
1153
|
Object.defineProperty(exports2, "__esModule", {
|
|
1154
1154
|
value: true
|
|
@@ -1276,9 +1276,9 @@ var require_ReactElement = __commonJS({
|
|
|
1276
1276
|
}
|
|
1277
1277
|
});
|
|
1278
1278
|
|
|
1279
|
-
// ../../node_modules
|
|
1279
|
+
// ../../node_modules/pretty-format/build/plugins/ReactTestComponent.js
|
|
1280
1280
|
var require_ReactTestComponent = __commonJS({
|
|
1281
|
-
"../../node_modules
|
|
1281
|
+
"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports2) {
|
|
1282
1282
|
"use strict";
|
|
1283
1283
|
Object.defineProperty(exports2, "__esModule", {
|
|
1284
1284
|
value: true
|
|
@@ -1338,9 +1338,9 @@ var require_ReactTestComponent = __commonJS({
|
|
|
1338
1338
|
}
|
|
1339
1339
|
});
|
|
1340
1340
|
|
|
1341
|
-
// ../../node_modules
|
|
1341
|
+
// ../../node_modules/pretty-format/build/index.js
|
|
1342
1342
|
var require_build = __commonJS({
|
|
1343
|
-
"../../node_modules
|
|
1343
|
+
"../../node_modules/pretty-format/build/index.js"(exports2) {
|
|
1344
1344
|
"use strict";
|
|
1345
1345
|
Object.defineProperty(exports2, "__esModule", {
|
|
1346
1346
|
value: true
|
|
@@ -8771,9 +8771,7 @@ var require_lz_string = __commonJS({
|
|
|
8771
8771
|
return keyStrBase64.charAt(a);
|
|
8772
8772
|
});
|
|
8773
8773
|
switch (res.length % 4) {
|
|
8774
|
-
// To produce valid Base64
|
|
8775
8774
|
default:
|
|
8776
|
-
// When could this happen ?
|
|
8777
8775
|
case 0:
|
|
8778
8776
|
return res;
|
|
8779
8777
|
case 1:
|
|
@@ -9215,7 +9213,7 @@ var ReactDOMClient = __toESM(require("react-dom/client"));
|
|
|
9215
9213
|
// ../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js
|
|
9216
9214
|
var prettyFormat = __toESM(require_build());
|
|
9217
9215
|
|
|
9218
|
-
// ../../node_modules
|
|
9216
|
+
// ../../node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
|
|
9219
9217
|
var toStr = Object.prototype.toString;
|
|
9220
9218
|
function isCallable(fn) {
|
|
9221
9219
|
return typeof fn === "function" || toStr.call(fn) === "[object Function]";
|
|
@@ -9263,7 +9261,7 @@ function arrayFrom(arrayLike, mapFn) {
|
|
|
9263
9261
|
return A;
|
|
9264
9262
|
}
|
|
9265
9263
|
|
|
9266
|
-
// ../../node_modules
|
|
9264
|
+
// ../../node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
|
|
9267
9265
|
function _typeof(obj) {
|
|
9268
9266
|
"@babel/helpers - typeof";
|
|
9269
9267
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
@@ -9367,7 +9365,7 @@ var SetLike = /* @__PURE__ */ function() {
|
|
|
9367
9365
|
}();
|
|
9368
9366
|
var SetLike_default = typeof Set === "undefined" ? Set : SetLike;
|
|
9369
9367
|
|
|
9370
|
-
// ../../node_modules
|
|
9368
|
+
// ../../node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
9371
9369
|
function getLocalName(element) {
|
|
9372
9370
|
var _element$localName;
|
|
9373
9371
|
return (
|
|
@@ -9550,7 +9548,7 @@ function getExplicitRole(element) {
|
|
|
9550
9548
|
return null;
|
|
9551
9549
|
}
|
|
9552
9550
|
|
|
9553
|
-
// ../../node_modules
|
|
9551
|
+
// ../../node_modules/dom-accessibility-api/dist/util.mjs
|
|
9554
9552
|
function isElement(node) {
|
|
9555
9553
|
return node !== null && node.nodeType === node.ELEMENT_NODE;
|
|
9556
9554
|
}
|
|
@@ -9619,7 +9617,7 @@ function hasAnyConcreteRoles(node, roles2) {
|
|
|
9619
9617
|
return false;
|
|
9620
9618
|
}
|
|
9621
9619
|
|
|
9622
|
-
// ../../node_modules
|
|
9620
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
|
|
9623
9621
|
function asFlatString(s) {
|
|
9624
9622
|
return s.trim().replace(/\s\s+/g, " ");
|
|
9625
9623
|
}
|
|
@@ -9988,7 +9986,7 @@ function computeTextAlternative(root) {
|
|
|
9988
9986
|
}));
|
|
9989
9987
|
}
|
|
9990
9988
|
|
|
9991
|
-
// ../../node_modules
|
|
9989
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-description.mjs
|
|
9992
9990
|
function _typeof2(obj) {
|
|
9993
9991
|
"@babel/helpers - typeof";
|
|
9994
9992
|
return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
@@ -10055,7 +10053,7 @@ function computeAccessibleDescription(root) {
|
|
|
10055
10053
|
return description;
|
|
10056
10054
|
}
|
|
10057
10055
|
|
|
10058
|
-
// ../../node_modules
|
|
10056
|
+
// ../../node_modules/dom-accessibility-api/dist/accessible-name.mjs
|
|
10059
10057
|
function prohibitsNaming(node) {
|
|
10060
10058
|
return hasAnyConcreteRoles(node, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "superscript"]);
|
|
10061
10059
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
|
|
3
|
+
interface UsePaginationProps {
|
|
4
|
+
currentPage: number;
|
|
5
|
+
totalPage: number;
|
|
6
|
+
groupSize: number;
|
|
7
|
+
handleChangePage?: (currentPage: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const usePagination: ({ currentPage, totalPage, groupSize, handleChangePage }: UsePaginationProps) => {
|
|
10
|
+
startPage: number;
|
|
11
|
+
endPage: number;
|
|
12
|
+
pageList: number[];
|
|
13
|
+
handleClickMovePage: (page: number) => (event: MouseEvent) => void;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { usePagination as default };
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { ComponentPropsWithRef } from 'react';
|
|
6
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
7
|
+
|
|
8
|
+
interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: number;
|
|
11
|
+
showValueLabel?: boolean;
|
|
12
|
+
classNames?: SlotsToClasses<ProgressSlots>;
|
|
13
|
+
}
|
|
14
|
+
type ProgressProps = Props & ProgressVariantProps;
|
|
15
|
+
declare const Progress: react.ForwardRefExoticComponent<Props & ProgressVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
|
|
17
|
+
declare const progress: tailwind_variants.TVReturnType<{
|
|
18
|
+
color: {
|
|
19
|
+
primary: {
|
|
20
|
+
indicator: string;
|
|
21
|
+
};
|
|
22
|
+
secondary: {
|
|
23
|
+
indicator: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
sm: {
|
|
28
|
+
label: string;
|
|
29
|
+
output: string;
|
|
30
|
+
track: string;
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
label: string;
|
|
34
|
+
output: string;
|
|
35
|
+
track: string;
|
|
36
|
+
};
|
|
37
|
+
lg: {
|
|
38
|
+
label: string;
|
|
39
|
+
output: string;
|
|
40
|
+
track: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
gradient: {
|
|
44
|
+
true: {
|
|
45
|
+
indicator: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
fullWidth: {
|
|
49
|
+
true: {
|
|
50
|
+
base: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
isDisabled: {
|
|
54
|
+
true: {
|
|
55
|
+
base: string;
|
|
56
|
+
indicator: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
60
|
+
base: string;
|
|
61
|
+
labelWrapper: string;
|
|
62
|
+
label: string;
|
|
63
|
+
output: string;
|
|
64
|
+
track: string;
|
|
65
|
+
indicator: string;
|
|
66
|
+
}, undefined, {
|
|
67
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
68
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
69
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
70
|
+
fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
71
|
+
isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
72
|
+
gradient?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
} & tailwind_variants_dist_config.TWMConfig & {
|
|
75
|
+
twMergeConfig: {
|
|
76
|
+
classGroups: {
|
|
77
|
+
fontSize: {
|
|
78
|
+
text: string[];
|
|
79
|
+
}[];
|
|
80
|
+
borderRadius: {
|
|
81
|
+
rounded: string[];
|
|
82
|
+
}[];
|
|
83
|
+
boxShadow: {
|
|
84
|
+
shadow: string[];
|
|
85
|
+
}[];
|
|
86
|
+
padding: {
|
|
87
|
+
p: string[];
|
|
88
|
+
}[];
|
|
89
|
+
gap: {
|
|
90
|
+
gap: string[];
|
|
91
|
+
}[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
color: {
|
|
96
|
+
primary: {
|
|
97
|
+
indicator: string;
|
|
98
|
+
};
|
|
99
|
+
secondary: {
|
|
100
|
+
indicator: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
size: {
|
|
104
|
+
sm: {
|
|
105
|
+
label: string;
|
|
106
|
+
output: string;
|
|
107
|
+
track: string;
|
|
108
|
+
};
|
|
109
|
+
md: {
|
|
110
|
+
label: string;
|
|
111
|
+
output: string;
|
|
112
|
+
track: string;
|
|
113
|
+
};
|
|
114
|
+
lg: {
|
|
115
|
+
label: string;
|
|
116
|
+
output: string;
|
|
117
|
+
track: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
gradient: {
|
|
121
|
+
true: {
|
|
122
|
+
indicator: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
fullWidth: {
|
|
126
|
+
true: {
|
|
127
|
+
base: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
isDisabled: {
|
|
131
|
+
true: {
|
|
132
|
+
base: string;
|
|
133
|
+
indicator: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
base: string;
|
|
138
|
+
labelWrapper: string;
|
|
139
|
+
label: string;
|
|
140
|
+
output: string;
|
|
141
|
+
track: string;
|
|
142
|
+
indicator: string;
|
|
143
|
+
}, tailwind_variants.TVReturnType<{
|
|
144
|
+
color: {
|
|
145
|
+
primary: {
|
|
146
|
+
indicator: string;
|
|
147
|
+
};
|
|
148
|
+
secondary: {
|
|
149
|
+
indicator: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
size: {
|
|
153
|
+
sm: {
|
|
154
|
+
label: string;
|
|
155
|
+
output: string;
|
|
156
|
+
track: string;
|
|
157
|
+
};
|
|
158
|
+
md: {
|
|
159
|
+
label: string;
|
|
160
|
+
output: string;
|
|
161
|
+
track: string;
|
|
162
|
+
};
|
|
163
|
+
lg: {
|
|
164
|
+
label: string;
|
|
165
|
+
output: string;
|
|
166
|
+
track: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
gradient: {
|
|
170
|
+
true: {
|
|
171
|
+
indicator: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
fullWidth: {
|
|
175
|
+
true: {
|
|
176
|
+
base: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
isDisabled: {
|
|
180
|
+
true: {
|
|
181
|
+
base: string;
|
|
182
|
+
indicator: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
}, {
|
|
186
|
+
base: string;
|
|
187
|
+
labelWrapper: string;
|
|
188
|
+
label: string;
|
|
189
|
+
output: string;
|
|
190
|
+
track: string;
|
|
191
|
+
indicator: string;
|
|
192
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
193
|
+
color: {
|
|
194
|
+
primary: {
|
|
195
|
+
indicator: string;
|
|
196
|
+
};
|
|
197
|
+
secondary: {
|
|
198
|
+
indicator: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
size: {
|
|
202
|
+
sm: {
|
|
203
|
+
label: string;
|
|
204
|
+
output: string;
|
|
205
|
+
track: string;
|
|
206
|
+
};
|
|
207
|
+
md: {
|
|
208
|
+
label: string;
|
|
209
|
+
output: string;
|
|
210
|
+
track: string;
|
|
211
|
+
};
|
|
212
|
+
lg: {
|
|
213
|
+
label: string;
|
|
214
|
+
output: string;
|
|
215
|
+
track: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
gradient: {
|
|
219
|
+
true: {
|
|
220
|
+
indicator: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
fullWidth: {
|
|
224
|
+
true: {
|
|
225
|
+
base: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
isDisabled: {
|
|
229
|
+
true: {
|
|
230
|
+
base: string;
|
|
231
|
+
indicator: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
}, {
|
|
235
|
+
color: {
|
|
236
|
+
primary: {
|
|
237
|
+
indicator: string;
|
|
238
|
+
};
|
|
239
|
+
secondary: {
|
|
240
|
+
indicator: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
size: {
|
|
244
|
+
sm: {
|
|
245
|
+
label: string;
|
|
246
|
+
output: string;
|
|
247
|
+
track: string;
|
|
248
|
+
};
|
|
249
|
+
md: {
|
|
250
|
+
label: string;
|
|
251
|
+
output: string;
|
|
252
|
+
track: string;
|
|
253
|
+
};
|
|
254
|
+
lg: {
|
|
255
|
+
label: string;
|
|
256
|
+
output: string;
|
|
257
|
+
track: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
gradient: {
|
|
261
|
+
true: {
|
|
262
|
+
indicator: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
fullWidth: {
|
|
266
|
+
true: {
|
|
267
|
+
base: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
isDisabled: {
|
|
271
|
+
true: {
|
|
272
|
+
base: string;
|
|
273
|
+
indicator: string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
}>, unknown, unknown, undefined>>;
|
|
277
|
+
type ProgressVariantProps = VariantProps<typeof progress>;
|
|
278
|
+
type ProgressSlots = keyof ReturnType<typeof progress>;
|
|
279
|
+
type ProgressReturnType = ReturnType<typeof progress>;
|
|
280
|
+
|
|
281
|
+
export { type ProgressProps, type ProgressReturnType, type ProgressSlots, type ProgressVariantProps, type Props, Progress as default };
|