@orangecheck/design 0.5.1 → 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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +33 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -6
- 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/dist/tokens.d.mts +9 -1
- package/dist/tokens.d.ts +9 -1
- package/dist/tokens.js +28 -5
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +27 -6
- package/dist/tokens.mjs.map +1 -1
- package/package.json +1 -1
package/dist/primitives.js
CHANGED
|
@@ -287,6 +287,9 @@ function Textarea({ className, ...props }) {
|
|
|
287
287
|
className: cn(
|
|
288
288
|
"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",
|
|
289
289
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
290
|
+
// aria-invalid parity with Input — error styling when a consumer
|
|
291
|
+
// marks the field invalid.
|
|
292
|
+
"aria-invalid:ring-brand/25 dark:aria-invalid:ring-brand/35 aria-invalid:border-brand",
|
|
290
293
|
className
|
|
291
294
|
),
|
|
292
295
|
...props
|