@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.
@@ -4156,7 +4156,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
4156
4156
  {
4157
4157
  className: clsx(
4158
4158
  slots.base({ class: classNames == null ? void 0 : classNames.base }),
4159
- variantProps.direction === "vertical" ? slots.vertical({ class: classNames == null ? void 0 : classNames.vertical }) : slots.horizon({ class: classNames == null ? void 0 : classNames.horizon })
4159
+ variantProps.direction === "horizon" ? slots.horizon({ class: classNames == null ? void 0 : classNames.horizon }) : slots.vertical({ class: classNames == null ? void 0 : classNames.vertical })
4160
4160
  ),
4161
4161
  children: [
4162
4162
  label && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("label", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
@@ -4184,172 +4184,179 @@ 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", "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"]
4227
- },
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"]
4236
- },
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
- }
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-[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
+ "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"]
4250
4222
  },
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
- ]
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-[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
+ }
4262
4251
  },
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
- ]
4273
- }
4274
- },
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"]
4252
+ color: {
4253
+ primary: {
4254
+ content: [
4255
+ "group-has-[:focus]/input:text-primary-main",
4256
+ "group-has-[:focus:hover]/input:text-primary-main",
4257
+ "!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
4258
+ ],
4259
+ helperText: [
4260
+ "group-has-[:focus]/input:text-primary-main",
4261
+ "group-has-[:focus:hover]/input:text-primary-main",
4262
+ "group-has-[:focus]/input:hover:text-primary-main"
4263
+ ]
4264
+ },
4265
+ secondary: {
4266
+ content: [
4267
+ "group-has-[:focus]/input:text-secondary-main",
4268
+ "group-has-[:focus:hover]/input:text-secondary-main",
4269
+ "!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
4270
+ ],
4271
+ helperText: [
4272
+ "group-has-[:focus]/input:text-secondary-main",
4273
+ "group-has-[:focus:hover]/input:text-secondary-main",
4274
+ "group-has-[:focus]/input:hover:text-secondary-main"
4275
+ ]
4276
+ }
4277
+ },
4278
+ size: {
4279
+ sm: {
4280
+ base: ["text-sm", "gap-[4px]"],
4281
+ label: ["text-sm"],
4282
+ innerWrapper: ["gap-[4px]"],
4283
+ inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]", "border-sm"],
4284
+ helperText: ["text-sm"],
4285
+ errorText: ["text-sm"]
4286
+ },
4287
+ md: {
4288
+ base: ["text-md", "gap-[6px]"],
4289
+ label: ["text-md"],
4290
+ innerWrapper: ["gap-[6px]"],
4291
+ inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]", "border-md"],
4292
+ helperText: ["text-sm"],
4293
+ errorText: ["text-sm"]
4294
+ },
4295
+ lg: {
4296
+ base: ["text-lg", "gap-[8px]"],
4297
+ label: ["text-lg"],
4298
+ innerWrapper: ["gap-[8px]"],
4299
+ inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]", "border-lg"],
4300
+ helperText: ["text-md"],
4301
+ errorText: ["text-md"]
4302
+ },
4303
+ xl: {
4304
+ base: ["text-xl", "gap-[10px]"],
4305
+ label: ["text-xl"],
4306
+ innerWrapper: ["gap-[10px]"],
4307
+ inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]", "border-xl"],
4308
+ helperText: ["text-md"],
4309
+ errorText: ["text-md"]
4310
+ }
4283
4311
  },
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"]
4312
+ direction: {
4313
+ vertical: "",
4314
+ horizon: ""
4291
4315
  },
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"]
4316
+ full: {
4317
+ true: {
4318
+ base: ["w-full"],
4319
+ innerWrapper: ["flex-1"],
4320
+ inputWrapper: ["w-full"]
4321
+ }
4299
4322
  },
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"]
4323
+ disabled: {
4324
+ true: {
4325
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
4326
+ input: [
4327
+ "text-neutral-light",
4328
+ "placeholder:text-neutral-light",
4329
+ "group-has-[p.error]/input:text-danger-light",
4330
+ "group-has-[p.error]/input:placeholder:text-danger-light"
4331
+ ],
4332
+ content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4333
+ helperText: ["!text-neutral-light"],
4334
+ errorText: ["!text-danger-light"]
4335
+ }
4318
4336
  }
4319
4337
  },
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"]
4338
+ compoundVariants: [
4339
+ {
4340
+ disabled: true,
4341
+ variant: ["outline", "underline"],
4342
+ class: {
4343
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
4344
+ }
4332
4345
  }
4346
+ ],
4347
+ defaultVariants: {
4348
+ variant: "solid",
4349
+ color: "primary",
4350
+ size: "md",
4351
+ direction: "vertical",
4352
+ disabled: false,
4353
+ readonly: false
4333
4354
  }
4334
4355
  },
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
4356
+ {
4357
+ twMerge: false
4351
4358
  }
4352
- });
4359
+ );
4353
4360
 
4354
4361
  // src/components/pagination/pagination.tsx
4355
4362
  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-DUOYMLZL.mjs";
6
- import "../../chunk-2GCSFWHD.mjs";
7
- import "../../chunk-RT5NKQX4.mjs";
5
+ } from "../../chunk-X7FHRV4S.mjs";
8
6
  import "../../chunk-F3HENRVM.mjs";
7
+ import "../../chunk-2GCSFWHD.mjs";
8
+ import "../../chunk-B6CXZCXQ.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-24NQEB73.mjs";
11
11
  import "../../chunk-P2TMIZRH.mjs";