forge-select 0.1.0 → 0.2.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 +13 -10
- package/dist/index.cjs +174 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -2
- package/dist/index.d.ts +37 -2
- package/dist/index.global.js +174 -24
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +174 -24
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
- package/styles/forge-select.css +17 -1
package/styles/forge-select.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
--fs-tag-bg: #e0e7ff;
|
|
16
16
|
--fs-tag-fg: #3730a3;
|
|
17
17
|
--fs-font-size: 14px;
|
|
18
|
+
--fs-tree-indent: 18px;
|
|
18
19
|
|
|
19
20
|
position: relative;
|
|
20
21
|
display: inline-block;
|
|
@@ -226,6 +227,20 @@
|
|
|
226
227
|
font-style: italic;
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
.forge-select__option--indeterminate {
|
|
231
|
+
background: color-mix(in srgb, var(--fs-option-selected-bg) 50%, transparent);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.forge-select__twisty {
|
|
235
|
+
display: inline-block;
|
|
236
|
+
width: 14px;
|
|
237
|
+
flex-shrink: 0;
|
|
238
|
+
text-align: center;
|
|
239
|
+
font-size: 0.75em;
|
|
240
|
+
color: var(--fs-muted);
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
229
244
|
/* All row types share --fs-item-height so virtual-scroll spacer math stays exact. */
|
|
230
245
|
.forge-select__group-label {
|
|
231
246
|
display: flex;
|
|
@@ -241,7 +256,8 @@
|
|
|
241
256
|
}
|
|
242
257
|
|
|
243
258
|
.forge-select__empty,
|
|
244
|
-
.forge-select__loading
|
|
259
|
+
.forge-select__loading,
|
|
260
|
+
.forge-select__loading-more {
|
|
245
261
|
padding: 10px 12px;
|
|
246
262
|
color: var(--fs-muted);
|
|
247
263
|
text-align: center;
|