@duskmoon-dev/components 0.5.3 → 0.5.4
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/components/dm-pro-table/index.js +106 -18
- package/dist/components/dm-query/index.js +102 -14
- package/dist/components/dm-search/index.js +100 -12
- package/dist/components/dm-table/index.js +100 -12
- package/dist/components/json-schema-form/index.js +108 -20
- package/dist/components/select/Select.types.d.ts +4 -0
- package/dist/components/select/index.js +98 -10
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.js +189 -101
- package/dist/infrastructure.js +1 -1
- package/dist/styles.css +41 -0
- package/package.json +1 -1
package/dist/infrastructure.js
CHANGED
package/dist/styles.css
CHANGED
|
@@ -26771,7 +26771,12 @@ html {
|
|
|
26771
26771
|
}
|
|
26772
26772
|
|
|
26773
26773
|
.select-container > .select {
|
|
26774
|
+
display: flex;
|
|
26775
|
+
align-items: center;
|
|
26776
|
+
gap: 0.5rem;
|
|
26777
|
+
padding: 0 0.75rem 0 0.875rem;
|
|
26774
26778
|
background-image: none;
|
|
26779
|
+
appearance: none;
|
|
26775
26780
|
}
|
|
26776
26781
|
|
|
26777
26782
|
.select:focus-visible {
|
|
@@ -26895,6 +26900,42 @@ html {
|
|
|
26895
26900
|
0 16px 40px rgb(15 23 42 / 0.12);
|
|
26896
26901
|
}
|
|
26897
26902
|
|
|
26903
|
+
.select-dropdown[popover] {
|
|
26904
|
+
position: fixed;
|
|
26905
|
+
inset: auto;
|
|
26906
|
+
width: anchor-size(width);
|
|
26907
|
+
min-width: var(--select-anchor-width, 10rem);
|
|
26908
|
+
max-height: 16rem;
|
|
26909
|
+
margin: 0.375rem 0 0 0;
|
|
26910
|
+
padding: 0.375rem;
|
|
26911
|
+
overflow: auto;
|
|
26912
|
+
color: var(--color-on-surface);
|
|
26913
|
+
background-color: var(--color-surface);
|
|
26914
|
+
border: 1px solid var(--color-outline-variant);
|
|
26915
|
+
border-radius: var(--radius-sm);
|
|
26916
|
+
box-shadow:
|
|
26917
|
+
0 4px 12px rgb(15 23 42 / 0.1),
|
|
26918
|
+
0 16px 40px rgb(15 23 42 / 0.12);
|
|
26919
|
+
}
|
|
26920
|
+
|
|
26921
|
+
@supports (position-area: bottom) {
|
|
26922
|
+
.select-dropdown[popover] {
|
|
26923
|
+
position-area: bottom span-right;
|
|
26924
|
+
position-try-fallbacks: flip-block;
|
|
26925
|
+
}
|
|
26926
|
+
}
|
|
26927
|
+
|
|
26928
|
+
@supports not (position-area: bottom) {
|
|
26929
|
+
.select-dropdown[popover] {
|
|
26930
|
+
top: anchor(bottom);
|
|
26931
|
+
left: anchor(left);
|
|
26932
|
+
}
|
|
26933
|
+
}
|
|
26934
|
+
|
|
26935
|
+
.select-dropdown[popover]:popover-open {
|
|
26936
|
+
display: grid;
|
|
26937
|
+
}
|
|
26938
|
+
|
|
26898
26939
|
.select-option {
|
|
26899
26940
|
display: flex;
|
|
26900
26941
|
width: 100%;
|