@qodo/design-system 0.20.1 → 0.20.2
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/dist/design-system.css +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3839,11 +3839,11 @@ const jv = [
|
|
|
3839
3839
|
);
|
|
3840
3840
|
mt.displayName = "Button";
|
|
3841
3841
|
const Pv = Dt(
|
|
3842
|
-
"qodo qodo-input file:text-foreground placeholder:text-purple-muted-400 selection:bg-primary selection:text-primary-foreground border-input-neutral-idle flex h-9 w-full min-w-0 rounded-md border bg-purple-muted-900 px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-none focus-visible:ring-none aria-invalid:border-red-600 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 disabled:cursor-not-allowed disabled:opacity-50 dark:disabled:bg-
|
|
3842
|
+
"qodo qodo-input file:text-foreground placeholder:text-purple-muted-400 selection:bg-primary selection:text-primary-foreground border-input-neutral-idle flex h-9 w-full min-w-0 rounded-md border bg-purple-muted-900 px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-none focus-visible:ring-none aria-invalid:border-red-600 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 disabled:cursor-not-allowed disabled:opacity-50 dark:disabled:bg-[var(--fill-input-neutral-idle)] disabled:border-purple-muted-500 disabled:text-purple-muted-400 read-only:cursor-default md:text-sm dark:border-input-neutral-idle dark:bg-purple-muted-900 dark:text-foreground dark:placeholder:text-[var(--color-purple-muted-400)] [:not(:placeholder-shown)]:bg-purple-muted-700 [&[readonly]]:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:border-0 [&[readonly]]:text-[var(--text-input-neutral-idle)] [&[readonly]]:hover:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:hover:border-[var(--border-input-neutral-idle)] [&[readonly]]:focus:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:focus:border-[var(--border-input-neutral-idle)] [&[readonly]]:focus-visible:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:focus-visible:border-[var(--border-input-neutral-idle)] [&[readonly][disabled]]:opacity-100 [&[readonly][disabled]]:cursor-default [&[readonly][disabled]]:bg-[var(--fill-input-neutral-idle)] [&[readonly][disabled]]:border-0 [&[readonly][disabled]]:text-[var(--text-input-neutral-idle)] [&[readonly][disabled]]:hover:bg-[var(--fill-input-neutral-idle)] [&[readonly][disabled]]:hover:border-0 [&[readonly][disabled]]:focus:bg-[var(--fill-input-neutral-idle)] [&[readonly][disabled]]:focus:border-0 [&[readonly][disabled]]:focus-visible:bg-[var(--fill-input-neutral-idle)] [&[readonly][disabled]]:focus-visible:border-0",
|
|
3843
3843
|
{
|
|
3844
3844
|
variants: {
|
|
3845
3845
|
variant: {
|
|
3846
|
-
default: "dark:focus-visible:bg-fill-input-neutral-idle dark:hover:bg-purple-muted-700 border-purple-muted-600 hover:bg-fill-input-neutral-hover focus:bg-purple-muted-700 focus:border-purple-muted-600 focus-visible:ring-none focus-visible:ring-none",
|
|
3846
|
+
default: "dark:focus-visible:bg-fill-input-neutral-idle dark:hover:bg-purple-muted-700 border-purple-muted-600 hover:bg-fill-input-neutral-hover focus:bg-purple-muted-700 focus:border-purple-muted-600 focus-visible:ring-none focus-visible:ring-none [&[readonly]]:hover:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:hover:border-0 [&[readonly]]:focus:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:focus:border-0 [&[readonly]]:focus-visible:bg-[var(--fill-input-neutral-idle)] [&[readonly]]:focus-visible:border-0",
|
|
3847
3847
|
secondary: "bg-secondary border-secondary text-secondary-foreground placeholder:text-color-purple-muted-400 dark:bg-secondary dark:border-secondary dark:text-secondary-foreground dark:placeholder:text-purple-muted-400",
|
|
3848
3848
|
accent: "bg-accent border-accent text-accent-foreground placeholder:text-color-purple-muted-400 dark:bg-accent dark:border-accent dark:text-accent-foreground dark:placeholder:text-purple-muted-400",
|
|
3849
3849
|
success: "bg-success border-success text-success-foreground placeholder:text-success-foreground/70 dark:bg-success dark:border-success dark:text-success-foreground dark:placeholder:text-success-foreground/70",
|
|
@@ -11013,7 +11013,7 @@ function hC({
|
|
|
11013
11013
|
{
|
|
11014
11014
|
"data-slot": "form-label",
|
|
11015
11015
|
className: k(
|
|
11016
|
-
"data-[error=true]:text-destructive font-
|
|
11016
|
+
"data-[error=true]:text-destructive font-[400] uppercase font-mono text-xs leading-[1.4] text-[var(--text-bg-neutral-mid)] [&_span]:text-[var(--text-bg-neutral-mid)]",
|
|
11017
11017
|
e
|
|
11018
11018
|
),
|
|
11019
11019
|
htmlFor: r,
|
|
@@ -11912,8 +11912,9 @@ function u1({ className: e, rows: t, ...r }) {
|
|
|
11912
11912
|
rows: t,
|
|
11913
11913
|
className: k(
|
|
11914
11914
|
"qodo qodo-textarea border-input px-3 py-2 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20",
|
|
11915
|
-
"dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input
|
|
11916
|
-
"
|
|
11915
|
+
"dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-[var(--fill-input-neutral-idle)] flex min-h-16 w-full rounded-md border bg-transparent",
|
|
11916
|
+
"border-[var(--border-interactive-neutral-idle)] shadow-none",
|
|
11917
|
+
"placeholder:text-purple-muted-400 text-purple-muted-300 outline-none focus-visible:ring-0 selection:bg-primary selection:text-primary-foreground disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-purple-muted-700 disabled:border-purple-muted-500 disabled:text-purple-muted-400 read-only:bg-purple-muted-700 read-only:border-purple-muted-400 read-only:cursor-default read-only:text-purple-muted-200 md:text-sm",
|
|
11917
11918
|
{ "field-sizing-content": !t },
|
|
11918
11919
|
e
|
|
11919
11920
|
),
|
|
@@ -11931,7 +11932,7 @@ const f1 = L.forwardRef(
|
|
|
11931
11932
|
ref: n,
|
|
11932
11933
|
className: k(
|
|
11933
11934
|
{
|
|
11934
|
-
"font-plex-mono text-sm leading-
|
|
11935
|
+
"font-plex-mono text-sm leading-[1.4] rounded dark:bg-fill-input-neutral-idle px-3 py-2 [&[readonly]]:text-[var(--text-input-neutral-placeholder)] [&[readonly]]:border [&[readonly]]:border-[var(--border-input-neutral-idle)] [&[readonly]]:bg-[var(--fill-input-neutral-idle)]": e === "code"
|
|
11935
11936
|
},
|
|
11936
11937
|
t
|
|
11937
11938
|
)
|
|
@@ -12845,7 +12846,7 @@ function rE({
|
|
|
12845
12846
|
variant: m,
|
|
12846
12847
|
size: "md",
|
|
12847
12848
|
className: k(
|
|
12848
|
-
"text-[var(--text-
|
|
12849
|
+
"text-[var(--text-input-neutral-idle)]",
|
|
12849
12850
|
{
|
|
12850
12851
|
"text-[var(--text-input-neutral-disabled)]": n
|
|
12851
12852
|
},
|