@ansible/ansible-ui-framework 2.4.1124 → 2.4.1125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/PageWizard/PageWizard.d.ts +2 -0
- package/index.js +3 -1
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -49599,7 +49599,9 @@ function P6e(e) {
|
|
|
49599
49599
|
errorAdapter: e.errorAdapter,
|
|
49600
49600
|
onCancel: e.onCancel,
|
|
49601
49601
|
onSubmit: e.onSubmit,
|
|
49602
|
-
disableGrid: e.disableGrid
|
|
49602
|
+
disableGrid: e.disableGrid,
|
|
49603
|
+
isVertical: e.isVertical,
|
|
49604
|
+
singleColumn: e.singleColumn
|
|
49603
49605
|
}
|
|
49604
49606
|
)
|
|
49605
49607
|
]
|
package/index.umd.cjs
CHANGED
|
@@ -578,7 +578,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
578
578
|
color: var(--pf-v5-global--Color--dark-100);
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
`;function uOe(e){const{t}=He();return m.jsxs(cOe,{className:ee([$i.wizardHeader,"border-bottom"]),children:[m.jsx("div",{className:ee($i.wizardTitle),children:m.jsx("h2",{"data-cy":"wizard-title",className:ee($i.wizardTitleText),children:e.title})}),e.onClose&&m.jsx("div",{className:ee($i.wizardClose),children:m.jsx(E.Button,{"data-cy":"wizard-close",variant:"plain","aria-label":t("Close wizard"),onClick:e.onClose,children:m.jsx(xe.TimesIcon,{"aria-hidden":"true"})})})]})}function fOe(){const{activeStep:e,isToggleExpanded:t,setActiveStep:n,stepError:r,visibleSteps:i}=bu(),a=t?"pf-v5-c-wizard__nav pf-m-expanded":"pf-v5-c-wizard__nav bg-lighten",o=s=>{const l=i[s];l&&n(l)};if(e)return m.jsx("nav",{className:a,"aria-label":"Steps","data-cy":"wizard-nav",children:m.jsx("ol",{className:"pf-v5-c-wizard__nav-list",children:i.map((s,l)=>{const c=i.findIndex(d=>d.id===e.id),u=l>c,f="pf-v5-c-wizard__nav-link"+(e.id===s.id?" pf-m-current":"")+(u?" pf-m-disabled":"");return m.jsx("li",{className:"pf-v5-c-wizard__nav-item","data-cy":`wizard-nav-item-${s.id}`,children:m.jsxs("button",{className:f,onClick:()=>o(l),disabled:u,children:[" ",s.label,r[s.id]&&e.id===s.id&&m.jsx("span",{style:{marginLeft:"8px"},children:m.jsx(xe.ExclamationCircleIcon,{color:"#C9190B"})})]})},s.id)})})})}function dOe(){const{t:e}=He(),{activeStep:t,isToggleExpanded:n,setToggleExpanded:r}=bu(),i=_.useCallback(()=>r(a=>!a),[r]);return m.jsxs("button",{onClick:i,className:ee($i.wizardToggle,n&&"pf-m-expanded"),"aria-label":e("Wizard toggle"),"aria-expanded":n,"data-cy":"wizard-toggle",children:[m.jsx("span",{className:ee($i.wizardToggleList),children:m.jsxs("span",{className:ee($i.wizardToggleListItem),children:[m.jsx("span",{className:ee($i.wizardToggleNum),children:1})," ",t==null?void 0:t.label]})}),m.jsx("span",{className:ee($i.wizardToggleIcon),children:m.jsx(xe.CaretDownIcon,{"aria-hidden":"true"})})]})}function hOe(e){return m.jsx(oOe,{steps:e.steps,defaultValue:e.defaultValue,children:m.jsxs("div",{className:"pf-v5-c-wizard","data-cy":"wizard",style:{display:"flex",flexDirection:"column",height:"100%",maxHeight:"100%",overflow:"hidden"},children:[e.title&&m.jsx(uOe,{title:e.title,onClose:e.onCancel}),m.jsx(dOe,{}),m.jsxs("div",{className:"pf-v5-c-wizard__outer-wrap",style:{display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0},children:[m.jsx(fOe,{}),m.jsx(sOe,{errorAdapter:e.errorAdapter,onCancel:e.onCancel,onSubmit:e.onSubmit,disableGrid:e.disableGrid})]})]})})}function pOe(){return m.jsx(E.PageSection,{isFilled:!0,variant:"light",children:m.jsx(E.Bullseye,{children:m.jsx(E.Spinner,{})})})}function mOe(e){return m.jsxs(_.Fragment,{children:[m.jsx(oD,{breadcrumbs:e.breadcrumbs?[{label:m.jsx(E.Skeleton,{width:"150px"}),isLoading:!0}]:void 0,title:m.jsx(E.Skeleton,{width:"200px"})}),e.tabs&&m.jsx(E.PageSection,{variant:"light",style:{paddingTop:8,paddingBottom:8},children:m.jsx(E.Skeleton,{width:"150px"})}),m.jsx(E.Divider,{}),m.jsx(pOe,{})]})}const gOe=CM`
|
|
581
|
+
`;function uOe(e){const{t}=He();return m.jsxs(cOe,{className:ee([$i.wizardHeader,"border-bottom"]),children:[m.jsx("div",{className:ee($i.wizardTitle),children:m.jsx("h2",{"data-cy":"wizard-title",className:ee($i.wizardTitleText),children:e.title})}),e.onClose&&m.jsx("div",{className:ee($i.wizardClose),children:m.jsx(E.Button,{"data-cy":"wizard-close",variant:"plain","aria-label":t("Close wizard"),onClick:e.onClose,children:m.jsx(xe.TimesIcon,{"aria-hidden":"true"})})})]})}function fOe(){const{activeStep:e,isToggleExpanded:t,setActiveStep:n,stepError:r,visibleSteps:i}=bu(),a=t?"pf-v5-c-wizard__nav pf-m-expanded":"pf-v5-c-wizard__nav bg-lighten",o=s=>{const l=i[s];l&&n(l)};if(e)return m.jsx("nav",{className:a,"aria-label":"Steps","data-cy":"wizard-nav",children:m.jsx("ol",{className:"pf-v5-c-wizard__nav-list",children:i.map((s,l)=>{const c=i.findIndex(d=>d.id===e.id),u=l>c,f="pf-v5-c-wizard__nav-link"+(e.id===s.id?" pf-m-current":"")+(u?" pf-m-disabled":"");return m.jsx("li",{className:"pf-v5-c-wizard__nav-item","data-cy":`wizard-nav-item-${s.id}`,children:m.jsxs("button",{className:f,onClick:()=>o(l),disabled:u,children:[" ",s.label,r[s.id]&&e.id===s.id&&m.jsx("span",{style:{marginLeft:"8px"},children:m.jsx(xe.ExclamationCircleIcon,{color:"#C9190B"})})]})},s.id)})})})}function dOe(){const{t:e}=He(),{activeStep:t,isToggleExpanded:n,setToggleExpanded:r}=bu(),i=_.useCallback(()=>r(a=>!a),[r]);return m.jsxs("button",{onClick:i,className:ee($i.wizardToggle,n&&"pf-m-expanded"),"aria-label":e("Wizard toggle"),"aria-expanded":n,"data-cy":"wizard-toggle",children:[m.jsx("span",{className:ee($i.wizardToggleList),children:m.jsxs("span",{className:ee($i.wizardToggleListItem),children:[m.jsx("span",{className:ee($i.wizardToggleNum),children:1})," ",t==null?void 0:t.label]})}),m.jsx("span",{className:ee($i.wizardToggleIcon),children:m.jsx(xe.CaretDownIcon,{"aria-hidden":"true"})})]})}function hOe(e){return m.jsx(oOe,{steps:e.steps,defaultValue:e.defaultValue,children:m.jsxs("div",{className:"pf-v5-c-wizard","data-cy":"wizard",style:{display:"flex",flexDirection:"column",height:"100%",maxHeight:"100%",overflow:"hidden"},children:[e.title&&m.jsx(uOe,{title:e.title,onClose:e.onCancel}),m.jsx(dOe,{}),m.jsxs("div",{className:"pf-v5-c-wizard__outer-wrap",style:{display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0},children:[m.jsx(fOe,{}),m.jsx(sOe,{errorAdapter:e.errorAdapter,onCancel:e.onCancel,onSubmit:e.onSubmit,disableGrid:e.disableGrid,isVertical:e.isVertical,singleColumn:e.singleColumn})]})]})})}function pOe(){return m.jsx(E.PageSection,{isFilled:!0,variant:"light",children:m.jsx(E.Bullseye,{children:m.jsx(E.Spinner,{})})})}function mOe(e){return m.jsxs(_.Fragment,{children:[m.jsx(oD,{breadcrumbs:e.breadcrumbs?[{label:m.jsx(E.Skeleton,{width:"150px"}),isLoading:!0}]:void 0,title:m.jsx(E.Skeleton,{width:"200px"})}),e.tabs&&m.jsx(E.PageSection,{variant:"light",style:{paddingTop:8,paddingBottom:8},children:m.jsx(E.Skeleton,{width:"150px"})}),m.jsx(E.Divider,{}),m.jsx(pOe,{})]})}const gOe=CM`
|
|
582
582
|
from {
|
|
583
583
|
transform: rotate(0);
|
|
584
584
|
}
|