@deepnoid/ui 0.1.1 → 0.1.3
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 +134 -134
- package/dist/chunk-B6CXZCXQ.mjs +292 -0
- package/dist/{chunk-SPX2BHO2.mjs → chunk-L6XWAHH5.mjs} +1 -1
- package/dist/{chunk-DUOYMLZL.mjs → chunk-X7FHRV4S.mjs} +3 -3
- package/dist/components/input/index.js +163 -156
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.js +163 -156
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +163 -156
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.js +163 -156
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/table/index.js +163 -156
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table.js +163 -156
- package/dist/components/table/table.mjs +4 -4
- package/dist/index.js +163 -156
- package/dist/index.mjs +28 -28
- package/package.json +1 -1
- package/dist/chunk-RT5NKQX4.mjs +0 -285
package/dist/index.js
CHANGED
|
@@ -5080,7 +5080,7 @@ var Input = (0, import_react7.forwardRef)((originalProps, ref) => {
|
|
|
5080
5080
|
{
|
|
5081
5081
|
className: clsx(
|
|
5082
5082
|
slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
5083
|
-
variantProps.direction === "
|
|
5083
|
+
variantProps.direction === "horizon" ? slots.horizon({ class: classNames == null ? void 0 : classNames.horizon }) : slots.vertical({ class: classNames == null ? void 0 : classNames.vertical })
|
|
5084
5084
|
),
|
|
5085
5085
|
children: [
|
|
5086
5086
|
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("label", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
@@ -5108,172 +5108,179 @@ var Input = (0, import_react7.forwardRef)((originalProps, ref) => {
|
|
|
5108
5108
|
});
|
|
5109
5109
|
Input.displayName = "Input";
|
|
5110
5110
|
var input_default = Input;
|
|
5111
|
-
var inputStyle = tv(
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
variants: {
|
|
5147
|
-
variant: {
|
|
5148
|
-
solid: {
|
|
5149
|
-
inputWrapper: ["!border-transparent", "bg-trans-soft", "group-has-[:focus]/input:text-body-foreground"],
|
|
5150
|
-
readonly: ["!bg-trans-light"]
|
|
5151
|
-
},
|
|
5152
|
-
outline: {
|
|
5153
|
-
inputWrapper: [
|
|
5154
|
-
"border-neutral-light",
|
|
5155
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5156
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5157
|
-
"group-has-[p.error]/input:border-danger-main"
|
|
5158
|
-
],
|
|
5159
|
-
readonly: ["!bg-trans-soft"]
|
|
5160
|
-
},
|
|
5161
|
-
underline: {
|
|
5162
|
-
inputWrapper: [
|
|
5163
|
-
"bg-transparent",
|
|
5164
|
-
"!rounded-none",
|
|
5165
|
-
"!border-t-transparent",
|
|
5166
|
-
"!border-l-transparent",
|
|
5167
|
-
"!border-r-transparent",
|
|
5168
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5169
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5170
|
-
"group-has-[p.error]/input:border-danger-main"
|
|
5171
|
-
],
|
|
5172
|
-
readonly: ["!bg-trans-soft"]
|
|
5173
|
-
}
|
|
5111
|
+
var inputStyle = tv(
|
|
5112
|
+
{
|
|
5113
|
+
slots: {
|
|
5114
|
+
base: ["group/input", "flex"],
|
|
5115
|
+
vertical: ["flex-col"],
|
|
5116
|
+
horizon: ["flex-row", "gap-0"],
|
|
5117
|
+
label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
|
|
5118
|
+
innerWrapper: ["flex", "flex-col"],
|
|
5119
|
+
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
|
|
5120
|
+
input: [
|
|
5121
|
+
"w-full",
|
|
5122
|
+
"h-full",
|
|
5123
|
+
"bg-transparent",
|
|
5124
|
+
"text-neutral-main",
|
|
5125
|
+
"placeholder:text-neutral-main",
|
|
5126
|
+
"outline-none",
|
|
5127
|
+
"focus:ring-0",
|
|
5128
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
5129
|
+
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5130
|
+
"group-has-[:focus]/input:text-neutral-dark",
|
|
5131
|
+
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5132
|
+
"group-has-[p.error]/input:text-danger-main",
|
|
5133
|
+
"group-has-[p.error]/input:placeholder:text-danger-main"
|
|
5134
|
+
],
|
|
5135
|
+
content: [
|
|
5136
|
+
"flex",
|
|
5137
|
+
"items-center",
|
|
5138
|
+
"select-none",
|
|
5139
|
+
"text-neutral-main",
|
|
5140
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
5141
|
+
"group-has-[p.error]/input:text-danger-main"
|
|
5142
|
+
],
|
|
5143
|
+
helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
5144
|
+
errorText: ["text-danger-main"],
|
|
5145
|
+
readonly: ["pointer-events-none"]
|
|
5174
5146
|
},
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
"
|
|
5179
|
-
"!
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5147
|
+
variants: {
|
|
5148
|
+
variant: {
|
|
5149
|
+
solid: {
|
|
5150
|
+
inputWrapper: ["border-transparent", "bg-trans-soft"],
|
|
5151
|
+
readonly: ["!bg-trans-light"]
|
|
5152
|
+
},
|
|
5153
|
+
outline: {
|
|
5154
|
+
inputWrapper: [
|
|
5155
|
+
"border-neutral-light",
|
|
5156
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
5157
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
5158
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
5159
|
+
],
|
|
5160
|
+
readonly: ["!bg-trans-soft"]
|
|
5161
|
+
},
|
|
5162
|
+
underline: {
|
|
5163
|
+
inputWrapper: [
|
|
5164
|
+
"bg-transparent",
|
|
5165
|
+
"rounded-none",
|
|
5166
|
+
"!border-t-transparent",
|
|
5167
|
+
"!border-l-transparent",
|
|
5168
|
+
"!border-r-transparent",
|
|
5169
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
5170
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
5171
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
5172
|
+
],
|
|
5173
|
+
readonly: ["!bg-trans-soft"]
|
|
5174
|
+
}
|
|
5186
5175
|
},
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5176
|
+
color: {
|
|
5177
|
+
primary: {
|
|
5178
|
+
content: [
|
|
5179
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
5180
|
+
"group-has-[:focus:hover]/input:text-primary-main",
|
|
5181
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
|
|
5182
|
+
],
|
|
5183
|
+
helperText: [
|
|
5184
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
5185
|
+
"group-has-[:focus:hover]/input:text-primary-main",
|
|
5186
|
+
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5187
|
+
]
|
|
5188
|
+
},
|
|
5189
|
+
secondary: {
|
|
5190
|
+
content: [
|
|
5191
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
5192
|
+
"group-has-[:focus:hover]/input:text-secondary-main",
|
|
5193
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
|
|
5194
|
+
],
|
|
5195
|
+
helperText: [
|
|
5196
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
5197
|
+
"group-has-[:focus:hover]/input:text-secondary-main",
|
|
5198
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5199
|
+
]
|
|
5200
|
+
}
|
|
5207
5201
|
},
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5202
|
+
size: {
|
|
5203
|
+
sm: {
|
|
5204
|
+
base: ["text-sm", "gap-[4px]"],
|
|
5205
|
+
label: ["text-sm"],
|
|
5206
|
+
innerWrapper: ["gap-[4px]"],
|
|
5207
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]", "border-sm"],
|
|
5208
|
+
helperText: ["text-sm"],
|
|
5209
|
+
errorText: ["text-sm"]
|
|
5210
|
+
},
|
|
5211
|
+
md: {
|
|
5212
|
+
base: ["text-md", "gap-[6px]"],
|
|
5213
|
+
label: ["text-md"],
|
|
5214
|
+
innerWrapper: ["gap-[6px]"],
|
|
5215
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]", "border-md"],
|
|
5216
|
+
helperText: ["text-sm"],
|
|
5217
|
+
errorText: ["text-sm"]
|
|
5218
|
+
},
|
|
5219
|
+
lg: {
|
|
5220
|
+
base: ["text-lg", "gap-[8px]"],
|
|
5221
|
+
label: ["text-lg"],
|
|
5222
|
+
innerWrapper: ["gap-[8px]"],
|
|
5223
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]", "border-lg"],
|
|
5224
|
+
helperText: ["text-md"],
|
|
5225
|
+
errorText: ["text-md"]
|
|
5226
|
+
},
|
|
5227
|
+
xl: {
|
|
5228
|
+
base: ["text-xl", "gap-[10px]"],
|
|
5229
|
+
label: ["text-xl"],
|
|
5230
|
+
innerWrapper: ["gap-[10px]"],
|
|
5231
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]", "border-xl"],
|
|
5232
|
+
helperText: ["text-md"],
|
|
5233
|
+
errorText: ["text-md"]
|
|
5234
|
+
}
|
|
5215
5235
|
},
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
innerWrapper: ["gap-[8px]"],
|
|
5220
|
-
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "border-lg"],
|
|
5221
|
-
helperText: ["text-md"],
|
|
5222
|
-
errorText: ["text-md"]
|
|
5236
|
+
direction: {
|
|
5237
|
+
vertical: "",
|
|
5238
|
+
horizon: ""
|
|
5223
5239
|
},
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5240
|
+
full: {
|
|
5241
|
+
true: {
|
|
5242
|
+
base: ["w-full"],
|
|
5243
|
+
innerWrapper: ["flex-1"],
|
|
5244
|
+
inputWrapper: ["w-full"]
|
|
5245
|
+
}
|
|
5246
|
+
},
|
|
5247
|
+
disabled: {
|
|
5248
|
+
true: {
|
|
5249
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
|
|
5250
|
+
input: [
|
|
5251
|
+
"text-neutral-light",
|
|
5252
|
+
"placeholder:text-neutral-light",
|
|
5253
|
+
"group-has-[p.error]/input:text-danger-light",
|
|
5254
|
+
"group-has-[p.error]/input:placeholder:text-danger-light"
|
|
5255
|
+
],
|
|
5256
|
+
content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
5257
|
+
helperText: ["!text-neutral-light"],
|
|
5258
|
+
errorText: ["!text-danger-light"]
|
|
5259
|
+
}
|
|
5242
5260
|
}
|
|
5243
5261
|
},
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
"
|
|
5250
|
-
|
|
5251
|
-
"group-has-[p.error]/input:placeholder:text-danger-light"
|
|
5252
|
-
],
|
|
5253
|
-
content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
5254
|
-
helperText: ["!text-neutral-light"],
|
|
5255
|
-
errorText: ["!text-danger-light"]
|
|
5262
|
+
compoundVariants: [
|
|
5263
|
+
{
|
|
5264
|
+
disabled: true,
|
|
5265
|
+
variant: ["outline", "underline"],
|
|
5266
|
+
class: {
|
|
5267
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
|
|
5268
|
+
}
|
|
5256
5269
|
}
|
|
5270
|
+
],
|
|
5271
|
+
defaultVariants: {
|
|
5272
|
+
variant: "solid",
|
|
5273
|
+
color: "primary",
|
|
5274
|
+
size: "md",
|
|
5275
|
+
direction: "vertical",
|
|
5276
|
+
disabled: false,
|
|
5277
|
+
readonly: false
|
|
5257
5278
|
}
|
|
5258
5279
|
},
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
disabled: true,
|
|
5262
|
-
variant: ["outline", "underline"],
|
|
5263
|
-
class: {
|
|
5264
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
|
|
5265
|
-
}
|
|
5266
|
-
}
|
|
5267
|
-
],
|
|
5268
|
-
defaultVariants: {
|
|
5269
|
-
variant: "solid",
|
|
5270
|
-
color: "primary",
|
|
5271
|
-
size: "md",
|
|
5272
|
-
direction: "vertical",
|
|
5273
|
-
disabled: false,
|
|
5274
|
-
readonly: false
|
|
5280
|
+
{
|
|
5281
|
+
twMerge: false
|
|
5275
5282
|
}
|
|
5276
|
-
|
|
5283
|
+
);
|
|
5277
5284
|
|
|
5278
5285
|
// src/components/tabs/tabs.tsx
|
|
5279
5286
|
var import_react8 = require("react");
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "./chunk-HIE2YRGA.mjs";
|
|
3
|
+
import {
|
|
4
|
+
tooltip_default
|
|
5
|
+
} from "./chunk-U2YKMXVG.mjs";
|
|
6
|
+
import "./chunk-ZMOAFSYE.mjs";
|
|
7
|
+
import "./chunk-WSIADHVC.mjs";
|
|
8
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
9
|
+
import {
|
|
10
|
+
tabs_default
|
|
11
|
+
} from "./chunk-ZEZ6ZA3N.mjs";
|
|
2
12
|
import "./chunk-RRAZM5D3.mjs";
|
|
3
13
|
import {
|
|
4
14
|
textarea_default
|
|
@@ -12,49 +22,39 @@ import "./chunk-ZOTHPHXA.mjs";
|
|
|
12
22
|
import {
|
|
13
23
|
toast_default
|
|
14
24
|
} from "./chunk-XIHAABHB.mjs";
|
|
15
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-LVFI2NOH.mjs";
|
|
16
26
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-ZMOAFSYE.mjs";
|
|
20
|
-
import "./chunk-WSIADHVC.mjs";
|
|
27
|
+
switch_default
|
|
28
|
+
} from "./chunk-Z74QNVPG.mjs";
|
|
21
29
|
import "./chunk-2UUH2MBF.mjs";
|
|
22
30
|
import {
|
|
23
31
|
table_default
|
|
24
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L6XWAHH5.mjs";
|
|
25
33
|
import "./chunk-M2IRRTFM.mjs";
|
|
26
34
|
import "./chunk-OQS4LGZK.mjs";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import {
|
|
29
|
-
tabs_default
|
|
30
|
-
} from "./chunk-ZEZ6ZA3N.mjs";
|
|
31
|
-
import "./chunk-LVFI2NOH.mjs";
|
|
35
|
+
import "./chunk-TPFN22HR.mjs";
|
|
32
36
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
radio_default
|
|
38
|
+
} from "./chunk-56VCX2QR.mjs";
|
|
35
39
|
import "./chunk-QCEKPS7U.mjs";
|
|
36
40
|
import {
|
|
37
41
|
select_default
|
|
38
42
|
} from "./chunk-VRGHUYRU.mjs";
|
|
39
43
|
import "./chunk-YZNQ2QGK.mjs";
|
|
40
44
|
import "./chunk-S3QS5B7F.mjs";
|
|
45
|
+
import "./chunk-DJOG6Z35.mjs";
|
|
46
|
+
import {
|
|
47
|
+
modal_default
|
|
48
|
+
} from "./chunk-AMA53H3C.mjs";
|
|
41
49
|
import "./chunk-7B7LRG5J.mjs";
|
|
42
50
|
import {
|
|
43
51
|
pagination_default
|
|
44
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-X7FHRV4S.mjs";
|
|
53
|
+
import "./chunk-F3HENRVM.mjs";
|
|
45
54
|
import "./chunk-2GCSFWHD.mjs";
|
|
46
55
|
import {
|
|
47
56
|
input_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-F3HENRVM.mjs";
|
|
50
|
-
import "./chunk-DJOG6Z35.mjs";
|
|
51
|
-
import {
|
|
52
|
-
modal_default
|
|
53
|
-
} from "./chunk-AMA53H3C.mjs";
|
|
54
|
-
import "./chunk-TPFN22HR.mjs";
|
|
55
|
-
import {
|
|
56
|
-
radio_default
|
|
57
|
-
} from "./chunk-56VCX2QR.mjs";
|
|
57
|
+
} from "./chunk-B6CXZCXQ.mjs";
|
|
58
58
|
import "./chunk-75HLCORR.mjs";
|
|
59
59
|
import {
|
|
60
60
|
dateTimePicker_default
|
|
@@ -88,14 +88,14 @@ import {
|
|
|
88
88
|
} from "./chunk-RCU5MLBU.mjs";
|
|
89
89
|
import "./chunk-HKXUNG3H.mjs";
|
|
90
90
|
import "./chunk-P732YGHO.mjs";
|
|
91
|
-
import "./chunk-SE5TU755.mjs";
|
|
92
|
-
import {
|
|
93
|
-
backdrop_default
|
|
94
|
-
} from "./chunk-ON5SGXHZ.mjs";
|
|
95
91
|
import "./chunk-7DLOYKVC.mjs";
|
|
96
92
|
import {
|
|
97
93
|
avatar_default
|
|
98
94
|
} from "./chunk-CF6O6TCF.mjs";
|
|
95
|
+
import "./chunk-SE5TU755.mjs";
|
|
96
|
+
import {
|
|
97
|
+
backdrop_default
|
|
98
|
+
} from "./chunk-ON5SGXHZ.mjs";
|
|
99
99
|
import "./chunk-KYIODWXL.mjs";
|
|
100
100
|
import {
|
|
101
101
|
breadcrumb_default
|