@humu-tech/ui 0.1.26 → 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.
@@ -0,0 +1,143 @@
1
+ .rdp-root.rdp-humu-range {
2
+ --rdp-accent-background-color: color-mix(
3
+ in oklch,
4
+ var(--humu-background-brand-brand) 18%,
5
+ transparent
6
+ );
7
+ --rdp-day-width: 36px;
8
+ --rdp-day-height: 36px;
9
+ --rdp-day_button-width: 36px;
10
+ --rdp-day_button-height: 36px;
11
+ --rdp-nav-height: 2rem;
12
+ --rdp-nav_button-width: 2rem;
13
+ --rdp-nav_button-height: 2rem;
14
+ --rdp-months-gap: 1.5rem;
15
+ --rdp-accent-color: var(--humu-background-brand-brand);
16
+ --rdp-today-color: var(--humu-background-brand-brand);
17
+ --rdp-selected-border: 2px solid var(--humu-background-brand-brand);
18
+ --rdp-outside-opacity: 0.5;
19
+ --rdp-disabled-opacity: 0.4;
20
+ --rdp-weekday-text-transform: uppercase;
21
+ --rdp-weekday-opacity: 1;
22
+ margin: 0;
23
+ color: var(--humu-content-title);
24
+ }
25
+
26
+ .rdp-humu-range .rdp-weekday {
27
+ color: var(--humu-content-subtitle);
28
+ font-weight: 500;
29
+ }
30
+
31
+ .rdp-humu-range .rdp-caption_label {
32
+ color: var(--humu-content-title);
33
+ font-weight: 600;
34
+ }
35
+
36
+ .rdp-humu-range .rdp-day_button {
37
+ border-radius: var(--radius-md, 8px);
38
+ color: var(--humu-content-title);
39
+ }
40
+
41
+ .rdp-humu-range
42
+ .rdp-day:not(.rdp-selected):not(.rdp-range_middle)
43
+ .rdp-day_button:hover:not([disabled]) {
44
+ background-color: color-mix(
45
+ in oklch,
46
+ var(--humu-background-brand-brand) 22%,
47
+ transparent
48
+ );
49
+ }
50
+
51
+ .rdp-humu-range .rdp-day_button:focus-visible {
52
+ outline: 2px solid var(--humu-background-brand-brand);
53
+ outline-offset: 1px;
54
+ }
55
+
56
+ .rdp-humu-range .rdp-today .rdp-day_button {
57
+ color: var(--humu-background-brand-brand);
58
+ font-weight: 600;
59
+ }
60
+
61
+ .rdp-humu-range
62
+ .rdp-today:not(.rdp-selected):not(.rdp-range_middle)
63
+ .rdp-day_button {
64
+ box-shadow: inset 0 0 0 1.5px var(--humu-background-brand-brand);
65
+ }
66
+
67
+ .rdp-humu-range .rdp-outside .rdp-day_button {
68
+ color: var(--humu-content-body-text);
69
+ }
70
+
71
+ .rdp-humu-range .rdp-range_start .rdp-day_button,
72
+ .rdp-humu-range .rdp-range_end .rdp-day_button,
73
+ .rdp-humu-range .rdp-selected:not(.rdp-range_middle) .rdp-day_button {
74
+ background-color: var(--humu-background-brand-brand);
75
+ color: var(--humu-content-on-brand);
76
+ font-weight: 600;
77
+ border: none;
78
+ }
79
+
80
+ .rdp-humu-range .rdp-range_middle {
81
+ font-weight: 400;
82
+ }
83
+
84
+ .rdp-humu-range .rdp-range_middle .rdp-day_button {
85
+ color: var(--humu-content-title);
86
+ border-radius: 0;
87
+ }
88
+
89
+ .rdp-humu-range .rdp-range_middle .rdp-day_button:hover:not([disabled]) {
90
+ background-color: color-mix(
91
+ in oklch,
92
+ var(--humu-background-brand-brand) 32%,
93
+ transparent
94
+ );
95
+ }
96
+
97
+ .rdp-humu-range .rdp-range_start:not(.rdp-range_end) .rdp-day_button {
98
+ border-top-right-radius: 0;
99
+ border-bottom-right-radius: 0;
100
+ }
101
+
102
+ .rdp-humu-range .rdp-range_end:not(.rdp-range_start) .rdp-day_button {
103
+ border-top-left-radius: 0;
104
+ border-bottom-left-radius: 0;
105
+ }
106
+
107
+ .rdp-humu-range .rdp-button_previous,
108
+ .rdp-humu-range .rdp-button_next {
109
+ display: inline-flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ border: 1px solid var(--humu-border-default);
113
+ border-radius: 9999px;
114
+ background-color: var(--humu-background-surface);
115
+ color: var(--humu-content-title);
116
+ transition: background-color 120ms ease;
117
+ }
118
+
119
+ .rdp-humu-range .rdp-button_previous:not([aria-disabled='true']):hover,
120
+ .rdp-humu-range .rdp-button_next:not([aria-disabled='true']):hover {
121
+ background-color: var(--humu-background-surface);
122
+ }
123
+
124
+ .rdp-humu-range .rdp-button_previous:focus-visible,
125
+ .rdp-humu-range .rdp-button_next:focus-visible {
126
+ outline: 2px solid var(--humu-background-brand-brand);
127
+ outline-offset: 1px;
128
+ }
129
+
130
+ .rdp-humu-range .rdp-button_previous[aria-disabled='true'],
131
+ .rdp-humu-range .rdp-button_next[aria-disabled='true'] {
132
+ opacity: 0.4;
133
+ }
134
+
135
+ .rdp-humu-range .rdp-chevron {
136
+ width: 1rem;
137
+ height: 1rem;
138
+ fill: currentColor;
139
+ }
140
+
141
+ .rdp-humu-range .rdp-selected {
142
+ font-size: inherit;
143
+ }
@@ -0,0 +1,7 @@
1
+ .humu-sidebar-nav {
2
+ scrollbar-width: none;
3
+ }
4
+
5
+ .humu-sidebar-nav::-webkit-scrollbar {
6
+ display: none;
7
+ }