@ansible/ansible-ui-framework 2.4.2191 → 2.4.2192
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/index.js +1 -1
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -47101,7 +47101,7 @@ function wCe() {
|
|
|
47101
47101
|
Hi(s) ? /* @__PURE__ */ g.jsx(SCe, { step: s, activeStepIndex: c }) : null
|
|
47102
47102
|
]
|
|
47103
47103
|
},
|
|
47104
|
-
|
|
47104
|
+
l
|
|
47105
47105
|
);
|
|
47106
47106
|
}) }) });
|
|
47107
47107
|
}
|
package/index.umd.cjs
CHANGED
|
@@ -535,7 +535,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
535
535
|
color: var(--pf-v5-global--Color--dark-100);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
`;function Z_e(e){const{t}=Ie();return g.jsxs(X_e,{className:Z([mi.wizardHeader,"border-bottom"]),children:[g.jsx("div",{className:Z(mi.wizardTitle),children:g.jsx("h2",{"data-cy":"wizard-title",className:Z(mi.wizardTitleText),children:e.title})}),e.onClose&&g.jsx("div",{className:Z(mi.wizardClose),children:g.jsx(C.Button,{"data-cy":"wizard-close",variant:"plain","aria-label":t("Close wizard"),onClick:e.onClose,children:g.jsx(ve.TimesIcon,{"aria-hidden":"true"})})})]})}function J_e(){const{activeStep:e,isToggleExpanded:t,stepError:n,visibleSteps:r,visibleStepsFlattened:i}=yo(),a=t?"pf-v5-c-wizard__nav pf-m-expanded":"pf-v5-c-wizard__nav bg-lighten",o=v3();if(e)return g.jsx("nav",{className:a,"aria-label":"Steps","data-cy":"wizard-nav",children:g.jsx("ol",{className:"pf-v5-c-wizard__nav-list",children:r.map(s=>{var d;const l=i.findIndex(h=>s.id===h.id),u=i.findIndex(h=>h.id===e.id),c=l>u,f="pf-v5-c-wizard__nav-link"+(e.id===s.id||Vi(s)&&((d=s.substeps)!=null&&d.some(h=>h.id===e.id))?" pf-m-current":"")+(c?" pf-m-disabled":"");return g.jsxs("li",{className:"pf-v5-c-wizard__nav-item","data-cy":`wizard-nav-item-${s.id}`,children:[g.jsxs("button",{className:f,onClick:()=>o(l),disabled:c,children:[" ",s.label,n[s.id]&&e.id===s.id&&g.jsx("span",{style:{marginLeft:"8px"},children:g.jsx(ve.ExclamationCircleIcon,{color:"#C9190B"})})]}),Vi(s)?g.jsx(Q_e,{step:s,activeStepIndex:u}):null]},
|
|
538
|
+
`;function Z_e(e){const{t}=Ie();return g.jsxs(X_e,{className:Z([mi.wizardHeader,"border-bottom"]),children:[g.jsx("div",{className:Z(mi.wizardTitle),children:g.jsx("h2",{"data-cy":"wizard-title",className:Z(mi.wizardTitleText),children:e.title})}),e.onClose&&g.jsx("div",{className:Z(mi.wizardClose),children:g.jsx(C.Button,{"data-cy":"wizard-close",variant:"plain","aria-label":t("Close wizard"),onClick:e.onClose,children:g.jsx(ve.TimesIcon,{"aria-hidden":"true"})})})]})}function J_e(){const{activeStep:e,isToggleExpanded:t,stepError:n,visibleSteps:r,visibleStepsFlattened:i}=yo(),a=t?"pf-v5-c-wizard__nav pf-m-expanded":"pf-v5-c-wizard__nav bg-lighten",o=v3();if(e)return g.jsx("nav",{className:a,"aria-label":"Steps","data-cy":"wizard-nav",children:g.jsx("ol",{className:"pf-v5-c-wizard__nav-list",children:r.map(s=>{var d;const l=i.findIndex(h=>s.id===h.id),u=i.findIndex(h=>h.id===e.id),c=l>u,f="pf-v5-c-wizard__nav-link"+(e.id===s.id||Vi(s)&&((d=s.substeps)!=null&&d.some(h=>h.id===e.id))?" pf-m-current":"")+(c?" pf-m-disabled":"");return g.jsxs("li",{className:"pf-v5-c-wizard__nav-item","data-cy":`wizard-nav-item-${s.id}`,children:[g.jsxs("button",{className:f,onClick:()=>o(l),disabled:c,children:[" ",s.label,n[s.id]&&e.id===s.id&&g.jsx("span",{style:{marginLeft:"8px"},children:g.jsx(ve.ExclamationCircleIcon,{color:"#C9190B"})})]}),Vi(s)?g.jsx(Q_e,{step:s,activeStepIndex:u}):null]},l)})})})}function Q_e(e){const{activeStep:t,stepError:n,visibleStepsFlattened:r}=yo(),{step:i,activeStepIndex:a}=e,o=v3();if(t)return g.jsx("ol",{className:"pf-v5-c-wizard__nav-list",children:i.substeps.map(s=>{const l=r.findIndex(f=>s.id===f.id),u=l>a,c="pf-v5-c-wizard__nav-link"+(t.id===s.id?" pf-m-current":"")+(u?" pf-m-disabled":"");return g.jsx("li",{className:"pf-v5-c-wizard__nav-item","data-cy":`wizard-nav-item-${s.id}`,children:g.jsxs("button",{className:c,onClick:()=>o(l),disabled:u,children:[" ",s.label,n[s.id]&&t.id===s.id&&g.jsx("span",{style:{marginLeft:"8px"},children:g.jsx(ve.ExclamationCircleIcon,{color:"#C9190B"})})]})},s.id)})})}function v3(){const{setActiveStep:e,visibleStepsFlattened:t}=yo();return b.useCallback(n=>{const r=t[n];r&&(Vi(r)?e(r.substeps[0]):e(r))},[e,t])}function ewe(){const{t:e}=Ie(),{activeStep:t,isToggleExpanded:n,setToggleExpanded:r}=yo(),i=b.useCallback(()=>r(a=>!a),[r]);return g.jsxs("button",{onClick:i,className:Z(mi.wizardToggle,n&&"pf-m-expanded"),"aria-label":e("Wizard toggle"),"aria-expanded":n,"data-cy":"wizard-toggle",children:[g.jsx("span",{className:Z(mi.wizardToggleList),children:g.jsxs("span",{className:Z(mi.wizardToggleListItem),children:[g.jsx("span",{className:Z(mi.wizardToggleNum),children:1})," ",t==null?void 0:t.label]})}),g.jsx("span",{className:Z(mi.wizardToggleIcon),children:g.jsx(ve.CaretDownIcon,{"aria-hidden":"true"})})]})}function twe(e){return g.jsx(H_e,{steps:e.steps,defaultValue:e.defaultValue,onSubmit:e.onSubmit,children:g.jsxs("div",{className:"pf-v5-c-wizard","data-cy":"wizard",style:{display:"flex",flexDirection:"column",height:"100%",maxHeight:"100%",overflow:"hidden"},children:[e.title&&g.jsx(Z_e,{title:e.title,onClose:e.onCancel}),g.jsx(ewe,{}),g.jsxs("div",{className:"pf-v5-c-wizard__outer-wrap",style:{display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0},children:[g.jsx(J_e,{}),g.jsx(q_e,{errorAdapter:e.errorAdapter,onCancel:e.onCancel,disableGrid:e.disableGrid,isVertical:e.isVertical,singleColumn:e.singleColumn})]})]})})}function nwe(){return g.jsx(C.PageSection,{isFilled:!0,variant:"light",children:g.jsx(C.Bullseye,{children:g.jsx(C.Spinner,{})})})}function rwe(e){return g.jsxs(b.Fragment,{children:[g.jsx(e3,{breadcrumbs:e.breadcrumbs?[{label:g.jsx(C.Skeleton,{width:"150px"}),isLoading:!0}]:void 0,title:g.jsx(C.Skeleton,{width:"200px"})}),e.tabs&&g.jsx(C.PageSection,{variant:"light",style:{paddingTop:8,paddingBottom:8},children:g.jsx(C.Skeleton,{width:"150px"})}),g.jsx(C.Divider,{}),g.jsx(nwe,{})]})}const iwe=JD`
|
|
539
539
|
from {
|
|
540
540
|
transform: rotate(0);
|
|
541
541
|
}
|