ioloco-ui
Advanced tools
Comparing version 0.3.83 to 0.3.84
@@ -1,1 +0,1 @@ | ||
import{jsxs as l,jsx as n}from"react/jsx-runtime";import e from"@stylexjs/stylex";const d=d=>{let{title:o,duration:i,children:t,isOpen:a,toggleAccordion:s,ChevronUp:u,ChevronDown:c,GoPlay:x,styleHeader:b,styleContent:g}=d;return l("div",Object.assign({},{className:"xyorhqc x1n4e6m5 xr6y930 xhcyo8e x116uinm"},{children:[n("button",Object.assign({},e.props(r.accordionHeader,b),{onClick:s,"aria-expanded":a,children:l("div",Object.assign({},{className:"x78zum5 xh8yej3 x1qughib x6s0dn4"},{children:[l("div",{style:{display:"flex"},children:[n(a?u:c,Object.assign({},{className:"x579bpy x1jdv62h"})),n("p",Object.assign({},{className:"x579bpy"},{children:o})),x&&n("p",Object.assign({},{className:"x1uv3qv7"},{children:`${t.length} Videos`}))]}),n("p",Object.assign({},{className:"x579bpy"},{children:i}))]}))})),a&&n("div",Object.assign({id:`panel-${o}`},e.props(r.accordionContent,g),{children:t.map(((e,d)=>{var r;return l("div",Object.assign({},{className:"x78zum5 x6s0dn4 x1qughib x1elmx46 xkfvf4r"},{children:[l("div",Object.assign({},{className:"x78zum5 xh8yej3 x1qughib x6s0dn4"},{children:[x&&n(x,Object.assign({},{className:"x579bpy xqbaifs"})),n("p",Object.assign({},{className:"x1mqxbix x1em9nvr xat0y86 xa28oj3 x1us6l5c"},{children:e.title}))]})),(null==e?void 0:e.preview)&&(null==e?void 0:e.videoUrl)&&e.id&&(null===(r=e.generatePreviewButton)||void 0===r?void 0:r.call(e,null==e?void 0:e.id))]}),d)}))}))]}))},r={accordionHeader:{display:"x78zum5",alignItems:"x6s0dn4",justifyContent:"x1qughib",padding:"x3thx8k",paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,cursor:"x1ypdohk",width:"xh8yej3",border:"x1gs6z28",borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,color:"x1mqxbix x1em9nvr xat0y86",backgroundColor:"x13256a0 x15kc1tc x1gev39g",":hover_backgroundColor":"x17i8yhk",$$css:!0},accordionContent:{padding:"x7kqcv9",paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,width:"xh8yej3",$$css:!0}};export{d as Accordion}; | ||
import{jsxs as l,jsx as n}from"react/jsx-runtime";import e from"@stylexjs/stylex";const d=d=>{let{title:o,duration:i,children:t,isOpen:a,toggleAccordion:s,ChevronUp:c,ChevronDown:u,GoPlay:x,styleHeader:b,styleContent:p}=d;return l("div",Object.assign({},{className:"xyorhqc x1n4e6m5 xr6y930 xhcyo8e x116uinm"},{children:[n("button",Object.assign({},e.props(r.accordionHeader,b),{onClick:s,"aria-expanded":a,children:l("div",Object.assign({},{className:"x78zum5 x6s0dn4"},{children:[l("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[l("div",{style:{display:"flex"},children:[n(a?c:u,Object.assign({},{className:"x579bpy x1jdv62h"})),n("p",Object.assign({},{className:"x579bpy"},{children:o}))]}),x&&n("p",Object.assign({},{className:"x1uv3qv7"},{children:`${t.length} Videos`}))]}),n("p",Object.assign({},{className:"x579bpy"},{children:i}))]}))})),a&&n("div",Object.assign({id:`panel-${o}`},e.props(r.accordionContent,p),{children:t.map(((e,d)=>{var r;return l("div",Object.assign({},{className:"x78zum5 x6s0dn4 x1qughib x1elmx46 xkfvf4r"},{children:[l("div",Object.assign({},{className:"x78zum5 x6s0dn4"},{children:[x&&n(x,Object.assign({},{className:"x579bpy xqbaifs"})),n("p",Object.assign({},{className:"x1mqxbix x1em9nvr xat0y86 xa28oj3 x1us6l5c"},{children:e.title}))]})),(null==e?void 0:e.preview)&&(null==e?void 0:e.videoUrl)&&e.id&&(null===(r=e.generatePreviewButton)||void 0===r?void 0:r.call(e,null==e?void 0:e.id))]}),d)}))}))]}))},r={accordionHeader:{display:"x78zum5",alignItems:"x6s0dn4",justifyContent:"x1qughib",padding:"x3thx8k",paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,cursor:"x1ypdohk",width:"xh8yej3",border:"x1gs6z28",borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,color:"x1mqxbix x1em9nvr xat0y86",backgroundColor:"x13256a0 x15kc1tc x1gev39g",":hover_backgroundColor":"x17i8yhk",$$css:!0},accordionContent:{padding:"x7kqcv9",paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,width:"xh8yej3",$$css:!0}};export{d as Accordion}; |
{ | ||
"name": "ioloco-ui", | ||
"version": "0.3.83", | ||
"version": "0.3.84", | ||
"description": "Stylex UI components for React", | ||
@@ -5,0 +5,0 @@ "author": { |
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
113045