brd-ui-kit 0.1.7 → 0.1.9
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -47,7 +47,8 @@ Avoid returning a new reference inside your input selector, e.g.
|
|
|
47
47
|
placeholder:text-sm focus:outline-none focus-visible:ring-0
|
|
48
48
|
disabled:pointer-events-none`,{variants:{variant:{primary:"border-inp-default-border"},sizeInput:{lg:"h-12 text-base",md:"h-10 text-sm",sm:"h-8 text-sm",xs:"h-6 text-xs"}},defaultVariants:{variant:"primary",sizeInput:"md"}}),Ca=({className:e,type:t="text",variant:n,sizeInput:r,ref:o,...s})=>v.jsx("input",{"data-slot":"input",type:t,className:D(pw({variant:n,sizeInput:r}),e),ref:o,...s}),gw=[`border-inp-default-border bg-primary-bg text-primary-text flex h-31 w-full
|
|
49
49
|
resize-none rounded-xl border px-3 py-2.5 text-sm`,"hover:border-inp-hover-border focus:border-inp-focus-border focus:outline-none","placeholder:text-placeholder-text placeholder:text-sm",`disabled:border-inp-disabled-border disabled:bg-disabled-bg
|
|
50
|
-
disabled:text-disabled-text disabled:placeholder:text-disabled-text
|
|
50
|
+
disabled:text-disabled-text disabled:placeholder:text-disabled-text
|
|
51
|
+
aria-invalid:border-error-text`].join(" "),Xo=({className:e,ref:t,...n})=>v.jsx("textarea",{className:D(gw,e),ref:t,...n});Xo.displayName="Textarea";const mw=_e(`text-secondary-text group-data-[disabled=true]/input-group:text-disabled-text flex
|
|
51
52
|
h-auto shrink-0 cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium
|
|
52
53
|
select-none [&>kbd]:rounded-[calc(var(--radius)-5px)]
|
|
53
54
|
[&>svg:not([class*='size-'])]:size-4`,{variants:{align:{"inline-start":"order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]","inline-end":"order-last pr-3 has-[>button]:mr-[-0.4rem] has-[>kbd]:mr-[-0.35rem]","block-start":`order-first w-full justify-start px-3 pt-3
|