@duskmoon-dev/core 1.19.7 → 1.19.9
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 +1 -1
- package/dist/components/cascader.css +28 -26
- package/dist/components/index.css +40 -39
- package/dist/components/tree-select.css +12 -13
- package/dist/effects/aura.css +88 -7
- package/dist/effects/hover-3d.css +94 -5
- package/dist/effects/hover-gallery.css +56 -12
- package/dist/effects/index.css +303 -34
- package/dist/effects/text-rotate.css +65 -10
- package/dist/esm/components/cascader.js +28 -26
- package/dist/esm/components/tree-select.js +12 -13
- package/dist/esm/effects/aura.js +89 -8
- package/dist/esm/effects/hover-3d.js +94 -5
- package/dist/esm/effects/hover-gallery.js +55 -11
- package/dist/esm/effects/index.js +303 -34
- package/dist/esm/effects/text-rotate.js +65 -10
- package/dist/index.css +40 -39
- package/dist/index.min.css +1 -1
- package/dist/standalone/duskmoonui-themes.css +1 -1
- package/dist/standalone/duskmoonui.css +42 -41
- package/dist/standalone/duskmoonui.js +4 -4
- package/dist/standalone/duskmoonui.mjs +4 -4
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -8609,6 +8609,23 @@ html {
|
|
|
8609
8609
|
background-color: var(--color-surface-container-high);
|
|
8610
8610
|
}
|
|
8611
8611
|
|
|
8612
|
+
.cascader:has(> .cascader-clear) .cascader-value {
|
|
8613
|
+
padding-inline-end: 2rem;
|
|
8614
|
+
}
|
|
8615
|
+
|
|
8616
|
+
.cascader > .cascader-clear {
|
|
8617
|
+
position: absolute;
|
|
8618
|
+
inset-block-start: 50%;
|
|
8619
|
+
inset-inline-end: 2.75rem;
|
|
8620
|
+
z-index: 1;
|
|
8621
|
+
transform: translateY(-50%);
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
.cascader > .cascader-clear:focus-visible {
|
|
8625
|
+
outline: 2px solid currentColor;
|
|
8626
|
+
outline-offset: 2px;
|
|
8627
|
+
}
|
|
8628
|
+
|
|
8612
8629
|
/* Cascader Dropdown */
|
|
8613
8630
|
.cascader-dropdown {
|
|
8614
8631
|
position: absolute;
|
|
@@ -8630,7 +8647,10 @@ html {
|
|
|
8630
8647
|
|
|
8631
8648
|
/* Popover API Support */
|
|
8632
8649
|
.cascader-dropdown[popover] {
|
|
8633
|
-
|
|
8650
|
+
position: fixed;
|
|
8651
|
+
inset: auto 0.5rem 0.5rem auto;
|
|
8652
|
+
max-inline-size: calc(100dvw - 1rem);
|
|
8653
|
+
max-block-size: min(16rem, calc(100dvh - 1rem));
|
|
8634
8654
|
margin: 0;
|
|
8635
8655
|
border: 1px solid var(--color-outline-variant);
|
|
8636
8656
|
}
|
|
@@ -8639,32 +8659,14 @@ html {
|
|
|
8639
8659
|
display: flex;
|
|
8640
8660
|
}
|
|
8641
8661
|
|
|
8642
|
-
/*
|
|
8643
|
-
@supports (
|
|
8644
|
-
.cascader-trigger {
|
|
8645
|
-
anchor-name: --cascader-anchor;
|
|
8646
|
-
}
|
|
8647
|
-
|
|
8662
|
+
/* The popovertarget invoker is the implicit anchor for its own dropdown. */
|
|
8663
|
+
@supports (position-area: block-end) {
|
|
8648
8664
|
.cascader-dropdown[popover] {
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
position-try-fallbacks: flip-block;
|
|
8654
|
-
}
|
|
8655
|
-
}
|
|
8656
|
-
|
|
8657
|
-
/* Fallback for browsers without anchor positioning */
|
|
8658
|
-
@supports not (anchor-name: --anchor) {
|
|
8659
|
-
.cascader {
|
|
8660
|
-
position: relative;
|
|
8661
|
-
}
|
|
8662
|
-
|
|
8663
|
-
.cascader-dropdown[popover]:popover-open {
|
|
8664
|
-
position: absolute;
|
|
8665
|
-
top: 100%;
|
|
8666
|
-
left: 0;
|
|
8667
|
-
margin-top: 0.25rem;
|
|
8665
|
+
inset: auto;
|
|
8666
|
+
margin-block: 0.25rem;
|
|
8667
|
+
margin-inline: 0;
|
|
8668
|
+
position-area: block-end span-inline-end;
|
|
8669
|
+
position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
|
|
8668
8670
|
}
|
|
8669
8671
|
}
|
|
8670
8672
|
|
|
@@ -13863,8 +13865,10 @@ html {
|
|
|
13863
13865
|
/* Popover API Support */
|
|
13864
13866
|
.tree-select-dropdown[popover] {
|
|
13865
13867
|
/* Reset browser defaults for proper positioning */
|
|
13866
|
-
position:
|
|
13867
|
-
inset:
|
|
13868
|
+
position: fixed;
|
|
13869
|
+
inset: auto 0.5rem 0.5rem auto;
|
|
13870
|
+
max-inline-size: calc(100dvw - 1rem);
|
|
13871
|
+
max-block-size: min(20rem, calc(100dvh - 1rem));
|
|
13868
13872
|
margin: 0;
|
|
13869
13873
|
border: 1px solid var(--color-outline-variant);
|
|
13870
13874
|
}
|
|
@@ -13873,18 +13877,15 @@ html {
|
|
|
13873
13877
|
display: block;
|
|
13874
13878
|
}
|
|
13875
13879
|
|
|
13876
|
-
/*
|
|
13877
|
-
@supports (
|
|
13878
|
-
.tree-select {
|
|
13879
|
-
anchor-name: --tree-select;
|
|
13880
|
-
}
|
|
13881
|
-
|
|
13880
|
+
/* The popovertarget invoker is the implicit anchor for its own dropdown. */
|
|
13881
|
+
@supports (position-area: block-end) {
|
|
13882
13882
|
.tree-select-dropdown[popover] {
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
position-
|
|
13883
|
+
inset: auto;
|
|
13884
|
+
inline-size: anchor-size(width);
|
|
13885
|
+
margin-block: 0.25rem;
|
|
13886
|
+
margin-inline: 0;
|
|
13887
|
+
position-area: block-end span-inline-end;
|
|
13888
|
+
position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
|
|
13888
13889
|
}
|
|
13889
13890
|
}
|
|
13890
13891
|
|