@duskmoon-dev/components 0.5.3 → 0.5.5

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.
@@ -4,7 +4,7 @@
4
4
  import { useCallback, useState } from "react";
5
5
 
6
6
  // src/generated/version.ts
7
- var version = "0.5.3";
7
+ var version = "0.5.5";
8
8
 
9
9
  // src/infrastructure.ts
10
10
  var theme = {
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%;
@@ -27984,9 +28025,6 @@ html {
27984
28025
  }
27985
28026
 
27986
28027
  .timeline-marker {
27987
- --timeline-marker-color: var(--color-primary);
27988
- --timeline-marker-bg: var(--color-primary-container);
27989
-
27990
28028
  position: relative;
27991
28029
  z-index: 1;
27992
28030
  display: inline-flex;
@@ -27995,19 +28033,24 @@ html {
27995
28033
  flex: 0 0 var(--timeline-marker-size);
27996
28034
  align-items: center;
27997
28035
  justify-content: center;
27998
- color: var(--timeline-marker-color);
28036
+ color: var(--color-on-surface-variant);
27999
28037
  background: var(--color-surface);
28000
- border: 2px solid var(--timeline-marker-color);
28038
+ border: 2px solid var(--color-outline-variant);
28001
28039
  border-radius: var(--radius-full);
28002
- box-shadow: 0 0 0 4px var(--timeline-marker-bg);
28003
28040
  }
28004
28041
 
28005
- .timeline-marker:not(.timeline-marker-icon)::after {
28006
- width: 0.625rem;
28007
- height: 0.625rem;
28008
- background: var(--timeline-marker-color);
28042
+ .timeline-marker-dot {
28043
+ width: 0.75rem;
28044
+ height: 0.75rem;
28045
+ background-color: var(--color-outline-variant);
28009
28046
  border-radius: var(--radius-full);
28010
- content: "";
28047
+ }
28048
+
28049
+ .timeline-item-active > .timeline-marker,
28050
+ .timeline-item.active .timeline-marker {
28051
+ border-color: var(--color-primary);
28052
+ background-color: var(--color-primary-container);
28053
+ box-shadow: 0 0 0 4px var(--color-primary-container);
28011
28054
  }
28012
28055
 
28013
28056
  .timeline-marker-secondary {
@@ -28071,21 +28114,21 @@ html {
28071
28114
  }
28072
28115
 
28073
28116
  .timeline-sm {
28074
- --timeline-marker-size: 1.75rem;
28117
+ --timeline-marker-size: 1.5rem;
28075
28118
  }
28076
28119
 
28077
- .timeline-sm .timeline-marker:not(.timeline-marker-icon)::after {
28078
- width: 0.45rem;
28079
- height: 0.45rem;
28120
+ .timeline-sm .timeline-marker-dot {
28121
+ width: 0.5rem;
28122
+ height: 0.5rem;
28080
28123
  }
28081
28124
 
28082
28125
  .timeline-lg {
28083
28126
  --timeline-marker-size: 3rem;
28084
28127
  }
28085
28128
 
28086
- .timeline-lg .timeline-marker:not(.timeline-marker-icon)::after {
28087
- width: 0.75rem;
28088
- height: 0.75rem;
28129
+ .timeline-lg .timeline-marker-dot {
28130
+ width: 0.875rem;
28131
+ height: 0.875rem;
28089
28132
  }
28090
28133
 
28091
28134
  .timeline-right {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duskmoon-dev/components",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",