@plyaz/ui 0.5.4 → 0.5.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/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/package.json +1 -1
package/dist/ui.cjs.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
`,lg:`
|
|
29
29
|
h-10 rounded-md px-6
|
|
30
30
|
has-[>svg]:px-4
|
|
31
|
-
`,icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),lr={row:"flex-row",col:"flex-col",row_reverse:"flex-row-reverse",col_reverse:"flex-col-reverse"},cr={wrap:"flex-wrap",nowrap:"flex-nowrap",wrap_reverse:"flex-wrap-reverse"},dr=({children:e,gap:t,direction:r,justify:o,align:s,wrap:n,className:a="",element:p,...u})=>d.jsx(W,{element:p,className:w("flex",r&&lr[r],o&&Xe[o],s&&Ze[s],n&&cr[n],t&&Ye[t],a),...u,children:e}),ur=({children:e,className:t,cols:r,rows:o,gap:s,justify:n,align:a,element:p,...u})=>d.jsx(W,{element:p,className:w("grid",r&&nr[r],o&&ar[o],s&&Ye[s],n&&Xe[n],a&&Ze[a],t),...u,children:e}),mr={xs:"xs",sm:"sm",base:"base",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl"},pr=({children:e,element:t,className:r,size:o,...s})=>d.jsx(H,{className:r,element:t,size:mr[o],variant:"heading",weight:"medium",...s,children:e}),gr=({children:e,className:t,href:r,...o})=>d.jsx("a",{"data-testid":"link",href:r,rel:"noopener noreferrer",target:"_blank",className:w("focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",t),...o,children:e}),fr={xs:"xs",sm:"sm",base:"base",lg:"lg"},br=({children:e,className:t,size:r,...o})=>d.jsx(H,{className:t,element:"p",size:fr[r],variant:"body",weight:"normal",...o,children:e}),xr=({className:e="",children:t,...r})=>d.jsx(W,{element:"section",className:e,...r,children:t}),hr=({children:e,direction:t="horizontal",spacing:r="space-x-2",element:o,className:s,...n})=>{const a=t==="vertical"?"flex-col":"flex-row";return d.jsx(W,{className:w("flex",a,r,s),element:o,...n,children:e})},H=({className:e,children:t,element:r,weight:o,variant:s,size:n,...a})=>{const p=r;return d.jsx(p,{"data-testid":"text",className:w("font-
|
|
31
|
+
`,icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),lr={row:"flex-row",col:"flex-col",row_reverse:"flex-row-reverse",col_reverse:"flex-col-reverse"},cr={wrap:"flex-wrap",nowrap:"flex-nowrap",wrap_reverse:"flex-wrap-reverse"},dr=({children:e,gap:t,direction:r,justify:o,align:s,wrap:n,className:a="",element:p,...u})=>d.jsx(W,{element:p,className:w("flex",r&&lr[r],o&&Xe[o],s&&Ze[s],n&&cr[n],t&&Ye[t],a),...u,children:e}),ur=({children:e,className:t,cols:r,rows:o,gap:s,justify:n,align:a,element:p,...u})=>d.jsx(W,{element:p,className:w("grid",r&&nr[r],o&&ar[o],s&&Ye[s],n&&Xe[n],a&&Ze[a],t),...u,children:e}),mr={xs:"xs",sm:"sm",base:"base",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl"},pr=({children:e,element:t,className:r,size:o,...s})=>d.jsx(H,{className:r,element:t,size:mr[o],variant:"heading",weight:"medium",...s,children:e}),gr=({children:e,className:t,href:r,...o})=>d.jsx("a",{"data-testid":"link",href:r,rel:"noopener noreferrer",target:"_blank",className:w("focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",t),...o,children:e}),fr={xs:"xs",sm:"sm",base:"base",lg:"lg"},br=({children:e,className:t,size:r,...o})=>d.jsx(H,{className:t,element:"p",size:fr[r],variant:"body",weight:"normal",...o,children:e}),xr=({className:e="",children:t,...r})=>d.jsx(W,{element:"section",className:e,...r,children:t}),hr=({children:e,direction:t="horizontal",spacing:r="space-x-2",element:o,className:s,...n})=>{const a=t==="vertical"?"flex-col":"flex-row";return d.jsx(W,{className:w("flex",a,r,s),element:o,...n,children:e})},H=({className:e,children:t,element:r,weight:o,variant:s,size:n,...a})=>{const p=r;return d.jsx(p,{"data-testid":"text",className:w("font-normal text-base",n&&or[n],o&&sr[o],s&&rr[s],e),...a,children:t})};function vr({className:e,variant:t,size:r,asChild:o=!1,...s}){const n=o?xt.Slot:"button";return d.jsx(n,{"data-slot":"button",className:w(ir({variant:t,size:r,className:e})),...s,"data-testid":"button"})}function wr({className:e,type:t,...r}){return d.jsx("input",{type:t,"data-slot":"input",className:w(`
|
|
32
32
|
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent
|
|
33
33
|
px-3 py-1 text-base shadow-xs transition-[color,box-shadow]
|
|
34
34
|
outline-none
|
package/dist/ui.es.js
CHANGED
|
@@ -3025,7 +3025,7 @@ const Ar = ({ className: e = "", children: t, element: r, ...o }) => /* @__PURE_
|
|
|
3025
3025
|
{
|
|
3026
3026
|
"data-testid": "text",
|
|
3027
3027
|
className: w(
|
|
3028
|
-
"font-
|
|
3028
|
+
"font-normal text-base",
|
|
3029
3029
|
s && Qt[s],
|
|
3030
3030
|
o && Xt[o],
|
|
3031
3031
|
n && Jt[n],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plyaz/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "A reusable, accessible, and themeable component library powering the Plyaz Web App interface. Built with performance and consistency in mind, @plyaz/ui delivers modular React components aligned with the Plyaz design system — enabling seamless development across fan-facing features, quests, NFTs, and loyalty flows in the Web3 ecosystem.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|