forge-select 0.5.0 → 0.7.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/index.cjs +343 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -4
- package/dist/index.d.ts +44 -4
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +343 -85
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/styles/forge-select.css +4 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forge-select",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A modern, lightweight, highly customizable replacement for Select2.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"select",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|
|
55
55
|
"bench": "npm run build && node scripts/benchmark.mjs",
|
|
56
|
+
"bench:check": "npm run bench",
|
|
56
57
|
"build:site": "npm run build && node scripts/build-site.mjs",
|
|
57
58
|
"check:package": "npm run build && npm run build --workspaces --if-present && npm pack --dry-run --ignore-scripts && npm pack ./packages/react --dry-run --ignore-scripts && npm pack ./packages/vue --dry-run --ignore-scripts",
|
|
58
59
|
"check:site": "npm run build:site && node scripts/check-site.mjs",
|
|
@@ -81,11 +82,11 @@
|
|
|
81
82
|
"jsdom": "^29.1.1",
|
|
82
83
|
"markdown-it": "^14.3.0",
|
|
83
84
|
"prettier": "^3.9.5",
|
|
84
|
-
"sharp": "^0.
|
|
85
|
+
"sharp": "^0.35.3",
|
|
85
86
|
"tsup": "^8.3.5",
|
|
86
87
|
"typescript": "^5.9.3",
|
|
87
88
|
"typescript-eslint": "^8.65.0",
|
|
88
89
|
"vitest": "^4.1.10",
|
|
89
|
-
"wrangler": "^4.
|
|
90
|
+
"wrangler": "^4.116.0"
|
|
90
91
|
}
|
|
91
92
|
}
|
package/styles/forge-select.css
CHANGED
|
@@ -143,8 +143,7 @@
|
|
|
143
143
|
position: absolute;
|
|
144
144
|
z-index: 1000;
|
|
145
145
|
top: calc(100% + 4px);
|
|
146
|
-
|
|
147
|
-
right: 0;
|
|
146
|
+
inset-inline: 0;
|
|
148
147
|
background: var(--fs-dropdown-bg);
|
|
149
148
|
border: 1px solid var(--fs-border);
|
|
150
149
|
border-radius: var(--fs-radius);
|
|
@@ -165,7 +164,7 @@
|
|
|
165
164
|
|
|
166
165
|
.forge-select--portal-host .forge-select__dropdown {
|
|
167
166
|
top: 0;
|
|
168
|
-
|
|
167
|
+
inset-inline-end: 0;
|
|
169
168
|
bottom: auto;
|
|
170
169
|
}
|
|
171
170
|
|
|
@@ -219,7 +218,7 @@
|
|
|
219
218
|
object-fit: cover;
|
|
220
219
|
flex-shrink: 0;
|
|
221
220
|
vertical-align: -4px;
|
|
222
|
-
margin-
|
|
221
|
+
margin-inline-end: 5px;
|
|
223
222
|
}
|
|
224
223
|
|
|
225
224
|
.forge-select__option-body {
|
|
@@ -267,7 +266,7 @@
|
|
|
267
266
|
|
|
268
267
|
.forge-select__option--indeterminate::after {
|
|
269
268
|
content: "−";
|
|
270
|
-
margin-
|
|
269
|
+
margin-inline-start: auto;
|
|
271
270
|
font-weight: 700;
|
|
272
271
|
}
|
|
273
272
|
|