@nice2dev/ui-designers 1.0.10 → 1.0.11

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.
Files changed (3) hide show
  1. package/dist/index.cjs +52 -52
  2. package/dist/index.mjs +1911 -1911
  3. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -3013,1771 +3013,7 @@ function dS({
3013
3013
  }
3014
3014
  ) });
3015
3015
  }
3016
- /**
3017
- * @file themeVariants.ts
3018
- * @description Extended theme variants - radius, shadows, fills, gradients, effects
3019
- *
3020
- * Allows fine-grained customization of theme appearance
3021
- *
3022
- * @version 1.0.0
3023
- * @since 2026-03
3024
- * @license MIT
3025
- */
3026
3016
  const $m = {
3027
- none: {
3028
- xs: "0",
3029
- sm: "0",
3030
- md: "0",
3031
- lg: "0",
3032
- xl: "0",
3033
- full: "0"
3034
- },
3035
- sm: {
3036
- xs: "2px",
3037
- sm: "3px",
3038
- md: "4px",
3039
- lg: "6px",
3040
- xl: "8px",
3041
- full: "9999px"
3042
- },
3043
- md: {
3044
- xs: "4px",
3045
- sm: "6px",
3046
- md: "8px",
3047
- lg: "12px",
3048
- xl: "16px",
3049
- full: "9999px"
3050
- },
3051
- lg: {
3052
- xs: "6px",
3053
- sm: "10px",
3054
- md: "14px",
3055
- lg: "20px",
3056
- xl: "28px",
3057
- full: "9999px"
3058
- },
3059
- xl: {
3060
- xs: "10px",
3061
- sm: "16px",
3062
- md: "24px",
3063
- lg: "32px",
3064
- xl: "48px",
3065
- full: "9999px"
3066
- },
3067
- "2xl": {
3068
- xs: "16px",
3069
- sm: "24px",
3070
- md: "32px",
3071
- lg: "48px",
3072
- xl: "64px",
3073
- full: "9999px"
3074
- },
3075
- full: {
3076
- xs: "9999px",
3077
- sm: "9999px",
3078
- md: "9999px",
3079
- lg: "9999px",
3080
- xl: "9999px",
3081
- full: "9999px"
3082
- }
3083
- }, Mm = {
3084
- none: "none",
3085
- subtle: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
3086
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
3087
- lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
3088
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
3089
- inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)",
3090
- colored: "0 4px 14px 0 var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.4))",
3091
- glow: "0 0 20px var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.5))"
3092
- }, Dm = {
3093
- none: "none",
3094
- subtle: "0 1px 2px 0 rgba(0, 0, 0, 0.2)",
3095
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2)",
3096
- lg: "0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3)",
3097
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4)",
3098
- inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.3)",
3099
- colored: "0 4px 14px 0 var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.5))",
3100
- glow: "0 0 30px var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.6))"
3101
- }, zm = {
3102
- compact: {
3103
- paddingX: "8px",
3104
- paddingY: "4px",
3105
- gap: "4px",
3106
- fontSize: "13px",
3107
- lineHeight: "1.3",
3108
- inputHeight: "28px",
3109
- buttonHeight: "28px"
3110
- },
3111
- normal: {
3112
- paddingX: "12px",
3113
- paddingY: "8px",
3114
- gap: "8px",
3115
- fontSize: "14px",
3116
- lineHeight: "1.5",
3117
- inputHeight: "36px",
3118
- buttonHeight: "36px"
3119
- },
3120
- comfortable: {
3121
- paddingX: "16px",
3122
- paddingY: "12px",
3123
- gap: "12px",
3124
- fontSize: "15px",
3125
- lineHeight: "1.6",
3126
- inputHeight: "44px",
3127
- buttonHeight: "44px"
3128
- },
3129
- spacious: {
3130
- paddingX: "24px",
3131
- paddingY: "16px",
3132
- gap: "16px",
3133
- fontSize: "16px",
3134
- lineHeight: "1.7",
3135
- inputHeight: "52px",
3136
- buttonHeight: "52px"
3137
- }
3138
- }, Tm = {
3139
- none: {
3140
- duration: "0ms",
3141
- easing: "linear",
3142
- hoverScale: "1",
3143
- clickScale: "1",
3144
- enterAnimation: "none",
3145
- exitAnimation: "none"
3146
- },
3147
- subtle: {
3148
- duration: "150ms",
3149
- easing: "cubic-bezier(0.4, 0, 0.2, 1)",
3150
- hoverScale: "1.01",
3151
- clickScale: "0.99",
3152
- enterAnimation: "ntd-fade-in 150ms ease-out",
3153
- exitAnimation: "ntd-fade-out 100ms ease-in"
3154
- },
3155
- normal: {
3156
- duration: "200ms",
3157
- easing: "cubic-bezier(0.4, 0, 0.2, 1)",
3158
- hoverScale: "1.02",
3159
- clickScale: "0.98",
3160
- enterAnimation: "ntd-slide-up 200ms ease-out",
3161
- exitAnimation: "ntd-slide-down 150ms ease-in"
3162
- },
3163
- playful: {
3164
- duration: "300ms",
3165
- easing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
3166
- hoverScale: "1.05",
3167
- clickScale: "0.95",
3168
- enterAnimation: "ntd-bounce-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",
3169
- exitAnimation: "ntd-bounce-out 200ms ease-in"
3170
- },
3171
- dramatic: {
3172
- duration: "400ms",
3173
- easing: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
3174
- hoverScale: "1.08",
3175
- clickScale: "0.92",
3176
- enterAnimation: "ntd-zoom-in 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",
3177
- exitAnimation: "ntd-zoom-out 250ms ease-in"
3178
- }
3179
- };
3180
- function Em(t, n) {
3181
- const i = {
3182
- transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
3183
- };
3184
- switch (t) {
3185
- case "flat":
3186
- return {
3187
- ...i,
3188
- background: n,
3189
- boxShadow: "none",
3190
- border: "none"
3191
- };
3192
- case "raised":
3193
- return {
3194
- ...i,
3195
- background: n,
3196
- boxShadow: "0 2px 4px rgba(0, 0, 0, 0.2)",
3197
- border: "none"
3198
- };
3199
- case "outlined":
3200
- return {
3201
- ...i,
3202
- background: "transparent",
3203
- border: `2px solid ${n}`,
3204
- color: n
3205
- };
3206
- case "ghost":
3207
- return {
3208
- ...i,
3209
- background: "transparent",
3210
- border: "none",
3211
- color: n
3212
- };
3213
- case "soft":
3214
- return {
3215
- ...i,
3216
- background: `${n}20`,
3217
- border: "none",
3218
- color: n
3219
- };
3220
- case "gradient":
3221
- return {
3222
- ...i,
3223
- background: `linear-gradient(135deg, ${n} 0%, ${Wr(n, -20)} 100%)`,
3224
- border: "none",
3225
- boxShadow: `0 4px 14px ${n}40`
3226
- };
3227
- case "3d":
3228
- return {
3229
- ...i,
3230
- background: n,
3231
- border: "none",
3232
- boxShadow: `0 4px 0 ${Wr(n, -30)}, 0 6px 10px rgba(0, 0, 0, 0.2)`,
3233
- transform: "translateY(-2px)"
3234
- };
3235
- case "neumorphic":
3236
- return {
3237
- ...i,
3238
- background: "var(--ntd-bg-surface)",
3239
- border: "none",
3240
- boxShadow: "5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8)",
3241
- color: n
3242
- };
3243
- case "pill":
3244
- return {
3245
- ...i,
3246
- background: n,
3247
- border: "none",
3248
- borderRadius: "9999px",
3249
- paddingLeft: "24px",
3250
- paddingRight: "24px"
3251
- };
3252
- case "link":
3253
- return {
3254
- ...i,
3255
- background: "transparent",
3256
- border: "none",
3257
- color: n,
3258
- textDecoration: "underline",
3259
- padding: "0"
3260
- };
3261
- case "brutal":
3262
- return {
3263
- ...i,
3264
- background: n,
3265
- border: "3px solid #000",
3266
- boxShadow: "4px 4px 0 #000",
3267
- borderRadius: "0"
3268
- };
3269
- default:
3270
- return i;
3271
- }
3272
- }
3273
- function Am(t) {
3274
- const n = {
3275
- transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
3276
- };
3277
- switch (t) {
3278
- case "bordered":
3279
- return {
3280
- ...n,
3281
- background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
3282
- border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3283
- borderRadius: "var(--ntd-radius-md, 8px)"
3284
- };
3285
- case "filled":
3286
- return {
3287
- ...n,
3288
- background: "var(--ntd-bg-input-filled, var(--bg-secondary, rgba(255,255,255,0.06)))",
3289
- border: "2px solid transparent",
3290
- borderRadius: "var(--ntd-radius-md, 8px)"
3291
- };
3292
- case "underlined":
3293
- return {
3294
- ...n,
3295
- background: "transparent",
3296
- border: "none",
3297
- borderBottom: "2px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3298
- borderRadius: "0",
3299
- paddingLeft: "0",
3300
- paddingRight: "0"
3301
- };
3302
- case "floating":
3303
- return {
3304
- ...n,
3305
- background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
3306
- border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3307
- borderRadius: "var(--ntd-radius-md, 8px)",
3308
- paddingTop: "20px"
3309
- };
3310
- case "soft":
3311
- return {
3312
- ...n,
3313
- background: "var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.1))",
3314
- border: "none",
3315
- borderRadius: "var(--ntd-radius-md, 8px)"
3316
- };
3317
- case "neumorphic":
3318
- return {
3319
- ...n,
3320
- background: "var(--ntd-bg-surface, var(--bg-primary, transparent))",
3321
- border: "none",
3322
- borderRadius: "var(--ntd-radius-md, 8px)",
3323
- boxShadow: "inset 3px 3px 6px rgba(0, 0, 0, 0.2), inset -3px -3px 6px rgba(255, 255, 255, 0.05)"
3324
- };
3325
- case "pill":
3326
- return {
3327
- ...n,
3328
- background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
3329
- border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3330
- borderRadius: "9999px",
3331
- paddingLeft: "20px",
3332
- paddingRight: "20px"
3333
- };
3334
- case "flush":
3335
- return {
3336
- ...n,
3337
- background: "transparent",
3338
- border: "none",
3339
- borderRadius: "0",
3340
- padding: "0",
3341
- outline: "none"
3342
- };
3343
- default:
3344
- return n;
3345
- }
3346
- }
3347
- function Pm(t) {
3348
- const n = {
3349
- transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
3350
- };
3351
- switch (t) {
3352
- case "flat":
3353
- return {
3354
- ...n,
3355
- background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
3356
- border: "none",
3357
- boxShadow: "none"
3358
- };
3359
- case "elevated":
3360
- return {
3361
- ...n,
3362
- background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
3363
- border: "none",
3364
- boxShadow: "var(--ntd-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1))"
3365
- };
3366
- case "bordered":
3367
- return {
3368
- ...n,
3369
- background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
3370
- border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3371
- boxShadow: "none"
3372
- };
3373
- case "glass":
3374
- return {
3375
- ...n,
3376
- background: "rgba(255, 255, 255, 0.1)",
3377
- backdropFilter: "blur(10px)",
3378
- WebkitBackdropFilter: "blur(10px)",
3379
- border: "1px solid rgba(255, 255, 255, 0.2)",
3380
- boxShadow: "0 8px 32px rgba(0, 0, 0, 0.1)"
3381
- };
3382
- case "gradient":
3383
- return {
3384
- ...n,
3385
- background: "linear-gradient(135deg, var(--ntd-bg-surface) 0%, var(--ntd-bg-elevated) 100%)",
3386
- border: "none",
3387
- boxShadow: "var(--ntd-shadow-md)"
3388
- };
3389
- case "neumorphic":
3390
- return {
3391
- ...n,
3392
- background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
3393
- border: "none",
3394
- boxShadow: "8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.05)"
3395
- };
3396
- case "outlined":
3397
- return {
3398
- ...n,
3399
- background: "transparent",
3400
- border: "2px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
3401
- boxShadow: "none"
3402
- };
3403
- case "paper":
3404
- return {
3405
- ...n,
3406
- background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
3407
- border: "none",
3408
- boxShadow: "2px 3px 8px rgba(0,0,0,0.06)",
3409
- borderRadius: "2px"
3410
- };
3411
- default:
3412
- return n;
3413
- }
3414
- }
3415
- function Im(t, n) {
3416
- const i = {
3417
- display: "inline-flex",
3418
- alignItems: "center",
3419
- fontSize: "0.75rem",
3420
- fontWeight: "600",
3421
- lineHeight: "1"
3422
- };
3423
- switch (t) {
3424
- case "solid":
3425
- return { ...i, background: n, color: "#fff", padding: "2px 8px", borderRadius: "4px" };
3426
- case "soft":
3427
- return { ...i, background: `${n}20`, color: n, padding: "2px 8px", borderRadius: "4px" };
3428
- case "outlined":
3429
- return {
3430
- ...i,
3431
- background: "transparent",
3432
- border: `1px solid ${n}`,
3433
- color: n,
3434
- padding: "2px 8px",
3435
- borderRadius: "4px"
3436
- };
3437
- case "dot":
3438
- return {
3439
- ...i,
3440
- background: n,
3441
- width: "8px",
3442
- height: "8px",
3443
- borderRadius: "50%",
3444
- padding: "0"
3445
- };
3446
- case "pill":
3447
- return {
3448
- ...i,
3449
- background: n,
3450
- color: "#fff",
3451
- padding: "2px 12px",
3452
- borderRadius: "9999px"
3453
- };
3454
- case "gradient":
3455
- return {
3456
- ...i,
3457
- background: `linear-gradient(135deg, ${n}, ${Wr(n, -20)})`,
3458
- color: "#fff",
3459
- padding: "2px 8px",
3460
- borderRadius: "4px"
3461
- };
3462
- default:
3463
- return i;
3464
- }
3465
- }
3466
- function Rm(t, n) {
3467
- switch (t) {
3468
- case "underline":
3469
- return {
3470
- borderBottom: `2px solid ${n}`,
3471
- background: "transparent",
3472
- color: n
3473
- };
3474
- case "pills":
3475
- return {
3476
- background: n,
3477
- color: "#fff",
3478
- borderRadius: "9999px",
3479
- padding: "6px 16px"
3480
- };
3481
- case "enclosed":
3482
- return {
3483
- background: "var(--ntd-bg-surface,#fff)",
3484
- border: "1px solid var(--ntd-border-color,#e5e7eb)",
3485
- borderBottom: "none",
3486
- borderRadius: "8px 8px 0 0"
3487
- };
3488
- case "soft":
3489
- return {
3490
- background: `${n}15`,
3491
- color: n,
3492
- borderRadius: "6px",
3493
- padding: "6px 16px"
3494
- };
3495
- case "lifted":
3496
- return {
3497
- background: "var(--ntd-bg-surface,#fff)",
3498
- boxShadow: "0 -2px 8px rgba(0,0,0,0.06)",
3499
- borderRadius: "8px 8px 0 0",
3500
- transform: "translateY(-2px)"
3501
- };
3502
- case "bordered":
3503
- return {
3504
- border: `2px solid ${n}`,
3505
- borderBottom: "none",
3506
- background: "transparent",
3507
- borderRadius: "8px 8px 0 0"
3508
- };
3509
- default:
3510
- return {};
3511
- }
3512
- }
3513
- function Lm(t) {
3514
- switch (t) {
3515
- case "default":
3516
- return { borderRadius: "12px", width: "44px", height: "24px" };
3517
- case "ios":
3518
- return {
3519
- borderRadius: "16px",
3520
- width: "51px",
3521
- height: "31px",
3522
- boxShadow: "inset 0 0 0 1px rgba(0,0,0,0.1)"
3523
- };
3524
- case "flat":
3525
- return { borderRadius: "4px", width: "40px", height: "22px" };
3526
- case "pill":
3527
- return { borderRadius: "9999px", width: "48px", height: "24px" };
3528
- case "square":
3529
- return { borderRadius: "0", width: "40px", height: "22px" };
3530
- default:
3531
- return {};
3532
- }
3533
- }
3534
- function Bm(t) {
3535
- switch (t) {
3536
- case "dark":
3537
- return {
3538
- background: "#1f2937",
3539
- color: "#f9fafb",
3540
- borderRadius: "6px",
3541
- padding: "6px 12px",
3542
- boxShadow: "0 4px 12px rgba(0,0,0,0.3)"
3543
- };
3544
- case "light":
3545
- return {
3546
- background: "#fff",
3547
- color: "#374151",
3548
- borderRadius: "6px",
3549
- padding: "6px 12px",
3550
- boxShadow: "0 4px 12px rgba(0,0,0,0.1)",
3551
- border: "1px solid #e5e7eb"
3552
- };
3553
- case "primary":
3554
- return {
3555
- background: "var(--color-primary,#6366f1)",
3556
- color: "#fff",
3557
- borderRadius: "6px",
3558
- padding: "6px 12px"
3559
- };
3560
- case "glass":
3561
- return {
3562
- background: "rgba(255,255,255,0.15)",
3563
- backdropFilter: "blur(12px)",
3564
- color: "#fff",
3565
- borderRadius: "8px",
3566
- padding: "8px 14px"
3567
- };
3568
- case "bordered":
3569
- return {
3570
- background: "#fff",
3571
- color: "#374151",
3572
- borderRadius: "6px",
3573
- padding: "6px 12px",
3574
- border: "2px solid var(--color-primary,#6366f1)"
3575
- };
3576
- default:
3577
- return {};
3578
- }
3579
- }
3580
- function Fm(t) {
3581
- switch (t) {
3582
- case "default":
3583
- return { borderCollapse: "collapse" };
3584
- case "striped":
3585
- return { borderCollapse: "collapse" };
3586
- case "bordered":
3587
- return { border: "1px solid var(--ntd-border-color,#e5e7eb)", borderCollapse: "collapse" };
3588
- case "compact":
3589
- return { borderCollapse: "collapse", fontSize: "0.8125rem" };
3590
- case "hoverable":
3591
- return { borderCollapse: "collapse" };
3592
- case "minimal":
3593
- return {
3594
- borderCollapse: "collapse",
3595
- borderBottom: "1px solid var(--ntd-border-color,#e5e7eb)"
3596
- };
3597
- default:
3598
- return {};
3599
- }
3600
- }
3601
- const Wa = {
3602
- radius: "md",
3603
- shadow: "md",
3604
- fill: "solid",
3605
- buttonStyle: "flat",
3606
- inputStyle: "bordered",
3607
- cardStyle: "elevated",
3608
- badgeStyle: "solid",
3609
- tabStyle: "underline",
3610
- toggleStyle: "default",
3611
- tooltipStyle: "dark",
3612
- modalStyle: "default",
3613
- tableStyle: "default",
3614
- menuStyle: "default",
3615
- animation: "normal",
3616
- density: "normal"
3617
- }, Om = {
3618
- minimal: {
3619
- radius: "sm",
3620
- shadow: "subtle",
3621
- fill: "solid",
3622
- buttonStyle: "flat",
3623
- inputStyle: "underlined",
3624
- cardStyle: "flat",
3625
- badgeStyle: "soft",
3626
- tabStyle: "underline",
3627
- toggleStyle: "flat",
3628
- tooltipStyle: "light",
3629
- tableStyle: "minimal",
3630
- animation: "subtle",
3631
- density: "normal"
3632
- },
3633
- rounded: {
3634
- radius: "xl",
3635
- shadow: "md",
3636
- fill: "solid",
3637
- buttonStyle: "raised",
3638
- inputStyle: "filled",
3639
- cardStyle: "elevated",
3640
- badgeStyle: "pill",
3641
- tabStyle: "pills",
3642
- toggleStyle: "pill",
3643
- tooltipStyle: "dark",
3644
- tableStyle: "default",
3645
- animation: "normal",
3646
- density: "comfortable"
3647
- },
3648
- sharp: {
3649
- radius: "none",
3650
- shadow: "lg",
3651
- fill: "solid",
3652
- buttonStyle: "flat",
3653
- inputStyle: "bordered",
3654
- cardStyle: "bordered",
3655
- badgeStyle: "solid",
3656
- tabStyle: "enclosed",
3657
- toggleStyle: "square",
3658
- tooltipStyle: "dark",
3659
- tableStyle: "bordered",
3660
- animation: "subtle",
3661
- density: "compact"
3662
- },
3663
- glass: {
3664
- radius: "lg",
3665
- shadow: "none",
3666
- fill: "glass",
3667
- buttonStyle: "ghost",
3668
- inputStyle: "soft",
3669
- cardStyle: "glass",
3670
- badgeStyle: "soft",
3671
- tabStyle: "soft",
3672
- toggleStyle: "ios",
3673
- tooltipStyle: "glass",
3674
- tableStyle: "minimal",
3675
- animation: "normal",
3676
- density: "normal"
3677
- },
3678
- neumorphic: {
3679
- radius: "lg",
3680
- shadow: "none",
3681
- fill: "solid",
3682
- buttonStyle: "neumorphic",
3683
- inputStyle: "neumorphic",
3684
- cardStyle: "neumorphic",
3685
- badgeStyle: "soft",
3686
- tabStyle: "lifted",
3687
- toggleStyle: "ios",
3688
- tooltipStyle: "light",
3689
- tableStyle: "default",
3690
- animation: "subtle",
3691
- density: "comfortable"
3692
- },
3693
- playful: {
3694
- radius: "2xl",
3695
- shadow: "colored",
3696
- fill: "gradient-linear",
3697
- buttonStyle: "gradient",
3698
- inputStyle: "filled",
3699
- cardStyle: "gradient",
3700
- badgeStyle: "gradient",
3701
- tabStyle: "pills",
3702
- toggleStyle: "pill",
3703
- tooltipStyle: "primary",
3704
- tableStyle: "hoverable",
3705
- animation: "playful",
3706
- density: "comfortable"
3707
- },
3708
- enterprise: {
3709
- radius: "sm",
3710
- shadow: "subtle",
3711
- fill: "solid",
3712
- buttonStyle: "outlined",
3713
- inputStyle: "bordered",
3714
- cardStyle: "bordered",
3715
- badgeStyle: "outlined",
3716
- tabStyle: "enclosed",
3717
- toggleStyle: "default",
3718
- tooltipStyle: "dark",
3719
- tableStyle: "striped",
3720
- animation: "subtle",
3721
- density: "compact"
3722
- },
3723
- modern3d: {
3724
- radius: "lg",
3725
- shadow: "xl",
3726
- fill: "gradient-linear",
3727
- buttonStyle: "3d",
3728
- inputStyle: "filled",
3729
- cardStyle: "elevated",
3730
- badgeStyle: "gradient",
3731
- tabStyle: "lifted",
3732
- toggleStyle: "ios",
3733
- tooltipStyle: "dark",
3734
- tableStyle: "default",
3735
- animation: "normal",
3736
- density: "normal"
3737
- },
3738
- brutalist: {
3739
- radius: "none",
3740
- shadow: "none",
3741
- fill: "solid",
3742
- buttonStyle: "brutal",
3743
- inputStyle: "bordered",
3744
- cardStyle: "outlined",
3745
- badgeStyle: "solid",
3746
- tabStyle: "bordered",
3747
- toggleStyle: "square",
3748
- tooltipStyle: "bordered",
3749
- tableStyle: "bordered",
3750
- animation: "none",
3751
- density: "normal"
3752
- },
3753
- luxe: {
3754
- radius: "sm",
3755
- shadow: "lg",
3756
- fill: "gradient-linear",
3757
- buttonStyle: "gradient",
3758
- inputStyle: "floating",
3759
- cardStyle: "elevated",
3760
- badgeStyle: "gradient",
3761
- tabStyle: "underline",
3762
- toggleStyle: "ios",
3763
- tooltipStyle: "dark",
3764
- tableStyle: "hoverable",
3765
- animation: "normal",
3766
- density: "comfortable"
3767
- },
3768
- pill: {
3769
- radius: "full",
3770
- shadow: "md",
3771
- fill: "solid",
3772
- buttonStyle: "pill",
3773
- inputStyle: "pill",
3774
- cardStyle: "elevated",
3775
- badgeStyle: "pill",
3776
- tabStyle: "pills",
3777
- toggleStyle: "pill",
3778
- tooltipStyle: "dark",
3779
- tableStyle: "default",
3780
- animation: "normal",
3781
- density: "normal"
3782
- },
3783
- flat: {
3784
- radius: "md",
3785
- shadow: "none",
3786
- fill: "solid",
3787
- buttonStyle: "flat",
3788
- inputStyle: "filled",
3789
- cardStyle: "flat",
3790
- badgeStyle: "soft",
3791
- tabStyle: "soft",
3792
- toggleStyle: "flat",
3793
- tooltipStyle: "light",
3794
- tableStyle: "minimal",
3795
- animation: "subtle",
3796
- density: "normal"
3797
- },
3798
- editorial: {
3799
- radius: "none",
3800
- shadow: "subtle",
3801
- fill: "solid",
3802
- buttonStyle: "ghost",
3803
- inputStyle: "underlined",
3804
- cardStyle: "paper",
3805
- badgeStyle: "outlined",
3806
- tabStyle: "underline",
3807
- toggleStyle: "flat",
3808
- tooltipStyle: "light",
3809
- tableStyle: "minimal",
3810
- animation: "subtle",
3811
- density: "comfortable"
3812
- },
3813
- dashboard: {
3814
- radius: "md",
3815
- shadow: "md",
3816
- fill: "solid",
3817
- buttonStyle: "flat",
3818
- inputStyle: "bordered",
3819
- cardStyle: "elevated",
3820
- badgeStyle: "solid",
3821
- tabStyle: "enclosed",
3822
- toggleStyle: "default",
3823
- tooltipStyle: "dark",
3824
- tableStyle: "striped",
3825
- animation: "subtle",
3826
- density: "compact"
3827
- },
3828
- softCloud: {
3829
- radius: "xl",
3830
- shadow: "subtle",
3831
- fill: "frosted",
3832
- buttonStyle: "soft",
3833
- inputStyle: "soft",
3834
- cardStyle: "glass",
3835
- badgeStyle: "soft",
3836
- tabStyle: "soft",
3837
- toggleStyle: "ios",
3838
- tooltipStyle: "glass",
3839
- tableStyle: "hoverable",
3840
- animation: "normal",
3841
- density: "comfortable"
3842
- },
3843
- cosmic: {
3844
- radius: "lg",
3845
- shadow: "glow",
3846
- fill: "mesh",
3847
- buttonStyle: "gradient",
3848
- inputStyle: "soft",
3849
- cardStyle: "glass",
3850
- badgeStyle: "gradient",
3851
- tabStyle: "pills",
3852
- toggleStyle: "ios",
3853
- tooltipStyle: "glass",
3854
- tableStyle: "hoverable",
3855
- animation: "dramatic",
3856
- density: "comfortable"
3857
- },
3858
- // ── Additional presets — serious to playful ──────────────
3859
- /** Corporate: safe, grey, no flair */
3860
- corporate: {
3861
- radius: "sm",
3862
- shadow: "subtle",
3863
- fill: "solid",
3864
- buttonStyle: "outlined",
3865
- inputStyle: "bordered",
3866
- cardStyle: "bordered",
3867
- badgeStyle: "outlined",
3868
- tabStyle: "enclosed",
3869
- toggleStyle: "default",
3870
- tooltipStyle: "dark",
3871
- tableStyle: "striped",
3872
- animation: "none",
3873
- density: "compact"
3874
- },
3875
- /** Bank: ultra-conservative, heavy borders, no fun */
3876
- bank: {
3877
- radius: "none",
3878
- shadow: "subtle",
3879
- fill: "solid",
3880
- buttonStyle: "outlined",
3881
- inputStyle: "bordered",
3882
- cardStyle: "bordered",
3883
- badgeStyle: "solid",
3884
- tabStyle: "bordered",
3885
- toggleStyle: "square",
3886
- tooltipStyle: "dark",
3887
- tableStyle: "bordered",
3888
- animation: "none",
3889
- density: "compact"
3890
- },
3891
- /** Government: minimal, accessible, high contrast */
3892
- government: {
3893
- radius: "sm",
3894
- shadow: "none",
3895
- fill: "solid",
3896
- buttonStyle: "flat",
3897
- inputStyle: "bordered",
3898
- cardStyle: "flat",
3899
- badgeStyle: "solid",
3900
- tabStyle: "enclosed",
3901
- toggleStyle: "default",
3902
- tooltipStyle: "dark",
3903
- tableStyle: "striped",
3904
- animation: "none",
3905
- density: "normal"
3906
- },
3907
- /** Military: dark, angular, no-nonsense */
3908
- military: {
3909
- radius: "none",
3910
- shadow: "lg",
3911
- fill: "solid",
3912
- buttonStyle: "raised",
3913
- inputStyle: "bordered",
3914
- cardStyle: "bordered",
3915
- badgeStyle: "solid",
3916
- tabStyle: "bordered",
3917
- toggleStyle: "square",
3918
- tooltipStyle: "dark",
3919
- tableStyle: "bordered",
3920
- animation: "none",
3921
- density: "compact"
3922
- },
3923
- /** Legal: typographic, clean, paper-like */
3924
- legal: {
3925
- radius: "none",
3926
- shadow: "none",
3927
- fill: "solid",
3928
- buttonStyle: "ghost",
3929
- inputStyle: "underlined",
3930
- cardStyle: "paper",
3931
- badgeStyle: "outlined",
3932
- tabStyle: "underline",
3933
- toggleStyle: "flat",
3934
- tooltipStyle: "light",
3935
- tableStyle: "minimal",
3936
- animation: "none",
3937
- density: "comfortable"
3938
- },
3939
- /** Medical: clean, blue-toned, professional */
3940
- medical: {
3941
- radius: "md",
3942
- shadow: "subtle",
3943
- fill: "solid",
3944
- buttonStyle: "soft",
3945
- inputStyle: "bordered",
3946
- cardStyle: "elevated",
3947
- badgeStyle: "soft",
3948
- tabStyle: "enclosed",
3949
- toggleStyle: "ios",
3950
- tooltipStyle: "light",
3951
- tableStyle: "striped",
3952
- animation: "subtle",
3953
- density: "normal"
3954
- },
3955
- /** Swiss: grid-based, clean typography, precision */
3956
- swiss: {
3957
- radius: "none",
3958
- shadow: "none",
3959
- fill: "solid",
3960
- buttonStyle: "flat",
3961
- inputStyle: "underlined",
3962
- cardStyle: "flat",
3963
- badgeStyle: "outlined",
3964
- tabStyle: "underline",
3965
- toggleStyle: "flat",
3966
- tooltipStyle: "light",
3967
- tableStyle: "minimal",
3968
- animation: "subtle",
3969
- density: "normal"
3970
- },
3971
- /** Scandinavian: soft, warm, spacious, hygge */
3972
- scandinavian: {
3973
- radius: "lg",
3974
- shadow: "subtle",
3975
- fill: "solid",
3976
- buttonStyle: "soft",
3977
- inputStyle: "filled",
3978
- cardStyle: "flat",
3979
- badgeStyle: "soft",
3980
- tabStyle: "soft",
3981
- toggleStyle: "ios",
3982
- tooltipStyle: "light",
3983
- tableStyle: "minimal",
3984
- animation: "subtle",
3985
- density: "spacious"
3986
- },
3987
- /** Bauhaus: geometric, primary colors, strong lines */
3988
- bauhaus: {
3989
- radius: "none",
3990
- shadow: "none",
3991
- fill: "solid",
3992
- buttonStyle: "flat",
3993
- inputStyle: "bordered",
3994
- cardStyle: "outlined",
3995
- badgeStyle: "solid",
3996
- tabStyle: "bordered",
3997
- toggleStyle: "square",
3998
- tooltipStyle: "bordered",
3999
- tableStyle: "bordered",
4000
- animation: "none",
4001
- density: "normal"
4002
- },
4003
- /** Notebook: handwritten feel, paper textures, soft */
4004
- notebook: {
4005
- radius: "md",
4006
- shadow: "subtle",
4007
- fill: "solid",
4008
- buttonStyle: "ghost",
4009
- inputStyle: "underlined",
4010
- cardStyle: "paper",
4011
- badgeStyle: "soft",
4012
- tabStyle: "underline",
4013
- toggleStyle: "flat",
4014
- tooltipStyle: "light",
4015
- tableStyle: "minimal",
4016
- animation: "subtle",
4017
- density: "comfortable"
4018
- },
4019
- /** Terminal: monospace, dark, retro-computing */
4020
- terminal: {
4021
- radius: "none",
4022
- shadow: "glow",
4023
- fill: "solid",
4024
- buttonStyle: "outlined",
4025
- inputStyle: "bordered",
4026
- cardStyle: "bordered",
4027
- badgeStyle: "solid",
4028
- tabStyle: "bordered",
4029
- toggleStyle: "square",
4030
- tooltipStyle: "bordered",
4031
- tableStyle: "bordered",
4032
- animation: "none",
4033
- density: "compact"
4034
- },
4035
- /** Hacker: neon green on black, matrix style */
4036
- hacker: {
4037
- radius: "none",
4038
- shadow: "glow",
4039
- fill: "solid",
4040
- buttonStyle: "outlined",
4041
- inputStyle: "bordered",
4042
- cardStyle: "outlined",
4043
- badgeStyle: "outlined",
4044
- tabStyle: "bordered",
4045
- toggleStyle: "square",
4046
- tooltipStyle: "bordered",
4047
- tableStyle: "bordered",
4048
- animation: "subtle",
4049
- density: "compact"
4050
- },
4051
- /** Retro8bit: pixel art inspired, chunky, fun */
4052
- retro8bit: {
4053
- radius: "none",
4054
- shadow: "none",
4055
- fill: "solid",
4056
- buttonStyle: "brutal",
4057
- inputStyle: "bordered",
4058
- cardStyle: "outlined",
4059
- badgeStyle: "solid",
4060
- tabStyle: "bordered",
4061
- toggleStyle: "square",
4062
- tooltipStyle: "bordered",
4063
- tableStyle: "bordered",
4064
- animation: "none",
4065
- density: "normal"
4066
- },
4067
- /** Vapor: vaporwave 80s aesthetics, gradients, neon */
4068
- vapor: {
4069
- radius: "lg",
4070
- shadow: "glow",
4071
- fill: "gradient-linear",
4072
- buttonStyle: "gradient",
4073
- inputStyle: "soft",
4074
- cardStyle: "glass",
4075
- badgeStyle: "gradient",
4076
- tabStyle: "pills",
4077
- toggleStyle: "pill",
4078
- tooltipStyle: "glass",
4079
- tableStyle: "hoverable",
4080
- animation: "playful",
4081
- density: "comfortable"
4082
- },
4083
- /** Synthwave: 80s synth, neon grids, chrome */
4084
- synthwave: {
4085
- radius: "md",
4086
- shadow: "glow",
4087
- fill: "gradient-linear",
4088
- buttonStyle: "3d",
4089
- inputStyle: "filled",
4090
- cardStyle: "glass",
4091
- badgeStyle: "gradient",
4092
- tabStyle: "lifted",
4093
- toggleStyle: "ios",
4094
- tooltipStyle: "glass",
4095
- tableStyle: "hoverable",
4096
- animation: "dramatic",
4097
- density: "normal"
4098
- },
4099
- /** Cyberpunk: angular, neon, glitch aesthetics */
4100
- cyberpunk: {
4101
- radius: "none",
4102
- shadow: "glow",
4103
- fill: "gradient-linear",
4104
- buttonStyle: "brutal",
4105
- inputStyle: "bordered",
4106
- cardStyle: "bordered",
4107
- badgeStyle: "solid",
4108
- tabStyle: "bordered",
4109
- toggleStyle: "square",
4110
- tooltipStyle: "bordered",
4111
- tableStyle: "bordered",
4112
- animation: "dramatic",
4113
- density: "compact"
4114
- },
4115
- /** Steampunk: brass, gears, Victorian tech */
4116
- steampunk: {
4117
- radius: "sm",
4118
- shadow: "inner",
4119
- fill: "solid",
4120
- buttonStyle: "raised",
4121
- inputStyle: "bordered",
4122
- cardStyle: "bordered",
4123
- badgeStyle: "solid",
4124
- tabStyle: "enclosed",
4125
- toggleStyle: "default",
4126
- tooltipStyle: "bordered",
4127
- tableStyle: "bordered",
4128
- animation: "subtle",
4129
- density: "normal"
4130
- },
4131
- /** Origami: folded paper, subtle shadows, layered */
4132
- origami: {
4133
- radius: "none",
4134
- shadow: "md",
4135
- fill: "solid",
4136
- buttonStyle: "raised",
4137
- inputStyle: "filled",
4138
- cardStyle: "elevated",
4139
- badgeStyle: "soft",
4140
- tabStyle: "lifted",
4141
- toggleStyle: "flat",
4142
- tooltipStyle: "light",
4143
- tableStyle: "default",
4144
- animation: "normal",
4145
- density: "normal"
4146
- },
4147
- /** Watercolor: soft edges, bleed, artistic */
4148
- watercolor: {
4149
- radius: "2xl",
4150
- shadow: "subtle",
4151
- fill: "frosted",
4152
- buttonStyle: "soft",
4153
- inputStyle: "soft",
4154
- cardStyle: "glass",
4155
- badgeStyle: "soft",
4156
- tabStyle: "soft",
4157
- toggleStyle: "pill",
4158
- tooltipStyle: "glass",
4159
- tableStyle: "minimal",
4160
- animation: "normal",
4161
- density: "comfortable"
4162
- },
4163
- /** Neon: bright glowing outlines on dark */
4164
- neon: {
4165
- radius: "md",
4166
- shadow: "glow",
4167
- fill: "solid",
4168
- buttonStyle: "outlined",
4169
- inputStyle: "bordered",
4170
- cardStyle: "outlined",
4171
- badgeStyle: "outlined",
4172
- tabStyle: "bordered",
4173
- toggleStyle: "default",
4174
- tooltipStyle: "bordered",
4175
- tableStyle: "bordered",
4176
- animation: "dramatic",
4177
- density: "normal"
4178
- },
4179
- /** Candy: sweet, pastel, rounded, fun */
4180
- candy: {
4181
- radius: "2xl",
4182
- shadow: "colored",
4183
- fill: "gradient-linear",
4184
- buttonStyle: "pill",
4185
- inputStyle: "pill",
4186
- cardStyle: "elevated",
4187
- badgeStyle: "pill",
4188
- tabStyle: "pills",
4189
- toggleStyle: "pill",
4190
- tooltipStyle: "primary",
4191
- tableStyle: "hoverable",
4192
- animation: "playful",
4193
- density: "comfortable"
4194
- },
4195
- /** Bubblegum: pink, puffy, extremely round */
4196
- bubblegum: {
4197
- radius: "full",
4198
- shadow: "colored",
4199
- fill: "gradient-radial",
4200
- buttonStyle: "pill",
4201
- inputStyle: "pill",
4202
- cardStyle: "elevated",
4203
- badgeStyle: "pill",
4204
- tabStyle: "pills",
4205
- toggleStyle: "pill",
4206
- tooltipStyle: "primary",
4207
- tableStyle: "hoverable",
4208
- animation: "playful",
4209
- density: "spacious"
4210
- },
4211
- /** Cartoon: thick outlines, bold colors, exaggerated */
4212
- cartoon: {
4213
- radius: "xl",
4214
- shadow: "colored",
4215
- fill: "solid",
4216
- buttonStyle: "brutal",
4217
- inputStyle: "bordered",
4218
- cardStyle: "outlined",
4219
- badgeStyle: "solid",
4220
- tabStyle: "enclosed",
4221
- toggleStyle: "pill",
4222
- tooltipStyle: "bordered",
4223
- tableStyle: "bordered",
4224
- animation: "playful",
4225
- density: "comfortable"
4226
- },
4227
- /** Kawaii: cute, pastel, round, sparkly */
4228
- kawaii: {
4229
- radius: "full",
4230
- shadow: "colored",
4231
- fill: "gradient-linear",
4232
- buttonStyle: "pill",
4233
- inputStyle: "pill",
4234
- cardStyle: "gradient",
4235
- badgeStyle: "pill",
4236
- tabStyle: "pills",
4237
- toggleStyle: "pill",
4238
- tooltipStyle: "primary",
4239
- tableStyle: "hoverable",
4240
- animation: "dramatic",
4241
- density: "spacious"
4242
- },
4243
- /** Circus: bold, striped, loud, attention-grabbing */
4244
- circus: {
4245
- radius: "full",
4246
- shadow: "colored",
4247
- fill: "gradient-conic",
4248
- buttonStyle: "gradient",
4249
- inputStyle: "filled",
4250
- cardStyle: "gradient",
4251
- badgeStyle: "gradient",
4252
- tabStyle: "pills",
4253
- toggleStyle: "pill",
4254
- tooltipStyle: "primary",
4255
- tableStyle: "striped",
4256
- animation: "dramatic",
4257
- density: "spacious"
4258
- },
4259
- /** Paper: minimal white, subtle shadows, like paper on desk */
4260
- paper: {
4261
- radius: "sm",
4262
- shadow: "md",
4263
- fill: "solid",
4264
- buttonStyle: "ghost",
4265
- inputStyle: "underlined",
4266
- cardStyle: "paper",
4267
- badgeStyle: "soft",
4268
- tabStyle: "underline",
4269
- toggleStyle: "flat",
4270
- tooltipStyle: "light",
4271
- tableStyle: "minimal",
4272
- animation: "subtle",
4273
- density: "comfortable"
4274
- },
4275
- /** Zen: ultra-minimal, lots of whitespace, calm */
4276
- zen: {
4277
- radius: "md",
4278
- shadow: "none",
4279
- fill: "solid",
4280
- buttonStyle: "ghost",
4281
- inputStyle: "underlined",
4282
- cardStyle: "flat",
4283
- badgeStyle: "soft",
4284
- tabStyle: "underline",
4285
- toggleStyle: "flat",
4286
- tooltipStyle: "light",
4287
- tableStyle: "minimal",
4288
- animation: "subtle",
4289
- density: "spacious"
4290
- },
4291
- /** Monochrome: black & white only, pure typography */
4292
- monochrome: {
4293
- radius: "none",
4294
- shadow: "none",
4295
- fill: "solid",
4296
- buttonStyle: "outlined",
4297
- inputStyle: "bordered",
4298
- cardStyle: "outlined",
4299
- badgeStyle: "outlined",
4300
- tabStyle: "bordered",
4301
- toggleStyle: "square",
4302
- tooltipStyle: "bordered",
4303
- tableStyle: "bordered",
4304
- animation: "none",
4305
- density: "normal"
4306
- },
4307
- /** Windows95: chunky, beveled 3D, classic OS */
4308
- windows95: {
4309
- radius: "none",
4310
- shadow: "none",
4311
- fill: "solid",
4312
- buttonStyle: "raised",
4313
- inputStyle: "bordered",
4314
- cardStyle: "bordered",
4315
- badgeStyle: "solid",
4316
- tabStyle: "enclosed",
4317
- toggleStyle: "square",
4318
- tooltipStyle: "bordered",
4319
- tableStyle: "bordered",
4320
- animation: "none",
4321
- density: "compact"
4322
- },
4323
- /** Material: Google Material Design inspired */
4324
- material: {
4325
- radius: "md",
4326
- shadow: "md",
4327
- fill: "solid",
4328
- buttonStyle: "raised",
4329
- inputStyle: "filled",
4330
- cardStyle: "elevated",
4331
- badgeStyle: "solid",
4332
- tabStyle: "underline",
4333
- toggleStyle: "default",
4334
- tooltipStyle: "dark",
4335
- tableStyle: "default",
4336
- animation: "normal",
4337
- density: "normal"
4338
- },
4339
- /** Fluent: Microsoft Fluent Design — acrylic, reveal, depth */
4340
- fluent: {
4341
- radius: "md",
4342
- shadow: "subtle",
4343
- fill: "frosted",
4344
- buttonStyle: "soft",
4345
- inputStyle: "filled",
4346
- cardStyle: "glass",
4347
- badgeStyle: "soft",
4348
- tabStyle: "soft",
4349
- toggleStyle: "ios",
4350
- tooltipStyle: "glass",
4351
- tableStyle: "hoverable",
4352
- animation: "subtle",
4353
- density: "normal"
4354
- },
4355
- /** Cupertino: Apple iOS/macOS style */
4356
- cupertino: {
4357
- radius: "xl",
4358
- shadow: "md",
4359
- fill: "frosted",
4360
- buttonStyle: "soft",
4361
- inputStyle: "filled",
4362
- cardStyle: "glass",
4363
- badgeStyle: "pill",
4364
- tabStyle: "pills",
4365
- toggleStyle: "ios",
4366
- tooltipStyle: "glass",
4367
- tableStyle: "minimal",
4368
- animation: "normal",
4369
- density: "comfortable"
4370
- },
4371
- /** Ant: Ant Design inspired — clean, professional */
4372
- ant: {
4373
- radius: "md",
4374
- shadow: "subtle",
4375
- fill: "solid",
4376
- buttonStyle: "raised",
4377
- inputStyle: "bordered",
4378
- cardStyle: "elevated",
4379
- badgeStyle: "solid",
4380
- tabStyle: "underline",
4381
- toggleStyle: "default",
4382
- tooltipStyle: "dark",
4383
- tableStyle: "default",
4384
- animation: "subtle",
4385
- density: "normal"
4386
- },
4387
- /** Bootstrap: Bootstrap-like rounded, standard */
4388
- bootstrap: {
4389
- radius: "md",
4390
- shadow: "subtle",
4391
- fill: "solid",
4392
- buttonStyle: "raised",
4393
- inputStyle: "bordered",
4394
- cardStyle: "elevated",
4395
- badgeStyle: "pill",
4396
- tabStyle: "underline",
4397
- toggleStyle: "default",
4398
- tooltipStyle: "dark",
4399
- tableStyle: "striped",
4400
- animation: "subtle",
4401
- density: "normal"
4402
- },
4403
- /** Chakra: Chakra UI inspired — accessible, clean */
4404
- chakra: {
4405
- radius: "md",
4406
- shadow: "md",
4407
- fill: "solid",
4408
- buttonStyle: "raised",
4409
- inputStyle: "bordered",
4410
- cardStyle: "elevated",
4411
- badgeStyle: "soft",
4412
- tabStyle: "enclosed",
4413
- toggleStyle: "default",
4414
- tooltipStyle: "dark",
4415
- tableStyle: "default",
4416
- animation: "normal",
4417
- density: "normal"
4418
- },
4419
- /** Notion: Notion-like clean, text-focused, minimal UI */
4420
- notion: {
4421
- radius: "sm",
4422
- shadow: "none",
4423
- fill: "solid",
4424
- buttonStyle: "ghost",
4425
- inputStyle: "flush",
4426
- cardStyle: "flat",
4427
- badgeStyle: "soft",
4428
- tabStyle: "underline",
4429
- toggleStyle: "flat",
4430
- tooltipStyle: "light",
4431
- tableStyle: "minimal",
4432
- animation: "subtle",
4433
- density: "normal"
4434
- },
4435
- /** Linear: Linear app inspired — sleek, dark, polished */
4436
- linear: {
4437
- radius: "md",
4438
- shadow: "subtle",
4439
- fill: "solid",
4440
- buttonStyle: "soft",
4441
- inputStyle: "filled",
4442
- cardStyle: "elevated",
4443
- badgeStyle: "soft",
4444
- tabStyle: "soft",
4445
- toggleStyle: "ios",
4446
- tooltipStyle: "dark",
4447
- tableStyle: "hoverable",
4448
- animation: "subtle",
4449
- density: "compact"
4450
- },
4451
- /** Vercel: Vercel/Next.js — black/white, sharp, modern */
4452
- vercel: {
4453
- radius: "md",
4454
- shadow: "subtle",
4455
- fill: "solid",
4456
- buttonStyle: "outlined",
4457
- inputStyle: "bordered",
4458
- cardStyle: "bordered",
4459
- badgeStyle: "outlined",
4460
- tabStyle: "underline",
4461
- toggleStyle: "default",
4462
- tooltipStyle: "dark",
4463
- tableStyle: "minimal",
4464
- animation: "subtle",
4465
- density: "normal"
4466
- },
4467
- /** Gaming: dark, neon accents, angular, aggressive */
4468
- gaming: {
4469
- radius: "none",
4470
- shadow: "glow",
4471
- fill: "gradient-linear",
4472
- buttonStyle: "3d",
4473
- inputStyle: "bordered",
4474
- cardStyle: "bordered",
4475
- badgeStyle: "gradient",
4476
- tabStyle: "bordered",
4477
- toggleStyle: "square",
4478
- tooltipStyle: "bordered",
4479
- tableStyle: "bordered",
4480
- animation: "dramatic",
4481
- density: "normal"
4482
- },
4483
- /** Kiddo: colorful, big, puffy, child-friendly */
4484
- kiddo: {
4485
- radius: "2xl",
4486
- shadow: "colored",
4487
- fill: "gradient-radial",
4488
- buttonStyle: "pill",
4489
- inputStyle: "pill",
4490
- cardStyle: "gradient",
4491
- badgeStyle: "pill",
4492
- tabStyle: "pills",
4493
- toggleStyle: "pill",
4494
- tooltipStyle: "primary",
4495
- tableStyle: "hoverable",
4496
- animation: "playful",
4497
- density: "spacious"
4498
- },
4499
- /** Disco: flashing, colorful, animated, party time */
4500
- disco: {
4501
- radius: "full",
4502
- shadow: "glow",
4503
- fill: "gradient-conic",
4504
- buttonStyle: "gradient",
4505
- inputStyle: "filled",
4506
- cardStyle: "gradient",
4507
- badgeStyle: "gradient",
4508
- tabStyle: "pills",
4509
- toggleStyle: "pill",
4510
- tooltipStyle: "glass",
4511
- tableStyle: "hoverable",
4512
- animation: "dramatic",
4513
- density: "comfortable"
4514
- },
4515
- /** Clown: maximum chaos, the least serious possible */
4516
- clown: {
4517
- radius: "full",
4518
- shadow: "colored",
4519
- fill: "gradient-conic",
4520
- buttonStyle: "brutal",
4521
- inputStyle: "pill",
4522
- cardStyle: "gradient",
4523
- badgeStyle: "gradient",
4524
- tabStyle: "pills",
4525
- toggleStyle: "pill",
4526
- tooltipStyle: "primary",
4527
- tableStyle: "striped",
4528
- animation: "dramatic",
4529
- density: "spacious"
4530
- }
4531
- };
4532
- function Wm(t, n = ":root") {
4533
- const i = $m[t.radius], r = t.shadow, o = zm[t.density], l = Tm[t.animation], c = [`${n} {`];
4534
- for (const [s, p] of Object.entries(i))
4535
- c.push(` --ntd-radius-${s}: ${p};`);
4536
- c.push(` --ntd-shadow: ${Mm[r]};`), c.push(` --ntd-shadow-dark: ${Dm[r]};`);
4537
- for (const [s, p] of Object.entries(o)) {
4538
- const d = s.replace(/([A-Z])/g, "-$1").toLowerCase();
4539
- c.push(` --ntd-${d}: ${p};`);
4540
- }
4541
- for (const [s, p] of Object.entries(l)) {
4542
- const d = s.replace(/([A-Z])/g, "-$1").toLowerCase();
4543
- c.push(` --ntd-animation-${d}: ${p};`);
4544
- }
4545
- return t.backgroundImage && c.push(` --ntd-bg-image: url('${t.backgroundImage}');`), t.backgroundOverlay && c.push(` --ntd-bg-overlay: ${t.backgroundOverlay};`), c.push("}"), c.join(`
4546
- `);
4547
- }
4548
- function jm(t, n = document.documentElement, i) {
4549
- const r = i ? `[data-ntd-provider="${i}"]` : ":root", o = i ? `ntd-variant-styles-${i}` : "ntd-variant-styles", l = Wm(t, r);
4550
- let c = document.getElementById(o);
4551
- c || (c = document.createElement("style"), c.id = o, document.head.appendChild(c)), c.textContent = l, i && n.setAttribute("data-ntd-provider", i), n.dataset.ntdRadius = t.radius, n.dataset.ntdShadow = t.shadow, n.dataset.ntdFill = t.fill, n.dataset.ntdButton = t.buttonStyle, n.dataset.ntdInput = t.inputStyle, n.dataset.ntdCard = t.cardStyle, n.dataset.ntdAnimation = t.animation, n.dataset.ntdDensity = t.density, t.badgeStyle && (n.dataset.ntdBadge = t.badgeStyle), t.tabStyle && (n.dataset.ntdTab = t.tabStyle), t.toggleStyle && (n.dataset.ntdToggle = t.toggleStyle), t.tooltipStyle && (n.dataset.ntdTooltip = t.tooltipStyle), t.modalStyle && (n.dataset.ntdModal = t.modalStyle), t.tableStyle && (n.dataset.ntdTable = t.tableStyle), t.menuStyle && (n.dataset.ntdMenu = t.menuStyle);
4552
- }
4553
- function Hm(t, n) {
4554
- const i = document.getElementById(`ntd-variant-styles-${t}`);
4555
- i && i.remove(), n && n.removeAttribute("data-ntd-provider");
4556
- }
4557
- function Wr(t, n) {
4558
- if (t.startsWith("#")) {
4559
- const i = t.slice(1), r = parseInt(i, 16), o = Math.max(0, Math.min(255, (r >> 16 & 255) + n)), l = Math.max(0, Math.min(255, (r >> 8 & 255) + n)), c = Math.max(0, Math.min(255, (r & 255) + n));
4560
- return `#${(o << 16 | l << 8 | c).toString(16).padStart(6, "0")}`;
4561
- }
4562
- return t;
4563
- }
4564
- const Um = [
4565
- // Core
4566
- "default",
4567
- "minimal",
4568
- "rounded",
4569
- "sharp",
4570
- "glass",
4571
- "neumorphic",
4572
- "playful",
4573
- "enterprise",
4574
- "modern3d",
4575
- "brutalist",
4576
- "luxe",
4577
- "pill",
4578
- "flat",
4579
- "editorial",
4580
- "dashboard",
4581
- "softCloud",
4582
- "cosmic",
4583
- // Professional
4584
- "corporate",
4585
- "bank",
4586
- "government",
4587
- "military",
4588
- "legal",
4589
- "medical",
4590
- "swiss",
4591
- "scandinavian",
4592
- // Artistic
4593
- "bauhaus",
4594
- "notebook",
4595
- "origami",
4596
- "watercolor",
4597
- "monochrome",
4598
- "paper",
4599
- "zen",
4600
- // Tech / Retro
4601
- "terminal",
4602
- "hacker",
4603
- "retro8bit",
4604
- "synthwave",
4605
- "cyberpunk",
4606
- "steampunk",
4607
- "vapor",
4608
- "neon",
4609
- "windows95",
4610
- // Design Systems
4611
- "material",
4612
- "fluent",
4613
- "cupertino",
4614
- "ant",
4615
- "bootstrap",
4616
- "chakra",
4617
- "notion",
4618
- "linear",
4619
- "vercel",
4620
- // Fun
4621
- "candy",
4622
- "bubblegum",
4623
- "cartoon",
4624
- "kawaii",
4625
- "circus",
4626
- "gaming",
4627
- "kiddo",
4628
- "disco",
4629
- "clown"
4630
- ];
4631
- function ja(t) {
4632
- return t === "default" ? Wa : Om[t] ?? Wa;
4633
- }
4634
- const hs = kt({
4635
- displayStyle: "default",
4636
- variantConfig: Wa,
4637
- setDisplayStyle: () => {
4638
- }
4639
- });
4640
- function gs(t) {
4641
- const n = An(hs), i = t ?? n.displayStyle ?? "default", r = ja(i);
4642
- return { style: i, config: r };
4643
- }
4644
- function Zt(t, n, i = "var(--color-primary, #6366f1)") {
4645
- const { config: r } = gs(n);
4646
- return Vm(t, r, i);
4647
- }
4648
- function Lt(t, n) {
4649
- const { config: i } = gs(n);
4650
- switch (t) {
4651
- case "button":
4652
- return i.buttonStyle;
4653
- case "input":
4654
- return i.inputStyle;
4655
- case "card":
4656
- return i.cardStyle;
4657
- case "badge":
4658
- return i.badgeStyle ?? "solid";
4659
- case "tab":
4660
- return i.tabStyle ?? "underline";
4661
- case "toggle":
4662
- return i.toggleStyle ?? "default";
4663
- case "tooltip":
4664
- return i.tooltipStyle ?? "dark";
4665
- case "modal":
4666
- return i.modalStyle ?? "default";
4667
- case "table":
4668
- return i.tableStyle ?? "default";
4669
- case "menu":
4670
- return i.menuStyle ?? "default";
4671
- default:
4672
- return "default";
4673
- }
4674
- }
4675
- function Vm(t, n, i = "#6366f1") {
4676
- switch (t) {
4677
- case "button":
4678
- return Em(n.buttonStyle, i);
4679
- case "input":
4680
- return Am(n.inputStyle);
4681
- case "card":
4682
- return Pm(n.cardStyle);
4683
- case "badge":
4684
- return Im(n.badgeStyle ?? "solid", i);
4685
- case "tab":
4686
- return Rm(n.tabStyle ?? "underline", i);
4687
- case "toggle":
4688
- return Lm(n.toggleStyle ?? "default");
4689
- case "tooltip":
4690
- return Bm(n.tooltipStyle ?? "dark");
4691
- case "table":
4692
- return Fm(n.tableStyle ?? "default");
4693
- case "menu":
4694
- return {};
4695
- case "modal":
4696
- return {};
4697
- default:
4698
- return {};
4699
- }
4700
- }
4701
- function qm(t) {
4702
- const n = ja(t);
4703
- return {
4704
- "data-ntd-display-style": t,
4705
- "data-ntd-density": n.density,
4706
- "data-ntd-animation": n.animation,
4707
- "data-ntd-radius": n.radius,
4708
- "data-ntd-button": n.buttonStyle,
4709
- "data-ntd-input": n.inputStyle,
4710
- "data-ntd-card": n.cardStyle
4711
- };
4712
- }
4713
- function nr({
4714
- enabled: t,
4715
- readOnly: n,
4716
- disabled: i
4717
- }) {
4718
- const [r, o] = W(!1), l = Se(!1), c = R(() => {
4719
- n || i || !t || (l.current = !0, o(!0));
4720
- }, [n, i, t]), s = R(() => {
4721
- o(!1);
4722
- }, []), p = R((d) => {
4723
- d && l.current && (l.current = !1, requestAnimationFrame(() => {
4724
- if (d.focus(), d instanceof HTMLInputElement || d instanceof HTMLTextAreaElement)
4725
- try {
4726
- d.select();
4727
- } catch {
4728
- }
4729
- }));
4730
- }, []);
4731
- return $e(() => {
4732
- (n || i) && r && o(!1);
4733
- }, [n, i, r]), {
4734
- isDisplay: !!t && !r,
4735
- enterEdit: c,
4736
- exitEdit: s,
4737
- autoFocusRef: p
4738
- };
4739
- }
4740
- const ir = ({
4741
- value: t,
4742
- placeholder: n,
4743
- disabled: i,
4744
- readOnly: r,
4745
- onActivate: o,
4746
- className: l,
4747
- ariaLabel: c
4748
- }) => {
4749
- const s = t == null || t === "", p = (d) => {
4750
- i || r || (d.key === "Enter" || d.key === " ") && (d.preventDefault(), o());
4751
- };
4752
- return /* @__PURE__ */ e(
4753
- "span",
4754
- {
4755
- role: "button",
4756
- tabIndex: i ? -1 : 0,
4757
- className: `nice-display-value ${s ? "nice-display-value--empty" : ""} ${i ? "nice-display-value--disabled" : ""} ${r ? "nice-display-value--readonly" : ""} ${l || ""}`.trim(),
4758
- onClick: () => {
4759
- !i && !r && o();
4760
- },
4761
- onKeyDown: p,
4762
- "aria-label": c,
4763
- "aria-disabled": i || void 0,
4764
- children: s ? n ?? "—" : t
4765
- }
4766
- );
4767
- };
4768
- function Ha(t) {
4769
- if (!t)
4770
- return "";
4771
- let n = t;
4772
- return n = n.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, ""), n = n.replace(/\s+on\w+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi, ""), n = n.replace(
4773
- /(href|src|action)\s*=\s*(?:"javascript:[^"]*"|'javascript:[^']*')/gi,
4774
- '$1=""'
4775
- ), n = n.replace(
4776
- /(href|src|action)\s*=\s*(?:"vbscript:[^"]*"|'vbscript:[^']*')/gi,
4777
- '$1=""'
4778
- ), n = n.replace(/<\/?(iframe|object|embed|form)\b[^>]*>/gi, ""), n;
4779
- }
4780
- const Km = {
4781
3017
  // ── Global / Generic ──
4782
3018
  ok: "OK",
4783
3019
  cancel: "Cancel",
@@ -5338,7 +3574,7 @@ const Km = {
5338
3574
  "noCode.codePreview.format": "Format Code",
5339
3575
  "noCode.codePreview.linesChanged": "Lines Changed",
5340
3576
  "noCode.codePreview.noChanges": "No Changes"
5341
- }, Gm = {
3577
+ }, Mm = {
5342
3578
  ok: "OK",
5343
3579
  cancel: "Anuluj",
5344
3580
  save: "Zapisz",
@@ -5860,7 +4096,7 @@ const Km = {
5860
4096
  "noCode.codePreview.format": "Formatuj kod",
5861
4097
  "noCode.codePreview.linesChanged": "Zmienione linie",
5862
4098
  "noCode.codePreview.noChanges": "Brak zmian"
5863
- }, Ym = {
4099
+ }, Dm = {
5864
4100
  ok: "OK",
5865
4101
  cancel: "Abbrechen",
5866
4102
  save: "Speichern",
@@ -6382,7 +4618,7 @@ const Km = {
6382
4618
  "noCode.codePreview.format": "Code formatieren",
6383
4619
  "noCode.codePreview.linesChanged": "Geänderte Zeilen",
6384
4620
  "noCode.codePreview.noChanges": "Keine Änderungen"
6385
- }, Xm = {
4621
+ }, zm = {
6386
4622
  ok: "OK",
6387
4623
  cancel: "Annuler",
6388
4624
  save: "Enregistrer",
@@ -6904,7 +5140,7 @@ const Km = {
6904
5140
  "noCode.codePreview.format": "Formater le code",
6905
5141
  "noCode.codePreview.linesChanged": "Lignes modifiées",
6906
5142
  "noCode.codePreview.noChanges": "Aucune modification"
6907
- }, Zm = {
5143
+ }, Tm = {
6908
5144
  ok: "OK",
6909
5145
  cancel: "Cancelar",
6910
5146
  save: "Guardar",
@@ -7267,7 +5503,7 @@ const Km = {
7267
5503
  "wm.minimizeAll": "Minimizar todo",
7268
5504
  "wm.newWindow": "Nueva ventana",
7269
5505
  "wm.moveToFront": "Al frente"
7270
- }, Qm = {
5506
+ }, Em = {
7271
5507
  ok: "OK",
7272
5508
  cancel: "Annulla",
7273
5509
  save: "Salva",
@@ -7381,7 +5617,7 @@ const Km = {
7381
5617
  "lang.ko": "Coreano",
7382
5618
  "lang.zh": "Cinese",
7383
5619
  "lang.ar": "Arabo"
7384
- }, Jm = {
5620
+ }, Am = {
7385
5621
  ok: "OK",
7386
5622
  cancel: "Cancelar",
7387
5623
  save: "Salvar",
@@ -7744,7 +5980,7 @@ const Km = {
7744
5980
  "wm.minimizeAll": "Minimizar todos",
7745
5981
  "wm.newWindow": "Nova janela",
7746
5982
  "wm.moveToFront": "Trazer para frente"
7747
- }, eu = {
5983
+ }, Pm = {
7748
5984
  ok: "OK",
7749
5985
  cancel: "Annuleren",
7750
5986
  save: "Opslaan",
@@ -7829,7 +6065,7 @@ const Km = {
7829
6065
  "lang.ko": "Koreaans",
7830
6066
  "lang.zh": "Chinees",
7831
6067
  "lang.ar": "Arabisch"
7832
- }, tu = {
6068
+ }, Im = {
7833
6069
  ok: "OK",
7834
6070
  cancel: "Avbryt",
7835
6071
  save: "Spara",
@@ -7899,7 +6135,7 @@ const Km = {
7899
6135
  "lang.ko": "Koreanska",
7900
6136
  "lang.zh": "Kinesiska",
7901
6137
  "lang.ar": "Arabiska"
7902
- }, nu = {
6138
+ }, Rm = {
7903
6139
  ok: "OK",
7904
6140
  cancel: "Avbryt",
7905
6141
  save: "Lagre",
@@ -7962,7 +6198,7 @@ const Km = {
7962
6198
  "lang.ko": "Koreansk",
7963
6199
  "lang.zh": "Kinesisk",
7964
6200
  "lang.ar": "Arabisk"
7965
- }, iu = {
6201
+ }, Lm = {
7966
6202
  ok: "OK",
7967
6203
  cancel: "Annuller",
7968
6204
  save: "Gem",
@@ -8025,7 +6261,7 @@ const Km = {
8025
6261
  "lang.ko": "Koreansk",
8026
6262
  "lang.zh": "Kinesisk",
8027
6263
  "lang.ar": "Arabisk"
8028
- }, au = {
6264
+ }, Bm = {
8029
6265
  ok: "OK",
8030
6266
  cancel: "Peruuta",
8031
6267
  save: "Tallenna",
@@ -8088,7 +6324,7 @@ const Km = {
8088
6324
  "lang.ko": "Korea",
8089
6325
  "lang.zh": "Kiina",
8090
6326
  "lang.ar": "Arabia"
8091
- }, ru = {
6327
+ }, Fm = {
8092
6328
  ok: "OK",
8093
6329
  cancel: "Zrušit",
8094
6330
  save: "Uložit",
@@ -8451,7 +6687,7 @@ const Km = {
8451
6687
  "wm.minimizeAll": "Minimalizovat vše",
8452
6688
  "wm.newWindow": "Nové okno",
8453
6689
  "wm.moveToFront": "Přenést dopředu"
8454
- }, ou = {
6690
+ }, Om = {
8455
6691
  ok: "OK",
8456
6692
  cancel: "Zrušiť",
8457
6693
  save: "Uložiť",
@@ -8514,7 +6750,7 @@ const Km = {
8514
6750
  "lang.ko": "Kórejčina",
8515
6751
  "lang.zh": "Čínština",
8516
6752
  "lang.ar": "Arabčina"
8517
- }, lu = {
6753
+ }, Wm = {
8518
6754
  ok: "OK",
8519
6755
  cancel: "Mégse",
8520
6756
  save: "Mentés",
@@ -8577,7 +6813,7 @@ const Km = {
8577
6813
  "lang.ko": "Koreai",
8578
6814
  "lang.zh": "Kínai",
8579
6815
  "lang.ar": "Arab"
8580
- }, cu = {
6816
+ }, jm = {
8581
6817
  ok: "OK",
8582
6818
  cancel: "Anulare",
8583
6819
  save: "Salvare",
@@ -8632,7 +6868,7 @@ const Km = {
8632
6868
  "lang.ko": "Coreeană",
8633
6869
  "lang.zh": "Chineză",
8634
6870
  "lang.ar": "Arabă"
8635
- }, su = {
6871
+ }, Hm = {
8636
6872
  ok: "OK",
8637
6873
  cancel: "Отказ",
8638
6874
  save: "Запис",
@@ -8687,7 +6923,7 @@ const Km = {
8687
6923
  "lang.ko": "Корейски",
8688
6924
  "lang.zh": "Китайски",
8689
6925
  "lang.ar": "Арабски"
8690
- }, du = {
6926
+ }, Um = {
8691
6927
  ok: "OK",
8692
6928
  cancel: "Скасувати",
8693
6929
  save: "Зберегти",
@@ -9050,7 +7286,7 @@ const Km = {
9050
7286
  "wm.minimizeAll": "Згорнути всі",
9051
7287
  "wm.newWindow": "Нове вікно",
9052
7288
  "wm.moveToFront": "На передній план"
9053
- }, pu = {
7289
+ }, Vm = {
9054
7290
  ok: "OK",
9055
7291
  cancel: "キャンセル",
9056
7292
  save: "保存",
@@ -9413,7 +7649,7 @@ const Km = {
9413
7649
  "wm.minimizeAll": "すべて最小化",
9414
7650
  "wm.newWindow": "新しいウィンドウ",
9415
7651
  "wm.moveToFront": "最前面に移動"
9416
- }, mu = {
7652
+ }, qm = {
9417
7653
  ok: "확인",
9418
7654
  cancel: "취소",
9419
7655
  save: "저장",
@@ -9776,7 +8012,7 @@ const Km = {
9776
8012
  "wm.minimizeAll": "모두 최소화",
9777
8013
  "wm.newWindow": "새 창",
9778
8014
  "wm.moveToFront": "맨 앞으로"
9779
- }, uu = {
8015
+ }, Km = {
9780
8016
  ok: "确定",
9781
8017
  cancel: "取消",
9782
8018
  save: "保存",
@@ -10139,7 +8375,7 @@ const Km = {
10139
8375
  "wm.minimizeAll": "最小化全部",
10140
8376
  "wm.newWindow": "新建窗口",
10141
8377
  "wm.moveToFront": "置于最前"
10142
- }, hu = {
8378
+ }, Gm = {
10143
8379
  ok: "حسناً",
10144
8380
  cancel: "إلغاء",
10145
8381
  save: "حفظ",
@@ -10502,7 +8738,7 @@ const Km = {
10502
8738
  "wm.minimizeAll": "تصغير الكل",
10503
8739
  "wm.newWindow": "نافذة جديدة",
10504
8740
  "wm.moveToFront": "نقل إلى الأمام"
10505
- }, gu = {
8741
+ }, Ym = {
10506
8742
  ok: "ठीक है",
10507
8743
  cancel: "रद्द करें",
10508
8744
  save: "सहेजें",
@@ -10513,7 +8749,7 @@ const Km = {
10513
8749
  error: "त्रुटि",
10514
8750
  success: "सफलता",
10515
8751
  search: "खोजें"
10516
- }, fu = {
8752
+ }, Xm = {
10517
8753
  ok: "ঠিক আছে",
10518
8754
  cancel: "বাতিল",
10519
8755
  save: "সংরক্ষণ",
@@ -10524,7 +8760,7 @@ const Km = {
10524
8760
  error: "ত্রুটি",
10525
8761
  success: "সফল",
10526
8762
  search: "অনুসন্ধান"
10527
- }, bu = {
8763
+ }, Zm = {
10528
8764
  ok: "ตกลง",
10529
8765
  cancel: "ยกเลิก",
10530
8766
  save: "บันทึก",
@@ -10535,117 +8771,1881 @@ const Km = {
10535
8771
  error: "ข้อผิดพลาด",
10536
8772
  success: "สำเร็จ",
10537
8773
  search: "ค้นหา"
8774
+ }, Qm = {
8775
+ ok: "OK",
8776
+ cancel: "Hủy",
8777
+ save: "Lưu",
8778
+ close: "Đóng",
8779
+ yes: "Có",
8780
+ no: "Không",
8781
+ loading: "Đang tải…",
8782
+ error: "Lỗi",
8783
+ success: "Thành công",
8784
+ search: "Tìm kiếm"
8785
+ }, Jm = {
8786
+ ok: "OK",
8787
+ cancel: "Batal",
8788
+ save: "Simpan",
8789
+ close: "Tutup",
8790
+ yes: "Ya",
8791
+ no: "Tidak",
8792
+ loading: "Memuat…",
8793
+ error: "Kesalahan",
8794
+ success: "Berhasil",
8795
+ search: "Cari"
8796
+ }, eu = {
8797
+ ok: "Sawa",
8798
+ cancel: "Ghairi",
8799
+ save: "Hifadhi",
8800
+ close: "Funga",
8801
+ yes: "Ndiyo",
8802
+ no: "Hapana",
8803
+ loading: "Inapakia…",
8804
+ error: "Hitilafu",
8805
+ success: "Imefanikiwa",
8806
+ search: "Tafuta"
8807
+ }, tu = {
8808
+ ok: "OK",
8809
+ cancel: "Kanselahin",
8810
+ save: "I-save",
8811
+ close: "Isara",
8812
+ yes: "Oo",
8813
+ no: "Hindi",
8814
+ loading: "Naglo-load…",
8815
+ error: "Error",
8816
+ success: "Tagumpay",
8817
+ search: "Maghanap"
8818
+ }, nu = {
8819
+ ok: "OK",
8820
+ cancel: "Batal",
8821
+ save: "Simpan",
8822
+ close: "Tutup",
8823
+ yes: "Ya",
8824
+ no: "Tidak",
8825
+ loading: "Memuat…",
8826
+ error: "Ralat",
8827
+ success: "Berjaya",
8828
+ search: "Cari"
8829
+ }, Fl = {
8830
+ en: $m,
8831
+ pl: Mm,
8832
+ de: Dm,
8833
+ fr: zm,
8834
+ es: Tm,
8835
+ it: Em,
8836
+ pt: Am,
8837
+ nl: Pm,
8838
+ sv: Im,
8839
+ no: Rm,
8840
+ da: Lm,
8841
+ fi: Bm,
8842
+ cs: Fm,
8843
+ sk: Om,
8844
+ hu: Wm,
8845
+ ro: jm,
8846
+ bg: Hm,
8847
+ uk: Um,
8848
+ ja: Vm,
8849
+ ko: qm,
8850
+ zh: Km,
8851
+ ar: Gm,
8852
+ hi: Ym,
8853
+ bn: Xm,
8854
+ th: Zm,
8855
+ vi: Qm,
8856
+ id: Jm,
8857
+ sw: eu,
8858
+ fil: tu,
8859
+ ms: nu
8860
+ }, iu = (t, n) => n, hs = kt(iu), au = ({
8861
+ t,
8862
+ lang: n = "en",
8863
+ overrides: i,
8864
+ children: r
8865
+ }) => {
8866
+ const o = xe(() => {
8867
+ if (t)
8868
+ return t;
8869
+ const l = Fl[n] ?? Fl.en, c = i ? { ...l, ...i } : l;
8870
+ return (s, p) => c[s] ?? p;
8871
+ }, [t, n, i]);
8872
+ return /* @__PURE__ */ e(hs.Provider, { value: o, children: r });
8873
+ };
8874
+ function Ve() {
8875
+ return { t: An(hs) };
8876
+ }
8877
+ kt({
8878
+ dir: "ltr",
8879
+ isRTL: !1,
8880
+ flip: (t) => t,
8881
+ value: (t) => t.ltr
8882
+ });
8883
+ kt(null);
8884
+ kt(null);
8885
+ /**
8886
+ * @file themeVariants.ts
8887
+ * @description Extended theme variants - radius, shadows, fills, gradients, effects
8888
+ *
8889
+ * Allows fine-grained customization of theme appearance
8890
+ *
8891
+ * @version 1.0.0
8892
+ * @since 2026-03
8893
+ * @license MIT
8894
+ */
8895
+ const ru = {
8896
+ none: {
8897
+ xs: "0",
8898
+ sm: "0",
8899
+ md: "0",
8900
+ lg: "0",
8901
+ xl: "0",
8902
+ full: "0"
8903
+ },
8904
+ sm: {
8905
+ xs: "2px",
8906
+ sm: "3px",
8907
+ md: "4px",
8908
+ lg: "6px",
8909
+ xl: "8px",
8910
+ full: "9999px"
8911
+ },
8912
+ md: {
8913
+ xs: "4px",
8914
+ sm: "6px",
8915
+ md: "8px",
8916
+ lg: "12px",
8917
+ xl: "16px",
8918
+ full: "9999px"
8919
+ },
8920
+ lg: {
8921
+ xs: "6px",
8922
+ sm: "10px",
8923
+ md: "14px",
8924
+ lg: "20px",
8925
+ xl: "28px",
8926
+ full: "9999px"
8927
+ },
8928
+ xl: {
8929
+ xs: "10px",
8930
+ sm: "16px",
8931
+ md: "24px",
8932
+ lg: "32px",
8933
+ xl: "48px",
8934
+ full: "9999px"
8935
+ },
8936
+ "2xl": {
8937
+ xs: "16px",
8938
+ sm: "24px",
8939
+ md: "32px",
8940
+ lg: "48px",
8941
+ xl: "64px",
8942
+ full: "9999px"
8943
+ },
8944
+ full: {
8945
+ xs: "9999px",
8946
+ sm: "9999px",
8947
+ md: "9999px",
8948
+ lg: "9999px",
8949
+ xl: "9999px",
8950
+ full: "9999px"
8951
+ }
8952
+ }, ou = {
8953
+ none: "none",
8954
+ subtle: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
8955
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
8956
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
8957
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
8958
+ inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)",
8959
+ colored: "0 4px 14px 0 var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.4))",
8960
+ glow: "0 0 20px var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.5))"
8961
+ }, lu = {
8962
+ none: "none",
8963
+ subtle: "0 1px 2px 0 rgba(0, 0, 0, 0.2)",
8964
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2)",
8965
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3)",
8966
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4)",
8967
+ inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.3)",
8968
+ colored: "0 4px 14px 0 var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.5))",
8969
+ glow: "0 0 30px var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.6))"
8970
+ }, cu = {
8971
+ compact: {
8972
+ paddingX: "8px",
8973
+ paddingY: "4px",
8974
+ gap: "4px",
8975
+ fontSize: "13px",
8976
+ lineHeight: "1.3",
8977
+ inputHeight: "28px",
8978
+ buttonHeight: "28px"
8979
+ },
8980
+ normal: {
8981
+ paddingX: "12px",
8982
+ paddingY: "8px",
8983
+ gap: "8px",
8984
+ fontSize: "14px",
8985
+ lineHeight: "1.5",
8986
+ inputHeight: "36px",
8987
+ buttonHeight: "36px"
8988
+ },
8989
+ comfortable: {
8990
+ paddingX: "16px",
8991
+ paddingY: "12px",
8992
+ gap: "12px",
8993
+ fontSize: "15px",
8994
+ lineHeight: "1.6",
8995
+ inputHeight: "44px",
8996
+ buttonHeight: "44px"
8997
+ },
8998
+ spacious: {
8999
+ paddingX: "24px",
9000
+ paddingY: "16px",
9001
+ gap: "16px",
9002
+ fontSize: "16px",
9003
+ lineHeight: "1.7",
9004
+ inputHeight: "52px",
9005
+ buttonHeight: "52px"
9006
+ }
9007
+ }, su = {
9008
+ none: {
9009
+ duration: "0ms",
9010
+ easing: "linear",
9011
+ hoverScale: "1",
9012
+ clickScale: "1",
9013
+ enterAnimation: "none",
9014
+ exitAnimation: "none"
9015
+ },
9016
+ subtle: {
9017
+ duration: "150ms",
9018
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)",
9019
+ hoverScale: "1.01",
9020
+ clickScale: "0.99",
9021
+ enterAnimation: "ntd-fade-in 150ms ease-out",
9022
+ exitAnimation: "ntd-fade-out 100ms ease-in"
9023
+ },
9024
+ normal: {
9025
+ duration: "200ms",
9026
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)",
9027
+ hoverScale: "1.02",
9028
+ clickScale: "0.98",
9029
+ enterAnimation: "ntd-slide-up 200ms ease-out",
9030
+ exitAnimation: "ntd-slide-down 150ms ease-in"
9031
+ },
9032
+ playful: {
9033
+ duration: "300ms",
9034
+ easing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
9035
+ hoverScale: "1.05",
9036
+ clickScale: "0.95",
9037
+ enterAnimation: "ntd-bounce-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",
9038
+ exitAnimation: "ntd-bounce-out 200ms ease-in"
9039
+ },
9040
+ dramatic: {
9041
+ duration: "400ms",
9042
+ easing: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
9043
+ hoverScale: "1.08",
9044
+ clickScale: "0.92",
9045
+ enterAnimation: "ntd-zoom-in 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",
9046
+ exitAnimation: "ntd-zoom-out 250ms ease-in"
9047
+ }
9048
+ };
9049
+ function du(t, n) {
9050
+ const i = {
9051
+ transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
9052
+ };
9053
+ switch (t) {
9054
+ case "flat":
9055
+ return {
9056
+ ...i,
9057
+ background: n,
9058
+ boxShadow: "none",
9059
+ border: "none"
9060
+ };
9061
+ case "raised":
9062
+ return {
9063
+ ...i,
9064
+ background: n,
9065
+ boxShadow: "0 2px 4px rgba(0, 0, 0, 0.2)",
9066
+ border: "none"
9067
+ };
9068
+ case "outlined":
9069
+ return {
9070
+ ...i,
9071
+ background: "transparent",
9072
+ border: `2px solid ${n}`,
9073
+ color: n
9074
+ };
9075
+ case "ghost":
9076
+ return {
9077
+ ...i,
9078
+ background: "transparent",
9079
+ border: "none",
9080
+ color: n
9081
+ };
9082
+ case "soft":
9083
+ return {
9084
+ ...i,
9085
+ background: `${n}20`,
9086
+ border: "none",
9087
+ color: n
9088
+ };
9089
+ case "gradient":
9090
+ return {
9091
+ ...i,
9092
+ background: `linear-gradient(135deg, ${n} 0%, ${Wr(n, -20)} 100%)`,
9093
+ border: "none",
9094
+ boxShadow: `0 4px 14px ${n}40`
9095
+ };
9096
+ case "3d":
9097
+ return {
9098
+ ...i,
9099
+ background: n,
9100
+ border: "none",
9101
+ boxShadow: `0 4px 0 ${Wr(n, -30)}, 0 6px 10px rgba(0, 0, 0, 0.2)`,
9102
+ transform: "translateY(-2px)"
9103
+ };
9104
+ case "neumorphic":
9105
+ return {
9106
+ ...i,
9107
+ background: "var(--ntd-bg-surface)",
9108
+ border: "none",
9109
+ boxShadow: "5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8)",
9110
+ color: n
9111
+ };
9112
+ case "pill":
9113
+ return {
9114
+ ...i,
9115
+ background: n,
9116
+ border: "none",
9117
+ borderRadius: "9999px",
9118
+ paddingLeft: "24px",
9119
+ paddingRight: "24px"
9120
+ };
9121
+ case "link":
9122
+ return {
9123
+ ...i,
9124
+ background: "transparent",
9125
+ border: "none",
9126
+ color: n,
9127
+ textDecoration: "underline",
9128
+ padding: "0"
9129
+ };
9130
+ case "brutal":
9131
+ return {
9132
+ ...i,
9133
+ background: n,
9134
+ border: "3px solid #000",
9135
+ boxShadow: "4px 4px 0 #000",
9136
+ borderRadius: "0"
9137
+ };
9138
+ default:
9139
+ return i;
9140
+ }
9141
+ }
9142
+ function pu(t) {
9143
+ const n = {
9144
+ transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
9145
+ };
9146
+ switch (t) {
9147
+ case "bordered":
9148
+ return {
9149
+ ...n,
9150
+ background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
9151
+ border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9152
+ borderRadius: "var(--ntd-radius-md, 8px)"
9153
+ };
9154
+ case "filled":
9155
+ return {
9156
+ ...n,
9157
+ background: "var(--ntd-bg-input-filled, var(--bg-secondary, rgba(255,255,255,0.06)))",
9158
+ border: "2px solid transparent",
9159
+ borderRadius: "var(--ntd-radius-md, 8px)"
9160
+ };
9161
+ case "underlined":
9162
+ return {
9163
+ ...n,
9164
+ background: "transparent",
9165
+ border: "none",
9166
+ borderBottom: "2px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9167
+ borderRadius: "0",
9168
+ paddingLeft: "0",
9169
+ paddingRight: "0"
9170
+ };
9171
+ case "floating":
9172
+ return {
9173
+ ...n,
9174
+ background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
9175
+ border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9176
+ borderRadius: "var(--ntd-radius-md, 8px)",
9177
+ paddingTop: "20px"
9178
+ };
9179
+ case "soft":
9180
+ return {
9181
+ ...n,
9182
+ background: "var(--ntd-color-primary-alpha, rgba(99, 102, 241, 0.1))",
9183
+ border: "none",
9184
+ borderRadius: "var(--ntd-radius-md, 8px)"
9185
+ };
9186
+ case "neumorphic":
9187
+ return {
9188
+ ...n,
9189
+ background: "var(--ntd-bg-surface, var(--bg-primary, transparent))",
9190
+ border: "none",
9191
+ borderRadius: "var(--ntd-radius-md, 8px)",
9192
+ boxShadow: "inset 3px 3px 6px rgba(0, 0, 0, 0.2), inset -3px -3px 6px rgba(255, 255, 255, 0.05)"
9193
+ };
9194
+ case "pill":
9195
+ return {
9196
+ ...n,
9197
+ background: "var(--ntd-bg-input, var(--bg-primary, transparent))",
9198
+ border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9199
+ borderRadius: "9999px",
9200
+ paddingLeft: "20px",
9201
+ paddingRight: "20px"
9202
+ };
9203
+ case "flush":
9204
+ return {
9205
+ ...n,
9206
+ background: "transparent",
9207
+ border: "none",
9208
+ borderRadius: "0",
9209
+ padding: "0",
9210
+ outline: "none"
9211
+ };
9212
+ default:
9213
+ return n;
9214
+ }
9215
+ }
9216
+ function mu(t) {
9217
+ const n = {
9218
+ transition: "all var(--ntd-transition-duration, 200ms) var(--ntd-transition-easing, ease)"
9219
+ };
9220
+ switch (t) {
9221
+ case "flat":
9222
+ return {
9223
+ ...n,
9224
+ background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
9225
+ border: "none",
9226
+ boxShadow: "none"
9227
+ };
9228
+ case "elevated":
9229
+ return {
9230
+ ...n,
9231
+ background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
9232
+ border: "none",
9233
+ boxShadow: "var(--ntd-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1))"
9234
+ };
9235
+ case "bordered":
9236
+ return {
9237
+ ...n,
9238
+ background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
9239
+ border: "1px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9240
+ boxShadow: "none"
9241
+ };
9242
+ case "glass":
9243
+ return {
9244
+ ...n,
9245
+ background: "rgba(255, 255, 255, 0.1)",
9246
+ backdropFilter: "blur(10px)",
9247
+ WebkitBackdropFilter: "blur(10px)",
9248
+ border: "1px solid rgba(255, 255, 255, 0.2)",
9249
+ boxShadow: "0 8px 32px rgba(0, 0, 0, 0.1)"
9250
+ };
9251
+ case "gradient":
9252
+ return {
9253
+ ...n,
9254
+ background: "linear-gradient(135deg, var(--ntd-bg-surface) 0%, var(--ntd-bg-elevated) 100%)",
9255
+ border: "none",
9256
+ boxShadow: "var(--ntd-shadow-md)"
9257
+ };
9258
+ case "neumorphic":
9259
+ return {
9260
+ ...n,
9261
+ background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
9262
+ border: "none",
9263
+ boxShadow: "8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.05)"
9264
+ };
9265
+ case "outlined":
9266
+ return {
9267
+ ...n,
9268
+ background: "transparent",
9269
+ border: "2px solid var(--ntd-border-color, var(--border-color, #3a3a3a))",
9270
+ boxShadow: "none"
9271
+ };
9272
+ case "paper":
9273
+ return {
9274
+ ...n,
9275
+ background: "var(--ntd-bg-surface, var(--bg-secondary, transparent))",
9276
+ border: "none",
9277
+ boxShadow: "2px 3px 8px rgba(0,0,0,0.06)",
9278
+ borderRadius: "2px"
9279
+ };
9280
+ default:
9281
+ return n;
9282
+ }
9283
+ }
9284
+ function uu(t, n) {
9285
+ const i = {
9286
+ display: "inline-flex",
9287
+ alignItems: "center",
9288
+ fontSize: "0.75rem",
9289
+ fontWeight: "600",
9290
+ lineHeight: "1"
9291
+ };
9292
+ switch (t) {
9293
+ case "solid":
9294
+ return { ...i, background: n, color: "#fff", padding: "2px 8px", borderRadius: "4px" };
9295
+ case "soft":
9296
+ return { ...i, background: `${n}20`, color: n, padding: "2px 8px", borderRadius: "4px" };
9297
+ case "outlined":
9298
+ return {
9299
+ ...i,
9300
+ background: "transparent",
9301
+ border: `1px solid ${n}`,
9302
+ color: n,
9303
+ padding: "2px 8px",
9304
+ borderRadius: "4px"
9305
+ };
9306
+ case "dot":
9307
+ return {
9308
+ ...i,
9309
+ background: n,
9310
+ width: "8px",
9311
+ height: "8px",
9312
+ borderRadius: "50%",
9313
+ padding: "0"
9314
+ };
9315
+ case "pill":
9316
+ return {
9317
+ ...i,
9318
+ background: n,
9319
+ color: "#fff",
9320
+ padding: "2px 12px",
9321
+ borderRadius: "9999px"
9322
+ };
9323
+ case "gradient":
9324
+ return {
9325
+ ...i,
9326
+ background: `linear-gradient(135deg, ${n}, ${Wr(n, -20)})`,
9327
+ color: "#fff",
9328
+ padding: "2px 8px",
9329
+ borderRadius: "4px"
9330
+ };
9331
+ default:
9332
+ return i;
9333
+ }
9334
+ }
9335
+ function hu(t, n) {
9336
+ switch (t) {
9337
+ case "underline":
9338
+ return {
9339
+ borderBottom: `2px solid ${n}`,
9340
+ background: "transparent",
9341
+ color: n
9342
+ };
9343
+ case "pills":
9344
+ return {
9345
+ background: n,
9346
+ color: "#fff",
9347
+ borderRadius: "9999px",
9348
+ padding: "6px 16px"
9349
+ };
9350
+ case "enclosed":
9351
+ return {
9352
+ background: "var(--ntd-bg-surface,#fff)",
9353
+ border: "1px solid var(--ntd-border-color,#e5e7eb)",
9354
+ borderBottom: "none",
9355
+ borderRadius: "8px 8px 0 0"
9356
+ };
9357
+ case "soft":
9358
+ return {
9359
+ background: `${n}15`,
9360
+ color: n,
9361
+ borderRadius: "6px",
9362
+ padding: "6px 16px"
9363
+ };
9364
+ case "lifted":
9365
+ return {
9366
+ background: "var(--ntd-bg-surface,#fff)",
9367
+ boxShadow: "0 -2px 8px rgba(0,0,0,0.06)",
9368
+ borderRadius: "8px 8px 0 0",
9369
+ transform: "translateY(-2px)"
9370
+ };
9371
+ case "bordered":
9372
+ return {
9373
+ border: `2px solid ${n}`,
9374
+ borderBottom: "none",
9375
+ background: "transparent",
9376
+ borderRadius: "8px 8px 0 0"
9377
+ };
9378
+ default:
9379
+ return {};
9380
+ }
9381
+ }
9382
+ function gu(t) {
9383
+ switch (t) {
9384
+ case "default":
9385
+ return { borderRadius: "12px", width: "44px", height: "24px" };
9386
+ case "ios":
9387
+ return {
9388
+ borderRadius: "16px",
9389
+ width: "51px",
9390
+ height: "31px",
9391
+ boxShadow: "inset 0 0 0 1px rgba(0,0,0,0.1)"
9392
+ };
9393
+ case "flat":
9394
+ return { borderRadius: "4px", width: "40px", height: "22px" };
9395
+ case "pill":
9396
+ return { borderRadius: "9999px", width: "48px", height: "24px" };
9397
+ case "square":
9398
+ return { borderRadius: "0", width: "40px", height: "22px" };
9399
+ default:
9400
+ return {};
9401
+ }
9402
+ }
9403
+ function fu(t) {
9404
+ switch (t) {
9405
+ case "dark":
9406
+ return {
9407
+ background: "#1f2937",
9408
+ color: "#f9fafb",
9409
+ borderRadius: "6px",
9410
+ padding: "6px 12px",
9411
+ boxShadow: "0 4px 12px rgba(0,0,0,0.3)"
9412
+ };
9413
+ case "light":
9414
+ return {
9415
+ background: "#fff",
9416
+ color: "#374151",
9417
+ borderRadius: "6px",
9418
+ padding: "6px 12px",
9419
+ boxShadow: "0 4px 12px rgba(0,0,0,0.1)",
9420
+ border: "1px solid #e5e7eb"
9421
+ };
9422
+ case "primary":
9423
+ return {
9424
+ background: "var(--color-primary,#6366f1)",
9425
+ color: "#fff",
9426
+ borderRadius: "6px",
9427
+ padding: "6px 12px"
9428
+ };
9429
+ case "glass":
9430
+ return {
9431
+ background: "rgba(255,255,255,0.15)",
9432
+ backdropFilter: "blur(12px)",
9433
+ color: "#fff",
9434
+ borderRadius: "8px",
9435
+ padding: "8px 14px"
9436
+ };
9437
+ case "bordered":
9438
+ return {
9439
+ background: "#fff",
9440
+ color: "#374151",
9441
+ borderRadius: "6px",
9442
+ padding: "6px 12px",
9443
+ border: "2px solid var(--color-primary,#6366f1)"
9444
+ };
9445
+ default:
9446
+ return {};
9447
+ }
9448
+ }
9449
+ function bu(t) {
9450
+ switch (t) {
9451
+ case "default":
9452
+ return { borderCollapse: "collapse" };
9453
+ case "striped":
9454
+ return { borderCollapse: "collapse" };
9455
+ case "bordered":
9456
+ return { border: "1px solid var(--ntd-border-color,#e5e7eb)", borderCollapse: "collapse" };
9457
+ case "compact":
9458
+ return { borderCollapse: "collapse", fontSize: "0.8125rem" };
9459
+ case "hoverable":
9460
+ return { borderCollapse: "collapse" };
9461
+ case "minimal":
9462
+ return {
9463
+ borderCollapse: "collapse",
9464
+ borderBottom: "1px solid var(--ntd-border-color,#e5e7eb)"
9465
+ };
9466
+ default:
9467
+ return {};
9468
+ }
9469
+ }
9470
+ const Wa = {
9471
+ radius: "md",
9472
+ shadow: "md",
9473
+ fill: "solid",
9474
+ buttonStyle: "flat",
9475
+ inputStyle: "bordered",
9476
+ cardStyle: "elevated",
9477
+ badgeStyle: "solid",
9478
+ tabStyle: "underline",
9479
+ toggleStyle: "default",
9480
+ tooltipStyle: "dark",
9481
+ modalStyle: "default",
9482
+ tableStyle: "default",
9483
+ menuStyle: "default",
9484
+ animation: "normal",
9485
+ density: "normal"
10538
9486
  }, yu = {
10539
- ok: "OK",
10540
- cancel: "Hủy",
10541
- save: "Lưu",
10542
- close: "Đóng",
10543
- yes: "",
10544
- no: "Không",
10545
- loading: "Đang tải…",
10546
- error: "Lỗi",
10547
- success: "Thành công",
10548
- search: "Tìm kiếm"
10549
- }, vu = {
10550
- ok: "OK",
10551
- cancel: "Batal",
10552
- save: "Simpan",
10553
- close: "Tutup",
10554
- yes: "Ya",
10555
- no: "Tidak",
10556
- loading: "Memuat…",
10557
- error: "Kesalahan",
10558
- success: "Berhasil",
10559
- search: "Cari"
10560
- }, _u = {
10561
- ok: "Sawa",
10562
- cancel: "Ghairi",
10563
- save: "Hifadhi",
10564
- close: "Funga",
10565
- yes: "Ndiyo",
10566
- no: "Hapana",
10567
- loading: "Inapakia…",
10568
- error: "Hitilafu",
10569
- success: "Imefanikiwa",
10570
- search: "Tafuta"
10571
- }, wu = {
10572
- ok: "OK",
10573
- cancel: "Kanselahin",
10574
- save: "I-save",
10575
- close: "Isara",
10576
- yes: "Oo",
10577
- no: "Hindi",
10578
- loading: "Naglo-load…",
10579
- error: "Error",
10580
- success: "Tagumpay",
10581
- search: "Maghanap"
10582
- }, xu = {
10583
- ok: "OK",
10584
- cancel: "Batal",
10585
- save: "Simpan",
10586
- close: "Tutup",
10587
- yes: "Ya",
10588
- no: "Tidak",
10589
- loading: "Memuat…",
10590
- error: "Ralat",
10591
- success: "Berjaya",
10592
- search: "Cari"
10593
- }, Fl = {
10594
- en: Km,
10595
- pl: Gm,
10596
- de: Ym,
10597
- fr: Xm,
10598
- es: Zm,
10599
- it: Qm,
10600
- pt: Jm,
10601
- nl: eu,
10602
- sv: tu,
10603
- no: nu,
10604
- da: iu,
10605
- fi: au,
10606
- cs: ru,
10607
- sk: ou,
10608
- hu: lu,
10609
- ro: cu,
10610
- bg: su,
10611
- uk: du,
10612
- ja: pu,
10613
- ko: mu,
10614
- zh: uu,
10615
- ar: hu,
10616
- hi: gu,
10617
- bn: fu,
10618
- th: bu,
10619
- vi: yu,
10620
- id: vu,
10621
- sw: _u,
10622
- fil: wu,
10623
- ms: xu
10624
- }, Nu = (t, n) => n, fs = kt(Nu), ku = ({
10625
- t,
10626
- lang: n = "en",
10627
- overrides: i,
10628
- children: r
10629
- }) => {
10630
- const o = xe(() => {
10631
- if (t)
10632
- return t;
10633
- const l = Fl[n] ?? Fl.en, c = i ? { ...l, ...i } : l;
10634
- return (s, p) => c[s] ?? p;
10635
- }, [t, n, i]);
10636
- return /* @__PURE__ */ e(fs.Provider, { value: o, children: r });
9487
+ minimal: {
9488
+ radius: "sm",
9489
+ shadow: "subtle",
9490
+ fill: "solid",
9491
+ buttonStyle: "flat",
9492
+ inputStyle: "underlined",
9493
+ cardStyle: "flat",
9494
+ badgeStyle: "soft",
9495
+ tabStyle: "underline",
9496
+ toggleStyle: "flat",
9497
+ tooltipStyle: "light",
9498
+ tableStyle: "minimal",
9499
+ animation: "subtle",
9500
+ density: "normal"
9501
+ },
9502
+ rounded: {
9503
+ radius: "xl",
9504
+ shadow: "md",
9505
+ fill: "solid",
9506
+ buttonStyle: "raised",
9507
+ inputStyle: "filled",
9508
+ cardStyle: "elevated",
9509
+ badgeStyle: "pill",
9510
+ tabStyle: "pills",
9511
+ toggleStyle: "pill",
9512
+ tooltipStyle: "dark",
9513
+ tableStyle: "default",
9514
+ animation: "normal",
9515
+ density: "comfortable"
9516
+ },
9517
+ sharp: {
9518
+ radius: "none",
9519
+ shadow: "lg",
9520
+ fill: "solid",
9521
+ buttonStyle: "flat",
9522
+ inputStyle: "bordered",
9523
+ cardStyle: "bordered",
9524
+ badgeStyle: "solid",
9525
+ tabStyle: "enclosed",
9526
+ toggleStyle: "square",
9527
+ tooltipStyle: "dark",
9528
+ tableStyle: "bordered",
9529
+ animation: "subtle",
9530
+ density: "compact"
9531
+ },
9532
+ glass: {
9533
+ radius: "lg",
9534
+ shadow: "none",
9535
+ fill: "glass",
9536
+ buttonStyle: "ghost",
9537
+ inputStyle: "soft",
9538
+ cardStyle: "glass",
9539
+ badgeStyle: "soft",
9540
+ tabStyle: "soft",
9541
+ toggleStyle: "ios",
9542
+ tooltipStyle: "glass",
9543
+ tableStyle: "minimal",
9544
+ animation: "normal",
9545
+ density: "normal"
9546
+ },
9547
+ neumorphic: {
9548
+ radius: "lg",
9549
+ shadow: "none",
9550
+ fill: "solid",
9551
+ buttonStyle: "neumorphic",
9552
+ inputStyle: "neumorphic",
9553
+ cardStyle: "neumorphic",
9554
+ badgeStyle: "soft",
9555
+ tabStyle: "lifted",
9556
+ toggleStyle: "ios",
9557
+ tooltipStyle: "light",
9558
+ tableStyle: "default",
9559
+ animation: "subtle",
9560
+ density: "comfortable"
9561
+ },
9562
+ playful: {
9563
+ radius: "2xl",
9564
+ shadow: "colored",
9565
+ fill: "gradient-linear",
9566
+ buttonStyle: "gradient",
9567
+ inputStyle: "filled",
9568
+ cardStyle: "gradient",
9569
+ badgeStyle: "gradient",
9570
+ tabStyle: "pills",
9571
+ toggleStyle: "pill",
9572
+ tooltipStyle: "primary",
9573
+ tableStyle: "hoverable",
9574
+ animation: "playful",
9575
+ density: "comfortable"
9576
+ },
9577
+ enterprise: {
9578
+ radius: "sm",
9579
+ shadow: "subtle",
9580
+ fill: "solid",
9581
+ buttonStyle: "outlined",
9582
+ inputStyle: "bordered",
9583
+ cardStyle: "bordered",
9584
+ badgeStyle: "outlined",
9585
+ tabStyle: "enclosed",
9586
+ toggleStyle: "default",
9587
+ tooltipStyle: "dark",
9588
+ tableStyle: "striped",
9589
+ animation: "subtle",
9590
+ density: "compact"
9591
+ },
9592
+ modern3d: {
9593
+ radius: "lg",
9594
+ shadow: "xl",
9595
+ fill: "gradient-linear",
9596
+ buttonStyle: "3d",
9597
+ inputStyle: "filled",
9598
+ cardStyle: "elevated",
9599
+ badgeStyle: "gradient",
9600
+ tabStyle: "lifted",
9601
+ toggleStyle: "ios",
9602
+ tooltipStyle: "dark",
9603
+ tableStyle: "default",
9604
+ animation: "normal",
9605
+ density: "normal"
9606
+ },
9607
+ brutalist: {
9608
+ radius: "none",
9609
+ shadow: "none",
9610
+ fill: "solid",
9611
+ buttonStyle: "brutal",
9612
+ inputStyle: "bordered",
9613
+ cardStyle: "outlined",
9614
+ badgeStyle: "solid",
9615
+ tabStyle: "bordered",
9616
+ toggleStyle: "square",
9617
+ tooltipStyle: "bordered",
9618
+ tableStyle: "bordered",
9619
+ animation: "none",
9620
+ density: "normal"
9621
+ },
9622
+ luxe: {
9623
+ radius: "sm",
9624
+ shadow: "lg",
9625
+ fill: "gradient-linear",
9626
+ buttonStyle: "gradient",
9627
+ inputStyle: "floating",
9628
+ cardStyle: "elevated",
9629
+ badgeStyle: "gradient",
9630
+ tabStyle: "underline",
9631
+ toggleStyle: "ios",
9632
+ tooltipStyle: "dark",
9633
+ tableStyle: "hoverable",
9634
+ animation: "normal",
9635
+ density: "comfortable"
9636
+ },
9637
+ pill: {
9638
+ radius: "full",
9639
+ shadow: "md",
9640
+ fill: "solid",
9641
+ buttonStyle: "pill",
9642
+ inputStyle: "pill",
9643
+ cardStyle: "elevated",
9644
+ badgeStyle: "pill",
9645
+ tabStyle: "pills",
9646
+ toggleStyle: "pill",
9647
+ tooltipStyle: "dark",
9648
+ tableStyle: "default",
9649
+ animation: "normal",
9650
+ density: "normal"
9651
+ },
9652
+ flat: {
9653
+ radius: "md",
9654
+ shadow: "none",
9655
+ fill: "solid",
9656
+ buttonStyle: "flat",
9657
+ inputStyle: "filled",
9658
+ cardStyle: "flat",
9659
+ badgeStyle: "soft",
9660
+ tabStyle: "soft",
9661
+ toggleStyle: "flat",
9662
+ tooltipStyle: "light",
9663
+ tableStyle: "minimal",
9664
+ animation: "subtle",
9665
+ density: "normal"
9666
+ },
9667
+ editorial: {
9668
+ radius: "none",
9669
+ shadow: "subtle",
9670
+ fill: "solid",
9671
+ buttonStyle: "ghost",
9672
+ inputStyle: "underlined",
9673
+ cardStyle: "paper",
9674
+ badgeStyle: "outlined",
9675
+ tabStyle: "underline",
9676
+ toggleStyle: "flat",
9677
+ tooltipStyle: "light",
9678
+ tableStyle: "minimal",
9679
+ animation: "subtle",
9680
+ density: "comfortable"
9681
+ },
9682
+ dashboard: {
9683
+ radius: "md",
9684
+ shadow: "md",
9685
+ fill: "solid",
9686
+ buttonStyle: "flat",
9687
+ inputStyle: "bordered",
9688
+ cardStyle: "elevated",
9689
+ badgeStyle: "solid",
9690
+ tabStyle: "enclosed",
9691
+ toggleStyle: "default",
9692
+ tooltipStyle: "dark",
9693
+ tableStyle: "striped",
9694
+ animation: "subtle",
9695
+ density: "compact"
9696
+ },
9697
+ softCloud: {
9698
+ radius: "xl",
9699
+ shadow: "subtle",
9700
+ fill: "frosted",
9701
+ buttonStyle: "soft",
9702
+ inputStyle: "soft",
9703
+ cardStyle: "glass",
9704
+ badgeStyle: "soft",
9705
+ tabStyle: "soft",
9706
+ toggleStyle: "ios",
9707
+ tooltipStyle: "glass",
9708
+ tableStyle: "hoverable",
9709
+ animation: "normal",
9710
+ density: "comfortable"
9711
+ },
9712
+ cosmic: {
9713
+ radius: "lg",
9714
+ shadow: "glow",
9715
+ fill: "mesh",
9716
+ buttonStyle: "gradient",
9717
+ inputStyle: "soft",
9718
+ cardStyle: "glass",
9719
+ badgeStyle: "gradient",
9720
+ tabStyle: "pills",
9721
+ toggleStyle: "ios",
9722
+ tooltipStyle: "glass",
9723
+ tableStyle: "hoverable",
9724
+ animation: "dramatic",
9725
+ density: "comfortable"
9726
+ },
9727
+ // ── Additional presets — serious to playful ──────────────
9728
+ /** Corporate: safe, grey, no flair */
9729
+ corporate: {
9730
+ radius: "sm",
9731
+ shadow: "subtle",
9732
+ fill: "solid",
9733
+ buttonStyle: "outlined",
9734
+ inputStyle: "bordered",
9735
+ cardStyle: "bordered",
9736
+ badgeStyle: "outlined",
9737
+ tabStyle: "enclosed",
9738
+ toggleStyle: "default",
9739
+ tooltipStyle: "dark",
9740
+ tableStyle: "striped",
9741
+ animation: "none",
9742
+ density: "compact"
9743
+ },
9744
+ /** Bank: ultra-conservative, heavy borders, no fun */
9745
+ bank: {
9746
+ radius: "none",
9747
+ shadow: "subtle",
9748
+ fill: "solid",
9749
+ buttonStyle: "outlined",
9750
+ inputStyle: "bordered",
9751
+ cardStyle: "bordered",
9752
+ badgeStyle: "solid",
9753
+ tabStyle: "bordered",
9754
+ toggleStyle: "square",
9755
+ tooltipStyle: "dark",
9756
+ tableStyle: "bordered",
9757
+ animation: "none",
9758
+ density: "compact"
9759
+ },
9760
+ /** Government: minimal, accessible, high contrast */
9761
+ government: {
9762
+ radius: "sm",
9763
+ shadow: "none",
9764
+ fill: "solid",
9765
+ buttonStyle: "flat",
9766
+ inputStyle: "bordered",
9767
+ cardStyle: "flat",
9768
+ badgeStyle: "solid",
9769
+ tabStyle: "enclosed",
9770
+ toggleStyle: "default",
9771
+ tooltipStyle: "dark",
9772
+ tableStyle: "striped",
9773
+ animation: "none",
9774
+ density: "normal"
9775
+ },
9776
+ /** Military: dark, angular, no-nonsense */
9777
+ military: {
9778
+ radius: "none",
9779
+ shadow: "lg",
9780
+ fill: "solid",
9781
+ buttonStyle: "raised",
9782
+ inputStyle: "bordered",
9783
+ cardStyle: "bordered",
9784
+ badgeStyle: "solid",
9785
+ tabStyle: "bordered",
9786
+ toggleStyle: "square",
9787
+ tooltipStyle: "dark",
9788
+ tableStyle: "bordered",
9789
+ animation: "none",
9790
+ density: "compact"
9791
+ },
9792
+ /** Legal: typographic, clean, paper-like */
9793
+ legal: {
9794
+ radius: "none",
9795
+ shadow: "none",
9796
+ fill: "solid",
9797
+ buttonStyle: "ghost",
9798
+ inputStyle: "underlined",
9799
+ cardStyle: "paper",
9800
+ badgeStyle: "outlined",
9801
+ tabStyle: "underline",
9802
+ toggleStyle: "flat",
9803
+ tooltipStyle: "light",
9804
+ tableStyle: "minimal",
9805
+ animation: "none",
9806
+ density: "comfortable"
9807
+ },
9808
+ /** Medical: clean, blue-toned, professional */
9809
+ medical: {
9810
+ radius: "md",
9811
+ shadow: "subtle",
9812
+ fill: "solid",
9813
+ buttonStyle: "soft",
9814
+ inputStyle: "bordered",
9815
+ cardStyle: "elevated",
9816
+ badgeStyle: "soft",
9817
+ tabStyle: "enclosed",
9818
+ toggleStyle: "ios",
9819
+ tooltipStyle: "light",
9820
+ tableStyle: "striped",
9821
+ animation: "subtle",
9822
+ density: "normal"
9823
+ },
9824
+ /** Swiss: grid-based, clean typography, precision */
9825
+ swiss: {
9826
+ radius: "none",
9827
+ shadow: "none",
9828
+ fill: "solid",
9829
+ buttonStyle: "flat",
9830
+ inputStyle: "underlined",
9831
+ cardStyle: "flat",
9832
+ badgeStyle: "outlined",
9833
+ tabStyle: "underline",
9834
+ toggleStyle: "flat",
9835
+ tooltipStyle: "light",
9836
+ tableStyle: "minimal",
9837
+ animation: "subtle",
9838
+ density: "normal"
9839
+ },
9840
+ /** Scandinavian: soft, warm, spacious, hygge */
9841
+ scandinavian: {
9842
+ radius: "lg",
9843
+ shadow: "subtle",
9844
+ fill: "solid",
9845
+ buttonStyle: "soft",
9846
+ inputStyle: "filled",
9847
+ cardStyle: "flat",
9848
+ badgeStyle: "soft",
9849
+ tabStyle: "soft",
9850
+ toggleStyle: "ios",
9851
+ tooltipStyle: "light",
9852
+ tableStyle: "minimal",
9853
+ animation: "subtle",
9854
+ density: "spacious"
9855
+ },
9856
+ /** Bauhaus: geometric, primary colors, strong lines */
9857
+ bauhaus: {
9858
+ radius: "none",
9859
+ shadow: "none",
9860
+ fill: "solid",
9861
+ buttonStyle: "flat",
9862
+ inputStyle: "bordered",
9863
+ cardStyle: "outlined",
9864
+ badgeStyle: "solid",
9865
+ tabStyle: "bordered",
9866
+ toggleStyle: "square",
9867
+ tooltipStyle: "bordered",
9868
+ tableStyle: "bordered",
9869
+ animation: "none",
9870
+ density: "normal"
9871
+ },
9872
+ /** Notebook: handwritten feel, paper textures, soft */
9873
+ notebook: {
9874
+ radius: "md",
9875
+ shadow: "subtle",
9876
+ fill: "solid",
9877
+ buttonStyle: "ghost",
9878
+ inputStyle: "underlined",
9879
+ cardStyle: "paper",
9880
+ badgeStyle: "soft",
9881
+ tabStyle: "underline",
9882
+ toggleStyle: "flat",
9883
+ tooltipStyle: "light",
9884
+ tableStyle: "minimal",
9885
+ animation: "subtle",
9886
+ density: "comfortable"
9887
+ },
9888
+ /** Terminal: monospace, dark, retro-computing */
9889
+ terminal: {
9890
+ radius: "none",
9891
+ shadow: "glow",
9892
+ fill: "solid",
9893
+ buttonStyle: "outlined",
9894
+ inputStyle: "bordered",
9895
+ cardStyle: "bordered",
9896
+ badgeStyle: "solid",
9897
+ tabStyle: "bordered",
9898
+ toggleStyle: "square",
9899
+ tooltipStyle: "bordered",
9900
+ tableStyle: "bordered",
9901
+ animation: "none",
9902
+ density: "compact"
9903
+ },
9904
+ /** Hacker: neon green on black, matrix style */
9905
+ hacker: {
9906
+ radius: "none",
9907
+ shadow: "glow",
9908
+ fill: "solid",
9909
+ buttonStyle: "outlined",
9910
+ inputStyle: "bordered",
9911
+ cardStyle: "outlined",
9912
+ badgeStyle: "outlined",
9913
+ tabStyle: "bordered",
9914
+ toggleStyle: "square",
9915
+ tooltipStyle: "bordered",
9916
+ tableStyle: "bordered",
9917
+ animation: "subtle",
9918
+ density: "compact"
9919
+ },
9920
+ /** Retro8bit: pixel art inspired, chunky, fun */
9921
+ retro8bit: {
9922
+ radius: "none",
9923
+ shadow: "none",
9924
+ fill: "solid",
9925
+ buttonStyle: "brutal",
9926
+ inputStyle: "bordered",
9927
+ cardStyle: "outlined",
9928
+ badgeStyle: "solid",
9929
+ tabStyle: "bordered",
9930
+ toggleStyle: "square",
9931
+ tooltipStyle: "bordered",
9932
+ tableStyle: "bordered",
9933
+ animation: "none",
9934
+ density: "normal"
9935
+ },
9936
+ /** Vapor: vaporwave 80s aesthetics, gradients, neon */
9937
+ vapor: {
9938
+ radius: "lg",
9939
+ shadow: "glow",
9940
+ fill: "gradient-linear",
9941
+ buttonStyle: "gradient",
9942
+ inputStyle: "soft",
9943
+ cardStyle: "glass",
9944
+ badgeStyle: "gradient",
9945
+ tabStyle: "pills",
9946
+ toggleStyle: "pill",
9947
+ tooltipStyle: "glass",
9948
+ tableStyle: "hoverable",
9949
+ animation: "playful",
9950
+ density: "comfortable"
9951
+ },
9952
+ /** Synthwave: 80s synth, neon grids, chrome */
9953
+ synthwave: {
9954
+ radius: "md",
9955
+ shadow: "glow",
9956
+ fill: "gradient-linear",
9957
+ buttonStyle: "3d",
9958
+ inputStyle: "filled",
9959
+ cardStyle: "glass",
9960
+ badgeStyle: "gradient",
9961
+ tabStyle: "lifted",
9962
+ toggleStyle: "ios",
9963
+ tooltipStyle: "glass",
9964
+ tableStyle: "hoverable",
9965
+ animation: "dramatic",
9966
+ density: "normal"
9967
+ },
9968
+ /** Cyberpunk: angular, neon, glitch aesthetics */
9969
+ cyberpunk: {
9970
+ radius: "none",
9971
+ shadow: "glow",
9972
+ fill: "gradient-linear",
9973
+ buttonStyle: "brutal",
9974
+ inputStyle: "bordered",
9975
+ cardStyle: "bordered",
9976
+ badgeStyle: "solid",
9977
+ tabStyle: "bordered",
9978
+ toggleStyle: "square",
9979
+ tooltipStyle: "bordered",
9980
+ tableStyle: "bordered",
9981
+ animation: "dramatic",
9982
+ density: "compact"
9983
+ },
9984
+ /** Steampunk: brass, gears, Victorian tech */
9985
+ steampunk: {
9986
+ radius: "sm",
9987
+ shadow: "inner",
9988
+ fill: "solid",
9989
+ buttonStyle: "raised",
9990
+ inputStyle: "bordered",
9991
+ cardStyle: "bordered",
9992
+ badgeStyle: "solid",
9993
+ tabStyle: "enclosed",
9994
+ toggleStyle: "default",
9995
+ tooltipStyle: "bordered",
9996
+ tableStyle: "bordered",
9997
+ animation: "subtle",
9998
+ density: "normal"
9999
+ },
10000
+ /** Origami: folded paper, subtle shadows, layered */
10001
+ origami: {
10002
+ radius: "none",
10003
+ shadow: "md",
10004
+ fill: "solid",
10005
+ buttonStyle: "raised",
10006
+ inputStyle: "filled",
10007
+ cardStyle: "elevated",
10008
+ badgeStyle: "soft",
10009
+ tabStyle: "lifted",
10010
+ toggleStyle: "flat",
10011
+ tooltipStyle: "light",
10012
+ tableStyle: "default",
10013
+ animation: "normal",
10014
+ density: "normal"
10015
+ },
10016
+ /** Watercolor: soft edges, bleed, artistic */
10017
+ watercolor: {
10018
+ radius: "2xl",
10019
+ shadow: "subtle",
10020
+ fill: "frosted",
10021
+ buttonStyle: "soft",
10022
+ inputStyle: "soft",
10023
+ cardStyle: "glass",
10024
+ badgeStyle: "soft",
10025
+ tabStyle: "soft",
10026
+ toggleStyle: "pill",
10027
+ tooltipStyle: "glass",
10028
+ tableStyle: "minimal",
10029
+ animation: "normal",
10030
+ density: "comfortable"
10031
+ },
10032
+ /** Neon: bright glowing outlines on dark */
10033
+ neon: {
10034
+ radius: "md",
10035
+ shadow: "glow",
10036
+ fill: "solid",
10037
+ buttonStyle: "outlined",
10038
+ inputStyle: "bordered",
10039
+ cardStyle: "outlined",
10040
+ badgeStyle: "outlined",
10041
+ tabStyle: "bordered",
10042
+ toggleStyle: "default",
10043
+ tooltipStyle: "bordered",
10044
+ tableStyle: "bordered",
10045
+ animation: "dramatic",
10046
+ density: "normal"
10047
+ },
10048
+ /** Candy: sweet, pastel, rounded, fun */
10049
+ candy: {
10050
+ radius: "2xl",
10051
+ shadow: "colored",
10052
+ fill: "gradient-linear",
10053
+ buttonStyle: "pill",
10054
+ inputStyle: "pill",
10055
+ cardStyle: "elevated",
10056
+ badgeStyle: "pill",
10057
+ tabStyle: "pills",
10058
+ toggleStyle: "pill",
10059
+ tooltipStyle: "primary",
10060
+ tableStyle: "hoverable",
10061
+ animation: "playful",
10062
+ density: "comfortable"
10063
+ },
10064
+ /** Bubblegum: pink, puffy, extremely round */
10065
+ bubblegum: {
10066
+ radius: "full",
10067
+ shadow: "colored",
10068
+ fill: "gradient-radial",
10069
+ buttonStyle: "pill",
10070
+ inputStyle: "pill",
10071
+ cardStyle: "elevated",
10072
+ badgeStyle: "pill",
10073
+ tabStyle: "pills",
10074
+ toggleStyle: "pill",
10075
+ tooltipStyle: "primary",
10076
+ tableStyle: "hoverable",
10077
+ animation: "playful",
10078
+ density: "spacious"
10079
+ },
10080
+ /** Cartoon: thick outlines, bold colors, exaggerated */
10081
+ cartoon: {
10082
+ radius: "xl",
10083
+ shadow: "colored",
10084
+ fill: "solid",
10085
+ buttonStyle: "brutal",
10086
+ inputStyle: "bordered",
10087
+ cardStyle: "outlined",
10088
+ badgeStyle: "solid",
10089
+ tabStyle: "enclosed",
10090
+ toggleStyle: "pill",
10091
+ tooltipStyle: "bordered",
10092
+ tableStyle: "bordered",
10093
+ animation: "playful",
10094
+ density: "comfortable"
10095
+ },
10096
+ /** Kawaii: cute, pastel, round, sparkly */
10097
+ kawaii: {
10098
+ radius: "full",
10099
+ shadow: "colored",
10100
+ fill: "gradient-linear",
10101
+ buttonStyle: "pill",
10102
+ inputStyle: "pill",
10103
+ cardStyle: "gradient",
10104
+ badgeStyle: "pill",
10105
+ tabStyle: "pills",
10106
+ toggleStyle: "pill",
10107
+ tooltipStyle: "primary",
10108
+ tableStyle: "hoverable",
10109
+ animation: "dramatic",
10110
+ density: "spacious"
10111
+ },
10112
+ /** Circus: bold, striped, loud, attention-grabbing */
10113
+ circus: {
10114
+ radius: "full",
10115
+ shadow: "colored",
10116
+ fill: "gradient-conic",
10117
+ buttonStyle: "gradient",
10118
+ inputStyle: "filled",
10119
+ cardStyle: "gradient",
10120
+ badgeStyle: "gradient",
10121
+ tabStyle: "pills",
10122
+ toggleStyle: "pill",
10123
+ tooltipStyle: "primary",
10124
+ tableStyle: "striped",
10125
+ animation: "dramatic",
10126
+ density: "spacious"
10127
+ },
10128
+ /** Paper: minimal white, subtle shadows, like paper on desk */
10129
+ paper: {
10130
+ radius: "sm",
10131
+ shadow: "md",
10132
+ fill: "solid",
10133
+ buttonStyle: "ghost",
10134
+ inputStyle: "underlined",
10135
+ cardStyle: "paper",
10136
+ badgeStyle: "soft",
10137
+ tabStyle: "underline",
10138
+ toggleStyle: "flat",
10139
+ tooltipStyle: "light",
10140
+ tableStyle: "minimal",
10141
+ animation: "subtle",
10142
+ density: "comfortable"
10143
+ },
10144
+ /** Zen: ultra-minimal, lots of whitespace, calm */
10145
+ zen: {
10146
+ radius: "md",
10147
+ shadow: "none",
10148
+ fill: "solid",
10149
+ buttonStyle: "ghost",
10150
+ inputStyle: "underlined",
10151
+ cardStyle: "flat",
10152
+ badgeStyle: "soft",
10153
+ tabStyle: "underline",
10154
+ toggleStyle: "flat",
10155
+ tooltipStyle: "light",
10156
+ tableStyle: "minimal",
10157
+ animation: "subtle",
10158
+ density: "spacious"
10159
+ },
10160
+ /** Monochrome: black & white only, pure typography */
10161
+ monochrome: {
10162
+ radius: "none",
10163
+ shadow: "none",
10164
+ fill: "solid",
10165
+ buttonStyle: "outlined",
10166
+ inputStyle: "bordered",
10167
+ cardStyle: "outlined",
10168
+ badgeStyle: "outlined",
10169
+ tabStyle: "bordered",
10170
+ toggleStyle: "square",
10171
+ tooltipStyle: "bordered",
10172
+ tableStyle: "bordered",
10173
+ animation: "none",
10174
+ density: "normal"
10175
+ },
10176
+ /** Windows95: chunky, beveled 3D, classic OS */
10177
+ windows95: {
10178
+ radius: "none",
10179
+ shadow: "none",
10180
+ fill: "solid",
10181
+ buttonStyle: "raised",
10182
+ inputStyle: "bordered",
10183
+ cardStyle: "bordered",
10184
+ badgeStyle: "solid",
10185
+ tabStyle: "enclosed",
10186
+ toggleStyle: "square",
10187
+ tooltipStyle: "bordered",
10188
+ tableStyle: "bordered",
10189
+ animation: "none",
10190
+ density: "compact"
10191
+ },
10192
+ /** Material: Google Material Design inspired */
10193
+ material: {
10194
+ radius: "md",
10195
+ shadow: "md",
10196
+ fill: "solid",
10197
+ buttonStyle: "raised",
10198
+ inputStyle: "filled",
10199
+ cardStyle: "elevated",
10200
+ badgeStyle: "solid",
10201
+ tabStyle: "underline",
10202
+ toggleStyle: "default",
10203
+ tooltipStyle: "dark",
10204
+ tableStyle: "default",
10205
+ animation: "normal",
10206
+ density: "normal"
10207
+ },
10208
+ /** Fluent: Microsoft Fluent Design — acrylic, reveal, depth */
10209
+ fluent: {
10210
+ radius: "md",
10211
+ shadow: "subtle",
10212
+ fill: "frosted",
10213
+ buttonStyle: "soft",
10214
+ inputStyle: "filled",
10215
+ cardStyle: "glass",
10216
+ badgeStyle: "soft",
10217
+ tabStyle: "soft",
10218
+ toggleStyle: "ios",
10219
+ tooltipStyle: "glass",
10220
+ tableStyle: "hoverable",
10221
+ animation: "subtle",
10222
+ density: "normal"
10223
+ },
10224
+ /** Cupertino: Apple iOS/macOS style */
10225
+ cupertino: {
10226
+ radius: "xl",
10227
+ shadow: "md",
10228
+ fill: "frosted",
10229
+ buttonStyle: "soft",
10230
+ inputStyle: "filled",
10231
+ cardStyle: "glass",
10232
+ badgeStyle: "pill",
10233
+ tabStyle: "pills",
10234
+ toggleStyle: "ios",
10235
+ tooltipStyle: "glass",
10236
+ tableStyle: "minimal",
10237
+ animation: "normal",
10238
+ density: "comfortable"
10239
+ },
10240
+ /** Ant: Ant Design inspired — clean, professional */
10241
+ ant: {
10242
+ radius: "md",
10243
+ shadow: "subtle",
10244
+ fill: "solid",
10245
+ buttonStyle: "raised",
10246
+ inputStyle: "bordered",
10247
+ cardStyle: "elevated",
10248
+ badgeStyle: "solid",
10249
+ tabStyle: "underline",
10250
+ toggleStyle: "default",
10251
+ tooltipStyle: "dark",
10252
+ tableStyle: "default",
10253
+ animation: "subtle",
10254
+ density: "normal"
10255
+ },
10256
+ /** Bootstrap: Bootstrap-like rounded, standard */
10257
+ bootstrap: {
10258
+ radius: "md",
10259
+ shadow: "subtle",
10260
+ fill: "solid",
10261
+ buttonStyle: "raised",
10262
+ inputStyle: "bordered",
10263
+ cardStyle: "elevated",
10264
+ badgeStyle: "pill",
10265
+ tabStyle: "underline",
10266
+ toggleStyle: "default",
10267
+ tooltipStyle: "dark",
10268
+ tableStyle: "striped",
10269
+ animation: "subtle",
10270
+ density: "normal"
10271
+ },
10272
+ /** Chakra: Chakra UI inspired — accessible, clean */
10273
+ chakra: {
10274
+ radius: "md",
10275
+ shadow: "md",
10276
+ fill: "solid",
10277
+ buttonStyle: "raised",
10278
+ inputStyle: "bordered",
10279
+ cardStyle: "elevated",
10280
+ badgeStyle: "soft",
10281
+ tabStyle: "enclosed",
10282
+ toggleStyle: "default",
10283
+ tooltipStyle: "dark",
10284
+ tableStyle: "default",
10285
+ animation: "normal",
10286
+ density: "normal"
10287
+ },
10288
+ /** Notion: Notion-like clean, text-focused, minimal UI */
10289
+ notion: {
10290
+ radius: "sm",
10291
+ shadow: "none",
10292
+ fill: "solid",
10293
+ buttonStyle: "ghost",
10294
+ inputStyle: "flush",
10295
+ cardStyle: "flat",
10296
+ badgeStyle: "soft",
10297
+ tabStyle: "underline",
10298
+ toggleStyle: "flat",
10299
+ tooltipStyle: "light",
10300
+ tableStyle: "minimal",
10301
+ animation: "subtle",
10302
+ density: "normal"
10303
+ },
10304
+ /** Linear: Linear app inspired — sleek, dark, polished */
10305
+ linear: {
10306
+ radius: "md",
10307
+ shadow: "subtle",
10308
+ fill: "solid",
10309
+ buttonStyle: "soft",
10310
+ inputStyle: "filled",
10311
+ cardStyle: "elevated",
10312
+ badgeStyle: "soft",
10313
+ tabStyle: "soft",
10314
+ toggleStyle: "ios",
10315
+ tooltipStyle: "dark",
10316
+ tableStyle: "hoverable",
10317
+ animation: "subtle",
10318
+ density: "compact"
10319
+ },
10320
+ /** Vercel: Vercel/Next.js — black/white, sharp, modern */
10321
+ vercel: {
10322
+ radius: "md",
10323
+ shadow: "subtle",
10324
+ fill: "solid",
10325
+ buttonStyle: "outlined",
10326
+ inputStyle: "bordered",
10327
+ cardStyle: "bordered",
10328
+ badgeStyle: "outlined",
10329
+ tabStyle: "underline",
10330
+ toggleStyle: "default",
10331
+ tooltipStyle: "dark",
10332
+ tableStyle: "minimal",
10333
+ animation: "subtle",
10334
+ density: "normal"
10335
+ },
10336
+ /** Gaming: dark, neon accents, angular, aggressive */
10337
+ gaming: {
10338
+ radius: "none",
10339
+ shadow: "glow",
10340
+ fill: "gradient-linear",
10341
+ buttonStyle: "3d",
10342
+ inputStyle: "bordered",
10343
+ cardStyle: "bordered",
10344
+ badgeStyle: "gradient",
10345
+ tabStyle: "bordered",
10346
+ toggleStyle: "square",
10347
+ tooltipStyle: "bordered",
10348
+ tableStyle: "bordered",
10349
+ animation: "dramatic",
10350
+ density: "normal"
10351
+ },
10352
+ /** Kiddo: colorful, big, puffy, child-friendly */
10353
+ kiddo: {
10354
+ radius: "2xl",
10355
+ shadow: "colored",
10356
+ fill: "gradient-radial",
10357
+ buttonStyle: "pill",
10358
+ inputStyle: "pill",
10359
+ cardStyle: "gradient",
10360
+ badgeStyle: "pill",
10361
+ tabStyle: "pills",
10362
+ toggleStyle: "pill",
10363
+ tooltipStyle: "primary",
10364
+ tableStyle: "hoverable",
10365
+ animation: "playful",
10366
+ density: "spacious"
10367
+ },
10368
+ /** Disco: flashing, colorful, animated, party time */
10369
+ disco: {
10370
+ radius: "full",
10371
+ shadow: "glow",
10372
+ fill: "gradient-conic",
10373
+ buttonStyle: "gradient",
10374
+ inputStyle: "filled",
10375
+ cardStyle: "gradient",
10376
+ badgeStyle: "gradient",
10377
+ tabStyle: "pills",
10378
+ toggleStyle: "pill",
10379
+ tooltipStyle: "glass",
10380
+ tableStyle: "hoverable",
10381
+ animation: "dramatic",
10382
+ density: "comfortable"
10383
+ },
10384
+ /** Clown: maximum chaos, the least serious possible */
10385
+ clown: {
10386
+ radius: "full",
10387
+ shadow: "colored",
10388
+ fill: "gradient-conic",
10389
+ buttonStyle: "brutal",
10390
+ inputStyle: "pill",
10391
+ cardStyle: "gradient",
10392
+ badgeStyle: "gradient",
10393
+ tabStyle: "pills",
10394
+ toggleStyle: "pill",
10395
+ tooltipStyle: "primary",
10396
+ tableStyle: "striped",
10397
+ animation: "dramatic",
10398
+ density: "spacious"
10399
+ }
10637
10400
  };
10638
- function Ve() {
10639
- return { t: An(fs) };
10401
+ function vu(t, n = ":root") {
10402
+ const i = ru[t.radius], r = t.shadow, o = cu[t.density], l = su[t.animation], c = [`${n} {`];
10403
+ for (const [s, p] of Object.entries(i))
10404
+ c.push(` --ntd-radius-${s}: ${p};`);
10405
+ c.push(` --ntd-shadow: ${ou[r]};`), c.push(` --ntd-shadow-dark: ${lu[r]};`);
10406
+ for (const [s, p] of Object.entries(o)) {
10407
+ const d = s.replace(/([A-Z])/g, "-$1").toLowerCase();
10408
+ c.push(` --ntd-${d}: ${p};`);
10409
+ }
10410
+ for (const [s, p] of Object.entries(l)) {
10411
+ const d = s.replace(/([A-Z])/g, "-$1").toLowerCase();
10412
+ c.push(` --ntd-animation-${d}: ${p};`);
10413
+ }
10414
+ return t.backgroundImage && c.push(` --ntd-bg-image: url('${t.backgroundImage}');`), t.backgroundOverlay && c.push(` --ntd-bg-overlay: ${t.backgroundOverlay};`), c.push("}"), c.join(`
10415
+ `);
10640
10416
  }
10641
- kt({
10642
- dir: "ltr",
10643
- isRTL: !1,
10644
- flip: (t) => t,
10645
- value: (t) => t.ltr
10417
+ function _u(t, n = document.documentElement, i) {
10418
+ const r = i ? `[data-ntd-provider="${i}"]` : ":root", o = i ? `ntd-variant-styles-${i}` : "ntd-variant-styles", l = vu(t, r);
10419
+ let c = document.getElementById(o);
10420
+ c || (c = document.createElement("style"), c.id = o, document.head.appendChild(c)), c.textContent = l, i && n.setAttribute("data-ntd-provider", i), n.dataset.ntdRadius = t.radius, n.dataset.ntdShadow = t.shadow, n.dataset.ntdFill = t.fill, n.dataset.ntdButton = t.buttonStyle, n.dataset.ntdInput = t.inputStyle, n.dataset.ntdCard = t.cardStyle, n.dataset.ntdAnimation = t.animation, n.dataset.ntdDensity = t.density, t.badgeStyle && (n.dataset.ntdBadge = t.badgeStyle), t.tabStyle && (n.dataset.ntdTab = t.tabStyle), t.toggleStyle && (n.dataset.ntdToggle = t.toggleStyle), t.tooltipStyle && (n.dataset.ntdTooltip = t.tooltipStyle), t.modalStyle && (n.dataset.ntdModal = t.modalStyle), t.tableStyle && (n.dataset.ntdTable = t.tableStyle), t.menuStyle && (n.dataset.ntdMenu = t.menuStyle);
10421
+ }
10422
+ function wu(t, n) {
10423
+ const i = document.getElementById(`ntd-variant-styles-${t}`);
10424
+ i && i.remove(), n && n.removeAttribute("data-ntd-provider");
10425
+ }
10426
+ function Wr(t, n) {
10427
+ if (t.startsWith("#")) {
10428
+ const i = t.slice(1), r = parseInt(i, 16), o = Math.max(0, Math.min(255, (r >> 16 & 255) + n)), l = Math.max(0, Math.min(255, (r >> 8 & 255) + n)), c = Math.max(0, Math.min(255, (r & 255) + n));
10429
+ return `#${(o << 16 | l << 8 | c).toString(16).padStart(6, "0")}`;
10430
+ }
10431
+ return t;
10432
+ }
10433
+ const xu = [
10434
+ // Core
10435
+ "default",
10436
+ "minimal",
10437
+ "rounded",
10438
+ "sharp",
10439
+ "glass",
10440
+ "neumorphic",
10441
+ "playful",
10442
+ "enterprise",
10443
+ "modern3d",
10444
+ "brutalist",
10445
+ "luxe",
10446
+ "pill",
10447
+ "flat",
10448
+ "editorial",
10449
+ "dashboard",
10450
+ "softCloud",
10451
+ "cosmic",
10452
+ // Professional
10453
+ "corporate",
10454
+ "bank",
10455
+ "government",
10456
+ "military",
10457
+ "legal",
10458
+ "medical",
10459
+ "swiss",
10460
+ "scandinavian",
10461
+ // Artistic
10462
+ "bauhaus",
10463
+ "notebook",
10464
+ "origami",
10465
+ "watercolor",
10466
+ "monochrome",
10467
+ "paper",
10468
+ "zen",
10469
+ // Tech / Retro
10470
+ "terminal",
10471
+ "hacker",
10472
+ "retro8bit",
10473
+ "synthwave",
10474
+ "cyberpunk",
10475
+ "steampunk",
10476
+ "vapor",
10477
+ "neon",
10478
+ "windows95",
10479
+ // Design Systems
10480
+ "material",
10481
+ "fluent",
10482
+ "cupertino",
10483
+ "ant",
10484
+ "bootstrap",
10485
+ "chakra",
10486
+ "notion",
10487
+ "linear",
10488
+ "vercel",
10489
+ // Fun
10490
+ "candy",
10491
+ "bubblegum",
10492
+ "cartoon",
10493
+ "kawaii",
10494
+ "circus",
10495
+ "gaming",
10496
+ "kiddo",
10497
+ "disco",
10498
+ "clown"
10499
+ ];
10500
+ function ja(t) {
10501
+ return t === "default" ? Wa : yu[t] ?? Wa;
10502
+ }
10503
+ const gs = kt({
10504
+ displayStyle: "default",
10505
+ variantConfig: Wa,
10506
+ setDisplayStyle: () => {
10507
+ }
10646
10508
  });
10647
- kt(null);
10648
- kt(null);
10509
+ function fs(t) {
10510
+ const n = An(gs), i = t ?? n.displayStyle ?? "default", r = ja(i);
10511
+ return { style: i, config: r };
10512
+ }
10513
+ function Zt(t, n, i = "var(--color-primary, #6366f1)") {
10514
+ const { config: r } = fs(n);
10515
+ return Nu(t, r, i);
10516
+ }
10517
+ function Lt(t, n) {
10518
+ const { config: i } = fs(n);
10519
+ switch (t) {
10520
+ case "button":
10521
+ return i.buttonStyle;
10522
+ case "input":
10523
+ return i.inputStyle;
10524
+ case "card":
10525
+ return i.cardStyle;
10526
+ case "badge":
10527
+ return i.badgeStyle ?? "solid";
10528
+ case "tab":
10529
+ return i.tabStyle ?? "underline";
10530
+ case "toggle":
10531
+ return i.toggleStyle ?? "default";
10532
+ case "tooltip":
10533
+ return i.tooltipStyle ?? "dark";
10534
+ case "modal":
10535
+ return i.modalStyle ?? "default";
10536
+ case "table":
10537
+ return i.tableStyle ?? "default";
10538
+ case "menu":
10539
+ return i.menuStyle ?? "default";
10540
+ default:
10541
+ return "default";
10542
+ }
10543
+ }
10544
+ function Nu(t, n, i = "#6366f1") {
10545
+ switch (t) {
10546
+ case "button":
10547
+ return du(n.buttonStyle, i);
10548
+ case "input":
10549
+ return pu(n.inputStyle);
10550
+ case "card":
10551
+ return mu(n.cardStyle);
10552
+ case "badge":
10553
+ return uu(n.badgeStyle ?? "solid", i);
10554
+ case "tab":
10555
+ return hu(n.tabStyle ?? "underline", i);
10556
+ case "toggle":
10557
+ return gu(n.toggleStyle ?? "default");
10558
+ case "tooltip":
10559
+ return fu(n.tooltipStyle ?? "dark");
10560
+ case "table":
10561
+ return bu(n.tableStyle ?? "default");
10562
+ case "menu":
10563
+ return {};
10564
+ case "modal":
10565
+ return {};
10566
+ default:
10567
+ return {};
10568
+ }
10569
+ }
10570
+ function ku(t) {
10571
+ const n = ja(t);
10572
+ return {
10573
+ "data-ntd-display-style": t,
10574
+ "data-ntd-density": n.density,
10575
+ "data-ntd-animation": n.animation,
10576
+ "data-ntd-radius": n.radius,
10577
+ "data-ntd-button": n.buttonStyle,
10578
+ "data-ntd-input": n.inputStyle,
10579
+ "data-ntd-card": n.cardStyle
10580
+ };
10581
+ }
10582
+ function nr({
10583
+ enabled: t,
10584
+ readOnly: n,
10585
+ disabled: i
10586
+ }) {
10587
+ const [r, o] = W(!1), l = Se(!1), c = R(() => {
10588
+ n || i || !t || (l.current = !0, o(!0));
10589
+ }, [n, i, t]), s = R(() => {
10590
+ o(!1);
10591
+ }, []), p = R((d) => {
10592
+ d && l.current && (l.current = !1, requestAnimationFrame(() => {
10593
+ if (d.focus(), d instanceof HTMLInputElement || d instanceof HTMLTextAreaElement)
10594
+ try {
10595
+ d.select();
10596
+ } catch {
10597
+ }
10598
+ }));
10599
+ }, []);
10600
+ return $e(() => {
10601
+ (n || i) && r && o(!1);
10602
+ }, [n, i, r]), {
10603
+ isDisplay: !!t && !r,
10604
+ enterEdit: c,
10605
+ exitEdit: s,
10606
+ autoFocusRef: p
10607
+ };
10608
+ }
10609
+ const ir = ({
10610
+ value: t,
10611
+ placeholder: n,
10612
+ disabled: i,
10613
+ readOnly: r,
10614
+ onActivate: o,
10615
+ className: l,
10616
+ ariaLabel: c
10617
+ }) => {
10618
+ const s = t == null || t === "", p = (d) => {
10619
+ i || r || (d.key === "Enter" || d.key === " ") && (d.preventDefault(), o());
10620
+ };
10621
+ return /* @__PURE__ */ e(
10622
+ "span",
10623
+ {
10624
+ role: "button",
10625
+ tabIndex: i ? -1 : 0,
10626
+ className: `nice-display-value ${s ? "nice-display-value--empty" : ""} ${i ? "nice-display-value--disabled" : ""} ${r ? "nice-display-value--readonly" : ""} ${l || ""}`.trim(),
10627
+ onClick: () => {
10628
+ !i && !r && o();
10629
+ },
10630
+ onKeyDown: p,
10631
+ "aria-label": c,
10632
+ "aria-disabled": i || void 0,
10633
+ children: s ? n ?? "—" : t
10634
+ }
10635
+ );
10636
+ };
10637
+ function Ha(t) {
10638
+ if (!t)
10639
+ return "";
10640
+ let n = t;
10641
+ return n = n.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, ""), n = n.replace(/\s+on\w+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi, ""), n = n.replace(
10642
+ /(href|src|action)\s*=\s*(?:"javascript:[^"]*"|'javascript:[^']*')/gi,
10643
+ '$1=""'
10644
+ ), n = n.replace(
10645
+ /(href|src|action)\s*=\s*(?:"vbscript:[^"]*"|'vbscript:[^']*')/gi,
10646
+ '$1=""'
10647
+ ), n = n.replace(/<\/?(iframe|object|embed|form)\b[^>]*>/gi, ""), n;
10648
+ }
10649
10649
  const bs = {
10650
10650
  // Navigation
10651
10651
  "chevron-down": "M6 9l6 6 6-6",
@@ -10863,9 +10863,9 @@ const Et = {
10863
10863
  }
10864
10864
  };
10865
10865
  function Du(t) {
10866
- var i, r, o, l;
10867
- const n = [];
10868
- return (i = t.modifiers) != null && i.includes("ctrl") && n.push("Ctrl"), (r = t.modifiers) != null && r.includes("alt") && n.push("Alt"), (o = t.modifiers) != null && o.includes("shift") && n.push("Shift"), (l = t.modifiers) != null && l.includes("meta") && n.push("⌘"), n.push(t.key), n.join("+");
10866
+ var n, i, r, o;
10867
+ const l = [];
10868
+ return (n = t.modifiers) != null && n.includes("ctrl") && l.push("Ctrl"), (i = t.modifiers) != null && i.includes("alt") && l.push("Alt"), (r = t.modifiers) != null && r.includes("shift") && l.push("Shift"), (o = t.modifiers) != null && o.includes("meta") && l.push("⌘"), l.push(t.key), l.join("+");
10869
10869
  }
10870
10870
  function zu(t, n) {
10871
10871
  if (!(t.key === n.key || t.key.toLowerCase() === n.key.toLowerCase()))
@@ -10962,7 +10962,7 @@ function Zr(t = {}) {
10962
10962
  function ar(t = {}) {
10963
10963
  const { onClick: n, disabled: i = !1, role: r = "button", tabIndex: o, triggerOnSpace: l = !0 } = t, c = R(
10964
10964
  (d) => {
10965
- i || (n == null || n(d));
10965
+ i || n == null || n(d);
10966
10966
  },
10967
10967
  [i, n]
10968
10968
  ), s = R(
@@ -14113,12 +14113,12 @@ const Ss = ({
14113
14113
  if (!S)
14114
14114
  return;
14115
14115
  const x = i ? { ...Wa, ...i } : ja(g);
14116
- jm(x, S, p);
14117
- const M = qm(g);
14116
+ _u(x, S, p);
14117
+ const M = ku(g);
14118
14118
  for (const [P, I] of Object.entries(M))
14119
14119
  S.setAttribute(P, I);
14120
14120
  return () => {
14121
- Hm(p, S);
14121
+ wu(p, S);
14122
14122
  };
14123
14123
  }, [i, g, p]);
14124
14124
  const A = R((S) => {
@@ -14138,7 +14138,7 @@ const Ss = ({
14138
14138
  }),
14139
14139
  [g]
14140
14140
  );
14141
- return /* @__PURE__ */ e(Ns.Provider, { value: E, children: /* @__PURE__ */ e(hs.Provider, { value: C, children: /* @__PURE__ */ e(
14141
+ return /* @__PURE__ */ e(Ns.Provider, { value: E, children: /* @__PURE__ */ e(gs.Provider, { value: C, children: /* @__PURE__ */ e(
14142
14142
  "div",
14143
14143
  {
14144
14144
  ref: d,
@@ -14154,19 +14154,19 @@ kt(null);
14154
14154
  function $s() {
14155
14155
  const [t, n] = W(() => typeof window > "u" ? !1 : Na());
14156
14156
  return $e(() => {
14157
- var l;
14157
+ var i;
14158
14158
  if (typeof window > "u")
14159
14159
  return;
14160
14160
  n(Na());
14161
- const i = new MutationObserver(() => n(Na()));
14162
- i.observe(document.documentElement, {
14161
+ const r = new MutationObserver(() => n(Na()));
14162
+ r.observe(document.documentElement, {
14163
14163
  attributes: !0,
14164
14164
  attributeFilter: ["data-theme", "class", "style"]
14165
14165
  });
14166
- const r = window.matchMedia("(prefers-color-scheme: dark)"), o = () => n(Na());
14167
- return (l = r.addEventListener) == null || l.call(r, "change", o), () => {
14166
+ const o = window.matchMedia("(prefers-color-scheme: dark)"), l = () => n(Na());
14167
+ return (i = o.addEventListener) == null || i.call(o, "change", l), () => {
14168
14168
  var c;
14169
- i.disconnect(), (c = r.removeEventListener) == null || c.call(r, "change", o);
14169
+ r.disconnect(), (c = o.removeEventListener) == null || c.call(o, "change", l);
14170
14170
  };
14171
14171
  }, []), t;
14172
14172
  }
@@ -56288,7 +56288,7 @@ const ol = Ee((t, n) => {
56288
56288
  Y(
56289
56289
  "recommendedDisplayStyle",
56290
56290
  f("theme.recommendedDisplayStyle", "Recommended Display Style"),
56291
- Um
56291
+ xu
56292
56292
  )
56293
56293
  ] }),
56294
56294
  colors: () => /* @__PURE__ */ a("div", { className: "nice-theme-builder__grid", children: [
@@ -67048,7 +67048,7 @@ const Wc = [
67048
67048
  return null;
67049
67049
  }
67050
67050
  }
67051
- return /* @__PURE__ */ e(ku, { t: I, children: /* @__PURE__ */ e(Ss, { theme: y, children: /* @__PURE__ */ a(
67051
+ return /* @__PURE__ */ e(au, { t: I, children: /* @__PURE__ */ e(Ss, { theme: y, children: /* @__PURE__ */ a(
67052
67052
  "div",
67053
67053
  {
67054
67054
  ref: _,