orphos 0.53.3 → 0.53.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.
- package/colors.css +3 -55
- package/dist/input.js +1 -1
- package/dist/textarea.js +1 -1
- package/package.json +1 -1
package/colors.css
CHANGED
|
@@ -26,19 +26,6 @@
|
|
|
26
26
|
--gray-10: #727272;
|
|
27
27
|
--gray-11: #606060;
|
|
28
28
|
--gray-12: #202020;
|
|
29
|
-
|
|
30
|
-
--gray-a1: #00000003;
|
|
31
|
-
--gray-a2: #00000008;
|
|
32
|
-
--gray-a3: #00000013;
|
|
33
|
-
--gray-a4: #0000001b;
|
|
34
|
-
--gray-a5: #00000024;
|
|
35
|
-
--gray-a6: #0000002d;
|
|
36
|
-
--gray-a7: #00000038;
|
|
37
|
-
--gray-a8: #0000004d;
|
|
38
|
-
--gray-a9: #0000007d;
|
|
39
|
-
--gray-a10: #00000088;
|
|
40
|
-
--gray-a11: #000000a6;
|
|
41
|
-
--gray-a12: #000000de;
|
|
42
29
|
}
|
|
43
30
|
|
|
44
31
|
@supports (color: color(display-p3 1 1 1)) {
|
|
@@ -60,19 +47,6 @@
|
|
|
60
47
|
--gray-10: oklch(55.2% 0 none);
|
|
61
48
|
--gray-11: oklch(48.8% 0 none);
|
|
62
49
|
--gray-12: oklch(24.3% 0 none);
|
|
63
|
-
|
|
64
|
-
--gray-a1: color(display-p3 0 0 0 / 0.0123);
|
|
65
|
-
--gray-a2: color(display-p3 0 0 0 / 0.0328);
|
|
66
|
-
--gray-a3: color(display-p3 0 0 0 / 0.0738);
|
|
67
|
-
--gray-a4: color(display-p3 0 0 0 / 0.1066);
|
|
68
|
-
--gray-a5: color(display-p3 0 0 0 / 0.1393);
|
|
69
|
-
--gray-a6: color(display-p3 0 0 0 / 0.1762);
|
|
70
|
-
--gray-a7: color(display-p3 0 0 0 / 0.2213);
|
|
71
|
-
--gray-a8: color(display-p3 0 0 0 / 0.3033);
|
|
72
|
-
--gray-a9: color(display-p3 0 0 0 / 0.4918);
|
|
73
|
-
--gray-a10: color(display-p3 0 0 0 / 0.5328);
|
|
74
|
-
--gray-a11: color(display-p3 0 0 0 / 0.6516);
|
|
75
|
-
--gray-a12: color(display-p3 0 0 0 / 0.8689);
|
|
76
50
|
}
|
|
77
51
|
}
|
|
78
52
|
}
|
|
@@ -93,19 +67,6 @@
|
|
|
93
67
|
--gray-10: #7b7b7b;
|
|
94
68
|
--gray-11: #b4b4b4;
|
|
95
69
|
--gray-12: #eee;
|
|
96
|
-
|
|
97
|
-
--gray-a1: #00000000;
|
|
98
|
-
--gray-a2: #ffffff0c;
|
|
99
|
-
--gray-a: #ffffff16;
|
|
100
|
-
--gray-a3: #ffffff1e;
|
|
101
|
-
--gray-a4: #ffffff26;
|
|
102
|
-
--gray-a6: #ffffff2f;
|
|
103
|
-
--gray-a7: #ffffff3e;
|
|
104
|
-
--gray-a8: #ffffff57;
|
|
105
|
-
--gray-a9: #ffffff66;
|
|
106
|
-
--gray-a10: #ffffff74;
|
|
107
|
-
--gray-a11: #ffffffb0;
|
|
108
|
-
--gray-a12: #ffffffed;
|
|
109
70
|
}
|
|
110
71
|
|
|
111
72
|
@supports (color: color(display-p3 1 1 1)) {
|
|
@@ -126,19 +87,6 @@
|
|
|
126
87
|
--gray-10: oklch(58.4% 0 none);
|
|
127
88
|
--gray-11: oklch(77% 0 none);
|
|
128
89
|
--gray-12: oklch(94.9% 0 none);
|
|
129
|
-
|
|
130
|
-
--gray-a1: color(display-p3 0 0 0 / 0);
|
|
131
|
-
--gray-a2: color(display-p3 1 1 1 / 0.0455);
|
|
132
|
-
--gray-a: color(display-p3 1 1 1 / 0.0868);
|
|
133
|
-
--gray-a3: color(display-p3 1 1 1 / 0.1157);
|
|
134
|
-
--gray-a4: color(display-p3 1 1 1 / 0.1488);
|
|
135
|
-
--gray-a6: color(display-p3 1 1 1 / 0.186);
|
|
136
|
-
--gray-a7: color(display-p3 1 1 1 / 0.2438);
|
|
137
|
-
--gray-a8: color(display-p3 1 1 1 / 0.343);
|
|
138
|
-
--gray-a9: color(display-p3 1 1 1 / 0.4008);
|
|
139
|
-
--gray-a10: color(display-p3 1 1 1 / 0.4545);
|
|
140
|
-
--gray-a11: color(display-p3 1 1 1 / 0.6901);
|
|
141
|
-
--gray-a12: color(display-p3 1 1 1 / 0.9298);
|
|
142
90
|
}
|
|
143
91
|
}
|
|
144
92
|
}
|
|
@@ -147,9 +95,9 @@
|
|
|
147
95
|
--background: var(--gray-1);
|
|
148
96
|
--background-subtle: var(--gray-2);
|
|
149
97
|
--background-element: var(--color-background);
|
|
150
|
-
--background-element-hover: var(--gray-
|
|
151
|
-
--background-element-active: var(--gray-
|
|
152
|
-
--border-subtle: var(--gray-
|
|
98
|
+
--background-element-hover: var(--gray-3);
|
|
99
|
+
--background-element-active: var(--gray-4);
|
|
100
|
+
--border-subtle: var(--gray-4);
|
|
153
101
|
--foreground-subtle: var(--gray-11);
|
|
154
102
|
--foreground: var(--gray-12);
|
|
155
103
|
}
|
package/dist/input.js
CHANGED
|
@@ -5,7 +5,7 @@ import { cva } from "cva";
|
|
|
5
5
|
import { useId, useState } from "react";
|
|
6
6
|
import { cn } from "./utils.js";
|
|
7
7
|
const inputVariants = cva({
|
|
8
|
-
base: "no-drag flex h-8.5 w-full min-w-0 items-center rounded-md border bg-background-element px-2.5 py-1 text-foreground text-
|
|
8
|
+
base: "no-drag flex h-8.5 w-full min-w-0 items-center rounded-md border bg-background-element px-2.5 py-1 text-foreground text-small -outline-offset-1 transition-colors placeholder:text-foreground-subtle placeholder:text-small focus-visible:outline-2 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:outline-2 aria-invalid:outline-danger",
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
11
11
|
default: "",
|
package/dist/textarea.js
CHANGED
|
@@ -3,7 +3,7 @@ import { cn } from "./utils.js";
|
|
|
3
3
|
function Textarea({ className, ...props }) {
|
|
4
4
|
return /*#__PURE__*/ jsx("textarea", {
|
|
5
5
|
"data-slot": "textarea",
|
|
6
|
-
className: cn("scrollbar-hide field-sizing-content flex min-h-16 w-full overflow-y-auto rounded-md border bg-background-element px-2.5 pt-2 pb-6 text-
|
|
6
|
+
className: cn("scrollbar-hide field-sizing-content flex min-h-16 w-full overflow-y-auto rounded-md border bg-background-element px-2.5 pt-2 pb-6 text-small leading-normal transition-[color,box-shadow] placeholder:text-foreground-subtle placeholder:text-small focus-visible:outline-2 focus-visible:-outline-offset-1 disabled:cursor-not-allowed disabled:resize-none disabled:opacity-50 aria-invalid:outline aria-invalid:outline-danger", className),
|
|
7
7
|
...props
|
|
8
8
|
});
|
|
9
9
|
}
|