Skip to content

Commit

Permalink
Deploy preview for PR 759 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
guoda-puidokaite committed Feb 10, 2025
1 parent 284454a commit 96600a2
Show file tree
Hide file tree
Showing 104 changed files with 128 additions and 128 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as e}from"./jsx-runtime-D6fbYt3N.js";import{A as ue}from"./AppBody.component-BF1AGHSW.js";import{P as H}from"./PageHeader.component-D32U03GT.js";import{M as W}from"./MainContainer.component-BAdvpFrS.js";import{C as k}from"./ContentContainer.component-Ce7uhB0I.js";import{P as M}from"./PageFooter.component-DAOOYk8f.js";import{H as F}from"./HeaderContainer.component-BajwYmhM.js";import{S as P,a as t}from"./SideNavigationItem.component-DQKgtNJY.js";import{T as w,a as i}from"./TopNavigationItem.component-D6yBgsel.js";import{T as fe,a as T}from"./TabNavigationItem.component-zMJND055.js";import{C as a}from"./ContentHeading.component-2jM_dgUw.js";import{C as ve}from"./Container.component-CzIMm-Jh.js";import"./index-DysCNOs_.js";import"./NavigationItem.component-Bi5aedev.js";import"./Icon.component-2xgVOn6B.js";import"./widgets-BR6-ubtP.js";const ye=`
import{j as e}from"./jsx-runtime-D6fbYt3N.js";import{A as ue}from"./AppBody.component-BF1AGHSW.js";import{P as H}from"./PageHeader.component-D32U03GT.js";import{M as W}from"./MainContainer.component-BAdvpFrS.js";import{C as k}from"./ContentContainer.component-Ce7uhB0I.js";import{P as M}from"./PageFooter.component-DAOOYk8f.js";import{H as F}from"./HeaderContainer.component-BajwYmhM.js";import{S as P,a as t}from"./SideNavigationItem.component-5EXh25A3.js";import{T as w,a as i}from"./TopNavigationItem.component-DQ-a9Gky.js";import{T as fe,a as T}from"./TabNavigationItem.component-H0BY6oWE.js";import{C as a}from"./ContentHeading.component-2jM_dgUw.js";import{C as ve}from"./Container.component-CzIMm-Jh.js";import"./index-DysCNOs_.js";import"./NavigationItem.component-4f_-rnW1.js";import"./Icon.component-Bb8hz3SE.js";import"./widgets-BR6-ubtP.js";const ye=`
jn-flex
jn-grow
`,be=`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as e}from"./jsx-runtime-D6fbYt3N.js";import{M as s}from"./Message.component-C7GNY8GE.js";import{S as B,D as _}from"./StyleProvider.component-R8K2go4f.js";import{S as C}from"./ShadowRoot.component-CLRhA7vg.js";import{P as N}from"./PortalProvider.component-DJiEgPYG.js";import{C as o}from"./CodeBlock.component-Be0DlQAm.js";import"./index-DysCNOs_.js";import"./Icon.component-2xgVOn6B.js";import"./widgets-BR6-ubtP.js";import"./index-DxCGxluL.js";import"./JsonViewer.component-v1BzIG08.js";import"./SearchInput.component-BKZ9tSKd.js";import"./Stack.component-Cte3SL04.js";const I=({children:r,shadowRoot:h,shadowRootMode:c})=>h?e.jsx(C,{mode:c,children:e.jsx(e.Fragment,{children:r})}):r,i=({shadowRoot:r=!0,shadowRootMode:h="open",stylesWrapper:c="inline",theme:T=_,children:W})=>e.jsx(I,{shadowRoot:r,shadowRootMode:h,children:e.jsx(B,{theme:T,stylesWrapper:r?"inline":c,children:e.jsx(N,{children:W})})});try{i.displayName="AppShellProvider",i.__docgenInfo={description:"This provider acts as a wrapper for Juno apps. It renders a StyleProvider and PortalProvider",displayName:"AppShellProvider",props:{stylesWrapper:{defaultValue:{value:"inline"},description:"Where app stylesheets are imported. This is only relevant if shadowRoot === false. If you use a ShadowRoot the styles must be inline.",name:"stylesWrapper",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"inline"'}]}},theme:{defaultValue:{value:"theme-dark"},description:"theme: theme-dark or theme-light",name:"theme",required:!1,type:{name:"enum",value:[{value:'"theme-dark"'},{value:'"theme-light"'}]}},children:{defaultValue:null,description:"React nodes or a collection of React nodes to be rendered as content.",name:"children",required:!1,type:{name:"ReactNode"}},shadowRoot:{defaultValue:{value:"true"},description:"Whether the app is rendered inside a ShadowRoot. Only choose false if the app is meant to run as a stand-alone application.",name:"shadowRoot",required:!1,type:{name:"boolean"}},shadowRootMode:{defaultValue:{value:"open"},description:"Shadow root mode",name:"shadowRootMode",required:!1,type:{name:"enum",value:[{value:'"closed"'},{value:'"open"'}]}}}}}catch{}const K={title:"Layout/AppShellProvider",component:i,argTypes:{children:{control:!1}}},a=r=>e.jsx(i,{...r,children:r.children}),l={render:a,args:{children:[e.jsx(s,{children:"Juno styles are added inline"},0),e.jsx(o,{children:`
import{j as e}from"./jsx-runtime-D6fbYt3N.js";import{M as s}from"./Message.component-CWSR8w39.js";import{S as B,D as _}from"./StyleProvider.component-R8K2go4f.js";import{S as C}from"./ShadowRoot.component-CLRhA7vg.js";import{P as N}from"./PortalProvider.component-DJiEgPYG.js";import{C as o}from"./CodeBlock.component-C85U1LKS.js";import"./index-DysCNOs_.js";import"./Icon.component-Bb8hz3SE.js";import"./widgets-BR6-ubtP.js";import"./index-DxCGxluL.js";import"./JsonViewer.component-q7HV04hB.js";import"./SearchInput.component-D_hKPI80.js";import"./Stack.component-Cte3SL04.js";const I=({children:r,shadowRoot:h,shadowRootMode:c})=>h?e.jsx(C,{mode:c,children:e.jsx(e.Fragment,{children:r})}):r,i=({shadowRoot:r=!0,shadowRootMode:h="open",stylesWrapper:c="inline",theme:T=_,children:W})=>e.jsx(I,{shadowRoot:r,shadowRootMode:h,children:e.jsx(B,{theme:T,stylesWrapper:r?"inline":c,children:e.jsx(N,{children:W})})});try{i.displayName="AppShellProvider",i.__docgenInfo={description:"This provider acts as a wrapper for Juno apps. It renders a StyleProvider and PortalProvider",displayName:"AppShellProvider",props:{stylesWrapper:{defaultValue:{value:"inline"},description:"Where app stylesheets are imported. This is only relevant if shadowRoot === false. If you use a ShadowRoot the styles must be inline.",name:"stylesWrapper",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"inline"'}]}},theme:{defaultValue:{value:"theme-dark"},description:"theme: theme-dark or theme-light",name:"theme",required:!1,type:{name:"enum",value:[{value:'"theme-dark"'},{value:'"theme-light"'}]}},children:{defaultValue:null,description:"React nodes or a collection of React nodes to be rendered as content.",name:"children",required:!1,type:{name:"ReactNode"}},shadowRoot:{defaultValue:{value:"true"},description:"Whether the app is rendered inside a ShadowRoot. Only choose false if the app is meant to run as a stand-alone application.",name:"shadowRoot",required:!1,type:{name:"boolean"}},shadowRootMode:{defaultValue:{value:"open"},description:"Shadow root mode",name:"shadowRootMode",required:!1,type:{name:"enum",value:[{value:'"closed"'},{value:'"open"'}]}}}}}catch{}const K={title:"Layout/AppShellProvider",component:i,argTypes:{children:{control:!1}}},a=r=>e.jsx(i,{...r,children:r.children}),l={render:a,args:{children:[e.jsx(s,{children:"Juno styles are added inline"},0),e.jsx(o,{children:`
export default (props) => {
return (
<AppShellProvider>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{I as oe,K as ee}from"./Icon.component-2xgVOn6B.js";import{j as v}from"./jsx-runtime-D6fbYt3N.js";import"./index-DysCNOs_.js";import"./widgets-BR6-ubtP.js";const ce=`
import{I as oe,K as ee}from"./Icon.component-Bb8hz3SE.js";import{j as v}from"./jsx-runtime-D6fbYt3N.js";import"./index-DysCNOs_.js";import"./widgets-BR6-ubtP.js";const ce=`
jn-rounded
jn-text-sm
jn-text-theme-default
Expand All @@ -16,7 +16,7 @@ import{I as oe,K as ee}from"./Icon.component-2xgVOn6B.js";import{j as v}from"./j
It supports multiple semantic versions, each with distinct styling.
Optionally, an icon can be included to further emphasize the meaning.`,displayName:"Badge",props:{variant:{defaultValue:{value:"default"},description:"Specify an optional semantic variant that determines the appearance of a badge.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"danger"'},{value:'"error"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'}]}},icon:{defaultValue:{value:"false"},description:`Optional.
If true, an icon corresponding to the variant will be displayed.
If a string is provided and it's a valid icon name, that icon will be displayed.`,name:"icon",required:!1,type:{name:'boolean | "search" | "default" | "download" | "accessTime" | "accountCircle" | "addCircle" | "autoAwesomeMosaic" | "autoAwesomeMotion" | "bolt" | "calendarToday" | "cancel" | ... 40 more ...'}},text:{defaultValue:{value:""},description:`Pass an optional string of text to be rendered as content.
If a string is provided and it's a valid icon name, that icon will be displayed.`,name:"icon",required:!1,type:{name:'boolean | "default" | "download" | "search" | "accessTime" | "accountCircle" | "addCircle" | "autoAwesomeMosaic" | "autoAwesomeMotion" | "bolt" | "calendarToday" | "cancel" | ... 40 more ...'}},text:{defaultValue:{value:""},description:`Pass an optional string of text to be rendered as content.
Alternatively, content can be passed as children (see below).
If children are provided, they will take precedence.`,name:"text",required:!1,type:{name:"string"}},className:{defaultValue:{value:""},description:"Pass an optional CSS class to apply to the message.",name:"className",required:!1,type:{name:"string"}},children:{defaultValue:null,description:`Pass optional React nodes or a collection of React nodes to be rendered as content.
Takes precedence over the text property.`,name:"children",required:!1,type:{name:"ReactNode"}}}}}catch{}const he={title:"Components/Badge",component:g,parameters:{text:"default"},argTypes:{icon:{options:["default",...Object.values(ee)],control:{type:"select"}},children:{control:!1}}},a={args:{text:"With Icon",icon:!0}},n={args:{text:"Deleted",icon:"deleteForever"}},t={args:{variant:"info",text:"Info"}},s={args:{variant:"info",text:"Info",icon:!0}},o={args:{variant:"success",text:"Success"}},c={args:{variant:"success",text:"Success",icon:!0}},i={args:{variant:"warning",text:"Warning"}},d={args:{variant:"warning",text:"Warning",icon:!0}},u={args:{variant:"danger",text:"Danger"}},l={args:{variant:"danger",text:"Danger",icon:!0}},p={args:{variant:"error",text:"Error"}},m={args:{variant:"error",text:"Error",icon:!0}};var x,I,y;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{
Expand Down

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

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 T}from"./jsx-runtime-D6fbYt3N.js";import{K as D}from"./Icon.component-2xgVOn6B.js";import{B as v}from"./BreadcrumbItem.component-Dgn0Q0Cu.js";import"./index-DysCNOs_.js";import"./widgets-BR6-ubtP.js";const e=A=>T.jsx(v,{...A}),x=Object.keys(D),_={title:"Components/Breadcrumb/BreadcrumbItem",component:v,argTypes:{icon:{options:x,control:{type:"select"}},children:{control:!1}}},r={render:e,parameters:{docs:{description:{story:"A default breadcrumb item"}}},args:{label:"Breadcrumb Item"}},a={render:e,parameters:{docs:{description:{story:"Pass any available icon name to render an additional icon for the item."}}},args:{icon:"place",label:"Breadcrumb Item with Icon"}},n={render:e,parameters:{docs:{description:{story:"An active item represents the current page."}}},args:{label:"Active Breadcrumb Item",active:!0}},t={render:e,parameters:{docs:{description:{story:"A disabled breadcrumb item."}}},args:{label:"Disabled Breadcrumb Item",disabled:!0}},s={render:e,parameters:{docs:{description:{story:"Typically the first item in a breadcrumb."}}},args:{label:"",icon:"home"}};var o,c,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
import{j as T}from"./jsx-runtime-D6fbYt3N.js";import{K as D}from"./Icon.component-Bb8hz3SE.js";import{B as v}from"./BreadcrumbItem.component-h3sOtjJV.js";import"./index-DysCNOs_.js";import"./widgets-BR6-ubtP.js";const e=A=>T.jsx(v,{...A}),x=Object.keys(D),_={title:"Components/Breadcrumb/BreadcrumbItem",component:v,argTypes:{icon:{options:x,control:{type:"select"}},children:{control:!1}}},r={render:e,parameters:{docs:{description:{story:"A default breadcrumb item"}}},args:{label:"Breadcrumb Item"}},a={render:e,parameters:{docs:{description:{story:"Pass any available icon name to render an additional icon for the item."}}},args:{icon:"place",label:"Breadcrumb Item with Icon"}},n={render:e,parameters:{docs:{description:{story:"An active item represents the current page."}}},args:{label:"Active Breadcrumb Item",active:!0}},t={render:e,parameters:{docs:{description:{story:"A disabled breadcrumb item."}}},args:{label:"Disabled Breadcrumb Item",disabled:!0}},s={render:e,parameters:{docs:{description:{story:"Typically the first item in a breadcrumb."}}},args:{label:"",icon:"home"}};var o,c,m;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{
render: Template,
parameters: {
docs: {
Expand Down
Loading

0 comments on commit 96600a2

Please sign in to comment.