@deepnoid/ui 0.1.2 → 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.
@@ -4185,172 +4185,179 @@ 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"]
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-[p.error]/input:border-danger-main"
4235
- ],
4236
- readonly: ["!bg-trans-soft"]
4237
- },
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
- }
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-[p.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-[p.error]/input:text-danger-main",
4210
+ "group-has-[p.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-[p.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"]
4251
4223
  },
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
- ]
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-[p.error]/input:border-danger-main"
4236
+ ],
4237
+ readonly: ["!bg-trans-soft"]
4238
+ },
4239
+ underline: {
4240
+ inputWrapper: [
4241
+ "bg-transparent",
4242
+ "rounded-none",
4243
+ "!border-t-transparent",
4244
+ "!border-l-transparent",
4245
+ "!border-r-transparent",
4246
+ "group-has-[:hover]/input:bg-trans-soft",
4247
+ "group-has-[:focus]/input:bg-body-background",
4248
+ "group-has-[p.error]/input:border-danger-main"
4249
+ ],
4250
+ readonly: ["!bg-trans-soft"]
4251
+ }
4263
4252
  },
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
- ]
4274
- }
4275
- },
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"]
4253
+ color: {
4254
+ primary: {
4255
+ content: [
4256
+ "group-has-[:focus]/input:text-primary-main",
4257
+ "group-has-[:focus:hover]/input:text-primary-main",
4258
+ "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4259
+ ],
4260
+ helperText: [
4261
+ "group-has-[:focus]/input:text-primary-main",
4262
+ "group-has-[:focus:hover]/input:text-primary-main",
4263
+ "group-has-[:focus]/input:hover:text-primary-main"
4264
+ ]
4265
+ },
4266
+ secondary: {
4267
+ content: [
4268
+ "group-has-[:focus]/input:text-secondary-main",
4269
+ "group-has-[:focus:hover]/input:text-secondary-main",
4270
+ "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4271
+ ],
4272
+ helperText: [
4273
+ "group-has-[:focus]/input:text-secondary-main",
4274
+ "group-has-[:focus:hover]/input:text-secondary-main",
4275
+ "group-has-[:focus]/input:hover:text-secondary-main"
4276
+ ]
4277
+ }
4278
+ },
4279
+ size: {
4280
+ sm: {
4281
+ base: ["text-sm", "gap-[4px]"],
4282
+ label: ["text-sm"],
4283
+ innerWrapper: ["gap-[4px]"],
4284
+ inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]", "border-sm"],
4285
+ helperText: ["text-sm"],
4286
+ errorText: ["text-sm"]
4287
+ },
4288
+ md: {
4289
+ base: ["text-md", "gap-[6px]"],
4290
+ label: ["text-md"],
4291
+ innerWrapper: ["gap-[6px]"],
4292
+ inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]", "border-md"],
4293
+ helperText: ["text-sm"],
4294
+ errorText: ["text-sm"]
4295
+ },
4296
+ lg: {
4297
+ base: ["text-lg", "gap-[8px]"],
4298
+ label: ["text-lg"],
4299
+ innerWrapper: ["gap-[8px]"],
4300
+ inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]", "border-lg"],
4301
+ helperText: ["text-md"],
4302
+ errorText: ["text-md"]
4303
+ },
4304
+ xl: {
4305
+ base: ["text-xl", "gap-[10px]"],
4306
+ label: ["text-xl"],
4307
+ innerWrapper: ["gap-[10px]"],
4308
+ inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]", "border-xl"],
4309
+ helperText: ["text-md"],
4310
+ errorText: ["text-md"]
4311
+ }
4284
4312
  },
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"]
4313
+ direction: {
4314
+ vertical: "",
4315
+ horizon: ""
4292
4316
  },
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"]
4317
+ full: {
4318
+ true: {
4319
+ base: ["w-full"],
4320
+ innerWrapper: ["flex-1"],
4321
+ inputWrapper: ["w-full"]
4322
+ }
4300
4323
  },
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"]
4324
+ disabled: {
4325
+ true: {
4326
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4327
+ input: [
4328
+ "text-neutral-light",
4329
+ "placeholder:text-neutral-light",
4330
+ "group-has-[p.error]/input:text-danger-light",
4331
+ "group-has-[p.error]/input:placeholder:text-danger-light"
4332
+ ],
4333
+ content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4334
+ helperText: ["!text-neutral-light"],
4335
+ errorText: ["!text-danger-light"]
4336
+ }
4319
4337
  }
4320
4338
  },
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"]
4339
+ compoundVariants: [
4340
+ {
4341
+ disabled: true,
4342
+ variant: ["outline", "underline"],
4343
+ class: {
4344
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4345
+ }
4333
4346
  }
4347
+ ],
4348
+ defaultVariants: {
4349
+ variant: "solid",
4350
+ color: "primary",
4351
+ size: "md",
4352
+ direction: "vertical",
4353
+ disabled: false,
4354
+ readonly: false
4334
4355
  }
4335
4356
  },
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
4357
+ {
4358
+ twMerge: false
4352
4359
  }
4353
- });
4360
+ );
4354
4361
 
4355
4362
  // src/components/pagination/pagination.tsx
4356
4363
  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-X7FHRV4S.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-OYNGJ33M.mjs";
8
+ import "../../chunk-B6CXZCXQ.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-24NQEB73.mjs";
11
11
  import "../../chunk-P2TMIZRH.mjs";