Skip to content

Commit

Permalink
Deploy deskpro/portal-components to github.com/deskpro/portal-compone…
Browse files Browse the repository at this point in the history
…nts.git:gh-pages
  • Loading branch information
traviscibot committed Oct 10, 2024
1 parent 1e4ec73 commit 08dbadd
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/assets/FileUpload-Fv8QM0fL.js

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

1 change: 0 additions & 1 deletion demo/assets/FileUpload-Y4Hu2MDy.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as n,a as c}from"./index-O-l6OFW6.js";import{F as d,a as f,b,S as k}from"./Submit-ZWH0ymzD.js";import{F as l}from"./FileUpload-Y4Hu2MDy.js";import"./index-2fYL9DzZ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-4EJmg-NZ.js";import"./index-PPLHz8o0.js";import"./File-i9_is3Z_.js";import"./index-tvtfaFq4.js";import"./Progress-XycQIgQw.js";const A={title:"Input/FileUpload",component:l,tags:["autodocs"]};function F(t,p,o,u){let r="";if(o){const i=new Date;i.setTime(i.getTime()+o*24*60*60*1e3),r=`; expires=${i.toUTCString()}`}document.cookie=`${t}=${p||""}${r}; path=/; domain=${u};`}F("_dp_csrf_token","123456",1,"deskpro.test");const e={args:{name:"files",label:"Attachments",url:"http://deskpro.test/en/dpblob",csrfToken:"123456",multiple:!0,files:[{name:"Test file",filename:"Test file.pdf"}]},render:t=>n(d,{initialValues:{text:""},onSubmit:f("submit"),children:()=>c(b,{children:[n(l,{...t}),n(k,{children:"Submit"})]})})};var s,a,m;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{
import{j as n,a as c}from"./index-O-l6OFW6.js";import{F as d,a as f,b,S as k}from"./Submit-ZWH0ymzD.js";import{F as l}from"./FileUpload-Fv8QM0fL.js";import"./index-2fYL9DzZ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-4EJmg-NZ.js";import"./index-PPLHz8o0.js";import"./File-i9_is3Z_.js";import"./index-tvtfaFq4.js";import"./Progress-XycQIgQw.js";const A={title:"Input/FileUpload",component:l,tags:["autodocs"]};function F(t,p,o,u){let r="";if(o){const i=new Date;i.setTime(i.getTime()+o*24*60*60*1e3),r=`; expires=${i.toUTCString()}`}document.cookie=`${t}=${p||""}${r}; path=/; domain=${u};`}F("_dp_csrf_token","123456",1,"deskpro.test");const e={args:{name:"files",label:"Attachments",url:"http://deskpro.test/en/dpblob",csrfToken:"123456",multiple:!0,files:[{name:"Test file",filename:"Test file.pdf"}]},render:t=>n(d,{initialValues:{text:""},onSubmit:f("submit"),children:()=>c(b,{children:[n(l,{...t}),n(k,{children:"Submit"})]})})};var s,a,m;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{
args: {
name: 'files',
label: 'Attachments',
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 08dbadd

Please sign in to comment.