@patternfly/react-table 6.5.0-prerelease.56 → 6.5.0-prerelease.58

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.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).PatternFlyTable={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=i(n);function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}},c={},d=t,p=Symbol.for("react.element"),u=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,m=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function v(e,t,n){var i,o={},a=null,r=null;for(i in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(r=t.ref),t)f.call(t,i)&&!h.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===o[i]&&(o[i]=t[i]);return{$$typeof:p,type:e,key:a,ref:r,props:o,_owner:m.current}}c.Fragment=u,c.jsx=v,c.jsxs=v,l.exports=c;var b=l.exports;function g(...e){const t=[],n={}.hasOwnProperty;return e.filter(Boolean).forEach((e=>{const i=typeof e;if("string"===i||"number"===i)t.push(e);else if(Array.isArray(e)&&e.length){const n=g(...e);n&&t.push(n)}else if("object"===i)for(const i in e)n.call(e,i)&&e[i]&&t.push(i)})),t.join(" ")}var x="pf-v6-c-divider",y="pf-v6-c-menu",w="pf-v6-c-menu__content",O="pf-v6-c-menu__item",j="pf-v6-c-menu__item-action",N="pf-v6-c-menu__item-check",C="pf-v6-c-menu__item-description",S="pf-v6-c-menu__item-external-icon",_="pf-v6-c-menu__item-icon",E="pf-v6-c-menu__item-main",I="pf-v6-c-menu__item-select-icon",R="pf-v6-c-menu__item-text",T="pf-v6-c-menu__item-toggle-icon",k="pf-v6-c-menu__list",P="pf-v6-c-menu__list-item",D="pf-v6-c-menu__search",L={disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",flyout:"pf-m-flyout",left:"pf-m-left",drilldown:"pf-m-drilldown",drilledIn:"pf-m-drilled-in",currentPath:"pf-m-current-path",plain:"pf-m-plain",scrollable:"pf-m-scrollable",load:"pf-m-load",loading:"pf-m-loading",danger:"pf-m-danger",selected:"pf-m-selected",favorited:"pf-m-favorited"},M="pf-v6-c-breadcrumb__link";const A=t.createContext({hasAnimations:!1}),F=e=>{var n;const{hasAnimations:i}=(()=>{const e=t.useContext(A);return void 0===e?{hasAnimations:!1}:e})();return null!==(n=null!=e?e:i)&&void 0!==n&&n};let B=0;const H=(e,t)=>{const{xOffset:n,yOffset:i,width:o,height:a,svgPathData:r,svgClassName:s}=null!=e?e:{},l=[null!=n?n:0,null!=i?i:0,o,a].join(" "),c=[];s&&c.push(s),t&&c.push(t);const d=r&&Array.isArray(r)?r.map(((e,t)=>b.jsx("path",{className:e.className,d:e.path},`${e.path}-${t}`))):b.jsx("path",{d:r});return b.jsx("svg",{viewBox:l,className:c.join(" "),children:d})};function V({name:e,icon:n,rhUiIcon:i=null}){var o;return o=class extends t.Component{constructor(e){super(e),this.id="icon-title-"+B++}render(){const t=this.props,{title:o,className:r,set:s}=t,l=a(t,["title","className","set"]),c=Boolean(o),d=["pf-v6-svg"];if(r&&d.push(r),"rh-ui"===s&&null===i&&console.warn(`Set "rh-ui" was provided for ${e}, but no rh-ui icon data exists for this icon. The default icon will be rendered.`),void 0===s&&null===i||void 0!==s){const e=void 0!==s&&"rh-ui"===s&&null!==i?i:n,{xOffset:t,yOffset:a,width:r,height:p,svgPathData:u,svgClassName:f}=null!=e?e:{},m=[null!=t?t:0,null!=a?a:0,r,p].join(" ");f&&d.push(f);const h=u&&Array.isArray(u)?u.map(((e,t)=>b.jsx("path",{className:e.className,d:e.path},`${e.path}-${t}`))):b.jsx("path",{d:u});return b.jsxs("svg",Object.assign({className:d.join(" "),fill:"currentColor",viewBox:m,"aria-labelledby":c?this.id:null,"aria-hidden":!c||null,role:"img",width:"1em",height:"1em"},l,{children:[c&&b.jsx("title",{id:this.id,children:o}),h]}))}return b.jsxs("svg",Object.assign({className:d.join(" "),fill:"currentColor","aria-labelledby":c?this.id:null,"aria-hidden":!c||null,role:"img",width:"1em",height:"1em"},l,{children:[c&&b.jsx("title",{id:this.id,children:o}),n&&H(n,"pf-v6-icon-default"),i&&H(i,"pf-v6-icon-rh-ui")]}))}},o.displayName=e,o}const z=V({name:"RhUiCheckCircleFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"},rhUiIcon:null}),$=V({name:"RhUiErrorFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"},rhUiIcon:null}),W=V({name:"RhUiWarningFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m31.874 28.514-15.011-27a1.001 1.001 0 0 0-1.748 0l-15.011 27A1 1 0 0 0 .978 30H31a1 1 0 0 0 .874-1.486ZM14.5 12a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 26.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 26.001Z"},rhUiIcon:null});V({name:"RhUiInformationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm1.5 22a1.5 1.5 0 1 1-3 0v-5.157l-.188.04a1.5 1.5 0 0 1-.625-2.934l1.956-.416c.112-.024.223-.032.333-.03l.024-.002a1.5 1.5 0 0 1 1.5 1.5v7Zm-.08-12.58c-.38.37-.89.58-1.42.58a1.998 1.998 0 0 1-1.851-2.76c.051-.13.11-.24.19-.35.07-.11.15-.21.25-.3.74-.75 2.08-.75 2.83 0 .09.09.17.19.24.3.08.11.14.22.189.35.05.12.09.24.11.37.03.13.04.26.04.39 0 .53-.21 1.04-.58 1.42Z"},rhUiIcon:null});var U;V({name:"RhUiNotificationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"},rhUiIcon:null}),function(e){e.success="success",e.error="error",e.warning="warning",e.default="default"}(U||(U={}));const q=" ",Z="Escape",G="Enter";
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).PatternFlyTable={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=i(n);function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}},c={},d=t,p=Symbol.for("react.element"),u=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,m=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function v(e,t,n){var i,o={},a=null,r=null;for(i in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(r=t.ref),t)f.call(t,i)&&!h.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===o[i]&&(o[i]=t[i]);return{$$typeof:p,type:e,key:a,ref:r,props:o,_owner:m.current}}c.Fragment=u,c.jsx=v,c.jsxs=v,l.exports=c;var b=l.exports;function g(...e){const t=[],n={}.hasOwnProperty;return e.filter(Boolean).forEach((e=>{const i=typeof e;if("string"===i||"number"===i)t.push(e);else if(Array.isArray(e)&&e.length){const n=g(...e);n&&t.push(n)}else if("object"===i)for(const i in e)n.call(e,i)&&e[i]&&t.push(i)})),t.join(" ")}var x="pf-v6-c-divider",y="pf-v6-c-menu",w="pf-v6-c-menu__content",O="pf-v6-c-menu__item",j="pf-v6-c-menu__item-action",N="pf-v6-c-menu__item-check",C="pf-v6-c-menu__item-description",S="pf-v6-c-menu__item-external-icon",_="pf-v6-c-menu__item-icon",E="pf-v6-c-menu__item-main",I="pf-v6-c-menu__item-select-icon",R="pf-v6-c-menu__item-text",T="pf-v6-c-menu__item-toggle-icon",k="pf-v6-c-menu__list",P="pf-v6-c-menu__list-item",D="pf-v6-c-menu__search",L={disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",flyout:"pf-m-flyout",left:"pf-m-left",drilldown:"pf-m-drilldown",drilledIn:"pf-m-drilled-in",currentPath:"pf-m-current-path",plain:"pf-m-plain",scrollable:"pf-m-scrollable",load:"pf-m-load",loading:"pf-m-loading",danger:"pf-m-danger",selected:"pf-m-selected",favorited:"pf-m-favorited"},M="pf-v6-c-breadcrumb__link";const A=t.createContext({hasAnimations:!1}),F=e=>{var n;const{hasAnimations:i}=(()=>{const e=t.useContext(A);return void 0===e?{hasAnimations:!1}:e})();return null!==(n=null!=e?e:i)&&void 0!==n&&n};let B=0;const H=(e,t)=>{const{xOffset:n,yOffset:i,width:o,height:a,svgPathData:r,svgClassName:s}=null!=e?e:{},l=[null!=n?n:0,null!=i?i:0,o,a].join(" "),c=[];s&&c.push(s),t&&c.push(t);const d=r&&Array.isArray(r)?r.map(((e,t)=>b.jsx("path",{className:e.className,d:e.path},`${e.path}-${t}`))):b.jsx("path",{d:r});return b.jsx("svg",{viewBox:l,className:c.join(" "),children:d})};function V({name:e,icon:n,rhUiIcon:i=null}){var o;return o=class extends t.Component{constructor(e){super(e),this.id="icon-title-"+B++}render(){const t=this.props,{title:o,className:r,set:s,noDefaultStyle:l}=t,c=a(t,["title","className","set","noDefaultStyle"]),d=Boolean(o),p=["pf-v6-svg"];if(r&&p.push(r),"rh-ui"===s&&null===i&&console.warn(`Set "rh-ui" was provided for ${e}, but no rh-ui icon data exists for this icon. The default icon will be rendered.`),void 0===s&&null===i||void 0!==s){const e=void 0!==s&&"rh-ui"===s&&null!==i?i:n,{xOffset:t,yOffset:a,width:r,height:u,svgPathData:f,svgClassName:m}=null!=e?e:{},h=[null!=t?t:0,null!=a?a:0,r,u].join(" ");m&&!l&&p.push(m);const v=f&&Array.isArray(f)?f.map(((e,t)=>b.jsx("path",{className:e.className,d:e.path},`${e.path}-${t}`))):b.jsx("path",{d:f});return b.jsxs("svg",Object.assign({className:p.join(" "),fill:"currentColor",viewBox:h,"aria-labelledby":d?this.id:null,"aria-hidden":!d||null,role:"img",width:"1em",height:"1em"},c,{children:[d&&b.jsx("title",{id:this.id,children:o}),v]}))}return b.jsxs("svg",Object.assign({className:p.join(" "),fill:"currentColor","aria-labelledby":d?this.id:null,"aria-hidden":!d||null,role:"img",width:"1em",height:"1em"},c,{children:[d&&b.jsx("title",{id:this.id,children:o}),n&&H(n,"pf-v6-icon-default"),i&&H(i,"pf-v6-icon-rh-ui")]}))}},o.displayName=e,o.defaultProps={noDefaultStyle:!1},o}const z=V({name:"RhUiCheckCircleFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"},rhUiIcon:null}),$=V({name:"RhUiErrorFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"},rhUiIcon:null}),W=V({name:"RhUiWarningFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m31.874 28.514-15.011-27a1.001 1.001 0 0 0-1.748 0l-15.011 27A1 1 0 0 0 .978 30H31a1 1 0 0 0 .874-1.486ZM14.5 12a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 26.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 26.001Z"},rhUiIcon:null});V({name:"RhUiInformationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm1.5 22a1.5 1.5 0 1 1-3 0v-5.157l-.188.04a1.5 1.5 0 0 1-.625-2.934l1.956-.416c.112-.024.223-.032.333-.03l.024-.002a1.5 1.5 0 0 1 1.5 1.5v7Zm-.08-12.58c-.38.37-.89.58-1.42.58a1.998 1.998 0 0 1-1.851-2.76c.051-.13.11-.24.19-.35.07-.11.15-.21.25-.3.74-.75 2.08-.75 2.83 0 .09.09.17.19.24.3.08.11.14.22.189.35.05.12.09.24.11.37.03.13.04.26.04.39 0 .53-.21 1.04-.58 1.42Z"},rhUiIcon:null});var U;V({name:"RhUiNotificationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"},rhUiIcon:null}),function(e){e.success="success",e.error="error",e.warning="warning",e.default="default"}(U||(U={}));const q=" ",Z="Escape",G="Enter";
2
2
  /*!
3
3
  * tabbable 6.3.0
4
4
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "6.5.0-prerelease.56",
3
+ "version": "6.5.0-prerelease.58",
4
4
  "description": "This library provides a set of React table components for use with the PatternFly 4",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -40,8 +40,8 @@
40
40
  "subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
41
41
  },
42
42
  "dependencies": {
43
- "@patternfly/react-core": "^6.5.0-prerelease.54",
44
- "@patternfly/react-icons": "^6.5.0-prerelease.22",
43
+ "@patternfly/react-core": "^6.5.0-prerelease.56",
44
+ "@patternfly/react-icons": "^6.5.0-prerelease.24",
45
45
  "@patternfly/react-styles": "^6.5.0-prerelease.17",
46
46
  "@patternfly/react-tokens": "^6.5.0-prerelease.16",
47
47
  "lodash": "^4.18.1",
@@ -51,5 +51,5 @@
51
51
  "react": "^17 || ^18 || ^19",
52
52
  "react-dom": "^17 || ^18 || ^19"
53
53
  },
54
- "gitHead": "10b92b1d17fc9c9342154c4ec6eb6226bc8b2a51"
54
+ "gitHead": "df732e7c48ef0a6784ecb7c226523ac8b6748739"
55
55
  }