@ansible/ansible-ui-framework 2.4.29 → 2.4.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,18 +6,18 @@ export declare function PageFormSchema(props: {
6
6
  schema: JSONSchema6;
7
7
  base?: string;
8
8
  }): JSX.Element;
9
- export type TypeTextInputOptions = StringOptions<string> & {
9
+ export type TypeTextInputOptions = StringOptions & {
10
10
  placeholder?: string;
11
11
  autoComplete?: string;
12
12
  };
13
- export declare function TypeTextInput(options: TypeTextInputOptions): import("@sinclair/typebox").TString<string>;
14
- export type TypeSecretInputOptions = StringOptions<string> & {
13
+ export declare function TypeTextInput(options: TypeTextInputOptions): import("@sinclair/typebox").TString;
14
+ export type TypeSecretInputOptions = StringOptions & {
15
15
  placeholder?: string;
16
16
  autoComplete: string;
17
17
  };
18
- export declare function TypeSecretInput(options: TypeSecretInputOptions): import("@sinclair/typebox").TString<string>;
19
- export type TypeSelectOptions<T> = StringOptions<string> & {
18
+ export declare function TypeSecretInput(options: TypeSecretInputOptions): import("@sinclair/typebox").TString;
19
+ export type TypeSelectOptions<T> = StringOptions & {
20
20
  placeholder?: string;
21
21
  options: IFormGroupSelectOption<T>[];
22
22
  };
23
- export declare function TypeSelect<T extends string | number>(options: TypeSelectOptions<T>): import("@sinclair/typebox").TString<string>;
23
+ export declare function TypeSelect<T extends string | number>(options: TypeSelectOptions<T>): import("@sinclair/typebox").TString;
package/index.js CHANGED
@@ -2672,7 +2672,7 @@ var $m = function() {
2672
2672
  return As.get(t);
2673
2673
  }, _m = function(t, e) {
2674
2674
  e >= In && (In = e + 1), xs.set(t, e), As.set(e, t);
2675
- }, Tm = "style[" + mn + '][data-styled-version="5.3.9"]', km = new RegExp("^" + mn + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), jm = function(t, e, r) {
2675
+ }, Tm = "style[" + mn + '][data-styled-version="5.3.10"]', km = new RegExp("^" + mn + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), jm = function(t, e, r) {
2676
2676
  for (var n, s = r.split(","), i = 0, a = s.length; i < a; i++)
2677
2677
  (n = s[i]) && t.registerName(e, n);
2678
2678
  }, Om = function(t, e) {
@@ -2698,7 +2698,7 @@ var $m = function() {
2698
2698
  return d;
2699
2699
  }
2700
2700
  }(r), i = s !== void 0 ? s.nextSibling : null;
2701
- n.setAttribute(mn, "active"), n.setAttribute("data-styled-version", "5.3.9");
2701
+ n.setAttribute(mn, "active"), n.setAttribute("data-styled-version", "5.3.10");
2702
2702
  var a = Pm();
2703
2703
  return a && n.setAttribute("nonce", a), r.insertBefore(n, i), n;
2704
2704
  }, Nm = function() {
@@ -2836,7 +2836,7 @@ function Fm(t) {
2836
2836
  }
2837
2837
  return !0;
2838
2838
  }
2839
- var Mm = _c("5.3.9"), Vm = function() {
2839
+ var Mm = _c("5.3.10"), Vm = function() {
2840
2840
  function t(e, r, n) {
2841
2841
  this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && Fm(e), this.componentId = r, this.baseHash = Fr(Mm, r), this.baseStyle = n, Cc.registerId(r);
2842
2842
  }
@@ -2979,7 +2979,7 @@ function pn(t, e, r, n) {
2979
2979
  return t instanceof jc ? r ? (t.inject(r, n), t.getName(n)) : t : ea(t) ? function d(h, u) {
2980
2980
  var m, p, y = [];
2981
2981
  for (var v in h)
2982
- h.hasOwnProperty(v) && !Eo(h[v]) && (Array.isArray(h[v]) && h[v].isCss || Vn(h[v]) ? y.push(So(v) + ":", h[v], ";") : ea(h[v]) ? y.push.apply(y, d(h[v], v)) : y.push(So(v) + ": " + (m = v, (p = h[v]) == null || typeof p == "boolean" || p === "" ? "" : typeof p != "number" || p === 0 || m in um ? String(p).trim() : p + "px") + ";"));
2982
+ h.hasOwnProperty(v) && !Eo(h[v]) && (Array.isArray(h[v]) && h[v].isCss || Vn(h[v]) ? y.push(So(v) + ":", h[v], ";") : ea(h[v]) ? y.push.apply(y, d(h[v], v)) : y.push(So(v) + ": " + (m = v, (p = h[v]) == null || typeof p == "boolean" || p === "" ? "" : typeof p != "number" || p === 0 || m in um || m.startsWith("--") ? String(p).trim() : p + "px") + ";"));
2983
2983
  return u ? [u + " {"].concat(y, ["}"]) : y;
2984
2984
  }(t) : t.toString();
2985
2985
  }
@@ -3052,7 +3052,7 @@ function Ic(t, e, r) {
3052
3052
  var n = Oa(t), s = !ls(t), i = e.attrs, a = i === void 0 ? Rs : i, o = e.componentId, l = o === void 0 ? function($, E) {
3053
3053
  var x = typeof $ != "string" ? "sc" : wi($);
3054
3054
  Si[x] = (Si[x] || 0) + 1;
3055
- var b = x + "-" + Pc("5.3.9" + x + Si[x]);
3055
+ var b = x + "-" + Pc("5.3.10" + x + Si[x]);
3056
3056
  return E ? E + "-" + b : b;
3057
3057
  }(e.displayName, e.parentComponentId) : o, c = e.displayName, d = c === void 0 ? function($) {
3058
3058
  return ls($) ? "styled." + $ : "Styled(" + ta($) + ")";
package/index.umd.cjs CHANGED
@@ -109,11 +109,11 @@ as for instance in your render method then you may be running into this limitati
109
109
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
110
110
  Has styled-components' style tag been unmounted or altered by another script?
111
111
  `}:{};function Sf(){for(var t=arguments.length<=0?void 0:arguments[0],e=[],r=1,n=arguments.length;r<n;r+=1)e.push(r<0||arguments.length<=r?void 0:arguments[r]);return e.forEach(function(s){t=t.replace(/%[a-z]/,s)}),t}function Rr(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(r.length>0?" Args: "+r.join(", "):"")):new Error(Sf.apply(void 0,[xf[t]].concat(r)).trim())}var Ef=function(){function t(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var e=t.prototype;return e.indexOfGroup=function(r){for(var n=0,s=0;s<r;s++)n+=this.groupSizes[s];return n},e.insertRules=function(r,n){if(r>=this.groupSizes.length){for(var s=this.groupSizes,i=s.length,o=i;r>=o;)(o<<=1)<0&&Rr(16,""+r);this.groupSizes=new Uint32Array(o),this.groupSizes.set(s),this.length=o;for(var a=i;a<o;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(r+1),c=0,d=n.length;c<d;c++)this.tag.insertRule(l,n[c])&&(this.groupSizes[r]++,l++)},e.clearGroup=function(r){if(r<this.length){var n=this.groupSizes[r],s=this.indexOfGroup(r),i=s+n;this.groupSizes[r]=0;for(var o=s;o<i;o++)this.tag.deleteRule(s)}},e.getGroup=function(r){var n="";if(r>=this.length||this.groupSizes[r]===0)return n;for(var s=this.groupSizes[r],i=this.indexOfGroup(r),o=i+s,a=i;a<o;a++)n+=this.tag.getRule(a)+`/*!sc*/
112
- `;return n},t}(),Un=new Map,Wn=new Map,an=1,Hn=function(t){if(Un.has(t))return Un.get(t);for(;Wn.has(an);)an++;var e=an++;return process.env.NODE_ENV!=="production"&&((0|e)<0||e>1<<30)&&Rr(16,""+e),Un.set(t,e),Wn.set(e,t),e},$f=function(t){return Wn.get(t)},_f=function(t,e){e>=an&&(an=e+1),Un.set(t,e),Wn.set(e,t)},kf="style["+Vr+'][data-styled-version="5.3.9"]',Tf=new RegExp("^"+Vr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),jf=function(t,e,r){for(var n,s=r.split(","),i=0,o=s.length;i<o;i++)(n=s[i])&&t.registerName(e,n)},Of=function(t,e){for(var r=(e.textContent||"").split(`/*!sc*/
113
- `),n=[],s=0,i=r.length;s<i;s++){var o=r[s].trim();if(o){var a=o.match(Tf);if(a){var l=0|parseInt(a[1],10),c=a[2];l!==0&&(_f(c,l),jf(t,c,a[3]),t.getTag().insertRules(l,n)),n.length=0}else n.push(o)}}},Cf=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},Ko=function(t){var e=document.head,r=t||e,n=document.createElement("style"),s=function(a){for(var l=a.childNodes,c=l.length;c>=0;c--){var d=l[c];if(d&&d.nodeType===1&&d.hasAttribute(Vr))return d}}(r),i=s!==void 0?s.nextSibling:null;n.setAttribute(Vr,"active"),n.setAttribute("data-styled-version","5.3.9");var o=Cf();return o&&n.setAttribute("nonce",o),r.insertBefore(n,i),n},Pf=function(){function t(r){var n=this.element=Ko(r);n.appendChild(document.createTextNode("")),this.sheet=function(s){if(s.sheet)return s.sheet;for(var i=document.styleSheets,o=0,a=i.length;o<a;o++){var l=i[o];if(l.ownerNode===s)return l}Rr(17)}(n),this.length=0}var e=t.prototype;return e.insertRule=function(r,n){try{return this.sheet.insertRule(n,r),this.length++,!0}catch{return!1}},e.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.getRule=function(r){var n=this.sheet.cssRules[r];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},t}(),Nf=function(){function t(r){var n=this.element=Ko(r);this.nodes=n.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(r,n){if(r<=this.length&&r>=0){var s=document.createTextNode(n),i=this.nodes[r];return this.element.insertBefore(s,i||null),this.length++,!0}return!1},e.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},t}(),Df=function(){function t(r){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(r,n){return r<=this.length&&(this.rules.splice(r,0,n),this.length++,!0)},e.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.getRule=function(r){return r<this.length?this.rules[r]:""},t}(),Jo=Gs,If={isServer:!Gs,useCSSOMInjection:!wf},Xo=function(){function t(r,n,s){r===void 0&&(r=dr),n===void 0&&(n={}),this.options=er({},If,{},r),this.gs=n,this.names=new Map(s),this.server=!!r.isServer,!this.server&&Gs&&Jo&&(Jo=!1,function(i){for(var o=document.querySelectorAll(kf),a=0,l=o.length;a<l;a++){var c=o[a];c&&c.getAttribute(Vr)!=="active"&&(Of(i,c),c.parentNode&&c.parentNode.removeChild(c))}}(this))}t.registerId=function(r){return Hn(r)};var e=t.prototype;return e.reconstructWithOptions=function(r,n){return n===void 0&&(n=!0),new t(er({},this.options,{},r),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.getTag=function(){return this.tag||(this.tag=(s=(n=this.options).isServer,i=n.useCSSOMInjection,o=n.target,r=s?new Df(o):i?new Pf(o):new Nf(o),new Ef(r)));var r,n,s,i,o},e.hasNameForId=function(r,n){return this.names.has(r)&&this.names.get(r).has(n)},e.registerName=function(r,n){if(Hn(r),this.names.has(r))this.names.get(r).add(n);else{var s=new Set;s.add(n),this.names.set(r,s)}},e.insertRules=function(r,n,s){this.registerName(r,n),this.getTag().insertRules(Hn(r),s)},e.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.clearRules=function(r){this.getTag().clearGroup(Hn(r)),this.clearNames(r)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(r){for(var n=r.getTag(),s=n.length,i="",o=0;o<s;o++){var a=$f(o);if(a!==void 0){var l=r.names.get(a),c=n.getGroup(o);if(l&&c&&l.size){var d=Vr+".g"+o+'[id="'+a+'"]',h="";l!==void 0&&l.forEach(function(u){u.length>0&&(h+=u+",")}),i+=""+c+d+'{content:"'+h+`"}/*!sc*/
114
- `}}}return i}(this)},t}(),Af=/(a)(d)/gi,Qo=function(t){return String.fromCharCode(t+(t>25?39:97))};function Ys(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=Qo(e%52)+r;return(Qo(e%52)+r).replace(Af,"$1-$2")}var kr=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},ea=function(t){return kr(5381,t)};function Ff(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(on(r)&&!qs(r))return!1}return!0}var Mf=ea("5.3.9"),Vf=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Ff(e),this.componentId=r,this.baseHash=kr(Mf,r),this.baseStyle=n,Xo.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var s=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(s,this.staticRulesId))i.push(this.staticRulesId);else{var o=Lr(this.rules,e,r,n).join(""),a=Ys(kr(this.baseHash,o)>>>0);if(!r.hasNameForId(s,a)){var l=n(o,"."+a,void 0,s);r.insertRules(s,a,l)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,d=kr(this.baseHash,n.hash),h="",u=0;u<c;u++){var m=this.rules[u];if(typeof m=="string")h+=m,process.env.NODE_ENV!=="production"&&(d=kr(d,m+u));else if(m){var p=Lr(m,e,r,n),y=Array.isArray(p)?p.join(""):p;d=kr(d,y+u),h+=y}}if(h){var b=Ys(d>>>0);if(!r.hasNameForId(s,b)){var $=n(h,"."+b,void 0,s);r.insertRules(s,b,$)}i.push(b)}}return i.join(" ")},t}(),Rf=/^\s*\/\/.*$/gm,Lf=[":","[",".","#"];function Bf(t){var e,r,n,s,i=t===void 0?dr:t,o=i.options,a=o===void 0?dr:o,l=i.plugins,c=l===void 0?zn:l,d=new lf(a),h=[],u=function(y){function b($){if($)try{y($+"}")}catch{}}return function($,k,_,S,x,V,B,j,E,C){switch($){case 1:if(E===0&&k.charCodeAt(0)===64)return y(k+";"),"";break;case 2:if(j===0)return k+"/*|*/";break;case 3:switch(j){case 102:case 112:return y(_[0]+k),"";default:return k+(C===0?"/*|*/":"")}case-2:k.split("/*|*/}").forEach(b)}}}(function(y){h.push(y)}),m=function(y,b,$){return b===0&&Lf.indexOf($[r.length])!==-1||$.match(s)?y:"."+e};function p(y,b,$,k){k===void 0&&(k="&");var _=y.replace(Rf,""),S=b&&$?$+" "+b+" { "+_+" }":_;return e=k,r=b,n=new RegExp("\\"+r+"\\b","g"),s=new RegExp("(\\"+r+"\\b){2,}"),d($||!b?"":b,S)}return d.use([].concat(c,[function(y,b,$){y===2&&$.length&&$[0].lastIndexOf(r)>0&&($[0]=$[0].replace(n,m))},u,function(y){if(y===-2){var b=h;return h=[],b}}])),p.hash=c.length?c.reduce(function(y,b){return b.name||Rr(15),kr(y,b.name)},5381).toString():"",p}var ta=w.createContext();ta.Consumer;var ra=w.createContext(),zf=(ra.Consumer,new Xo),Zs=Bf();function Uf(){return w.useContext(ta)||zf}function Wf(){return w.useContext(ra)||Zs}var na=function(){function t(e,r){var n=this;this.inject=function(s,i){i===void 0&&(i=Zs);var o=n.name+i.hash;s.hasNameForId(n.id,o)||s.insertRules(n.id,o,i(n.rules,o,"@keyframes"))},this.toString=function(){return Rr(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=r}return t.prototype.getName=function(e){return e===void 0&&(e=Zs),this.name+e.hash},t}(),Hf=/([A-Z])/,qf=/([A-Z])/g,Gf=/^ms-/,Yf=function(t){return"-"+t.toLowerCase()};function sa(t){return Hf.test(t)?t.replace(qf,Yf).replace(Gf,"-ms-"):t}var ia=function(t){return t==null||t===!1||t===""};function Lr(t,e,r,n){if(Array.isArray(t)){for(var s,i=[],o=0,a=t.length;o<a;o+=1)(s=Lr(t[o],e,r,n))!==""&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(ia(t))return"";if(qs(t))return"."+t.styledComponentId;if(on(t)){if(typeof(c=t)!="function"||c.prototype&&c.prototype.isReactComponent||!e)return t;var l=t(e);return process.env.NODE_ENV!=="production"&&Mr.isElement(l)&&console.warn(Hs(t)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),Lr(l,e,r,n)}var c;return t instanceof na?r?(t.inject(r,n),t.getName(n)):t:Ws(t)?function d(h,u){var m,p,y=[];for(var b in h)h.hasOwnProperty(b)&&!ia(h[b])&&(Array.isArray(h[b])&&h[b].isCss||on(h[b])?y.push(sa(b)+":",h[b],";"):Ws(h[b])?y.push.apply(y,d(h[b],b)):y.push(sa(b)+": "+(m=b,(p=h[b])==null||typeof p=="boolean"||p===""?"":typeof p!="number"||p===0||m in cf?String(p).trim():p+"px")+";"));return u?[u+" {"].concat(y,["}"]):y}(t):t.toString()}var oa=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function aa(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return on(t)||Ws(t)?oa(Lr(Zo(zn,[t].concat(r)))):r.length===0&&t.length===1&&typeof t[0]=="string"?t:oa(Lr(Zo(t,r)))}var la=/invalid hook call/i,qn=new Set,Zf=function(t,e){if(process.env.NODE_ENV!=="production"){var r="The component "+t+(e?' with the id of "'+e+'"':"")+` has been created dynamically.
112
+ `;return n},t}(),Un=new Map,Wn=new Map,an=1,Hn=function(t){if(Un.has(t))return Un.get(t);for(;Wn.has(an);)an++;var e=an++;return process.env.NODE_ENV!=="production"&&((0|e)<0||e>1<<30)&&Rr(16,""+e),Un.set(t,e),Wn.set(e,t),e},$f=function(t){return Wn.get(t)},_f=function(t,e){e>=an&&(an=e+1),Un.set(t,e),Wn.set(e,t)},kf="style["+Vr+'][data-styled-version="5.3.10"]',Tf=new RegExp("^"+Vr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),jf=function(t,e,r){for(var n,s=r.split(","),i=0,o=s.length;i<o;i++)(n=s[i])&&t.registerName(e,n)},Of=function(t,e){for(var r=(e.textContent||"").split(`/*!sc*/
113
+ `),n=[],s=0,i=r.length;s<i;s++){var o=r[s].trim();if(o){var a=o.match(Tf);if(a){var l=0|parseInt(a[1],10),c=a[2];l!==0&&(_f(c,l),jf(t,c,a[3]),t.getTag().insertRules(l,n)),n.length=0}else n.push(o)}}},Cf=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},Ko=function(t){var e=document.head,r=t||e,n=document.createElement("style"),s=function(a){for(var l=a.childNodes,c=l.length;c>=0;c--){var d=l[c];if(d&&d.nodeType===1&&d.hasAttribute(Vr))return d}}(r),i=s!==void 0?s.nextSibling:null;n.setAttribute(Vr,"active"),n.setAttribute("data-styled-version","5.3.10");var o=Cf();return o&&n.setAttribute("nonce",o),r.insertBefore(n,i),n},Pf=function(){function t(r){var n=this.element=Ko(r);n.appendChild(document.createTextNode("")),this.sheet=function(s){if(s.sheet)return s.sheet;for(var i=document.styleSheets,o=0,a=i.length;o<a;o++){var l=i[o];if(l.ownerNode===s)return l}Rr(17)}(n),this.length=0}var e=t.prototype;return e.insertRule=function(r,n){try{return this.sheet.insertRule(n,r),this.length++,!0}catch{return!1}},e.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.getRule=function(r){var n=this.sheet.cssRules[r];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},t}(),Nf=function(){function t(r){var n=this.element=Ko(r);this.nodes=n.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(r,n){if(r<=this.length&&r>=0){var s=document.createTextNode(n),i=this.nodes[r];return this.element.insertBefore(s,i||null),this.length++,!0}return!1},e.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},t}(),Df=function(){function t(r){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(r,n){return r<=this.length&&(this.rules.splice(r,0,n),this.length++,!0)},e.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.getRule=function(r){return r<this.length?this.rules[r]:""},t}(),Jo=Gs,If={isServer:!Gs,useCSSOMInjection:!wf},Xo=function(){function t(r,n,s){r===void 0&&(r=dr),n===void 0&&(n={}),this.options=er({},If,{},r),this.gs=n,this.names=new Map(s),this.server=!!r.isServer,!this.server&&Gs&&Jo&&(Jo=!1,function(i){for(var o=document.querySelectorAll(kf),a=0,l=o.length;a<l;a++){var c=o[a];c&&c.getAttribute(Vr)!=="active"&&(Of(i,c),c.parentNode&&c.parentNode.removeChild(c))}}(this))}t.registerId=function(r){return Hn(r)};var e=t.prototype;return e.reconstructWithOptions=function(r,n){return n===void 0&&(n=!0),new t(er({},this.options,{},r),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.getTag=function(){return this.tag||(this.tag=(s=(n=this.options).isServer,i=n.useCSSOMInjection,o=n.target,r=s?new Df(o):i?new Pf(o):new Nf(o),new Ef(r)));var r,n,s,i,o},e.hasNameForId=function(r,n){return this.names.has(r)&&this.names.get(r).has(n)},e.registerName=function(r,n){if(Hn(r),this.names.has(r))this.names.get(r).add(n);else{var s=new Set;s.add(n),this.names.set(r,s)}},e.insertRules=function(r,n,s){this.registerName(r,n),this.getTag().insertRules(Hn(r),s)},e.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.clearRules=function(r){this.getTag().clearGroup(Hn(r)),this.clearNames(r)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(r){for(var n=r.getTag(),s=n.length,i="",o=0;o<s;o++){var a=$f(o);if(a!==void 0){var l=r.names.get(a),c=n.getGroup(o);if(l&&c&&l.size){var d=Vr+".g"+o+'[id="'+a+'"]',h="";l!==void 0&&l.forEach(function(u){u.length>0&&(h+=u+",")}),i+=""+c+d+'{content:"'+h+`"}/*!sc*/
114
+ `}}}return i}(this)},t}(),Af=/(a)(d)/gi,Qo=function(t){return String.fromCharCode(t+(t>25?39:97))};function Ys(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=Qo(e%52)+r;return(Qo(e%52)+r).replace(Af,"$1-$2")}var kr=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},ea=function(t){return kr(5381,t)};function Ff(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(on(r)&&!qs(r))return!1}return!0}var Mf=ea("5.3.10"),Vf=function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Ff(e),this.componentId=r,this.baseHash=kr(Mf,r),this.baseStyle=n,Xo.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var s=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(s,this.staticRulesId))i.push(this.staticRulesId);else{var o=Lr(this.rules,e,r,n).join(""),a=Ys(kr(this.baseHash,o)>>>0);if(!r.hasNameForId(s,a)){var l=n(o,"."+a,void 0,s);r.insertRules(s,a,l)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,d=kr(this.baseHash,n.hash),h="",u=0;u<c;u++){var m=this.rules[u];if(typeof m=="string")h+=m,process.env.NODE_ENV!=="production"&&(d=kr(d,m+u));else if(m){var p=Lr(m,e,r,n),y=Array.isArray(p)?p.join(""):p;d=kr(d,y+u),h+=y}}if(h){var b=Ys(d>>>0);if(!r.hasNameForId(s,b)){var $=n(h,"."+b,void 0,s);r.insertRules(s,b,$)}i.push(b)}}return i.join(" ")},t}(),Rf=/^\s*\/\/.*$/gm,Lf=[":","[",".","#"];function Bf(t){var e,r,n,s,i=t===void 0?dr:t,o=i.options,a=o===void 0?dr:o,l=i.plugins,c=l===void 0?zn:l,d=new lf(a),h=[],u=function(y){function b($){if($)try{y($+"}")}catch{}}return function($,k,_,S,x,V,B,j,E,C){switch($){case 1:if(E===0&&k.charCodeAt(0)===64)return y(k+";"),"";break;case 2:if(j===0)return k+"/*|*/";break;case 3:switch(j){case 102:case 112:return y(_[0]+k),"";default:return k+(C===0?"/*|*/":"")}case-2:k.split("/*|*/}").forEach(b)}}}(function(y){h.push(y)}),m=function(y,b,$){return b===0&&Lf.indexOf($[r.length])!==-1||$.match(s)?y:"."+e};function p(y,b,$,k){k===void 0&&(k="&");var _=y.replace(Rf,""),S=b&&$?$+" "+b+" { "+_+" }":_;return e=k,r=b,n=new RegExp("\\"+r+"\\b","g"),s=new RegExp("(\\"+r+"\\b){2,}"),d($||!b?"":b,S)}return d.use([].concat(c,[function(y,b,$){y===2&&$.length&&$[0].lastIndexOf(r)>0&&($[0]=$[0].replace(n,m))},u,function(y){if(y===-2){var b=h;return h=[],b}}])),p.hash=c.length?c.reduce(function(y,b){return b.name||Rr(15),kr(y,b.name)},5381).toString():"",p}var ta=w.createContext();ta.Consumer;var ra=w.createContext(),zf=(ra.Consumer,new Xo),Zs=Bf();function Uf(){return w.useContext(ta)||zf}function Wf(){return w.useContext(ra)||Zs}var na=function(){function t(e,r){var n=this;this.inject=function(s,i){i===void 0&&(i=Zs);var o=n.name+i.hash;s.hasNameForId(n.id,o)||s.insertRules(n.id,o,i(n.rules,o,"@keyframes"))},this.toString=function(){return Rr(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=r}return t.prototype.getName=function(e){return e===void 0&&(e=Zs),this.name+e.hash},t}(),Hf=/([A-Z])/,qf=/([A-Z])/g,Gf=/^ms-/,Yf=function(t){return"-"+t.toLowerCase()};function sa(t){return Hf.test(t)?t.replace(qf,Yf).replace(Gf,"-ms-"):t}var ia=function(t){return t==null||t===!1||t===""};function Lr(t,e,r,n){if(Array.isArray(t)){for(var s,i=[],o=0,a=t.length;o<a;o+=1)(s=Lr(t[o],e,r,n))!==""&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(ia(t))return"";if(qs(t))return"."+t.styledComponentId;if(on(t)){if(typeof(c=t)!="function"||c.prototype&&c.prototype.isReactComponent||!e)return t;var l=t(e);return process.env.NODE_ENV!=="production"&&Mr.isElement(l)&&console.warn(Hs(t)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),Lr(l,e,r,n)}var c;return t instanceof na?r?(t.inject(r,n),t.getName(n)):t:Ws(t)?function d(h,u){var m,p,y=[];for(var b in h)h.hasOwnProperty(b)&&!ia(h[b])&&(Array.isArray(h[b])&&h[b].isCss||on(h[b])?y.push(sa(b)+":",h[b],";"):Ws(h[b])?y.push.apply(y,d(h[b],b)):y.push(sa(b)+": "+(m=b,(p=h[b])==null||typeof p=="boolean"||p===""?"":typeof p!="number"||p===0||m in cf||m.startsWith("--")?String(p).trim():p+"px")+";"));return u?[u+" {"].concat(y,["}"]):y}(t):t.toString()}var oa=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function aa(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return on(t)||Ws(t)?oa(Lr(Zo(zn,[t].concat(r)))):r.length===0&&t.length===1&&typeof t[0]=="string"?t:oa(Lr(Zo(t,r)))}var la=/invalid hook call/i,qn=new Set,Zf=function(t,e){if(process.env.NODE_ENV!=="production"){var r="The component "+t+(e?' with the id of "'+e+'"':"")+` has been created dynamically.
115
115
  You may see this warning because you've called styled inside another component.
116
- To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var s=!0;console.error=function(i){if(la.test(i))s=!1,qn.delete(r);else{for(var o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];n.apply(void 0,[i].concat(a))}},w.useRef(),s&&!qn.has(r)&&(console.warn(r),qn.add(r))}catch(i){la.test(i.message)&&qn.delete(r)}finally{console.error=n}}},Kf=function(t,e,r){return r===void 0&&(r=dr),t.theme!==r.theme&&t.theme||e||r.theme},Jf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Xf=/(^-|-$)/g;function Ks(t){return t.replace(Jf,"-").replace(Xf,"")}var ca=function(t){return Ys(ea(t)>>>0)};function Gn(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var Js=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Qf=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function eh(t,e,r){var n=t[r];Js(e)&&Js(n)?ua(n,e):t[r]=e}function ua(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var s=0,i=r;s<i.length;s++){var o=i[s];if(Js(o))for(var a in o)Qf(a)&&eh(t,o[a],a)}return t}var da=w.createContext();da.Consumer;var Xs={};function fa(t,e,r){var n=qs(t),s=!Gn(t),i=e.attrs,o=i===void 0?zn:i,a=e.componentId,l=a===void 0?function(k,_){var S=typeof k!="string"?"sc":Ks(k);Xs[S]=(Xs[S]||0)+1;var x=S+"-"+ca("5.3.9"+S+Xs[S]);return _?_+"-"+x:x}(e.displayName,e.parentComponentId):a,c=e.displayName,d=c===void 0?function(k){return Gn(k)?"styled."+k:"Styled("+Hs(k)+")"}(t):c,h=e.displayName&&e.componentId?Ks(e.displayName)+"-"+e.componentId:e.componentId||l,u=n&&t.attrs?Array.prototype.concat(t.attrs,o).filter(Boolean):o,m=e.shouldForwardProp;n&&t.shouldForwardProp&&(m=e.shouldForwardProp?function(k,_,S){return t.shouldForwardProp(k,_,S)&&e.shouldForwardProp(k,_,S)}:t.shouldForwardProp);var p,y=new Vf(r,h,n?t.componentStyle:void 0),b=y.isStatic&&o.length===0,$=function(k,_){return function(S,x,V,B){var j=S.attrs,E=S.componentStyle,C=S.defaultProps,N=S.foldedComponentIds,M=S.shouldForwardProp,R=S.styledComponentId,Y=S.target;process.env.NODE_ENV!=="production"&&w.useDebugValue(R);var K=function(le,U,be){le===void 0&&(le=dr);var se=er({},U,{theme:le}),Pe={};return be.forEach(function(ke){var $e,X,qe,ze=ke;for($e in on(ze)&&(ze=ze(se)),ze)se[$e]=Pe[$e]=$e==="className"?(X=Pe[$e],qe=ze[$e],X&&qe?X+" "+qe:X||qe):ze[$e]}),[se,Pe]}(Kf(x,w.useContext(da),C)||dr,x,j),J=K[0],te=K[1],ne=function(le,U,be,se){var Pe=Uf(),ke=Wf(),$e=U?le.generateAndInjectStyles(dr,Pe,ke):le.generateAndInjectStyles(be,Pe,ke);return process.env.NODE_ENV!=="production"&&w.useDebugValue($e),process.env.NODE_ENV!=="production"&&!U&&se&&se($e),$e}(E,B,J,process.env.NODE_ENV!=="production"?S.warnTooManyClasses:void 0),I=V,T=te.$as||x.$as||te.as||x.as||Y,L=Gn(T),H=te!==x?er({},x,{},te):x,Z={};for(var Q in H)Q[0]!=="$"&&Q!=="as"&&(Q==="forwardedAs"?Z.as=H[Q]:(M?M(Q,Uo,T):!L||Uo(Q))&&(Z[Q]=H[Q]));return x.style&&te.style!==x.style&&(Z.style=er({},x.style,{},te.style)),Z.className=Array.prototype.concat(N,R,ne!==R?ne:null,x.className,te.className).filter(Boolean).join(" "),Z.ref=I,w.createElement(T,Z)}(p,k,_,b)};return $.displayName=d,(p=w.forwardRef($)).attrs=u,p.componentStyle=y,p.displayName=d,p.shouldForwardProp=m,p.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):zn,p.styledComponentId=h,p.target=n?t.target:t,p.withComponent=function(k){var _=e.componentId,S=function(V,B){if(V==null)return{};var j,E,C={},N=Object.keys(V);for(E=0;E<N.length;E++)j=N[E],B.indexOf(j)>=0||(C[j]=V[j]);return C}(e,["componentId"]),x=_&&_+"-"+(Gn(k)?k:Ks(Hs(k)));return fa(k,er({},S,{attrs:u,componentId:x}),r)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(k){this._foldedDefaultProps=n?ua({},t.defaultProps,k):k}}),process.env.NODE_ENV!=="production"&&(Zf(d,h),p.warnTooManyClasses=function(k,_){var S={},x=!1;return function(V){if(!x&&(S[V]=!0,Object.keys(S).length>=200)){var B=_?' with the id of "'+_+'"':"";console.warn("Over 200 classes were generated for component "+k+B+`.
116
+ To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var s=!0;console.error=function(i){if(la.test(i))s=!1,qn.delete(r);else{for(var o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];n.apply(void 0,[i].concat(a))}},w.useRef(),s&&!qn.has(r)&&(console.warn(r),qn.add(r))}catch(i){la.test(i.message)&&qn.delete(r)}finally{console.error=n}}},Kf=function(t,e,r){return r===void 0&&(r=dr),t.theme!==r.theme&&t.theme||e||r.theme},Jf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Xf=/(^-|-$)/g;function Ks(t){return t.replace(Jf,"-").replace(Xf,"")}var ca=function(t){return Ys(ea(t)>>>0)};function Gn(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var Js=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Qf=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function eh(t,e,r){var n=t[r];Js(e)&&Js(n)?ua(n,e):t[r]=e}function ua(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var s=0,i=r;s<i.length;s++){var o=i[s];if(Js(o))for(var a in o)Qf(a)&&eh(t,o[a],a)}return t}var da=w.createContext();da.Consumer;var Xs={};function fa(t,e,r){var n=qs(t),s=!Gn(t),i=e.attrs,o=i===void 0?zn:i,a=e.componentId,l=a===void 0?function(k,_){var S=typeof k!="string"?"sc":Ks(k);Xs[S]=(Xs[S]||0)+1;var x=S+"-"+ca("5.3.10"+S+Xs[S]);return _?_+"-"+x:x}(e.displayName,e.parentComponentId):a,c=e.displayName,d=c===void 0?function(k){return Gn(k)?"styled."+k:"Styled("+Hs(k)+")"}(t):c,h=e.displayName&&e.componentId?Ks(e.displayName)+"-"+e.componentId:e.componentId||l,u=n&&t.attrs?Array.prototype.concat(t.attrs,o).filter(Boolean):o,m=e.shouldForwardProp;n&&t.shouldForwardProp&&(m=e.shouldForwardProp?function(k,_,S){return t.shouldForwardProp(k,_,S)&&e.shouldForwardProp(k,_,S)}:t.shouldForwardProp);var p,y=new Vf(r,h,n?t.componentStyle:void 0),b=y.isStatic&&o.length===0,$=function(k,_){return function(S,x,V,B){var j=S.attrs,E=S.componentStyle,C=S.defaultProps,N=S.foldedComponentIds,M=S.shouldForwardProp,R=S.styledComponentId,Y=S.target;process.env.NODE_ENV!=="production"&&w.useDebugValue(R);var K=function(le,U,be){le===void 0&&(le=dr);var se=er({},U,{theme:le}),Pe={};return be.forEach(function(ke){var $e,X,qe,ze=ke;for($e in on(ze)&&(ze=ze(se)),ze)se[$e]=Pe[$e]=$e==="className"?(X=Pe[$e],qe=ze[$e],X&&qe?X+" "+qe:X||qe):ze[$e]}),[se,Pe]}(Kf(x,w.useContext(da),C)||dr,x,j),J=K[0],te=K[1],ne=function(le,U,be,se){var Pe=Uf(),ke=Wf(),$e=U?le.generateAndInjectStyles(dr,Pe,ke):le.generateAndInjectStyles(be,Pe,ke);return process.env.NODE_ENV!=="production"&&w.useDebugValue($e),process.env.NODE_ENV!=="production"&&!U&&se&&se($e),$e}(E,B,J,process.env.NODE_ENV!=="production"?S.warnTooManyClasses:void 0),I=V,T=te.$as||x.$as||te.as||x.as||Y,L=Gn(T),H=te!==x?er({},x,{},te):x,Z={};for(var Q in H)Q[0]!=="$"&&Q!=="as"&&(Q==="forwardedAs"?Z.as=H[Q]:(M?M(Q,Uo,T):!L||Uo(Q))&&(Z[Q]=H[Q]));return x.style&&te.style!==x.style&&(Z.style=er({},x.style,{},te.style)),Z.className=Array.prototype.concat(N,R,ne!==R?ne:null,x.className,te.className).filter(Boolean).join(" "),Z.ref=I,w.createElement(T,Z)}(p,k,_,b)};return $.displayName=d,(p=w.forwardRef($)).attrs=u,p.componentStyle=y,p.displayName=d,p.shouldForwardProp=m,p.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):zn,p.styledComponentId=h,p.target=n?t.target:t,p.withComponent=function(k){var _=e.componentId,S=function(V,B){if(V==null)return{};var j,E,C={},N=Object.keys(V);for(E=0;E<N.length;E++)j=N[E],B.indexOf(j)>=0||(C[j]=V[j]);return C}(e,["componentId"]),x=_&&_+"-"+(Gn(k)?k:Ks(Hs(k)));return fa(k,er({},S,{attrs:u,componentId:x}),r)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(k){this._foldedDefaultProps=n?ua({},t.defaultProps,k):k}}),process.env.NODE_ENV!=="production"&&(Zf(d,h),p.warnTooManyClasses=function(k,_){var S={},x=!1;return function(V){if(!x&&(S[V]=!0,Object.keys(S).length>=200)){var B=_?' with the id of "'+_+'"':"";console.warn("Over 200 classes were generated for component "+k+B+`.
117
117
  Consider using the attrs method, together with a style object for frequently changed styles.
118
118
  Example:
119
119
  const Component = styled.div.attrs(props => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.29",
4
+ "version": "2.4.31",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",