ioloco-ui
Advanced tools
Comparing version 0.1.7 to 0.1.8
import React from 'react'; | ||
interface CustomBlocSectionType { | ||
title?: string; | ||
children: JSX.Element | JSX.Element[]; | ||
children: React.ReactNode; | ||
description: string; | ||
href?: string; | ||
linkHref?: string; | ||
linkText?: string; | ||
heading?: 'h1' | 'h2'; | ||
LinkComponent?: React.ComponentType<{ | ||
href: string; | ||
className?: string; | ||
children?: React.ReactNode; | ||
}>; | ||
} | ||
declare const CustomBlocSection: React.FC<CustomBlocSectionType>; | ||
export default CustomBlocSection; |
@@ -1,1 +0,1 @@ | ||
import{jsx as e,jsxs as i}from"react/jsx-runtime";import"@stylexjs/stylex";const l=({})=>e("header",{children:i("div",Object.assign({},{className:"x1t391ir"},{children:[i("div",{children:[e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:i("g",{fill:"none",fillRule:"evenodd",children:[e("path",{d:"M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",fill:"#FFF"}),e("path",{d:"M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",fill:"#555AB9"}),e("path",{d:"M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",fill:"#91BAF8"})]})}),e("h1",{children:"Acme"})]}),e("div",{children:i("span",{className:"welcome",children:["Welcome, ",e("b",{children:"Jane"})]})})]}))}),s=({label:i})=>e("div",{children:e("button",Object.assign({},{className:"x1t391ir x1awj2ng"},{children:i}))}),d=({title:l,description:s})=>i("div",Object.assign({},{className:"xs1olxk x78zum5 xdt5ytf x6s0dn4"},{children:[e("h2",Object.assign({},{className:"xh8yej3 xybftwd x2b8uid x19yk3w5 x1iikomf"},{children:l})),e("p",Object.assign({},{className:"xfxd3yz x14zvdfm x2b8uid x66fkqt x1tzjq7k"},{children:s}))]})),c=({children:l,description:s,href:d="#",heading:c="h2"})=>i("div",Object.assign({},{className:"xh8yej3 x5yr21d x78zum5 xdt5ytf xl56j7k"},{children:[e("h2",Object.assign({},{},{children:l})),e("p",Object.assign({},{className:"xh8yej3 x66fkqt xbkgn1r"},{children:s}))]}));export{d as BlocSection,s as Button,c as CustomBlocSection,l as Header}; | ||
import{jsx as e,jsxs as i}from"react/jsx-runtime";import"@stylexjs/stylex";import l from"react";const n=({})=>e("header",{children:i("div",Object.assign({},{className:"x1t391ir"},{children:[i("div",{children:[e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:i("g",{fill:"none",fillRule:"evenodd",children:[e("path",{d:"M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",fill:"#FFF"}),e("path",{d:"M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",fill:"#555AB9"}),e("path",{d:"M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",fill:"#91BAF8"})]})}),e("h1",{children:"Acme"})]}),e("div",{children:i("span",{className:"welcome",children:["Welcome, ",e("b",{children:"Jane"})]})})]}))}),s=({label:i})=>e("div",{children:e("button",Object.assign({},{className:"x1t391ir x1awj2ng"},{children:i}))}),t=({title:l,description:n})=>i("div",Object.assign({},{className:"xs1olxk x78zum5 xdt5ytf x6s0dn4"},{children:[e("h2",Object.assign({},{className:"xh8yej3 xybftwd x2b8uid x19yk3w5 x1iikomf"},{children:l})),e("p",Object.assign({},{className:"xfxd3yz x14zvdfm x2b8uid x66fkqt x1tzjq7k"},{children:n}))]})),c=({href:i,className:l,children:n})=>e("a",{href:i,className:l,children:n}),d=({children:n,description:s,linkHref:t="#",linkText:d="Learn More",heading:x="h2",LinkComponent:a=c})=>{const r="h1"===x?"h1":"h2";return i("div",Object.assign({},{className:"xh8yej3 x5yr21d x78zum5 xdt5ytf xl56j7k x6s0dn4"},{children:[l.createElement(r,{},n),e("p",Object.assign({},{className:"xh8yej3 x66fkqt xbkgn1r"},{children:s})),e(a,Object.assign({href:t},{className:"x579bpy xumxmzd xdi7ew0 xota9p6 xvb9tfm xp9f7hx x1w184yy xezivpi x18jy0o0 x1tf8huo x1kgw7fo"},{children:d}))]}))};export{t as BlocSection,s as Button,d as CustomBlocSection,n as Header}; |
{ | ||
"name": "ioloco-ui", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Stylex UI components for React", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6442
84