Refresh UI components and showcase; release updated framework packages

This commit is contained in:
Clintchiz committed 2026-09-20 18:13:24 +05:30
1 parent d800228585
commit c77f5e1cec
293 files changed
+22544 -35778

No files matched your search

+7 -5
View File
@@ -73,8 +73,9 @@ component AdvancedSelect {
state selectedValues = values
functions {
shared function groupOptions(group) { return group.options || [] }
shared function allOptions() {
return [...groups.flatMap((group) => group.options || []), ...options]
return groups.flatMap(groupOptions).concat(options)
}
shared function searchableText(option) {
@@ -95,7 +96,7 @@ component AdvancedSelect {
}
shared function matchingOptions(list) {
return list.filter((option) => matches(option))
return list.filter(matches)
}
shared function visibleOptions(list) {
@@ -118,7 +119,7 @@ component AdvancedSelect {
}
shared function selectedOptions() {
return allOptions().filter((option) => isSelected(option))
return allOptions().filter(isSelected)
}
shared function selectedCount() {
@@ -475,13 +476,14 @@ component AdvancedSelect {
.wrn-next__select-search .wrn-next__search-icon {
inset-inline-start: 0.8em;
left: auto;
width: 1em;
height: 1em;
pointer-events: none;
}
.wrn-next__select-search input {
.wrn-next--advanced-select .wrn-next__select-search input {
min-height: var(--wrn-control-height, 2.5rem);
font-size: 0.875rem;
padding-inline-start: 2.4em;
padding-inline-end: 0.75em;
}