Skip to content

Commit

Permalink
deploy: f87abf0
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Jul 22, 2024
1 parent 1eab073 commit 14a5369
Show file tree
Hide file tree
Showing 81 changed files with 228 additions and 177 deletions.
6 changes: 3 additions & 3 deletions assets/Action-DQrL_VvE.js → assets/Action-TfqU809o.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as m}from"./jsx-runtime-CexXSJP5.js";import{i as s}from"./index-DvDDli3q.js";import{A as i}from"./Action-DQrL_VvE.js";import{C as l}from"./check-DrA_wPr-.js";import"./index-BP8_t0zE.js";import"./notifications-CmnzXmCw.js";import"./extensions-DlgbNgpo.js";import"./search-BC9ffyhQ.js";import"./close-BapqxG5D.js";import"./chevron-right-CaLdGLa3.js";import"./settings-DxGsE2C2.js";import"./spinner-DszwWdC7.js";import"./threads-BMeJ5mkW.js";import"./user-profile-EvkA4CON.js";import"./visibility-on-CjnqbRsU.js";import"./warning-ChS4d0Jy.js";import"./index-CSpfAsmC.js";import"./Text-B4C80Caf.js";import"./index-DG2BSA_8.js";import"./index-DD7XHAoh.js";import"./index-Dp4tTk3o.js";import"./index-vl_XNHfj.js";import"./index-ChBlSHh4.js";import"./index-BvxdkTda.js";import"./useId-DIHOOv91.js";import"./Tooltip-Cw5XLT7Y.js";import"./floating-ui.react-B2_T2zaU.js";const j={title:"Form/Controls/Action",component:i,tags:["autodocs"],parameters:{controls:{include:["onActionClick","defaultValue","placeholder","disabled","autoFocus","readOnly","invalid","actionLabel","Icon"]}},argTypes:{onActionClick:{action:"clicked"},defaultValue:{type:"string"},placeholder:{type:"string"},disabled:{type:"boolean"},autoFocus:{type:"boolean"},readOnly:{type:"boolean"},invalid:{type:"boolean"},actionLabel:{type:"string"},Icon:{options:Object.keys(s),mapping:s,defaultValue:"check",control:{type:"select"}}},render:({invalid:p,...d})=>m.jsx(i,{"data-invalid":p||void 0,...d}),args:{placeholder:"",autoFocus:!1,disabled:!1,readOnly:!1,invalid:!1,actionLabel:"Action",Icon:l}},e={parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4477"}}},a={args:{defaultValue:"Filled"},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4536"}}},o={args:{defaultValue:"Disabled",disabled:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4530"}}},n={args:{defaultValue:"Read only",readOnly:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=2126-21984"}}},r={args:{autoFocus:!0}},t={args:{defaultValue:"Invalid",invalid:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4514"}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
import{j as m}from"./jsx-runtime-CexXSJP5.js";import{i as s}from"./index-DvDDli3q.js";import{A as i}from"./Action-TfqU809o.js";import{C as l}from"./check-DrA_wPr-.js";import"./index-BP8_t0zE.js";import"./notifications-CmnzXmCw.js";import"./extensions-DlgbNgpo.js";import"./search-BC9ffyhQ.js";import"./close-BapqxG5D.js";import"./chevron-right-CaLdGLa3.js";import"./settings-DxGsE2C2.js";import"./spinner-DszwWdC7.js";import"./threads-BMeJ5mkW.js";import"./user-profile-EvkA4CON.js";import"./visibility-on-CjnqbRsU.js";import"./warning-ChS4d0Jy.js";import"./index-CSpfAsmC.js";import"./Text-Cz5oMJIL.js";import"./index-Dn9bhuYh.js";import"./index-DD7XHAoh.js";import"./index-Dp4tTk3o.js";import"./index-vl_XNHfj.js";import"./index-CkD-EKAR.js";import"./index-Cw6ikIwd.js";import"./useId-DIHOOv91.js";import"./Tooltip-BPWNxroh.js";import"./floating-ui.react-BO1cKL3J.js";const j={title:"Form/Controls/Action",component:i,tags:["autodocs"],parameters:{controls:{include:["onActionClick","defaultValue","placeholder","disabled","autoFocus","readOnly","invalid","actionLabel","Icon"]}},argTypes:{onActionClick:{action:"clicked"},defaultValue:{type:"string"},placeholder:{type:"string"},disabled:{type:"boolean"},autoFocus:{type:"boolean"},readOnly:{type:"boolean"},invalid:{type:"boolean"},actionLabel:{type:"string"},Icon:{options:Object.keys(s),mapping:s,defaultValue:"check",control:{type:"select"}}},render:({invalid:p,...d})=>m.jsx(i,{"data-invalid":p||void 0,...d}),args:{placeholder:"",autoFocus:!1,disabled:!1,readOnly:!1,invalid:!1,actionLabel:"Action",Icon:l}},e={parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4477"}}},a={args:{defaultValue:"Filled"},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4536"}}},o={args:{defaultValue:"Disabled",disabled:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4530"}}},n={args:{defaultValue:"Read only",readOnly:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=2126-21984"}}},r={args:{autoFocus:!0}},t={args:{defaultValue:"Invalid",invalid:!0},parameters:{design:{type:"figma",url:"https://www.figma.com/file/rTaQE2nIUSLav4Tg3nozq7/Compound-Web-Components?type=design&node-id=793-4514"}}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
parameters: {
design: {
type: "figma",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as y}from"./jsx-runtime-CexXSJP5.js";import{f as O}from"./index-BSM_bQPn.js";import{i as b,s as z,l as E,v as T,a as x,m as M,b as V,c as k,e as j,d as A,u as B,f as F}from"./index-DvDDli3q.js";import{B as L}from"./Button-iukP6Ype.js";import"./Alert-BBxK4IyC.js";import"./Avatar-DyB-Y6ln.js";import"./AvatarStack-DBPldPV8.js";import"./Badge-Cf9Fivpi.js";import"./IconButton-01CaWaA0.js";import"./Search-DFKMkDK_.js";import"./Text-BgCCN_GG.js";import"./ContextMenu-DoTh-8z9.js";import"./Glass-COqtBFQM.js";import"./Heading-DqG7uK5Y.js";import"./IndicatorIcon-Bk7xsnCi.js";import"./Link-DttFLitk.js";import"./NavItem-CCdVkP0k.js";import"./Menu-DyAN4H0L.js";import"./MenuItem-DTeHnbO2.js";import"./Progress-ijzf4lAC.js";import"./Separator-C-9h1dx_.js";import"./ToggleMenuItem-jNSAq3kY.js";import{T as _}from"./Tooltip-Cw5XLT7Y.js";import"./ReleaseAnnouncement-dOKMVgWB.js";import"./Toast-BFUH-DR1.js";import"./Action-DQrL_VvE.js";import"./Password-CzNv7BoJ.js";import"./Text-B4C80Caf.js";import"./MFA-CYtL2XKQ.js";import"./Checkbox-BMh24moA.js";import"./Radio-DMZO_ocg.js";import"./Toggle-BDeFGmj_.js";/* empty css */import{S as D}from"./search-BC9ffyhQ.js";import{C as f}from"./check-DrA_wPr-.js";import{C}from"./close-BapqxG5D.js";import"./index-BP8_t0zE.js";import"./index-C8k3Z-3Y.js";import"./notifications-CmnzXmCw.js";import"./extensions-DlgbNgpo.js";import"./chevron-right-CaLdGLa3.js";import"./settings-DxGsE2C2.js";import"./spinner-DszwWdC7.js";import"./threads-BMeJ5mkW.js";import"./user-profile-EvkA4CON.js";import"./visibility-on-CjnqbRsU.js";import"./warning-ChS4d0Jy.js";import"./index-CSpfAsmC.js";import"./UnstyledButton-C9fNLva5.js";import"./Typography-DuHxGDyc.js";import"./index-DG2BSA_8.js";import"./index-DD7XHAoh.js";import"./index-Dp4tTk3o.js";import"./index-vl_XNHfj.js";import"./index-ChBlSHh4.js";import"./index-BvxdkTda.js";import"./InlineSpinner-DZ2uBgAt.js";import"./useId-DIHOOv91.js";import"./index-C14IHoiw.js";import"./floating-ui.react-B2_T2zaU.js";import"./extends-CF3RwP-h.js";import"./FloatingMenu-t36h7pay.js";import"./DrawerMenu-BgyYdqxq.js";const R=({label:h,...v})=>y.jsx(_,{label:h,children:y.jsx(L,{iconOnly:!0,...v})}),Qr={title:"Button/Actions",component:R,tags:["autodocs"],argTypes:{label:{type:"string"},size:{options:["sm","lg"],control:{type:"inline-radio"}},kind:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},destructive:{type:"boolean"},disabled:{type:"boolean"},as:{options:["a","button"],control:{type:"inline-radio"}},Icon:{options:Object.keys(b),mapping:b,control:{type:"select"}},onClick:{action:"onClick"}},args:{label:"Action",size:"lg",as:"button",destructive:!1,disabled:!1,onClick:O()},controls:{exclude:["children"]}},r={args:{label:"Settings",kind:"secondary",Icon:z}},e={args:{label:"Copy link",kind:"secondary",Icon:E}},o={args:{label:"Turn video off",kind:"secondary",Icon:T}},n={args:{label:"Turn video on",kind:"primary",Icon:x}},s={args:{label:"Turn mic off",kind:"secondary",Icon:M}},a={args:{label:"Turn mic on",kind:"primary",Icon:V}},i={args:{label:"Share screen",kind:"secondary",Icon:k}},c={args:{label:"Stop sharing screen",kind:"primary",Icon:k}},t={args:{label:"Full screen",kind:"secondary",Icon:j}},m={args:{label:"End call",kind:"primary",destructive:!0,Icon:A}},l={args:{label:"Invite",kind:"primary",size:"sm",Icon:B}},p={args:{label:"Edit",kind:"primary",size:"sm",Icon:F}},d={args:{label:"Search",kind:"secondary",size:"sm",Icon:D}},u={args:{label:"Save",kind:"primary",size:"sm",Icon:f}},S={args:{label:"Save",kind:"primary",size:"sm",Icon:f,disabled:!0}},g={args:{label:"Cancel",kind:"secondary",size:"sm",Icon:C}},I={args:{label:"Close",kind:"secondary",size:"sm",Icon:C}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
import{j as y}from"./jsx-runtime-CexXSJP5.js";import{f as O}from"./index-BSM_bQPn.js";import{i as b,s as z,l as E,v as T,a as x,m as M,b as V,c as k,e as j,d as A,u as B,f as F}from"./index-DvDDli3q.js";import{B as L}from"./Button-iukP6Ype.js";import"./Alert-ejU2cg2U.js";import"./Avatar-OPpxc4CT.js";import"./AvatarStack-Ba__udwu.js";import"./Badge-CDnfCw2C.js";import"./IconButton-DFNStmTH.js";import"./Search-CCoKOr8w.js";import"./Text-43GasnQW.js";import"./ContextMenu-Dm_eMI1f.js";import"./Glass-COqtBFQM.js";import"./Heading-DUAGg0Hg.js";import"./IndicatorIcon-Dtf30Spd.js";import"./Link-CCSCFCbW.js";import"./NavItem-CCdVkP0k.js";import"./Menu-DgcUsKZr.js";import"./MenuItem-DakIqoyJ.js";import"./Progress-C3rwhIWa.js";import"./Separator-l0Lys_Sb.js";import"./ToggleMenuItem-BC_hGi6M.js";import{T as _}from"./Tooltip-BPWNxroh.js";import"./ReleaseAnnouncement-rKa3scX-.js";import"./Toast-BFUH-DR1.js";import"./Action-TfqU809o.js";import"./Password-BTYCOeTM.js";import"./Text-Cz5oMJIL.js";import"./MFA-1X7uPcX5.js";import"./Checkbox-C46Ejh3M.js";import"./Radio-CvV1BscZ.js";import"./Toggle-Q78m7eTC.js";/* empty css */import{S as D}from"./search-BC9ffyhQ.js";import{C as f}from"./check-DrA_wPr-.js";import{C}from"./close-BapqxG5D.js";import"./index-BP8_t0zE.js";import"./index-C8k3Z-3Y.js";import"./notifications-CmnzXmCw.js";import"./extensions-DlgbNgpo.js";import"./chevron-right-CaLdGLa3.js";import"./settings-DxGsE2C2.js";import"./spinner-DszwWdC7.js";import"./threads-BMeJ5mkW.js";import"./user-profile-EvkA4CON.js";import"./visibility-on-CjnqbRsU.js";import"./warning-ChS4d0Jy.js";import"./index-CSpfAsmC.js";import"./UnstyledButton-C9fNLva5.js";import"./Typography-BWOtt-hZ.js";import"./index-Dn9bhuYh.js";import"./index-DD7XHAoh.js";import"./index-Dp4tTk3o.js";import"./index-vl_XNHfj.js";import"./index-CkD-EKAR.js";import"./index-Cw6ikIwd.js";import"./InlineSpinner-DZ2uBgAt.js";import"./useId-DIHOOv91.js";import"./index-DVjhIofj.js";import"./floating-ui.react-BO1cKL3J.js";import"./extends-CF3RwP-h.js";import"./FloatingMenu-CL2la2kV.js";import"./DrawerMenu-BgyYdqxq.js";const R=({label:h,...v})=>y.jsx(_,{label:h,children:y.jsx(L,{iconOnly:!0,...v})}),Qr={title:"Button/Actions",component:R,tags:["autodocs"],argTypes:{label:{type:"string"},size:{options:["sm","lg"],control:{type:"inline-radio"}},kind:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},destructive:{type:"boolean"},disabled:{type:"boolean"},as:{options:["a","button"],control:{type:"inline-radio"}},Icon:{options:Object.keys(b),mapping:b,control:{type:"select"}},onClick:{action:"onClick"}},args:{label:"Action",size:"lg",as:"button",destructive:!1,disabled:!1,onClick:O()},controls:{exclude:["children"]}},r={args:{label:"Settings",kind:"secondary",Icon:z}},e={args:{label:"Copy link",kind:"secondary",Icon:E}},o={args:{label:"Turn video off",kind:"secondary",Icon:T}},n={args:{label:"Turn video on",kind:"primary",Icon:x}},s={args:{label:"Turn mic off",kind:"secondary",Icon:M}},a={args:{label:"Turn mic on",kind:"primary",Icon:V}},i={args:{label:"Share screen",kind:"secondary",Icon:k}},c={args:{label:"Stop sharing screen",kind:"primary",Icon:k}},t={args:{label:"Full screen",kind:"secondary",Icon:j}},m={args:{label:"End call",kind:"primary",destructive:!0,Icon:A}},l={args:{label:"Invite",kind:"primary",size:"sm",Icon:B}},p={args:{label:"Edit",kind:"primary",size:"sm",Icon:F}},d={args:{label:"Search",kind:"secondary",size:"sm",Icon:D}},u={args:{label:"Save",kind:"primary",size:"sm",Icon:f}},S={args:{label:"Save",kind:"primary",size:"sm",Icon:f,disabled:!0}},g={args:{label:"Cancel",kind:"secondary",size:"sm",Icon:C}},I={args:{label:"Close",kind:"secondary",size:"sm",Icon:C}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
args: {
label: "Settings",
kind: "secondary",
Expand Down
Loading

0 comments on commit 14a5369

Please sign in to comment.