Skip to content

Commit

Permalink
deploy: 29277c1
Browse files Browse the repository at this point in the history
  • Loading branch information
RiotRobot committed Jun 27, 2024
1 parent 5f45c1f commit 1e85547
Show file tree
Hide file tree
Showing 26 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as f}from"./jsx-runtime-DoxjgJx5.js";import{f as B}from"./index-B-6fpdcS.js";import{S as k}from"./check-CXsFGzWm.js";import{S as y}from"./close-D55JIkKE.js";import{S as C,a as v,b as h,c as O,d as E,e as z,f as V,g as b,h as M,i as T,j as x}from"./video-call-solid-DZxiZyaz.js";import{S as A}from"./search-CWkX64tk.js";import{S as F}from"./visibility-on-BrkRTjSX.js";import{B as U}from"./Button-BPkQI5Wr.js";import"./Alert-CONg58U6.js";import"./Avatar-D_h5K73j.js";import"./AvatarStack-zKeD_o_3.js";import"./Badge-DhRzaND9.js";import"./IconButton-Dd7bS9VQ.js";import"./Search-BJ_nckf7.js";import"./Text-DCibjNNg.js";import"./ContextMenu-ylWaAsgi.js";import"./Glass-CwZVZZDo.js";import"./Heading-Bj7GMP5j.js";import"./IndicatorIcon-iinDG_Nf.js";import"./Link-Do2tSqaM.js";import"./Menu-DkWI44PW.js";import"./MenuItem-DP321Nyr.js";import"./Separator-D0l5BZ7R.js";import"./ToggleMenuItem-DCiOs_QO.js";import{T as _}from"./Tooltip-BpTSfUbF.js";import"./ReleaseAnnouncement-DiJEEtE4.js";import"./Toast-DiTTZX7x.js";import"./Action-BJniBKiJ.js";import"./Password-BL0bK9Cg.js";import"./Text-Cr8eyvvV.js";import"./MFA-Bg-QQaLT.js";import"./Checkbox-UWXrg9ui.js";import"./Radio-DnV3u_Pm.js";import"./Toggle-CCZdSH3V.js";/* empty css */import"./index-Cu9bd8lq.js";import"./index-CVRyq5ci.js";import"./index-C2KoGaFq.js";import"./UnstyledButton-CUaD5tB8.js";import"./Typography-D-74lRMS.js";import"./index-BEd8YfQ8.js";import"./index-Cmw95SmN.js";import"./index-tFWdirwu.js";import"./index-BHpG8fra.js";import"./index-s2Ee__EW.js";import"./InlineSpinner-CZEeBvQo.js";import"./useId-D5m2XpUu.js";import"./index-H3MR2rqV.js";import"./index-ChiipFpT.js";import"./FloatingMenu-BxFYcaYT.js";import"./DrawerMenu-BYj777Pr.js";import"./floating-ui.react-D5UUZX8q.js";const D=({label:L,...j})=>f.jsx(_,{label:L,children:f.jsx(U,{iconOnly:!0,...j})}),_r={title:"Button/Actions",component:D,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:["CheckIcon","CloseIcon","EditIcon","EndCallIcon","ExpandIcon","LinkIcon","MicOnSolidIcon","MicOffSolidIcon","SearchIcon","SettingsSolidIcon","ShareScreenSolidIcon","UserAddIcon","VideoCallOffSolidIcon","VideoCallSolidIcon","VisibilityOnIcon"],mapping:{CheckIcon:k,CloseIcon:y,EditIcon:C,EndCallIcon:v,ExpandIcon:h,LinkIcon:O,MicOnSolidIcon:E,MicOffSolidIcon:z,SearchIcon:A,SettingsSolidIcon:V,ShareScreenSolidIcon:b,UserAddIcon:M,VideoCallOffSolidIcon:T,VideoCallSolidIcon:x,VisibilityOnIcon:F},control:{type:"inline-radio"}},onClick:{action:"onClick"}},args:{label:"Action",size:"lg",as:"button",destructive:!1,disabled:!1,onClick:B()},controls:{exclude:["children"]}},r={args:{label:"Settings",kind:"secondary",Icon:V}},e={args:{label:"Copy link",kind:"secondary",Icon:O}},o={args:{label:"Turn video off",kind:"secondary",Icon:x}},n={args:{label:"Turn video on",kind:"primary",Icon:T}},a={args:{label:"Turn mic off",kind:"secondary",Icon:E}},s={args:{label:"Turn mic on",kind:"primary",Icon:z}},i={args:{label:"Share screen",kind:"secondary",Icon:b}},c={args:{label:"Stop sharing screen",kind:"primary",Icon:b}},t={args:{label:"Full screen",kind:"secondary",Icon:h}},l={args:{label:"End call",kind:"primary",destructive:!0,Icon:v}},d={args:{label:"Invite",kind:"primary",size:"sm",Icon:M}},m={args:{label:"Edit",kind:"primary",size:"sm",Icon:C}},p={args:{label:"Search",kind:"secondary",size:"sm",Icon:A}},S={args:{label:"Save",kind:"primary",size:"sm",Icon:k}},g={args:{label:"Save",kind:"primary",size:"sm",Icon:k,disabled:!0}},I={args:{label:"Cancel",kind:"secondary",size:"sm",Icon:y}},u={args:{label:"Close",kind:"secondary",size:"sm",Icon:y}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
import{j as f}from"./jsx-runtime-DoxjgJx5.js";import{f as B}from"./index-B-6fpdcS.js";import{S as k}from"./check-CXsFGzWm.js";import{S as y}from"./close-D55JIkKE.js";import{S as C,a as v,b as h,c as O,d as E,e as z,f as V,g as b,h as M,i as T,j as x}from"./video-call-solid-DZxiZyaz.js";import{S as A}from"./search-CWkX64tk.js";import{S as F}from"./visibility-on-BrkRTjSX.js";import{B as U}from"./Button-BPkQI5Wr.js";import"./Alert-CONg58U6.js";import"./Avatar-D_h5K73j.js";import"./AvatarStack-zKeD_o_3.js";import"./Badge-DhRzaND9.js";import"./IconButton-Dd7bS9VQ.js";import"./Search-BJ6ghHVZ.js";import"./Text-DCibjNNg.js";import"./ContextMenu-DzJTThZa.js";import"./Glass-CwZVZZDo.js";import"./Heading-Bj7GMP5j.js";import"./IndicatorIcon-iinDG_Nf.js";import"./Link-DCPbMbAN.js";import"./Menu-Ba5Xv7WP.js";import"./MenuItem-CykI4Oi1.js";import"./Separator-D0l5BZ7R.js";import"./ToggleMenuItem-Cbnu_NfR.js";import{T as _}from"./Tooltip-BpTSfUbF.js";import"./ReleaseAnnouncement-DiJEEtE4.js";import"./Toast-DiTTZX7x.js";import"./Action-BJniBKiJ.js";import"./Password-BL0bK9Cg.js";import"./Text-Cr8eyvvV.js";import"./MFA-Bg-QQaLT.js";import"./Checkbox-UWXrg9ui.js";import"./Radio-DnV3u_Pm.js";import"./Toggle-CCZdSH3V.js";/* empty css */import"./index-Cu9bd8lq.js";import"./index-CVRyq5ci.js";import"./index-C2KoGaFq.js";import"./UnstyledButton-CUaD5tB8.js";import"./Typography-D-74lRMS.js";import"./index-BEd8YfQ8.js";import"./index-Cmw95SmN.js";import"./index-tFWdirwu.js";import"./index-BHpG8fra.js";import"./index-s2Ee__EW.js";import"./InlineSpinner-CZEeBvQo.js";import"./useId-D5m2XpUu.js";import"./index-H3MR2rqV.js";import"./index-ChiipFpT.js";import"./FloatingMenu-BxFYcaYT.js";import"./DrawerMenu-BYj777Pr.js";import"./floating-ui.react-D5UUZX8q.js";const D=({label:L,...j})=>f.jsx(_,{label:L,children:f.jsx(U,{iconOnly:!0,...j})}),_r={title:"Button/Actions",component:D,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:["CheckIcon","CloseIcon","EditIcon","EndCallIcon","ExpandIcon","LinkIcon","MicOnSolidIcon","MicOffSolidIcon","SearchIcon","SettingsSolidIcon","ShareScreenSolidIcon","UserAddIcon","VideoCallOffSolidIcon","VideoCallSolidIcon","VisibilityOnIcon"],mapping:{CheckIcon:k,CloseIcon:y,EditIcon:C,EndCallIcon:v,ExpandIcon:h,LinkIcon:O,MicOnSolidIcon:E,MicOffSolidIcon:z,SearchIcon:A,SettingsSolidIcon:V,ShareScreenSolidIcon:b,UserAddIcon:M,VideoCallOffSolidIcon:T,VideoCallSolidIcon:x,VisibilityOnIcon:F},control:{type:"inline-radio"}},onClick:{action:"onClick"}},args:{label:"Action",size:"lg",as:"button",destructive:!1,disabled:!1,onClick:B()},controls:{exclude:["children"]}},r={args:{label:"Settings",kind:"secondary",Icon:V}},e={args:{label:"Copy link",kind:"secondary",Icon:O}},o={args:{label:"Turn video off",kind:"secondary",Icon:x}},n={args:{label:"Turn video on",kind:"primary",Icon:T}},a={args:{label:"Turn mic off",kind:"secondary",Icon:E}},s={args:{label:"Turn mic on",kind:"primary",Icon:z}},i={args:{label:"Share screen",kind:"secondary",Icon:b}},c={args:{label:"Stop sharing screen",kind:"primary",Icon:b}},t={args:{label:"Full screen",kind:"secondary",Icon:h}},l={args:{label:"End call",kind:"primary",destructive:!0,Icon:v}},d={args:{label:"Invite",kind:"primary",size:"sm",Icon:M}},m={args:{label:"Edit",kind:"primary",size:"sm",Icon:C}},p={args:{label:"Search",kind:"secondary",size:"sm",Icon:A}},S={args:{label:"Save",kind:"primary",size:"sm",Icon:k}},g={args:{label:"Save",kind:"primary",size:"sm",Icon:k,disabled:!0}},I={args:{label:"Cancel",kind:"secondary",size:"sm",Icon:y}},u={args:{label:"Close",kind:"secondary",size:"sm",Icon:y}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
args: {
label: "Settings",
kind: "secondary",
Expand Down

Large diffs are not rendered by default.

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 e}from"./jsx-runtime-DoxjgJx5.js";import{S as i}from"./user-profile-CB1AInEY.js";import{S as s,a,b as c}from"./leave-ZJppWO3C.js";import{C as o}from"./ContextMenu-ylWaAsgi.js";import{M as n}from"./MenuItem-DP321Nyr.js";import{S as l}from"./Separator-D0l5BZ7R.js";import"./index-Cu9bd8lq.js";import"./index-Cmw95SmN.js";import"./index-tFWdirwu.js";import"./index-BHpG8fra.js";import"./index-s2Ee__EW.js";import"./index-H3MR2rqV.js";import"./index-ChiipFpT.js";import"./FloatingMenu-BxFYcaYT.js";import"./index-C2KoGaFq.js";import"./useId-D5m2XpUu.js";import"./Text-DCibjNNg.js";import"./Typography-D-74lRMS.js";import"./DrawerMenu-BYj777Pr.js";import"./floating-ui.react-D5UUZX8q.js";const N={title:"Menu/ContextMenu",component:o,tags:["autodocs"],argTypes:{},args:{}},m=r=>e.jsxs(o,{...r,title:"Settings",trigger:e.jsx("div",{style:{borderRadius:24,background:"var(--cpd-color-bg-subtle-secondary)",inlineSize:300,blockSize:200,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",padding:32,boxSizing:"border-box"},children:"Right click or long press to open menu"}),hasAccessibleAlternative:!1,children:[e.jsx(n,{Icon:i,label:"Profile",onSelect:()=>{}}),e.jsx(n,{Icon:s,label:"Notifications",onSelect:()=>{}}),e.jsx(n,{Icon:a,label:"Feedback",onSelect:()=>{}}),e.jsx(l,{}),e.jsx(n,{kind:"critical",Icon:c,label:"Sign out",onSelect:()=>{}})]}),t=m.bind({});t.args={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`args => {
import{j as e}from"./jsx-runtime-DoxjgJx5.js";import{S as i}from"./user-profile-CB1AInEY.js";import{S as s,a,b as c}from"./leave-ZJppWO3C.js";import{C as o}from"./ContextMenu-DzJTThZa.js";import{M as n}from"./MenuItem-CykI4Oi1.js";import{S as l}from"./Separator-D0l5BZ7R.js";import"./index-Cu9bd8lq.js";import"./index-Cmw95SmN.js";import"./index-tFWdirwu.js";import"./index-BHpG8fra.js";import"./index-s2Ee__EW.js";import"./index-H3MR2rqV.js";import"./index-ChiipFpT.js";import"./FloatingMenu-BxFYcaYT.js";import"./index-C2KoGaFq.js";import"./useId-D5m2XpUu.js";import"./Text-DCibjNNg.js";import"./Typography-D-74lRMS.js";import"./DrawerMenu-BYj777Pr.js";import"./floating-ui.react-D5UUZX8q.js";const N={title:"Menu/ContextMenu",component:o,tags:["autodocs"],argTypes:{},args:{}},m=r=>e.jsxs(o,{...r,title:"Settings",trigger:e.jsx("div",{style:{borderRadius:24,background:"var(--cpd-color-bg-subtle-secondary)",inlineSize:300,blockSize:200,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",padding:32,boxSizing:"border-box"},children:"Right click or long press to open menu"}),hasAccessibleAlternative:!1,children:[e.jsx(n,{Icon:i,label:"Profile",onSelect:()=>{}}),e.jsx(n,{Icon:s,label:"Notifications",onSelect:()=>{}}),e.jsx(n,{Icon:a,label:"Feedback",onSelect:()=>{}}),e.jsx(l,{}),e.jsx(n,{kind:"critical",Icon:c,label:"Sign out",onSelect:()=>{}})]}),t=m.bind({});t.args={};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`args => {
return <ContextMenuComponent {...args} title="Settings" trigger={<div style={{
borderRadius: 24,
background: "var(--cpd-color-bg-subtle-secondary)",
Expand Down
Loading

0 comments on commit 1e85547

Please sign in to comment.