@1337exp/taoui 1.6.1 → 1.8.0

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.
package/dist/styles.css CHANGED
@@ -996,6 +996,44 @@ to {
996
996
  flex-direction: column;
997
997
  }
998
998
 
999
+ .tao-grid[data-v-bd5bc452] {
1000
+ container-type: inline-size;
1001
+ display: grid;
1002
+ grid-template-columns: repeat(
1003
+ auto-fill,
1004
+ minmax(min(100%, var(--tao-grid-min, 220px)), 1fr)
1005
+ );
1006
+ gap: var(--tao-grid-gap, var(--tao-space-4));
1007
+ }
1008
+ .tao-grid--fixed[data-v-bd5bc452] {
1009
+ grid-template-columns: repeat(var(--tao-grid-cols), minmax(0, 1fr));
1010
+ }
1011
+ @container (max-width: 560px) {
1012
+ .tao-grid--fixed[data-v-bd5bc452] {
1013
+ grid-template-columns: minmax(0, 1fr);
1014
+ }
1015
+ }
1016
+
1017
+ .tao-grid-item[data-v-43bd1e34] {
1018
+ display: flex;
1019
+ flex-direction: column;
1020
+ min-width: 0;
1021
+ min-height: 0;
1022
+ grid-column: span var(--tao-grid-col, 1);
1023
+ grid-row: span var(--tao-grid-row, 1);
1024
+ }
1025
+ .tao-grid-item[data-v-43bd1e34] > * {
1026
+ flex: 1 1 auto;
1027
+ min-height: 0;
1028
+ width: 100%;
1029
+ }
1030
+ @container (max-width: 560px) {
1031
+ .tao-grid-item[data-v-43bd1e34] {
1032
+ grid-column: span 1;
1033
+ grid-row: span 1;
1034
+ }
1035
+ }
1036
+
999
1037
  .tao-split[data-v-f44196dc] {
1000
1038
  --tao-split-gutter: 8px;
1001
1039
  --tao-split-line: 1px;
@@ -1954,6 +1992,7 @@ to {
1954
1992
  outline: none;
1955
1993
  }
1956
1994
  .tao-dropdown-menu__list .tao-dropdown-menu__item {
1995
+ position: relative;
1957
1996
  padding: var(--tao-space-2) var(--tao-space-4);
1958
1997
  border: none;
1959
1998
  border-radius: 0;
@@ -1966,8 +2005,15 @@ to {
1966
2005
  user-select: none;
1967
2006
  transition: var(--tao-transition-base);
1968
2007
  }
1969
- .tao-dropdown-menu__list .tao-dropdown-menu__item:not(:last-child) {
1970
- border-bottom: 1px solid var(--tao-color-border);
2008
+ .tao-dropdown-menu__list .tao-dropdown-menu__item:not(:last-child)::after {
2009
+ content: '';
2010
+ position: absolute;
2011
+ right: var(--tao-space-2);
2012
+ bottom: 0;
2013
+ left: var(--tao-space-2);
2014
+ height: 1px;
2015
+ background: var(--tao-color-border);
2016
+ pointer-events: none;
1971
2017
  }
1972
2018
  .tao-dropdown-menu__list .tao-dropdown-menu__item:hover,
1973
2019
  .tao-dropdown-menu__list .tao-dropdown-menu__item--active {
@@ -1975,11 +2021,11 @@ to {
1975
2021
  background-color: var(--tao-color-surface-hover);
1976
2022
  }
1977
2023
 
1978
- .tao-dropdown-menu[data-v-4750fe54] {
2024
+ .tao-dropdown-menu[data-v-cbfa7294] {
1979
2025
  position: relative;
1980
2026
  display: inline-block;
1981
2027
  }
1982
- .tao-dropdown-menu__button[data-v-4750fe54] {
2028
+ .tao-dropdown-menu__button[data-v-cbfa7294] {
1983
2029
  padding: var(--tao-space-2);
1984
2030
  color: var(--tao-color-text);
1985
2031
  border: none;
@@ -1991,10 +2037,10 @@ to {
1991
2037
  line-height: 1;
1992
2038
  transition: var(--tao-transition-base);
1993
2039
  }
1994
- .tao-dropdown-menu__button[data-v-4750fe54]:hover {
2040
+ .tao-dropdown-menu__button[data-v-cbfa7294]:hover {
1995
2041
  background: var(--tao-color-surface-hover);
1996
2042
  }
1997
- .tao-dropdown-menu__button[data-v-4750fe54]:focus-visible {
2043
+ .tao-dropdown-menu__button[data-v-cbfa7294]:focus-visible {
1998
2044
  outline: 2px solid var(--tao-color-accent);
1999
2045
  outline-offset: 2px;
2000
2046
  }
@@ -3230,6 +3276,172 @@ to {
3230
3276
  margin-top: var(--tao-space-2);
3231
3277
  }
3232
3278
 
3279
+ .tao-list[data-v-798c83a3] {
3280
+ box-sizing: border-box;
3281
+ width: 100%;
3282
+ margin: 0;
3283
+ padding: 0;
3284
+ list-style: none;
3285
+ background: var(--tao-color-surface-raised);
3286
+ color: var(--tao-color-text);
3287
+ }
3288
+ .tao-list--bordered[data-v-798c83a3] {
3289
+ overflow: hidden;
3290
+ border: 1px solid var(--tao-color-border);
3291
+ border-radius: var(--tao-radius-control);
3292
+ }
3293
+ .tao-list--plain[data-v-798c83a3] {
3294
+ padding: var(--tao-space-1);
3295
+ background: transparent;
3296
+ }
3297
+ .tao-list--scroll[data-v-798c83a3] {
3298
+ overflow: auto;
3299
+ }
3300
+ .tao-list--divided[data-v-798c83a3] .tao-list-item:not(:last-child) {
3301
+ border-bottom: 1px solid var(--tao-color-border);
3302
+ }
3303
+ .tao-list--plain[data-v-798c83a3] .tao-list-item {
3304
+ border-radius: var(--tao-radius-sm);
3305
+ }
3306
+ .tao-list__empty[data-v-798c83a3] {
3307
+ margin: 0;
3308
+ padding: var(--tao-space-3);
3309
+ color: var(--tao-color-text-muted);
3310
+ font-size: var(--tao-font-size-sm);
3311
+ line-height: 1.45;
3312
+ text-align: center;
3313
+ }
3314
+
3315
+ .tao-list-item[data-v-878b7727] {
3316
+ display: flex;
3317
+ align-items: center;
3318
+ gap: var(--tao-space-1);
3319
+ min-width: 0;
3320
+ color: var(--tao-color-text);
3321
+ transition: background var(--tao-duration-fast) var(--tao-ease-base);
3322
+ }
3323
+ .tao-list-item--s[data-v-878b7727] {
3324
+ min-height: 32px;
3325
+ padding: 0 var(--tao-space-1) 0 var(--tao-space-2);
3326
+ }
3327
+ .tao-list-item--m[data-v-878b7727] {
3328
+ min-height: 36px;
3329
+ padding: 0 var(--tao-space-2) 0 var(--tao-space-3);
3330
+ }
3331
+ .tao-list-item--l[data-v-878b7727] {
3332
+ min-height: 48px;
3333
+ padding: var(--tao-space-1) var(--tao-space-2) var(--tao-space-1) var(--tao-space-3);
3334
+ }
3335
+ .tao-list-item[data-v-878b7727]:hover:not(.tao-list-item--disabled),
3336
+ .tao-list-item--active[data-v-878b7727]:not(.tao-list-item--disabled) {
3337
+ background: var(--tao-color-surface-hover);
3338
+ }
3339
+ .tao-list-item--selected[data-v-878b7727] {
3340
+ background: var(--tao-color-accent-subtle);
3341
+ }
3342
+ .tao-list-item--selected[data-v-878b7727]:hover:not(.tao-list-item--disabled),
3343
+ .tao-list-item--selected.tao-list-item--active[data-v-878b7727]:not(.tao-list-item--disabled) {
3344
+ background: var(--tao-color-accent-subtle-hover);
3345
+ }
3346
+ .tao-list-item--disabled[data-v-878b7727] {
3347
+ opacity: 0.5;
3348
+ }
3349
+ .tao-list-item__hit[data-v-878b7727] {
3350
+ display: flex;
3351
+ align-items: center;
3352
+ gap: var(--tao-space-2);
3353
+ flex: 1 1 auto;
3354
+ min-width: 0;
3355
+ margin: 0;
3356
+ padding: var(--tao-space-2) 0;
3357
+ border: none;
3358
+ background: none;
3359
+ color: inherit;
3360
+ font: inherit;
3361
+ text-align: left;
3362
+ }
3363
+ .tao-list-item--s .tao-list-item__hit[data-v-878b7727] {
3364
+ padding: var(--tao-space-1) 0;
3365
+ gap: var(--tao-space-2);
3366
+ }
3367
+ .tao-list-item--l .tao-list-item__hit[data-v-878b7727] {
3368
+ padding: var(--tao-space-2) 0;
3369
+ }
3370
+ button.tao-list-item__hit[data-v-878b7727] {
3371
+ cursor: pointer;
3372
+ }
3373
+ button.tao-list-item__hit[data-v-878b7727]:disabled {
3374
+ cursor: not-allowed;
3375
+ }
3376
+ button.tao-list-item__hit[data-v-878b7727]:focus-visible {
3377
+ outline: 2px solid var(--tao-color-accent);
3378
+ outline-offset: -2px;
3379
+ }
3380
+ .tao-list-item__prefix[data-v-878b7727] {
3381
+ display: inline-flex;
3382
+ flex-shrink: 0;
3383
+ align-items: center;
3384
+ justify-content: center;
3385
+ color: var(--tao-color-text-muted);
3386
+ }
3387
+ .tao-list-item__prefix[data-v-878b7727] .tao-avatar {
3388
+ display: block;
3389
+ }
3390
+ .tao-list-item__text[data-v-878b7727] {
3391
+ display: flex;
3392
+ flex-direction: column;
3393
+ gap: 1px;
3394
+ flex: 1 1 auto;
3395
+ min-width: 0;
3396
+ }
3397
+ .tao-list-item__title[data-v-878b7727] {
3398
+ min-width: 0;
3399
+ overflow: hidden;
3400
+ font-size: var(--tao-font-size-md);
3401
+ line-height: 1.3;
3402
+ text-overflow: ellipsis;
3403
+ white-space: nowrap;
3404
+ }
3405
+ .tao-list-item--s .tao-list-item__title[data-v-878b7727] {
3406
+ font-size: var(--tao-font-size-sm);
3407
+ }
3408
+ .tao-list-item--selected .tao-list-item__title[data-v-878b7727] {
3409
+ color: var(--tao-color-accent);
3410
+ }
3411
+ .tao-list-item--clickable .tao-list-item__title[data-v-878b7727] {
3412
+ user-select: none;
3413
+ }
3414
+ .tao-list-item__description[data-v-878b7727] {
3415
+ min-width: 0;
3416
+ overflow: hidden;
3417
+ color: var(--tao-color-text-muted);
3418
+ font-size: var(--tao-font-size-xs);
3419
+ line-height: 1.3;
3420
+ text-overflow: ellipsis;
3421
+ white-space: nowrap;
3422
+ }
3423
+ .tao-list-item__suffix[data-v-878b7727] {
3424
+ flex-shrink: 0;
3425
+ color: var(--tao-color-text-muted);
3426
+ font-size: var(--tao-font-size-xs);
3427
+ white-space: nowrap;
3428
+ }
3429
+ .tao-list-item__action[data-v-878b7727] {
3430
+ display: inline-flex;
3431
+ flex-shrink: 0;
3432
+ align-items: center;
3433
+ justify-content: center;
3434
+ }
3435
+ @media (hover: hover) {
3436
+ .tao-list-item--has-action:not(.tao-list-item--action-always) .tao-list-item__action[data-v-878b7727] {
3437
+ opacity: 0;
3438
+ }
3439
+ .tao-list-item--has-action:not(.tao-list-item--action-always):hover .tao-list-item__action[data-v-878b7727],
3440
+ .tao-list-item--has-action:not(.tao-list-item--action-always):focus-within .tao-list-item__action[data-v-878b7727] {
3441
+ opacity: 1;
3442
+ }
3443
+ }
3444
+
3233
3445
  .tao-skeleton-group[data-v-e75c3ca1] {
3234
3446
  display: flex;
3235
3447
  flex-direction: column;
@@ -4168,6 +4380,9 @@ to {
4168
4380
  --tao-font-size-md: 14px;
4169
4381
  --tao-font-size-lg: 16px;
4170
4382
  --tao-font-size-xl: 18px;
4383
+ --tao-font-size-2xl: 24px;
4384
+ --tao-font-size-3xl: 32px;
4385
+ --tao-font-size-4xl: 36px;
4171
4386
 
4172
4387
  /* ---------- Shadow scale (color-agnostic, opacity baked in) ---------- */
4173
4388
  --tao-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.12);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1337exp/taoui",
3
- "version": "1.6.1",
3
+ "version": "1.8.0",
4
4
  "description": "Modern UI component library for Nuxt/Vue",
5
5
  "homepage": "https://666.io",
6
6
  "type": "module",
@@ -63,6 +63,9 @@
63
63
  --tao-font-size-md: 14px;
64
64
  --tao-font-size-lg: 16px;
65
65
  --tao-font-size-xl: 18px;
66
+ --tao-font-size-2xl: 24px;
67
+ --tao-font-size-3xl: 32px;
68
+ --tao-font-size-4xl: 36px;
66
69
 
67
70
  /* ---------- Shadow scale (color-agnostic, opacity baked in) ---------- */
68
71
  --tao-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.12);