h2o-library 1.1.0 → 1.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.
- package/README.md +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/src/accordion.d.ts +4 -1
- package/dist/components/src/calendar.d.ts +12 -0
- package/dist/components/src/expandable.d.ts +1 -1
- package/dist/components/src/icon.d.ts +1 -1
- package/dist/components/src/logo.d.ts +5 -0
- package/dist/components/src/popover.d.ts +7 -5
- package/dist/components/src/radio.d.ts +1 -1
- package/dist/components/src/side-panel.d.ts +1 -1
- package/dist/components/src/toggle.d.ts +2 -1
- package/dist/css/index.css +1 -1
- package/dist/css/src/accordion.css +14 -8
- package/dist/css/src/button.css +1 -1
- package/dist/css/src/calendar.css +197 -7
- package/dist/css/src/content-switch.css +1 -0
- package/dist/css/src/dropdown.css +4 -4
- package/dist/css/src/index.css +0 -3
- package/dist/css/src/input.css +15 -6
- package/dist/css/src/modal.css +2 -2
- package/dist/css/src/multi-select.css +1 -1
- package/dist/css/src/popover.css +4 -1
- package/dist/css/src/side-panel.css +3 -4
- package/dist/css/src/table.css +7 -8
- package/dist/css/src/tabs.css +1 -1
- package/dist/css/src/textarea.css +20 -5
- package/dist/css/src/toggle.css +23 -4
- package/dist/css/src/tooltip.css +5 -5
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/components/src/accordion.d.ts +4 -1
- package/dist/esm/components/src/calendar.d.ts +12 -0
- package/dist/esm/components/src/expandable.d.ts +1 -1
- package/dist/esm/components/src/icon.d.ts +1 -1
- package/dist/esm/components/src/logo.d.ts +5 -0
- package/dist/esm/components/src/popover.d.ts +7 -5
- package/dist/esm/components/src/radio.d.ts +1 -1
- package/dist/esm/components/src/side-panel.d.ts +1 -1
- package/dist/esm/components/src/toggle.d.ts +2 -1
- package/dist/esm/css/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/package.json +8 -5
- package/dist/components/src/date-picker.d.ts +0 -13
- package/dist/esm/components/src/date-picker.d.ts +0 -13
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ export * from "./src/side-panel";
|
|
|
13
13
|
export * from "./src/modal";
|
|
14
14
|
export * from "./src/tag";
|
|
15
15
|
export * from "./src/accordion";
|
|
16
|
-
export * from "./src/date-picker";
|
|
17
16
|
export * from "./src/multi-select";
|
|
18
17
|
export * from "./src/radio-group";
|
|
19
18
|
export * from "./src/tabs";
|
|
@@ -22,3 +21,5 @@ export * from "./src/popover";
|
|
|
22
21
|
export * from "./src/pagination";
|
|
23
22
|
export * from "./src/table";
|
|
24
23
|
export * from "./src/toast";
|
|
24
|
+
export * from "./src/logo";
|
|
25
|
+
export * from "./src/calendar";
|
|
@@ -4,6 +4,9 @@ export interface AccordionProps {
|
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
setIsOpen: (isOpen: boolean) => void;
|
|
6
6
|
children: React.ReactNode;
|
|
7
|
+
description?: string;
|
|
7
8
|
className?: string;
|
|
9
|
+
titleClassName?: string;
|
|
10
|
+
descriptionClassName?: string;
|
|
8
11
|
}
|
|
9
|
-
export declare const Accordion: ({ title, isOpen, setIsOpen, children, className, }: AccordionProps) => React.JSX.Element;
|
|
12
|
+
export declare const Accordion: ({ title, isOpen, setIsOpen, children, description, className, titleClassName, descriptionClassName, }: AccordionProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type CalendarMode = "single" | "range";
|
|
3
|
+
interface CalendarProps {
|
|
4
|
+
mode?: CalendarMode;
|
|
5
|
+
value?: Date | [Date | null, Date | null];
|
|
6
|
+
onChange?: (value: Date | [Date | null, Date | null]) => void;
|
|
7
|
+
minDate?: Date;
|
|
8
|
+
maxDate?: Date;
|
|
9
|
+
forceWeek?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const Calendar: ({ mode, value, onChange, minDate, maxDate, forceWeek, }: CalendarProps) => JSX.Element | null;
|
|
12
|
+
export { Calendar };
|
|
@@ -5,4 +5,4 @@ export interface ExpandableSearchProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
value?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const ExpandableSearch: React.
|
|
8
|
+
export declare const ExpandableSearch: ({ onSearch, placeholder, className, value, }: ExpandableSearchProps) => React.JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
|
6
6
|
tooltip?: string;
|
|
7
7
|
tooltipPosition?: TooltipPosition;
|
|
8
8
|
}
|
|
9
|
-
export declare const Icon:
|
|
9
|
+
export declare const Icon: ({ icon, size, tooltip, tooltipPosition, ...props }: IconProps) => JSX.Element;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
interface PopOverProps {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
setIsOpen: (isOpen: boolean) => void;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
+
alignment?: "left" | "right";
|
|
7
|
+
className?: string;
|
|
6
8
|
}
|
|
7
|
-
export declare const PopOver: ({ children, isOpen, setIsOpen }: PopOverProps) => React.JSX.Element;
|
|
9
|
+
export declare const PopOver: ({ children, isOpen, setIsOpen, alignment, className, }: PopOverProps) => React.JSX.Element;
|
|
8
10
|
export declare const PopOverTrigger: ({ children }: {
|
|
9
11
|
children: React.ReactNode;
|
|
10
12
|
}) => React.JSX.Element;
|
|
11
|
-
export declare const PopOverContent: ({ children }: {
|
|
12
|
-
children:
|
|
13
|
-
}) =>
|
|
13
|
+
export declare const PopOverContent: ({ children, }: {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}) => JSX.Element | null;
|
|
14
16
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface SidePanelProps {
|
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const SidePanel: ({ isOpen, onClose, title, description, children, className, }: SidePanelProps) =>
|
|
10
|
+
export declare const SidePanel: ({ isOpen, onClose, title, description, children, className, }: SidePanelProps) => JSX.Element | null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface ToggleProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
3
3
|
label?: string;
|
|
4
|
+
description?: string;
|
|
4
5
|
className?: string;
|
|
5
6
|
isCard?: boolean;
|
|
6
7
|
isDraggable?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const Toggle:
|
|
9
|
+
export declare const Toggle: ({ label, description, className, isCard, isDraggable, ...props }: ToggleProps) => JSX.Element;
|
package/dist/css/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--
|
|
1
|
+
:root{--primary-disabled:225 100% 88%;--primary-muted:221 100% 95%;--primary:225 91% 59%;--primary-200:225 100% 43%;--primary-300:225 91% 40%;--primary-400:225 91% 18%;--success-bg:143 26% 86%;--success:130 35% 46%;--success-200:130 76% 26%;--success-300:130 100% 18%;--warning-bg:45 100% 84%;--warning:45 100% 61%;--warning-200:45 100% 45%;--warning-300:45 100% 32%;--destructive-bg:357 100% 92%;--destructive:0 83% 60%;--destructive-200:0 100% 42%;--destructive-300:0 100% 29%;--muted-25:0 0 98%;--muted-50:0 0 96%;--muted:0 0 80%;--muted-200:0 0 67%;--radius-sm:0.25rem;--radius-md:0.375rem;--radius-lg:0.5rem;--radius-full:9999px}@import "./src/accordion.css";@import "./src/button.css";@import "./src/calendar.css";@import "./src/checkbox.css";@import "./src/content-switch.css";@import "./src/dropdown.css";@import "./src/input.css";@import "./src/modal.css";@import "./src/multi-select.css";@import "./src/popover.css";@import "./src/radio.css";@import "./src/search.css";@import "./src/side-panel.css";@import "./src/status.css";@import "./src/tabs.css";@import "./src/tag.css";@import "./src/textarea.css";@import "./src/toggle.css";@import "./src/tooltip.css";@import "./src/pagination.css";@import "./src/table.css";@import "./src/toast.css";
|
|
@@ -6,14 +6,24 @@
|
|
|
6
6
|
.accordion-trigger {
|
|
7
7
|
width: 100%;
|
|
8
8
|
display: flex;
|
|
9
|
-
|
|
10
|
-
align-items:
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
gap: 0.6rem;
|
|
11
12
|
background: none;
|
|
12
13
|
border: none;
|
|
13
14
|
cursor: pointer;
|
|
14
|
-
color: hsl(var(--foreground));
|
|
15
15
|
transition: all 0.2s;
|
|
16
|
-
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.accordion-title-container {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.accordion-description {
|
|
26
|
+
color: hsl(var(--muted-200));
|
|
17
27
|
}
|
|
18
28
|
|
|
19
29
|
.accordion-icon {
|
|
@@ -39,7 +49,3 @@
|
|
|
39
49
|
transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
|
40
50
|
margin-top: 0.5rem;
|
|
41
51
|
}
|
|
42
|
-
|
|
43
|
-
.accordion-content-inner {
|
|
44
|
-
background-color: hsl(var(--background));
|
|
45
|
-
}
|
package/dist/css/src/button.css
CHANGED
|
@@ -1,16 +1,206 @@
|
|
|
1
|
-
.calendar-
|
|
1
|
+
.calendar-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
max-width: 24rem;
|
|
4
|
+
background-color: hsl(var(--background));
|
|
5
|
+
border-radius: 0.5rem;
|
|
6
|
+
box-shadow: var(--primary-shadow);
|
|
7
|
+
border: 1px solid hsl(var(--primary-muted));
|
|
8
|
+
padding: 0 1rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.calendar-header {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
padding: 1rem 0.5rem;
|
|
16
|
+
text-transform: capitalize;
|
|
17
|
+
border-bottom: 1px solid hsl(var(--muted) / 50%);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.calendar-title {
|
|
21
|
+
font-size: 1rem;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.calendar-nav-button {
|
|
26
|
+
background: none;
|
|
27
|
+
border: none;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
padding: 0.2rem;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
border-radius: 0.25rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.calendar-nav-button:hover {
|
|
37
|
+
background-color: hsl(var(--muted-50));
|
|
2
38
|
color: hsl(var(--primary));
|
|
39
|
+
transition: all 0.2s ease-in-out;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.calendar-grid {
|
|
43
|
+
display: grid;
|
|
44
|
+
grid-template-columns: repeat(7, 1fr);
|
|
45
|
+
padding: 0.5rem;
|
|
46
|
+
grid-row-gap: 0.5rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.calendar-weekday {
|
|
50
|
+
text-align: center;
|
|
51
|
+
font-size: 0.7rem;
|
|
3
52
|
font-weight: 500;
|
|
53
|
+
padding: 0.35rem; /* increasing here will increase the width of the calendar */
|
|
54
|
+
text-transform: uppercase;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.calendar-day {
|
|
58
|
+
aspect-ratio: 1;
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
border: none;
|
|
64
|
+
background: none;
|
|
65
|
+
font-size: 0.75rem;
|
|
66
|
+
position: relative;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.calendar-day:disabled {
|
|
70
|
+
color: hsl(var(--muted));
|
|
71
|
+
cursor: not-allowed;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.calendar-day.outside-month {
|
|
75
|
+
color: hsl(var(--muted-200));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.calendar-day:not(:disabled):not(.selected):not(.in-range):hover {
|
|
79
|
+
background-color: hsl(var(--primary));
|
|
80
|
+
color: white;
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
transition: background-color 0.2s ease-in-out;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.calendar-day.selected {
|
|
86
|
+
background-color: hsl(var(--primary));
|
|
87
|
+
color: white;
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
&:hover {
|
|
90
|
+
background-color: hsl(var(--primary-200));
|
|
91
|
+
}
|
|
4
92
|
}
|
|
5
93
|
|
|
6
|
-
.calendar-day-
|
|
7
|
-
|
|
94
|
+
.calendar-day.in-range:not(.range-start):not(.range-end) {
|
|
95
|
+
background-color: hsl(var(--primary-muted));
|
|
96
|
+
border-radius: 0;
|
|
97
|
+
&:hover {
|
|
98
|
+
color: hsl(var(--primary));
|
|
99
|
+
transition: color 0.2s ease-in-out;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.calendar-day.range-start {
|
|
104
|
+
background-color: hsl(var(--primary));
|
|
105
|
+
color: white;
|
|
106
|
+
border-radius: 50%;
|
|
107
|
+
position: relative;
|
|
108
|
+
&:hover {
|
|
109
|
+
&::before {
|
|
110
|
+
background-color: hsl(var(--primary-200));
|
|
111
|
+
transition: background-color 0.2s ease-in-out;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
&::before {
|
|
115
|
+
content: attr(data-number);
|
|
116
|
+
position: absolute;
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
top: 0;
|
|
121
|
+
bottom: 0;
|
|
122
|
+
width: 100%;
|
|
123
|
+
background-color: hsl(var(--primary));
|
|
124
|
+
z-index: 10;
|
|
125
|
+
border-radius: 50%;
|
|
126
|
+
}
|
|
127
|
+
&::after {
|
|
128
|
+
content: "";
|
|
129
|
+
position: absolute;
|
|
130
|
+
top: 0;
|
|
131
|
+
bottom: 0;
|
|
132
|
+
width: 100%;
|
|
133
|
+
background-color: hsl(var(--primary-muted));
|
|
134
|
+
border-radius: 50% 0 0 50%;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.calendar-day.range-end {
|
|
139
|
+
background-color: hsl(var(--primary));
|
|
140
|
+
color: white;
|
|
141
|
+
border-radius: 50%;
|
|
142
|
+
position: relative;
|
|
143
|
+
&:hover {
|
|
144
|
+
&::before {
|
|
145
|
+
background-color: hsl(var(--primary-200));
|
|
146
|
+
transition: background-color 0.2s ease-in-out;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&::before {
|
|
150
|
+
content: attr(data-number);
|
|
151
|
+
position: absolute;
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
top: 0;
|
|
156
|
+
bottom: 0;
|
|
157
|
+
width: 100%;
|
|
158
|
+
background-color: hsl(var(--primary));
|
|
159
|
+
z-index: 10;
|
|
160
|
+
border-radius: 50%;
|
|
161
|
+
}
|
|
162
|
+
&::after {
|
|
163
|
+
content: "";
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 0;
|
|
166
|
+
bottom: 0;
|
|
167
|
+
width: 100%;
|
|
168
|
+
border-radius: 0 50% 50% 0;
|
|
169
|
+
background-color: hsl(var(--primary-muted));
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.calendar-day.in-range.week-start:not(.range-start):not(.range-end) {
|
|
174
|
+
border-radius: 50% 0 0 50% !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.calendar-day.in-range.week-end:not(.range-start):not(.range-end) {
|
|
178
|
+
border-radius: 0 50% 50% 0 !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.calendar-day.range-start:not(.range-end)::after {
|
|
182
|
+
right: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.calendar-day.range-end:not(.range-start)::after {
|
|
186
|
+
left: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.calendar-day.today:not(.selected):not(.range-start):not(.range-end) {
|
|
190
|
+
font-weight: bold;
|
|
191
|
+
color: hsl(var(--primary));
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.today-indicator {
|
|
195
|
+
z-index: 50;
|
|
8
196
|
position: absolute;
|
|
197
|
+
bottom: 4px;
|
|
9
198
|
width: 4px;
|
|
10
199
|
height: 4px;
|
|
11
|
-
bottom: 4px;
|
|
12
|
-
left: 50%;
|
|
13
|
-
transform: translateX(-50%);
|
|
14
|
-
background-color: hsl(var(--primary));
|
|
15
200
|
border-radius: 50%;
|
|
201
|
+
background-color: white;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.calendar-day.today:not(.selected):not(.range-start):not(.range-end) .today-indicator {
|
|
205
|
+
background-color: hsl(var(--primary));
|
|
16
206
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
.dropdown-clear {
|
|
21
21
|
font-size: 0.875rem;
|
|
22
|
-
color: hsl(var(--muted-
|
|
22
|
+
color: hsl(var(--muted-200));
|
|
23
23
|
background: none;
|
|
24
24
|
border: none;
|
|
25
25
|
cursor: pointer;
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
width: 100%;
|
|
37
37
|
border-radius: 0.375rem;
|
|
38
38
|
border: 1.5px solid hsl(var(--muted));
|
|
39
|
+
background: hsl(var(--background));
|
|
39
40
|
transition: border-color 0.2s, background-color 0.2s;
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
|
|
52
53
|
.dropdown-wrapper.dropdown-error {
|
|
53
54
|
border-color: hsl(var(--destructive));
|
|
54
|
-
background-color: hsl(var(--destructive) / 0.
|
|
55
|
+
background-color: hsl(var(--destructive-bg) / 0.3);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
.dropdown-wrapper.dropdown-error:hover,
|
|
@@ -69,7 +70,6 @@
|
|
|
69
70
|
display: flex;
|
|
70
71
|
align-items: center;
|
|
71
72
|
justify-content: space-between;
|
|
72
|
-
background: transparent;
|
|
73
73
|
border: none;
|
|
74
74
|
outline: none;
|
|
75
75
|
color: hsl(var(--foreground));
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
|
|
201
201
|
.dropdown-note {
|
|
202
202
|
font-size: 0.875rem;
|
|
203
|
-
color: hsl(var(--muted-
|
|
203
|
+
color: hsl(var(--muted-200));
|
|
204
204
|
transition: color 0.2s;
|
|
205
205
|
}
|
|
206
206
|
|
package/dist/css/src/index.css
CHANGED
package/dist/css/src/input.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
.input-clear {
|
|
24
24
|
font-size: 0.875rem;
|
|
25
|
-
color: hsl(var(--muted
|
|
25
|
+
color: hsl(var(--muted));
|
|
26
26
|
background: none;
|
|
27
27
|
border: none;
|
|
28
28
|
cursor: pointer;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.input-clear:hover {
|
|
33
|
-
color: hsl(var(--
|
|
33
|
+
color: hsl(var(--muted-200));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.input-wrapper {
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
width: 100%;
|
|
41
41
|
border-radius: var(--radius-md);
|
|
42
42
|
border: 1.5px solid hsl(var(--muted));
|
|
43
|
+
background: hsl(var(--background));
|
|
43
44
|
transition: border-color 0.2s, background-color 0.2s;
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
|
|
54
55
|
.input-wrapper.input-error {
|
|
55
56
|
border-color: hsl(var(--destructive));
|
|
56
|
-
background-color: hsl(var(--destructive) / 0.
|
|
57
|
+
background-color: hsl(var(--destructive-bg) / 0.3);
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
.input-wrapper.input-error:hover,
|
|
@@ -69,11 +70,11 @@
|
|
|
69
70
|
.input {
|
|
70
71
|
width: 100%;
|
|
71
72
|
height: 100%;
|
|
72
|
-
background: transparent;
|
|
73
73
|
border: none;
|
|
74
74
|
outline: none;
|
|
75
75
|
color: hsl(var(--foreground));
|
|
76
76
|
padding: 0 0.8rem;
|
|
77
|
+
background: none;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
.input::placeholder {
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
display: flex;
|
|
110
111
|
align-items: center;
|
|
111
112
|
height: 100%;
|
|
112
|
-
color: hsl(var(--muted-
|
|
113
|
+
color: hsl(var(--muted-200));
|
|
113
114
|
transition: color 0.2s;
|
|
114
115
|
}
|
|
115
116
|
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
/* Note and error message */
|
|
174
175
|
.input-note {
|
|
175
176
|
font-size: 0.875rem;
|
|
176
|
-
color: hsl(var(--muted-
|
|
177
|
+
color: hsl(var(--muted-200));
|
|
177
178
|
transition: color 0.2s;
|
|
178
179
|
}
|
|
179
180
|
|
|
@@ -190,3 +191,11 @@
|
|
|
190
191
|
font-size: 0.875rem;
|
|
191
192
|
color: hsl(var(--destructive));
|
|
192
193
|
}
|
|
194
|
+
|
|
195
|
+
.input-info-icon {
|
|
196
|
+
color: hsl(var(--muted-200));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.input-info-icon:hover {
|
|
200
|
+
color: hsl(var(--primary));
|
|
201
|
+
}
|
package/dist/css/src/modal.css
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
.modal-description {
|
|
42
42
|
margin: 0.5rem 0 0;
|
|
43
43
|
font-size: 0.875rem;
|
|
44
|
-
color: hsl(var(--muted-
|
|
44
|
+
color: hsl(var(--muted-200));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.modal-close {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
background: none;
|
|
50
50
|
border: none;
|
|
51
51
|
border-radius: 0.375rem;
|
|
52
|
-
color: hsl(var(--muted-
|
|
52
|
+
color: hsl(var(--muted-200));
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
transition: all 0.2s;
|
|
55
55
|
}
|
package/dist/css/src/popover.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
.side-panel {
|
|
12
12
|
background-color: hsl(var(--background));
|
|
13
13
|
width: 100%;
|
|
14
|
-
max-width:
|
|
14
|
+
max-width: 24rem;
|
|
15
15
|
height: 100vh;
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.side-panel-description {
|
|
41
41
|
margin: 0.5rem 0 0;
|
|
42
42
|
font-size: 0.875rem;
|
|
43
|
-
color: hsl(var(--muted-
|
|
43
|
+
color: hsl(var(--muted-200));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.side-panel-close {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
background: none;
|
|
49
49
|
border: none;
|
|
50
50
|
border-radius: 0.375rem;
|
|
51
|
-
color: hsl(var(--muted-
|
|
51
|
+
color: hsl(var(--muted-200));
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
transition: all 0.2s;
|
|
54
54
|
}
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.side-panel-content {
|
|
62
|
-
padding: 1.5rem;
|
|
63
62
|
overflow-y: auto;
|
|
64
63
|
flex: 1;
|
|
65
64
|
}
|
package/dist/css/src/table.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.table-wrapper {
|
|
9
9
|
width: 100%;
|
|
10
10
|
overflow-x: auto;
|
|
11
|
-
border: 1px solid hsl(var(--muted
|
|
11
|
+
border: 1px solid hsl(var(--muted) / 60%);
|
|
12
12
|
border-radius: var(--radius-md);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.table th {
|
|
23
|
-
background-color: hsl(var(--muted-25));
|
|
24
23
|
font-weight: 600;
|
|
25
24
|
padding: 0.75rem 1rem;
|
|
26
25
|
color: hsl(var(--foreground));
|
|
27
|
-
border-bottom: 1px solid hsl(var(--muted
|
|
26
|
+
border-bottom: 1px solid hsl(var(--muted) / 60%);
|
|
28
27
|
white-space: nowrap;
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.table th.sortable:hover {
|
|
36
|
-
background-color: hsl(var(--muted-
|
|
35
|
+
background-color: hsl(var(--muted-200));
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
.table-header-content {
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
|
|
59
58
|
.table td {
|
|
60
59
|
padding: 0.75rem 1rem;
|
|
61
|
-
border-bottom: 1px solid hsl(var(--muted
|
|
60
|
+
border-bottom: 1px solid hsl(var(--muted) / 60%);
|
|
62
61
|
color: hsl(var(--foreground));
|
|
63
62
|
}
|
|
64
63
|
|
|
@@ -66,9 +65,9 @@
|
|
|
66
65
|
border-bottom: none;
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
.table tbody tr:hover {
|
|
70
|
-
background-color: hsl(var(--muted-
|
|
71
|
-
}
|
|
68
|
+
/* .table tbody tr:hover {
|
|
69
|
+
background-color: hsl(var(--muted-200));
|
|
70
|
+
} */
|
|
72
71
|
|
|
73
72
|
.table-loading,
|
|
74
73
|
.table-empty {
|