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