@rockshin/tao-ui 0.0.49 → 0.0.51
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.
|
@@ -136,7 +136,15 @@
|
|
|
136
136
|
display: inline-flex;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
[data-tao-button-icon-idle]
|
|
139
|
+
:where([data-tao-button-icon-idle] svg:not([width])) {
|
|
140
|
+
width: 1em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
:where([data-tao-button-icon-idle] svg:not([height])) {
|
|
144
|
+
height: 1em;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[data-tao-button-spinner] {
|
|
140
148
|
width: 1em;
|
|
141
149
|
height: 1em;
|
|
142
150
|
}
|
|
@@ -432,8 +432,9 @@ legend[data-tao-select-group-label] {
|
|
|
432
432
|
[data-tao-select][data-tao-multiple] {
|
|
433
433
|
height: auto;
|
|
434
434
|
min-height: var(--tao-select-height);
|
|
435
|
+
padding-block: max(0px,
|
|
436
|
+
calc((var(--tao-select-height) - 24px) / 2 - var(--tao-line-width)));
|
|
435
437
|
flex-wrap: wrap;
|
|
436
|
-
padding-block: 4px;
|
|
437
438
|
padding-inline-start: 4px;
|
|
438
439
|
padding-inline-end: var(--tao-select-padding-inline);
|
|
439
440
|
}
|
|
@@ -444,7 +445,6 @@ legend[data-tao-select-group-label] {
|
|
|
444
445
|
align-items: center;
|
|
445
446
|
gap: 4px;
|
|
446
447
|
min-width: 0;
|
|
447
|
-
padding-block: 1px;
|
|
448
448
|
display: flex;
|
|
449
449
|
}
|
|
450
450
|
|
|
@@ -458,6 +458,7 @@ legend[data-tao-select-group-label] {
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
[data-tao-select-tag] {
|
|
461
|
+
box-sizing: border-box;
|
|
461
462
|
max-width: 160px;
|
|
462
463
|
font-size: var(--tao-font-size-sm);
|
|
463
464
|
height: 24px;
|
|
@@ -5,6 +5,7 @@ import { Checkbox } from "../checkbox/checkbox.js";
|
|
|
5
5
|
import { Dropdown } from "../dropdown/dropdown.js";
|
|
6
6
|
import { Empty } from "../empty/empty.js";
|
|
7
7
|
import { ListPaginationControl } from "../list/list-pagination.js";
|
|
8
|
+
import { ChevronDownIcon } from "../select/select-icons.js";
|
|
8
9
|
import { TransferSearch } from "./transfer-parts.js";
|
|
9
10
|
function TransferList(props) {
|
|
10
11
|
const { locale } = useTaoConfig();
|
|
@@ -145,7 +146,7 @@ function TransferList(props) {
|
|
|
145
146
|
type: "button",
|
|
146
147
|
"aria-label": `${locale.messages.selectionActions} ${sectionName}`,
|
|
147
148
|
disabled: disabled || !enabled.length,
|
|
148
|
-
children: selectionsIcon ??
|
|
149
|
+
children: selectionsIcon ?? /*#__PURE__*/ jsx(ChevronDownIcon, {})
|
|
149
150
|
})
|
|
150
151
|
})
|
|
151
152
|
]
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
height: 20px;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
[data-tao-transfer-selection]:disabled {
|
|
68
|
+
color: var(--tao-color-text-disabled);
|
|
69
|
+
cursor: not-allowed;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
[data-tao-transfer-clear], [data-tao-transfer-remove] {
|
|
68
73
|
border-radius: var(--tao-radius-sm);
|
|
69
74
|
width: 24px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rockshin/tao-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A modern React component library with semantic DOM customization and OKLCH-based theming.",
|
|
6
6
|
"keywords": [
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"check:components": "node scripts/check-component-sync.mjs",
|
|
66
66
|
"dev": "rslib --watch",
|
|
67
67
|
"doc": "rspress dev",
|
|
68
|
-
"doc:build": "rspress build && node scripts/build-discovery.mjs",
|
|
68
|
+
"doc:build": "bun run --filter @rockshin/tao-icons build && rspress build && node scripts/build-discovery.mjs",
|
|
69
69
|
"doc:preview": "rspress preview",
|
|
70
70
|
"docs:generate": "node scripts/generate-component-manifest.mjs",
|
|
71
71
|
"docs:check": "node scripts/generate-component-manifest.mjs --check",
|
|
@@ -76,13 +76,14 @@
|
|
|
76
76
|
"test": "rstest",
|
|
77
77
|
"test:types": "tsc --noEmit --project tsconfig.type-tests.json && tsc --noEmit --project tsconfig.type-tests.react18.json",
|
|
78
78
|
"test:watch": "rstest --watch",
|
|
79
|
-
"typecheck": "tsc --noEmit --project tsconfig.json",
|
|
79
|
+
"typecheck": "bun run --filter @rockshin/tao-icons build && tsc --noEmit --project tsconfig.json",
|
|
80
80
|
"test:package": "bun scripts/check-package-exports.mjs"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@biomejs/biome": "2.5.15",
|
|
84
84
|
"@fontsource/geist-mono": "^5.3.0",
|
|
85
85
|
"@fontsource/geist-sans": "^5.3.0",
|
|
86
|
+
"@rockshin/tao-icons": "workspace:*",
|
|
86
87
|
"@rsbuild/core": "^2.2.14",
|
|
87
88
|
"@rsbuild/plugin-babel": "^2.1.0",
|
|
88
89
|
"@rsbuild/plugin-react": "^2.1.1",
|