@1337exp/taoui 1.9.0 → 1.10.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/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.cjs +18 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +18 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +65 -52
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1301,7 +1301,7 @@ to {
|
|
|
1301
1301
|
border-color: var(--tao-color-danger);
|
|
1302
1302
|
}
|
|
1303
1303
|
|
|
1304
|
-
.tao-tag[data-v-
|
|
1304
|
+
.tao-tag[data-v-cbbbf8f3] {
|
|
1305
1305
|
box-sizing: border-box;
|
|
1306
1306
|
display: inline-flex;
|
|
1307
1307
|
align-items: center;
|
|
@@ -1313,6 +1313,7 @@ to {
|
|
|
1313
1313
|
vertical-align: middle;
|
|
1314
1314
|
white-space: nowrap;
|
|
1315
1315
|
text-align: start;
|
|
1316
|
+
font-size: var(--tao-font-size-xs);
|
|
1316
1317
|
line-height: 1.25;
|
|
1317
1318
|
color: var(--tao-color-accent);
|
|
1318
1319
|
background: var(--tao-color-accent-subtle);
|
|
@@ -1320,32 +1321,32 @@ to {
|
|
|
1320
1321
|
border-radius: var(--tao-radius-sm);
|
|
1321
1322
|
transition: var(--tao-transition-base);
|
|
1322
1323
|
}
|
|
1323
|
-
.tao-tag--pointer[data-v-
|
|
1324
|
+
.tao-tag--pointer[data-v-cbbbf8f3] {
|
|
1324
1325
|
cursor: pointer;
|
|
1325
1326
|
user-select: none;
|
|
1326
1327
|
}
|
|
1327
|
-
.tao-tag--prefix[data-v-
|
|
1328
|
+
.tao-tag--prefix[data-v-cbbbf8f3] {
|
|
1328
1329
|
padding-block: 2px;
|
|
1329
1330
|
padding-inline-start: 3px;
|
|
1330
1331
|
}
|
|
1331
|
-
.tao-tag--closable[data-v-
|
|
1332
|
+
.tao-tag--closable[data-v-cbbbf8f3] {
|
|
1332
1333
|
padding-inline-end: 2px;
|
|
1333
1334
|
}
|
|
1334
|
-
.tao-tag__prefix[data-v-
|
|
1335
|
+
.tao-tag__prefix[data-v-cbbbf8f3] {
|
|
1335
1336
|
display: inline-flex;
|
|
1336
1337
|
flex-shrink: 0;
|
|
1337
1338
|
align-items: center;
|
|
1338
1339
|
justify-content: center;
|
|
1339
1340
|
}
|
|
1340
|
-
.tao-tag__prefix[data-v-
|
|
1341
|
+
.tao-tag__prefix[data-v-cbbbf8f3] .tao-avatar {
|
|
1341
1342
|
display: block;
|
|
1342
1343
|
}
|
|
1343
|
-
.tao-tag__text[data-v-
|
|
1344
|
+
.tao-tag__text[data-v-cbbbf8f3] {
|
|
1344
1345
|
min-width: 0;
|
|
1345
1346
|
overflow: hidden;
|
|
1346
1347
|
text-overflow: ellipsis;
|
|
1347
1348
|
}
|
|
1348
|
-
.tao-tag__close[data-v-
|
|
1349
|
+
.tao-tag__close[data-v-cbbbf8f3] {
|
|
1349
1350
|
display: inline-flex;
|
|
1350
1351
|
flex-shrink: 0;
|
|
1351
1352
|
align-items: center;
|
|
@@ -1364,47 +1365,47 @@ to {
|
|
|
1364
1365
|
line-height: 1;
|
|
1365
1366
|
cursor: pointer;
|
|
1366
1367
|
}
|
|
1367
|
-
.tao-tag__close[data-v-
|
|
1368
|
+
.tao-tag__close[data-v-cbbbf8f3]:hover {
|
|
1368
1369
|
opacity: 1;
|
|
1369
1370
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
1370
1371
|
}
|
|
1371
|
-
.tao-tag__close[data-v-
|
|
1372
|
+
.tao-tag__close[data-v-cbbbf8f3]:focus-visible {
|
|
1372
1373
|
outline: 2px solid var(--tao-color-accent);
|
|
1373
1374
|
outline-offset: 1px;
|
|
1374
1375
|
}
|
|
1375
|
-
.tao-tag--neutral[data-v-
|
|
1376
|
+
.tao-tag--neutral[data-v-cbbbf8f3] {
|
|
1376
1377
|
color: var(--tao-color-text);
|
|
1377
1378
|
background: var(--tao-color-surface-sunken);
|
|
1378
1379
|
border-color: var(--tao-color-border-strong);
|
|
1379
1380
|
}
|
|
1380
|
-
.tao-tag--success[data-v-
|
|
1381
|
+
.tao-tag--success[data-v-cbbbf8f3] {
|
|
1381
1382
|
color: var(--tao-color-success);
|
|
1382
1383
|
background: color-mix(in srgb, var(--tao-color-success) 12%, transparent);
|
|
1383
1384
|
border-color: color-mix(in srgb, var(--tao-color-success) 30%, transparent);
|
|
1384
1385
|
}
|
|
1385
|
-
.tao-tag--danger[data-v-
|
|
1386
|
-
.tao-tag--error[data-v-
|
|
1386
|
+
.tao-tag--danger[data-v-cbbbf8f3],
|
|
1387
|
+
.tao-tag--error[data-v-cbbbf8f3] {
|
|
1387
1388
|
color: var(--tao-color-danger);
|
|
1388
1389
|
background: var(--tao-color-danger-subtle);
|
|
1389
1390
|
border-color: color-mix(in srgb, var(--tao-color-danger) 30%, transparent);
|
|
1390
1391
|
}
|
|
1391
|
-
.tao-tag--warning[data-v-
|
|
1392
|
+
.tao-tag--warning[data-v-cbbbf8f3] {
|
|
1392
1393
|
color: var(--tao-color-warning);
|
|
1393
1394
|
background: var(--tao-color-warning-subtle);
|
|
1394
1395
|
border-color: color-mix(in srgb, var(--tao-color-warning) 30%, transparent);
|
|
1395
1396
|
}
|
|
1396
|
-
.tao-tag--info[data-v-
|
|
1397
|
+
.tao-tag--info[data-v-cbbbf8f3] {
|
|
1397
1398
|
color: var(--tao-color-info);
|
|
1398
1399
|
background: var(--tao-color-info-subtle);
|
|
1399
1400
|
border-color: color-mix(in srgb, var(--tao-color-info) 30%, transparent);
|
|
1400
1401
|
}
|
|
1401
|
-
.tao-tag--flat[data-v-
|
|
1402
|
-
.tao-tag--flat.tao-tag--neutral[data-v-
|
|
1403
|
-
.tao-tag--flat.tao-tag--success[data-v-
|
|
1404
|
-
.tao-tag--flat.tao-tag--danger[data-v-
|
|
1405
|
-
.tao-tag--flat.tao-tag--error[data-v-
|
|
1406
|
-
.tao-tag--flat.tao-tag--warning[data-v-
|
|
1407
|
-
.tao-tag--flat.tao-tag--info[data-v-
|
|
1402
|
+
.tao-tag--flat[data-v-cbbbf8f3],
|
|
1403
|
+
.tao-tag--flat.tao-tag--neutral[data-v-cbbbf8f3],
|
|
1404
|
+
.tao-tag--flat.tao-tag--success[data-v-cbbbf8f3],
|
|
1405
|
+
.tao-tag--flat.tao-tag--danger[data-v-cbbbf8f3],
|
|
1406
|
+
.tao-tag--flat.tao-tag--error[data-v-cbbbf8f3],
|
|
1407
|
+
.tao-tag--flat.tao-tag--warning[data-v-cbbbf8f3],
|
|
1408
|
+
.tao-tag--flat.tao-tag--info[data-v-cbbbf8f3] {
|
|
1408
1409
|
border-color: transparent;
|
|
1409
1410
|
}
|
|
1410
1411
|
|
|
@@ -3079,7 +3080,7 @@ to {
|
|
|
3079
3080
|
color: var(--tao-color-text-strong);
|
|
3080
3081
|
}
|
|
3081
3082
|
|
|
3082
|
-
.tao-table-wrap[data-v-
|
|
3083
|
+
.tao-table-wrap[data-v-497e62e7] {
|
|
3083
3084
|
position: relative;
|
|
3084
3085
|
width: 100%;
|
|
3085
3086
|
overflow: auto;
|
|
@@ -3087,59 +3088,71 @@ to {
|
|
|
3087
3088
|
border-radius: var(--tao-radius-panel);
|
|
3088
3089
|
background: var(--tao-color-surface);
|
|
3089
3090
|
}
|
|
3090
|
-
.tao-table-wrap--loading[data-v-
|
|
3091
|
+
.tao-table-wrap--loading[data-v-497e62e7] {
|
|
3091
3092
|
min-height: 120px;
|
|
3092
3093
|
}
|
|
3093
|
-
.tao-table[data-v-
|
|
3094
|
+
.tao-table[data-v-497e62e7] {
|
|
3094
3095
|
width: 100%;
|
|
3095
3096
|
border-collapse: collapse;
|
|
3096
3097
|
font-size: var(--tao-font-size-md);
|
|
3097
3098
|
color: var(--tao-color-text);
|
|
3098
3099
|
}
|
|
3099
|
-
.tao-table caption[data-v-
|
|
3100
|
+
.tao-table caption[data-v-497e62e7] {
|
|
3100
3101
|
caption-side: top;
|
|
3101
3102
|
padding: var(--tao-space-3) var(--tao-space-4);
|
|
3102
3103
|
text-align: left;
|
|
3103
3104
|
font-size: var(--tao-font-size-sm);
|
|
3104
3105
|
color: var(--tao-color-text-muted);
|
|
3105
3106
|
}
|
|
3106
|
-
.tao-table th[data-v-
|
|
3107
|
-
.tao-table td[data-v-
|
|
3107
|
+
.tao-table th[data-v-497e62e7],
|
|
3108
|
+
.tao-table td[data-v-497e62e7] {
|
|
3108
3109
|
padding: var(--tao-space-3) var(--tao-space-4);
|
|
3109
|
-
border-bottom: 1px solid var(--tao-color-border);
|
|
3110
3110
|
vertical-align: middle;
|
|
3111
3111
|
}
|
|
3112
|
-
.tao-table--
|
|
3113
|
-
.tao-table--
|
|
3112
|
+
.tao-table--lines th[data-v-497e62e7],
|
|
3113
|
+
.tao-table--lines td[data-v-497e62e7] {
|
|
3114
|
+
border-bottom: 1px solid var(--tao-color-border);
|
|
3115
|
+
}
|
|
3116
|
+
.tao-table--compact th[data-v-497e62e7],
|
|
3117
|
+
.tao-table--compact td[data-v-497e62e7] {
|
|
3114
3118
|
padding: var(--tao-space-2) var(--tao-space-3);
|
|
3115
3119
|
font-size: var(--tao-font-size-sm);
|
|
3116
3120
|
}
|
|
3117
|
-
.tao-table th[data-v-
|
|
3121
|
+
.tao-table th[data-v-497e62e7] {
|
|
3118
3122
|
font-weight: 600;
|
|
3119
3123
|
font-size: var(--tao-font-size-sm);
|
|
3120
3124
|
color: var(--tao-color-text-muted);
|
|
3121
|
-
background: var(--tao-color-surface-raised);
|
|
3122
3125
|
white-space: nowrap;
|
|
3123
3126
|
text-align: left;
|
|
3124
3127
|
}
|
|
3125
|
-
.tao-table--
|
|
3128
|
+
.tao-table--head th[data-v-497e62e7] {
|
|
3129
|
+
background: var(--tao-color-surface-raised);
|
|
3130
|
+
}
|
|
3131
|
+
.tao-table--sticky thead th[data-v-497e62e7] {
|
|
3126
3132
|
position: sticky;
|
|
3127
3133
|
top: 0;
|
|
3128
3134
|
z-index: 1;
|
|
3135
|
+
background: var(--tao-color-surface);
|
|
3136
|
+
}
|
|
3137
|
+
.tao-table--sticky.tao-table--head thead th[data-v-497e62e7] {
|
|
3138
|
+
background: var(--tao-color-surface-raised);
|
|
3129
3139
|
}
|
|
3130
|
-
.tao-table tbody tr:last-child td[data-v-
|
|
3140
|
+
.tao-table--lines tbody tr:last-child td[data-v-497e62e7] {
|
|
3131
3141
|
border-bottom: none;
|
|
3132
3142
|
}
|
|
3133
|
-
.tao-table--striped tbody tr:nth-child(
|
|
3143
|
+
.tao-table--striped tbody tr:nth-child(odd) td[data-v-497e62e7] {
|
|
3144
|
+
background: var(--tao-color-surface-sunken);
|
|
3145
|
+
}
|
|
3146
|
+
.tao-table--striped-even tbody tr:nth-child(even) td[data-v-497e62e7] {
|
|
3134
3147
|
background: var(--tao-color-surface-sunken);
|
|
3135
3148
|
}
|
|
3136
|
-
.tao-table--hover tbody tr:hover td[data-v-
|
|
3149
|
+
.tao-table--hover tbody tr:hover td[data-v-497e62e7] {
|
|
3137
3150
|
background: var(--tao-color-surface-hover);
|
|
3138
3151
|
}
|
|
3139
|
-
.tao-table--clickable tbody tr[data-v-
|
|
3152
|
+
.tao-table--clickable tbody tr[data-v-497e62e7] {
|
|
3140
3153
|
cursor: pointer;
|
|
3141
3154
|
}
|
|
3142
|
-
.tao-table__sort-btn[data-v-
|
|
3155
|
+
.tao-table__sort-btn[data-v-497e62e7] {
|
|
3143
3156
|
display: inline-flex;
|
|
3144
3157
|
align-items: center;
|
|
3145
3158
|
gap: var(--tao-space-2);
|
|
@@ -3152,48 +3165,48 @@ to {
|
|
|
3152
3165
|
font-weight: 600;
|
|
3153
3166
|
cursor: pointer;
|
|
3154
3167
|
}
|
|
3155
|
-
.tao-table__sort-btn[data-v-
|
|
3168
|
+
.tao-table__sort-btn[data-v-497e62e7]:focus-visible {
|
|
3156
3169
|
outline: 2px solid var(--tao-color-accent);
|
|
3157
3170
|
outline-offset: 2px;
|
|
3158
3171
|
border-radius: var(--tao-radius-control);
|
|
3159
3172
|
}
|
|
3160
|
-
.tao-table__sorter[data-v-
|
|
3173
|
+
.tao-table__sorter[data-v-497e62e7] {
|
|
3161
3174
|
position: relative;
|
|
3162
3175
|
width: 8px;
|
|
3163
3176
|
height: 12px;
|
|
3164
3177
|
opacity: 0.35;
|
|
3165
3178
|
}
|
|
3166
|
-
.tao-table__sorter[data-v-
|
|
3167
|
-
.tao-table__sorter[data-v-
|
|
3179
|
+
.tao-table__sorter[data-v-497e62e7]::before,
|
|
3180
|
+
.tao-table__sorter[data-v-497e62e7]::after {
|
|
3168
3181
|
content: '';
|
|
3169
3182
|
position: absolute;
|
|
3170
3183
|
left: 0;
|
|
3171
3184
|
border-left: 4px solid transparent;
|
|
3172
3185
|
border-right: 4px solid transparent;
|
|
3173
3186
|
}
|
|
3174
|
-
.tao-table__sorter[data-v-
|
|
3187
|
+
.tao-table__sorter[data-v-497e62e7]::before {
|
|
3175
3188
|
top: 0;
|
|
3176
3189
|
border-bottom: 4px solid currentColor;
|
|
3177
3190
|
}
|
|
3178
|
-
.tao-table__sorter[data-v-
|
|
3191
|
+
.tao-table__sorter[data-v-497e62e7]::after {
|
|
3179
3192
|
bottom: 0;
|
|
3180
3193
|
border-top: 4px solid currentColor;
|
|
3181
3194
|
}
|
|
3182
|
-
.tao-table__sorter--asc[data-v-
|
|
3183
|
-
.tao-table__sorter--desc[data-v-
|
|
3195
|
+
.tao-table__sorter--asc[data-v-497e62e7],
|
|
3196
|
+
.tao-table__sorter--desc[data-v-497e62e7] {
|
|
3184
3197
|
opacity: 1;
|
|
3185
3198
|
color: var(--tao-color-accent);
|
|
3186
3199
|
}
|
|
3187
|
-
.tao-table__sorter--asc[data-v-
|
|
3188
|
-
.tao-table__sorter--desc[data-v-
|
|
3200
|
+
.tao-table__sorter--asc[data-v-497e62e7]::after,
|
|
3201
|
+
.tao-table__sorter--desc[data-v-497e62e7]::before {
|
|
3189
3202
|
opacity: 0.25;
|
|
3190
3203
|
}
|
|
3191
|
-
.tao-table__empty[data-v-
|
|
3204
|
+
.tao-table__empty[data-v-497e62e7] {
|
|
3192
3205
|
padding: var(--tao-space-8) var(--tao-space-4);
|
|
3193
3206
|
text-align: center;
|
|
3194
3207
|
color: var(--tao-color-text-muted);
|
|
3195
3208
|
}
|
|
3196
|
-
.tao-table__loading[data-v-
|
|
3209
|
+
.tao-table__loading[data-v-497e62e7] {
|
|
3197
3210
|
position: absolute;
|
|
3198
3211
|
inset: 0;
|
|
3199
3212
|
display: flex;
|