@deepnoid/ui 0.1.3 → 0.1.4
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 +107 -107
- package/dist/{chunk-L6XWAHH5.mjs → chunk-J7IAY6UH.mjs} +1 -1
- package/dist/{chunk-B6CXZCXQ.mjs → chunk-TDJJRQDC.mjs} +73 -22
- package/dist/{chunk-X7FHRV4S.mjs → chunk-WPUTPWQ4.mjs} +1 -1
- package/dist/components/input/index.js +73 -22
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.js +73 -22
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +73 -22
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +73 -22
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/table/index.js +73 -22
- package/dist/components/table/index.mjs +3 -3
- package/dist/components/table/table.js +73 -22
- package/dist/components/table/table.mjs +3 -3
- package/dist/index.js +73 -22
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5116,7 +5116,7 @@ var inputStyle = tv(
|
|
|
5116
5116
|
horizon: ["flex-row", "gap-0"],
|
|
5117
5117
|
label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
|
|
5118
5118
|
innerWrapper: ["flex", "flex-col"],
|
|
5119
|
-
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[
|
|
5119
|
+
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[.error]/input:bg-danger-soft"],
|
|
5120
5120
|
input: [
|
|
5121
5121
|
"w-full",
|
|
5122
5122
|
"h-full",
|
|
@@ -5129,8 +5129,8 @@ var inputStyle = tv(
|
|
|
5129
5129
|
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5130
5130
|
"group-has-[:focus]/input:text-neutral-dark",
|
|
5131
5131
|
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5132
|
-
"group-has-[
|
|
5133
|
-
"group-has-[
|
|
5132
|
+
"group-has-[.error]/input:text-danger-main",
|
|
5133
|
+
"group-has-[.error]/input:placeholder:text-danger-main"
|
|
5134
5134
|
],
|
|
5135
5135
|
content: [
|
|
5136
5136
|
"flex",
|
|
@@ -5138,7 +5138,7 @@ var inputStyle = tv(
|
|
|
5138
5138
|
"select-none",
|
|
5139
5139
|
"text-neutral-main",
|
|
5140
5140
|
"group-has-[:hover]/input:text-neutral-dark",
|
|
5141
|
-
"group-has-[
|
|
5141
|
+
"group-has-[.error]/input:text-danger-main"
|
|
5142
5142
|
],
|
|
5143
5143
|
helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
5144
5144
|
errorText: ["text-danger-main"],
|
|
@@ -5155,7 +5155,7 @@ var inputStyle = tv(
|
|
|
5155
5155
|
"border-neutral-light",
|
|
5156
5156
|
"group-has-[:hover]/input:bg-trans-soft",
|
|
5157
5157
|
"group-has-[:focus]/input:bg-body-background",
|
|
5158
|
-
"group-has-[
|
|
5158
|
+
"group-has-[.error]/input:border-danger-main"
|
|
5159
5159
|
],
|
|
5160
5160
|
readonly: ["!bg-trans-soft"]
|
|
5161
5161
|
},
|
|
@@ -5163,12 +5163,9 @@ var inputStyle = tv(
|
|
|
5163
5163
|
inputWrapper: [
|
|
5164
5164
|
"bg-transparent",
|
|
5165
5165
|
"rounded-none",
|
|
5166
|
-
"!border-t-transparent",
|
|
5167
|
-
"!border-l-transparent",
|
|
5168
|
-
"!border-r-transparent",
|
|
5169
5166
|
"group-has-[:hover]/input:bg-trans-soft",
|
|
5170
5167
|
"group-has-[:focus]/input:bg-body-background",
|
|
5171
|
-
"group-has-[
|
|
5168
|
+
"group-has-[.error]/input:border-danger-main"
|
|
5172
5169
|
],
|
|
5173
5170
|
readonly: ["!bg-trans-soft"]
|
|
5174
5171
|
}
|
|
@@ -5177,8 +5174,7 @@ var inputStyle = tv(
|
|
|
5177
5174
|
primary: {
|
|
5178
5175
|
content: [
|
|
5179
5176
|
"group-has-[:focus]/input:text-primary-main",
|
|
5180
|
-
"group-has-[:focus:hover
|
|
5181
|
-
"!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
|
|
5177
|
+
"!group-has-[.error]:not(input:focus):hover/input:text-primary-main"
|
|
5182
5178
|
],
|
|
5183
5179
|
helperText: [
|
|
5184
5180
|
"group-has-[:focus]/input:text-primary-main",
|
|
@@ -5189,8 +5185,7 @@ var inputStyle = tv(
|
|
|
5189
5185
|
secondary: {
|
|
5190
5186
|
content: [
|
|
5191
5187
|
"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"
|
|
5188
|
+
"group-has-[:focus:hover]/input:text-secondary-main"
|
|
5194
5189
|
],
|
|
5195
5190
|
helperText: [
|
|
5196
5191
|
"group-has-[:focus]/input:text-secondary-main",
|
|
@@ -5204,7 +5199,7 @@ var inputStyle = tv(
|
|
|
5204
5199
|
base: ["text-sm", "gap-[4px]"],
|
|
5205
5200
|
label: ["text-sm"],
|
|
5206
5201
|
innerWrapper: ["gap-[4px]"],
|
|
5207
|
-
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"
|
|
5202
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
|
|
5208
5203
|
helperText: ["text-sm"],
|
|
5209
5204
|
errorText: ["text-sm"]
|
|
5210
5205
|
},
|
|
@@ -5212,7 +5207,7 @@ var inputStyle = tv(
|
|
|
5212
5207
|
base: ["text-md", "gap-[6px]"],
|
|
5213
5208
|
label: ["text-md"],
|
|
5214
5209
|
innerWrapper: ["gap-[6px]"],
|
|
5215
|
-
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"
|
|
5210
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
|
|
5216
5211
|
helperText: ["text-sm"],
|
|
5217
5212
|
errorText: ["text-sm"]
|
|
5218
5213
|
},
|
|
@@ -5220,7 +5215,7 @@ var inputStyle = tv(
|
|
|
5220
5215
|
base: ["text-lg", "gap-[8px]"],
|
|
5221
5216
|
label: ["text-lg"],
|
|
5222
5217
|
innerWrapper: ["gap-[8px]"],
|
|
5223
|
-
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"
|
|
5218
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
|
|
5224
5219
|
helperText: ["text-md"],
|
|
5225
5220
|
errorText: ["text-md"]
|
|
5226
5221
|
},
|
|
@@ -5228,7 +5223,7 @@ var inputStyle = tv(
|
|
|
5228
5223
|
base: ["text-xl", "gap-[10px]"],
|
|
5229
5224
|
label: ["text-xl"],
|
|
5230
5225
|
innerWrapper: ["gap-[10px]"],
|
|
5231
|
-
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"
|
|
5226
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
|
|
5232
5227
|
helperText: ["text-md"],
|
|
5233
5228
|
errorText: ["text-md"]
|
|
5234
5229
|
}
|
|
@@ -5246,25 +5241,81 @@ var inputStyle = tv(
|
|
|
5246
5241
|
},
|
|
5247
5242
|
disabled: {
|
|
5248
5243
|
true: {
|
|
5249
|
-
inputWrapper: ["
|
|
5244
|
+
inputWrapper: ["bg-neutral-soft", "pointer-events-none", "group-has-[.error]/input:text-danger-light"],
|
|
5250
5245
|
input: [
|
|
5251
5246
|
"text-neutral-light",
|
|
5252
5247
|
"placeholder:text-neutral-light",
|
|
5253
|
-
"group-has-[
|
|
5254
|
-
"group-has-[
|
|
5248
|
+
"group-has-[.error]/input:text-danger-light",
|
|
5249
|
+
"group-has-[.error]/input:placeholder:text-danger-light"
|
|
5255
5250
|
],
|
|
5256
|
-
content: ["text-neutral-light", "group-has-[
|
|
5251
|
+
content: ["text-neutral-light", "group-has-[.error]/input:text-danger-light"],
|
|
5257
5252
|
helperText: ["!text-neutral-light"],
|
|
5258
5253
|
errorText: ["!text-danger-light"]
|
|
5259
5254
|
}
|
|
5260
5255
|
}
|
|
5261
5256
|
},
|
|
5262
5257
|
compoundVariants: [
|
|
5258
|
+
{
|
|
5259
|
+
variant: "outline",
|
|
5260
|
+
size: "sm",
|
|
5261
|
+
class: {
|
|
5262
|
+
inputWrapper: ["border-sm"]
|
|
5263
|
+
}
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
variant: "outline",
|
|
5267
|
+
size: "md",
|
|
5268
|
+
class: {
|
|
5269
|
+
inputWrapper: ["border-md"]
|
|
5270
|
+
}
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
variant: "outline",
|
|
5274
|
+
size: "lg",
|
|
5275
|
+
class: {
|
|
5276
|
+
inputWrapper: ["border-lg"]
|
|
5277
|
+
}
|
|
5278
|
+
},
|
|
5279
|
+
{
|
|
5280
|
+
variant: "outline",
|
|
5281
|
+
size: "xl",
|
|
5282
|
+
class: {
|
|
5283
|
+
inputWrapper: ["border-xl"]
|
|
5284
|
+
}
|
|
5285
|
+
},
|
|
5286
|
+
{
|
|
5287
|
+
variant: "underline",
|
|
5288
|
+
size: "sm",
|
|
5289
|
+
class: {
|
|
5290
|
+
inputWrapper: ["border-b-sm"]
|
|
5291
|
+
}
|
|
5292
|
+
},
|
|
5293
|
+
{
|
|
5294
|
+
variant: "underline",
|
|
5295
|
+
size: "md",
|
|
5296
|
+
class: {
|
|
5297
|
+
inputWrapper: ["border-b-md"]
|
|
5298
|
+
}
|
|
5299
|
+
},
|
|
5300
|
+
{
|
|
5301
|
+
variant: "underline",
|
|
5302
|
+
size: "lg",
|
|
5303
|
+
class: {
|
|
5304
|
+
inputWrapper: ["border-b-lg"]
|
|
5305
|
+
}
|
|
5306
|
+
},
|
|
5307
|
+
{
|
|
5308
|
+
variant: "underline",
|
|
5309
|
+
size: "xl",
|
|
5310
|
+
class: {
|
|
5311
|
+
inputWrapper: ["border-b-xl"]
|
|
5312
|
+
}
|
|
5313
|
+
},
|
|
5263
5314
|
{
|
|
5264
5315
|
disabled: true,
|
|
5265
5316
|
variant: ["outline", "underline"],
|
|
5266
5317
|
class: {
|
|
5267
|
-
inputWrapper: ["!bg-body-background", "group-has-[
|
|
5318
|
+
inputWrapper: ["!bg-body-background", "group-has-[.error]/input:border-danger-light"]
|
|
5268
5319
|
}
|
|
5269
5320
|
}
|
|
5270
5321
|
],
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import "./chunk-2UUH2MBF.mjs";
|
|
30
30
|
import {
|
|
31
31
|
table_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-J7IAY6UH.mjs";
|
|
33
33
|
import "./chunk-M2IRRTFM.mjs";
|
|
34
34
|
import "./chunk-OQS4LGZK.mjs";
|
|
35
35
|
import "./chunk-TPFN22HR.mjs";
|
|
@@ -49,12 +49,12 @@ import {
|
|
|
49
49
|
import "./chunk-7B7LRG5J.mjs";
|
|
50
50
|
import {
|
|
51
51
|
pagination_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-WPUTPWQ4.mjs";
|
|
53
53
|
import "./chunk-F3HENRVM.mjs";
|
|
54
54
|
import "./chunk-2GCSFWHD.mjs";
|
|
55
55
|
import {
|
|
56
56
|
input_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-TDJJRQDC.mjs";
|
|
58
58
|
import "./chunk-75HLCORR.mjs";
|
|
59
59
|
import {
|
|
60
60
|
dateTimePicker_default
|