@deepnoid/ui 0.1.2 → 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.
@@ -4185,172 +4185,230 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4185
4185
  });
4186
4186
  Input.displayName = "Input";
4187
4187
  var input_default = Input;
4188
- var inputStyle = tv({
4189
- slots: {
4190
- base: ["group/input", "flex"],
4191
- vertical: ["flex-col"],
4192
- horizon: ["flex-row", "gap-0"],
4193
- label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
4194
- innerWrapper: ["flex", "flex-col"],
4195
- inputWrapper: ["flex", "items-center", "transition", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
4196
- input: [
4197
- "w-full",
4198
- "h-full",
4199
- "bg-transparent",
4200
- "text-neutral-main",
4201
- "placeholder:text-neutral-main",
4202
- "focus:outline-none",
4203
- "focus:ring-0",
4204
- "group-has-[:hover]/input:text-neutral-dark",
4205
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
4206
- "group-has-[:focus]/input:text-neutral-dark",
4207
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
4208
- "group-has-[p.error]/input:text-danger-main",
4209
- "group-has-[p.error]/input:placeholder:text-danger-main"
4210
- ],
4211
- content: [
4212
- "flex",
4213
- "items-center",
4214
- "select-none",
4215
- "text-neutral-main",
4216
- "group-has-[:hover]/input:text-neutral-dark",
4217
- "group-has-[p.error]/input:text-danger-main"
4218
- ],
4219
- helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4220
- errorText: ["text-danger-main"],
4221
- readonly: ["pointer-events-none"]
4222
- },
4223
- variants: {
4224
- variant: {
4225
- solid: {
4226
- inputWrapper: ["!border-transparent", "bg-trans-soft", "group-has-[:focus]/input:text-body-foreground"],
4227
- readonly: ["!bg-trans-light"]
4188
+ var inputStyle = tv(
4189
+ {
4190
+ slots: {
4191
+ base: ["group/input", "flex"],
4192
+ vertical: ["flex-col"],
4193
+ horizon: ["flex-row", "gap-0"],
4194
+ label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
4195
+ innerWrapper: ["flex", "flex-col"],
4196
+ inputWrapper: ["flex", "items-center", "duration-200", "group-has-[.error]/input:bg-danger-soft"],
4197
+ input: [
4198
+ "w-full",
4199
+ "h-full",
4200
+ "bg-transparent",
4201
+ "text-neutral-main",
4202
+ "placeholder:text-neutral-main",
4203
+ "outline-none",
4204
+ "focus:ring-0",
4205
+ "group-has-[:hover]/input:text-neutral-dark",
4206
+ "group-has-[:hover]/input:placeholder:text-neutral-dark",
4207
+ "group-has-[:focus]/input:text-neutral-dark",
4208
+ "group-has-[:focus]/input:placeholder:text-neutral-dark",
4209
+ "group-has-[.error]/input:text-danger-main",
4210
+ "group-has-[.error]/input:placeholder:text-danger-main"
4211
+ ],
4212
+ content: [
4213
+ "flex",
4214
+ "items-center",
4215
+ "select-none",
4216
+ "text-neutral-main",
4217
+ "group-has-[:hover]/input:text-neutral-dark",
4218
+ "group-has-[.error]/input:text-danger-main"
4219
+ ],
4220
+ helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4221
+ errorText: ["text-danger-main"],
4222
+ readonly: ["pointer-events-none"]
4223
+ },
4224
+ variants: {
4225
+ variant: {
4226
+ solid: {
4227
+ inputWrapper: ["border-transparent", "bg-trans-soft"],
4228
+ readonly: ["!bg-trans-light"]
4229
+ },
4230
+ outline: {
4231
+ inputWrapper: [
4232
+ "border-neutral-light",
4233
+ "group-has-[:hover]/input:bg-trans-soft",
4234
+ "group-has-[:focus]/input:bg-body-background",
4235
+ "group-has-[.error]/input:border-danger-main"
4236
+ ],
4237
+ readonly: ["!bg-trans-soft"]
4238
+ },
4239
+ underline: {
4240
+ inputWrapper: [
4241
+ "bg-transparent",
4242
+ "rounded-none",
4243
+ "group-has-[:hover]/input:bg-trans-soft",
4244
+ "group-has-[:focus]/input:bg-body-background",
4245
+ "group-has-[.error]/input:border-danger-main"
4246
+ ],
4247
+ readonly: ["!bg-trans-soft"]
4248
+ }
4249
+ },
4250
+ color: {
4251
+ primary: {
4252
+ content: [
4253
+ "group-has-[:focus]/input:text-primary-main",
4254
+ "!group-has-[.error]:not(input:focus):hover/input:text-primary-main"
4255
+ ],
4256
+ helperText: [
4257
+ "group-has-[:focus]/input:text-primary-main",
4258
+ "group-has-[:focus:hover]/input:text-primary-main",
4259
+ "group-has-[:focus]/input:hover:text-primary-main"
4260
+ ]
4261
+ },
4262
+ secondary: {
4263
+ content: [
4264
+ "group-has-[:focus]/input:text-secondary-main",
4265
+ "group-has-[:focus:hover]/input:text-secondary-main"
4266
+ ],
4267
+ helperText: [
4268
+ "group-has-[:focus]/input:text-secondary-main",
4269
+ "group-has-[:focus:hover]/input:text-secondary-main",
4270
+ "group-has-[:focus]/input:hover:text-secondary-main"
4271
+ ]
4272
+ }
4228
4273
  },
4229
- outline: {
4230
- inputWrapper: [
4231
- "border-neutral-light",
4232
- "group-has-[:hover]/input:bg-trans-soft",
4233
- "group-has-[:focus]/input:bg-body-background",
4234
- "group-has-[p.error]/input:border-danger-main"
4235
- ],
4236
- readonly: ["!bg-trans-soft"]
4274
+ size: {
4275
+ sm: {
4276
+ base: ["text-sm", "gap-[4px]"],
4277
+ label: ["text-sm"],
4278
+ innerWrapper: ["gap-[4px]"],
4279
+ inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
4280
+ helperText: ["text-sm"],
4281
+ errorText: ["text-sm"]
4282
+ },
4283
+ md: {
4284
+ base: ["text-md", "gap-[6px]"],
4285
+ label: ["text-md"],
4286
+ innerWrapper: ["gap-[6px]"],
4287
+ inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
4288
+ helperText: ["text-sm"],
4289
+ errorText: ["text-sm"]
4290
+ },
4291
+ lg: {
4292
+ base: ["text-lg", "gap-[8px]"],
4293
+ label: ["text-lg"],
4294
+ innerWrapper: ["gap-[8px]"],
4295
+ inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
4296
+ helperText: ["text-md"],
4297
+ errorText: ["text-md"]
4298
+ },
4299
+ xl: {
4300
+ base: ["text-xl", "gap-[10px]"],
4301
+ label: ["text-xl"],
4302
+ innerWrapper: ["gap-[10px]"],
4303
+ inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
4304
+ helperText: ["text-md"],
4305
+ errorText: ["text-md"]
4306
+ }
4237
4307
  },
4238
- underline: {
4239
- inputWrapper: [
4240
- "bg-transparent",
4241
- "!rounded-none",
4242
- "!border-t-transparent",
4243
- "!border-l-transparent",
4244
- "!border-r-transparent",
4245
- "group-has-[:hover]/input:bg-trans-soft",
4246
- "group-has-[:focus]/input:bg-body-background",
4247
- "group-has-[p.error]/input:border-danger-main"
4248
- ],
4249
- readonly: ["!bg-trans-soft"]
4250
- }
4251
- },
4252
- color: {
4253
- primary: {
4254
- content: [
4255
- "group-has-[:focus]/input:text-primary-main",
4256
- "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4257
- ],
4258
- helperText: [
4259
- "group-has-[:focus]/input:text-primary-main",
4260
- "group-has-[:focus:hover]/input:text-primary-main",
4261
- "group-has-[:focus]/input:hover:text-primary-main"
4262
- ]
4308
+ direction: {
4309
+ vertical: "",
4310
+ horizon: ""
4263
4311
  },
4264
- secondary: {
4265
- content: [
4266
- "group-has-[:focus]/input:text-secondary-main",
4267
- "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4268
- ],
4269
- helperText: [
4270
- "group-has-[:focus]/input:text-secondary-main",
4271
- "group-has-[:focus:hover]/input:text-secondary-main",
4272
- "group-has-[:focus]/input:hover:text-secondary-main"
4273
- ]
4312
+ full: {
4313
+ true: {
4314
+ base: ["w-full"],
4315
+ innerWrapper: ["flex-1"],
4316
+ inputWrapper: ["w-full"]
4317
+ }
4318
+ },
4319
+ disabled: {
4320
+ true: {
4321
+ inputWrapper: ["bg-neutral-soft", "pointer-events-none", "group-has-[.error]/input:text-danger-light"],
4322
+ input: [
4323
+ "text-neutral-light",
4324
+ "placeholder:text-neutral-light",
4325
+ "group-has-[.error]/input:text-danger-light",
4326
+ "group-has-[.error]/input:placeholder:text-danger-light"
4327
+ ],
4328
+ content: ["text-neutral-light", "group-has-[.error]/input:text-danger-light"],
4329
+ helperText: ["!text-neutral-light"],
4330
+ errorText: ["!text-danger-light"]
4331
+ }
4274
4332
  }
4275
4333
  },
4276
- size: {
4277
- sm: {
4278
- base: ["text-sm", "gap-[4px]"],
4279
- label: ["text-sm"],
4280
- innerWrapper: ["gap-[4px]"],
4281
- inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "border-sm"],
4282
- helperText: ["text-sm"],
4283
- errorText: ["text-sm"]
4334
+ compoundVariants: [
4335
+ {
4336
+ variant: "outline",
4337
+ size: "sm",
4338
+ class: {
4339
+ inputWrapper: ["border-sm"]
4340
+ }
4341
+ },
4342
+ {
4343
+ variant: "outline",
4344
+ size: "md",
4345
+ class: {
4346
+ inputWrapper: ["border-md"]
4347
+ }
4284
4348
  },
4285
- md: {
4286
- base: ["text-md", "gap-[6px]"],
4287
- label: ["text-md"],
4288
- innerWrapper: ["gap-[6px]"],
4289
- inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "border-md"],
4290
- helperText: ["text-sm"],
4291
- errorText: ["text-sm"]
4349
+ {
4350
+ variant: "outline",
4351
+ size: "lg",
4352
+ class: {
4353
+ inputWrapper: ["border-lg"]
4354
+ }
4292
4355
  },
4293
- lg: {
4294
- base: ["text-lg", "gap-[8px]"],
4295
- label: ["text-lg"],
4296
- innerWrapper: ["gap-[8px]"],
4297
- inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "border-lg"],
4298
- helperText: ["text-md"],
4299
- errorText: ["text-md"]
4356
+ {
4357
+ variant: "outline",
4358
+ size: "xl",
4359
+ class: {
4360
+ inputWrapper: ["border-xl"]
4361
+ }
4300
4362
  },
4301
- xl: {
4302
- base: ["text-xl", "gap-[10px]"],
4303
- label: ["text-xl"],
4304
- innerWrapper: ["gap-[10px]"],
4305
- inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "border-xl"],
4306
- helperText: ["text-md"],
4307
- errorText: ["text-md"]
4308
- }
4309
- },
4310
- direction: {
4311
- vertical: "",
4312
- horizon: ""
4313
- },
4314
- full: {
4315
- true: {
4316
- base: ["w-full"],
4317
- innerWrapper: ["flex-1"],
4318
- inputWrapper: ["w-full"]
4319
- }
4320
- },
4321
- disabled: {
4322
- true: {
4323
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4324
- input: [
4325
- "text-neutral-light",
4326
- "placeholder:text-neutral-light",
4327
- "group-has-[p.error]/input:text-danger-light",
4328
- "group-has-[p.error]/input:placeholder:text-danger-light"
4329
- ],
4330
- content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4331
- helperText: ["!text-neutral-light"],
4332
- errorText: ["!text-danger-light"]
4363
+ {
4364
+ variant: "underline",
4365
+ size: "sm",
4366
+ class: {
4367
+ inputWrapper: ["border-b-sm"]
4368
+ }
4369
+ },
4370
+ {
4371
+ variant: "underline",
4372
+ size: "md",
4373
+ class: {
4374
+ inputWrapper: ["border-b-md"]
4375
+ }
4376
+ },
4377
+ {
4378
+ variant: "underline",
4379
+ size: "lg",
4380
+ class: {
4381
+ inputWrapper: ["border-b-lg"]
4382
+ }
4383
+ },
4384
+ {
4385
+ variant: "underline",
4386
+ size: "xl",
4387
+ class: {
4388
+ inputWrapper: ["border-b-xl"]
4389
+ }
4390
+ },
4391
+ {
4392
+ disabled: true,
4393
+ variant: ["outline", "underline"],
4394
+ class: {
4395
+ inputWrapper: ["!bg-body-background", "group-has-[.error]/input:border-danger-light"]
4396
+ }
4333
4397
  }
4398
+ ],
4399
+ defaultVariants: {
4400
+ variant: "solid",
4401
+ color: "primary",
4402
+ size: "md",
4403
+ direction: "vertical",
4404
+ disabled: false,
4405
+ readonly: false
4334
4406
  }
4335
4407
  },
4336
- compoundVariants: [
4337
- {
4338
- disabled: true,
4339
- variant: ["outline", "underline"],
4340
- class: {
4341
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4342
- }
4343
- }
4344
- ],
4345
- defaultVariants: {
4346
- variant: "solid",
4347
- color: "primary",
4348
- size: "md",
4349
- direction: "vertical",
4350
- disabled: false,
4351
- readonly: false
4408
+ {
4409
+ twMerge: false
4352
4410
  }
4353
- });
4411
+ );
4354
4412
 
4355
4413
  // src/components/pagination/pagination.tsx
4356
4414
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-7B7LRG5J.mjs";
3
3
  import {
4
4
  pagination_default
5
- } from "../../chunk-OELLMF2V.mjs";
5
+ } from "../../chunk-WPUTPWQ4.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-OYNGJ33M.mjs";
8
+ import "../../chunk-TDJJRQDC.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-24NQEB73.mjs";
11
11
  import "../../chunk-P2TMIZRH.mjs";