@deepnoid/ui 0.1.31 → 0.1.33
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/.turbo/turbo-build.log +138 -138
- package/dist/{chunk-EBRCE7XY.mjs → chunk-2M5G4MRK.mjs} +4 -4
- package/dist/{chunk-62X5AX5B.mjs → chunk-4EIGHKUO.mjs} +7 -11
- package/dist/{chunk-K7V4VE7R.mjs → chunk-C7AFIF2M.mjs} +4 -4
- package/dist/{chunk-AIIMJZ7L.mjs → chunk-GH6CPGFN.mjs} +25 -20
- package/dist/{chunk-CVQM3T2X.mjs → chunk-MCNCHQ33.mjs} +1 -1
- package/dist/{chunk-BCMVEGJG.mjs → chunk-PSO2IJIF.mjs} +1 -1
- package/dist/components/dateTimePicker/dateTimePicker.mjs +4 -4
- package/dist/components/dateTimePicker/index.mjs +4 -4
- package/dist/components/dateTimePicker/timePicker.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +25 -20
- package/dist/components/fileUpload/fileUpload.mjs +2 -2
- package/dist/components/fileUpload/index.js +25 -20
- package/dist/components/fileUpload/index.mjs +2 -2
- package/dist/components/input/index.js +25 -20
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.d.mts +3 -0
- package/dist/components/input/input.d.ts +3 -0
- package/dist/components/input/input.js +25 -20
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/pagination/index.js +25 -20
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +25 -20
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/table/index.js +28 -23
- package/dist/components/table/index.mjs +3 -3
- package/dist/components/table/table.js +28 -23
- package/dist/components/table/table.mjs +3 -3
- package/dist/components/textarea/index.js +7 -11
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.js +7 -11
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/index.js +35 -34
- package/dist/index.mjs +23 -23
- package/package.json +1 -1
- package/dist/{chunk-BFOK4HVC.mjs → chunk-KYJTZPXY.mjs} +3 -3
package/dist/index.js
CHANGED
|
@@ -6006,12 +6006,13 @@ var inputStyle = tv(
|
|
|
6006
6006
|
"placeholder:text-neutral-main",
|
|
6007
6007
|
"outline-none",
|
|
6008
6008
|
"focus:ring-0",
|
|
6009
|
-
"group-has-[:hover]/input
|
|
6010
|
-
"group-has-[:hover]/input:placeholder
|
|
6009
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
6010
|
+
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
6011
6011
|
"group-has-[:focus]/input:text-neutral-dark",
|
|
6012
6012
|
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
6013
6013
|
"group-has-[p.error]/input:text-danger-main",
|
|
6014
|
-
"group-has-[p.error]/input:placeholder:text-danger-main"
|
|
6014
|
+
"group-has-[p.error]/input:placeholder:text-danger-main",
|
|
6015
|
+
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
6015
6016
|
],
|
|
6016
6017
|
content: [
|
|
6017
6018
|
"flex",
|
|
@@ -6019,9 +6020,17 @@ var inputStyle = tv(
|
|
|
6019
6020
|
"select-none",
|
|
6020
6021
|
"text-neutral-main",
|
|
6021
6022
|
"group-has-[:hover]/input:text-neutral-dark",
|
|
6022
|
-
"group-has-[p.error]/input:text-danger-main"
|
|
6023
|
+
"group-has-[p.error]/input:text-danger-main",
|
|
6024
|
+
"group-has-[p.error]/input:hover:text-danger-main",
|
|
6025
|
+
"group-has-[p.error]/input:focus:text-danger-main"
|
|
6026
|
+
],
|
|
6027
|
+
helperMessage: [
|
|
6028
|
+
"text-neutral-main",
|
|
6029
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
6030
|
+
"group-has-[p.error]/input:text-danger-main",
|
|
6031
|
+
"group-has-[p.error]/input:hover:text-danger-main",
|
|
6032
|
+
"group-has-[p.error]/input:focus:text-danger-main"
|
|
6023
6033
|
],
|
|
6024
|
-
helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
6025
6034
|
errorMessage: ["text-danger-main"],
|
|
6026
6035
|
readonlyWrapper: [
|
|
6027
6036
|
"pointer-events-none",
|
|
@@ -6062,27 +6071,23 @@ var inputStyle = tv(
|
|
|
6062
6071
|
},
|
|
6063
6072
|
color: {
|
|
6064
6073
|
primary: {
|
|
6065
|
-
content: [
|
|
6066
|
-
"group-has-[:focus]/input:!text-primary-main",
|
|
6067
|
-
"group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
|
|
6068
|
-
],
|
|
6074
|
+
content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
|
|
6069
6075
|
helperMessage: [
|
|
6070
|
-
"group-has-[:focus]/input
|
|
6071
|
-
"group-has-[:focus
|
|
6072
|
-
"group-has-[:focus]/input:hover:!text-primary-main"
|
|
6076
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
6077
|
+
"group-has-[:focus]/input:hover:text-primary-main"
|
|
6073
6078
|
],
|
|
6074
|
-
readonly: ["
|
|
6079
|
+
readonly: ["text-primary-main"]
|
|
6075
6080
|
},
|
|
6076
6081
|
secondary: {
|
|
6077
6082
|
content: [
|
|
6078
|
-
"group-has-[:focus]/input
|
|
6079
|
-
"group-has-[
|
|
6083
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
6084
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
6080
6085
|
],
|
|
6081
6086
|
helperMessage: [
|
|
6082
|
-
"group-has-[:focus]/input
|
|
6083
|
-
"group-has-[:focus
|
|
6084
|
-
|
|
6085
|
-
]
|
|
6087
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
6088
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
6089
|
+
],
|
|
6090
|
+
readonly: ["text-secondary-main"]
|
|
6086
6091
|
}
|
|
6087
6092
|
},
|
|
6088
6093
|
size: {
|
|
@@ -6139,7 +6144,7 @@ var inputStyle = tv(
|
|
|
6139
6144
|
"group-has-[p.error]/input:!text-danger-light",
|
|
6140
6145
|
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
6141
6146
|
],
|
|
6142
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input
|
|
6147
|
+
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
6143
6148
|
helperMessage: ["!text-neutral-light"],
|
|
6144
6149
|
errorMessage: ["!text-danger-light"]
|
|
6145
6150
|
}
|
|
@@ -6551,13 +6556,15 @@ var textareaStyle = (0, import_tailwind_variants11.tv)({
|
|
|
6551
6556
|
"group-has-[:focus]/textarea:!text-neutral-dark",
|
|
6552
6557
|
"group-has-[:focus]/textarea:placeholder:!text-neutral-dark",
|
|
6553
6558
|
"group-has-[p.error]/textarea:bg-danger-soft",
|
|
6554
|
-
"group-has-[p.error]/textarea
|
|
6559
|
+
"group-has-[p.error]/textarea:!text-danger-main",
|
|
6555
6560
|
"group-has-[p.error]/textarea:placeholder:!text-danger-main"
|
|
6556
6561
|
],
|
|
6557
6562
|
helperMessage: [
|
|
6558
6563
|
"text-neutral-main",
|
|
6559
6564
|
"group-has-[:hover]/textarea:text-neutral-dark",
|
|
6560
|
-
"group-has-[p.error]/textarea:text-danger-main"
|
|
6565
|
+
"group-has-[p.error]/textarea:text-danger-main",
|
|
6566
|
+
"group-has-[p.error]/textarea:hover:text-danger-main",
|
|
6567
|
+
"group-has-[p.error]/textarea:focus:text-danger-main"
|
|
6561
6568
|
],
|
|
6562
6569
|
errorMessage: ["text-danger-main"],
|
|
6563
6570
|
readonlyWrapper: [
|
|
@@ -6586,21 +6593,15 @@ var textareaStyle = (0, import_tailwind_variants11.tv)({
|
|
|
6586
6593
|
color: {
|
|
6587
6594
|
primary: {
|
|
6588
6595
|
helperMessage: [
|
|
6589
|
-
"group-has-[:focus]/textarea
|
|
6590
|
-
"group-has-[:focus]/textarea
|
|
6591
|
-
"group-has-[:focus]/textarea:hover:!text-primary-main",
|
|
6592
|
-
"group-has-[:focus:hover]/textarea:!text-primary-main",
|
|
6593
|
-
"group-has-[p.error]:not(textarea:focus):hover/textarea:!text-primary-main"
|
|
6596
|
+
"group-has-[:focus]/textarea:text-primary-main",
|
|
6597
|
+
"group-has-[:focus]/textarea:hover:text-primary-main"
|
|
6594
6598
|
],
|
|
6595
6599
|
readonly: ["!text-primary-main"]
|
|
6596
6600
|
},
|
|
6597
6601
|
secondary: {
|
|
6598
6602
|
helperMessage: [
|
|
6599
6603
|
"group-has-[:focus]/textarea:text-secondary-main",
|
|
6600
|
-
"group-has-[:focus]/textarea:text-secondary-main"
|
|
6601
|
-
"group-has-[:focus]/textarea:hover:text-secondary-main",
|
|
6602
|
-
"group-has-[:focus:hover]/textarea:text-secondary-main",
|
|
6603
|
-
"group-has-[p.error]:not(textarea:focus):hover/textarea:!text-secondary-main"
|
|
6604
|
+
"group-has-[:focus]/textarea:hover:text-secondary-main"
|
|
6604
6605
|
],
|
|
6605
6606
|
readonly: ["!text-secondary-main"]
|
|
6606
6607
|
}
|
|
@@ -7444,7 +7445,7 @@ var Table = (0, import_react15.forwardRef)((originalProps, ref) => {
|
|
|
7444
7445
|
columns,
|
|
7445
7446
|
rowCheckbox = false,
|
|
7446
7447
|
onRowClick,
|
|
7447
|
-
totalData,
|
|
7448
|
+
totalData = 0,
|
|
7448
7449
|
pagination,
|
|
7449
7450
|
onPageChange,
|
|
7450
7451
|
emptyContent,
|
|
@@ -7454,8 +7455,8 @@ var Table = (0, import_react15.forwardRef)((originalProps, ref) => {
|
|
|
7454
7455
|
size,
|
|
7455
7456
|
skeletonRow
|
|
7456
7457
|
} = { ...props, ...variantProps };
|
|
7457
|
-
const { page = 1, perPage =
|
|
7458
|
-
const showPagination = pagination &&
|
|
7458
|
+
const { page = 1, perPage = 15 } = pagination || {};
|
|
7459
|
+
const showPagination = pagination && totalData > 0 && !isLoading;
|
|
7459
7460
|
const [checkedRows, setCheckedRows] = (0, import_react15.useState)(/* @__PURE__ */ new Set());
|
|
7460
7461
|
const divRef = (0, import_react15.useRef)(null);
|
|
7461
7462
|
(0, import_react15.useImperativeHandle)(
|
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import "./chunk-RRAZM5D3.mjs";
|
|
17
17
|
import {
|
|
18
18
|
textarea_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4EIGHKUO.mjs";
|
|
20
20
|
import "./chunk-LUWGOKLG.mjs";
|
|
21
21
|
import {
|
|
22
22
|
ToastProvider,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import "./chunk-DX3KXNP6.mjs";
|
|
34
34
|
import {
|
|
35
35
|
table_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2M5G4MRK.mjs";
|
|
37
37
|
import {
|
|
38
38
|
definition_table_default
|
|
39
39
|
} from "./chunk-6TIIBU7J.mjs";
|
|
@@ -51,50 +51,50 @@ import "./chunk-MZ76AA76.mjs";
|
|
|
51
51
|
import {
|
|
52
52
|
skeleton_default
|
|
53
53
|
} from "./chunk-6PN3DGOE.mjs";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-TPFN22HR.mjs";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./chunk-
|
|
56
|
+
radio_default
|
|
57
|
+
} from "./chunk-QIRL6HY6.mjs";
|
|
58
58
|
import "./chunk-7B7LRG5J.mjs";
|
|
59
59
|
import {
|
|
60
60
|
pagination_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MCNCHQ33.mjs";
|
|
62
62
|
import "./chunk-F3HENRVM.mjs";
|
|
63
|
-
import "./chunk-TPFN22HR.mjs";
|
|
64
|
-
import {
|
|
65
|
-
radio_default
|
|
66
|
-
} from "./chunk-QIRL6HY6.mjs";
|
|
67
63
|
import "./chunk-RLXOHILK.mjs";
|
|
68
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-DJOG6Z35.mjs";
|
|
65
|
+
import {
|
|
66
|
+
modal_default
|
|
67
|
+
} from "./chunk-IC25OKBJ.mjs";
|
|
69
68
|
import "./chunk-75HLCORR.mjs";
|
|
70
69
|
import {
|
|
71
70
|
dateTimePicker_default
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-BFOK4HVC.mjs";
|
|
71
|
+
} from "./chunk-C7AFIF2M.mjs";
|
|
72
|
+
import "./chunk-KYJTZPXY.mjs";
|
|
75
73
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
76
|
-
import {
|
|
77
|
-
listItem_default
|
|
78
|
-
} from "./chunk-RT3S3VVJ.mjs";
|
|
79
74
|
import {
|
|
80
75
|
list_default
|
|
81
76
|
} from "./chunk-HIVPDIEP.mjs";
|
|
77
|
+
import {
|
|
78
|
+
listItem_default
|
|
79
|
+
} from "./chunk-RT3S3VVJ.mjs";
|
|
82
80
|
import "./chunk-FWJ2ZKH6.mjs";
|
|
83
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-MGEWSREV.mjs";
|
|
82
|
+
import {
|
|
83
|
+
chip_default
|
|
84
|
+
} from "./chunk-WLNLVX7Q.mjs";
|
|
84
85
|
import {
|
|
85
86
|
fileUpload_default
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-PSO2IJIF.mjs";
|
|
87
88
|
import "./chunk-2GCSFWHD.mjs";
|
|
88
89
|
import {
|
|
89
90
|
input_default
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-GH6CPGFN.mjs";
|
|
91
92
|
import "./chunk-QZ3LVYJW.mjs";
|
|
92
93
|
import {
|
|
93
94
|
checkbox_default
|
|
94
95
|
} from "./chunk-D6QI3DJG.mjs";
|
|
95
|
-
import
|
|
96
|
-
|
|
97
|
-
} from "./chunk-WLNLVX7Q.mjs";
|
|
96
|
+
import "./chunk-A7RU3FU5.mjs";
|
|
97
|
+
import "./chunk-P732YGHO.mjs";
|
|
98
98
|
import "./chunk-7DLOYKVC.mjs";
|
|
99
99
|
import {
|
|
100
100
|
avatar_default
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
listItem_default
|
|
4
|
-
} from "./chunk-RT3S3VVJ.mjs";
|
|
5
2
|
import {
|
|
6
3
|
list_default
|
|
7
4
|
} from "./chunk-HIVPDIEP.mjs";
|
|
5
|
+
import {
|
|
6
|
+
listItem_default
|
|
7
|
+
} from "./chunk-RT3S3VVJ.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/dateTimePicker/timePicker.tsx
|
|
10
10
|
import { useState, useRef, useEffect } from "react";
|