@orangecheck/design 0.5.2 → 0.5.3
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/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.js +3 -0
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +3 -0
- package/dist/primitives.mjs.map +1 -1
- package/dist/styles/theme.css +13 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -744,6 +744,9 @@ function Textarea({ className, ...props }) {
|
|
|
744
744
|
className: cn(
|
|
745
745
|
"placeholder:text-muted-foreground border-input bg-input/30 hover:bg-input/50 dark:bg-input/30 dark:hover:bg-input/50 w-full min-w-0 rounded-md border px-3 py-2 font-mono text-xs leading-relaxed shadow-xs transition-[color,box-shadow,background-color] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
746
746
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
747
|
+
// aria-invalid parity with Input — error styling when a consumer
|
|
748
|
+
// marks the field invalid.
|
|
749
|
+
"aria-invalid:ring-brand/25 dark:aria-invalid:ring-brand/35 aria-invalid:border-brand",
|
|
747
750
|
className
|
|
748
751
|
),
|
|
749
752
|
...props
|