@splunk/dynamic-editors 0.36.2 → 0.37.1

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "author": "Splunk",
6
6
  "//": "actual package version is maintained by git tag",
7
- "version": "0.36.2",
7
+ "version": "0.37.1",
8
8
  "scripts": {
9
9
  "build": "NODE_ENV=production webpack --config ./webpack.config.js --bail",
10
10
  "build-storybook": "sb build -c .storybook -s fonts -o .storybook-bundle",
@@ -60,7 +60,7 @@
60
60
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
61
61
  "@babel/plugin-transform-runtime": "^7.28.0",
62
62
  "@loki/create-async-callback": "^0.35.1",
63
- "@splunk/dynamic-editors-build-tools": "^0.36.0",
63
+ "@splunk/dynamic-editors-build-tools": "^0.37.0",
64
64
  "@splunk/jsdoc-loader": "^3.0.1",
65
65
  "@splunk/visualization-color-palettes": "^28.0.0",
66
66
  "@splunk/visualization-context": "^28.0.0",
@@ -100,5 +100,5 @@
100
100
  "webpack": "^5.88.0",
101
101
  "webpack-cli": "^5.1.4"
102
102
  },
103
- "gitHead": "b9ad3f2372a2f83c93cfae39939b85577acc9960"
103
+ "gitHead": "ca9c4dc6268b2748aa47ef8fb1024944b2446fb6"
104
104
  }
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2018 Splunk Inc.
3
3
  * SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
4
4
  * in part without a valid written license from Splunk Inc. is PROHIBITED.
5
- */(()=>{"use strict";var e={212:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=o(r(497)),u=a(r(232)),s=r(649),c=a(r(597)),f=a(r(267)),p=u.default.div`
5
+ */(()=>{"use strict";var e={212:function(e,t,r){var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,i)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=n(r(497)),u=l(r(232)),s=r(649),c=l(r(597)),f=l(r(267)),p=u.default.div`
6
6
  position: absolute;
7
7
  left: 0;
8
8
  right: 0;
@@ -11,7 +11,6 @@
11
11
  display: flex;
12
12
  align-items: center;
13
13
  justify-content: flex-end;
14
- color: white;
15
14
  /* this aligns the first item on the far left and the other item is aligned to flex end */
16
15
  & :first-child {
17
16
  margin-right: auto;
@@ -19,5 +18,5 @@
19
18
  & {
20
19
  padding: 4px 1px;
21
20
  }
22
- `;t.default=()=>l.createElement(p,null,l.createElement(c.default,{"aria-label":(0,s._)("Bottom range")}),l.createElement(f.default,{"aria-label":(0,s._)("Top range")}))},597:e=>{e.exports=require("@splunk/react-icons/ArrowDown")},267:e=>{e.exports=require("@splunk/react-icons/ArrowUp")},649:e=>{e.exports=require("@splunk/ui-utils/i18n")},497:e=>{e.exports=require("react")},232:e=>{e.exports=require("styled-components")}},t={};var r=function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,r),o.exports}(212);module.exports=r})();
21
+ `;t.default=({colorDown:e,colorUp:t})=>a.createElement(p,null,a.createElement(c.default,{"aria-label":(0,s._)("Bottom range"),style:{color:e||"white"}}),a.createElement(f.default,{"aria-label":(0,s._)("Top range"),style:{color:t||"white"}}))},597:e=>{e.exports=require("@splunk/react-icons/ArrowDown")},267:e=>{e.exports=require("@splunk/react-icons/ArrowUp")},649:e=>{e.exports=require("@splunk/ui-utils/i18n")},497:e=>{e.exports=require("react")},232:e=>{e.exports=require("styled-components")}},t={};var r=function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o].call(n.exports,n,n.exports,r),n.exports}(212);module.exports=r})();
23
22
  //# sourceMappingURL=ArrowLayer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArrowLayer.js","mappings":";;;;0zBAAA,kBACA,YACA,SACA,YACA,YAEMA,EAAU,UAAOC,GAAG;;;;;;;;;;;;;;;;;EA0B1B,UAPmB,IACf,gBAACD,EAAO,KACJ,gBAAC,UAAS,eAAa,IAAAE,GAAE,kBACzB,gBAAC,UAAO,eAAa,IAAAA,GAAE,e,UC5B/BC,EAAOC,QAAUC,QAAQ,gC,UCAzBF,EAAOC,QAAUC,QAAQ,8B,UCAzBF,EAAOC,QAAUC,QAAQ,wB,UCAzBF,EAAOC,QAAUC,QAAQ,Q,UCAzBF,EAAOC,QAAUC,QAAQ,oB,GCCrBC,EAA2B,CAAC,ECEhC,IAAIC,EDCJ,SAASC,EAAoBC,GAE5B,IAAIC,EAAeJ,EAAyBG,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaN,QAGrB,IAAID,EAASG,EAAyBG,GAAY,CAGjDL,QAAS,CAAC,GAOX,OAHAQ,EAAoBH,GAAUI,KAAKV,EAAOC,QAASD,EAAQA,EAAOC,QAASI,GAGpEL,EAAOC,OACf,CCnB0BI,CAAoB,K","sources":["webpack://@splunk/dynamic-editors/./src/shared/ArrowLayer.tsx","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/react-icons/ArrowDown\"","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/react-icons/ArrowUp\"","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/ui-utils/i18n\"","webpack://@splunk/dynamic-editors/external commonjs2 \"react\"","webpack://@splunk/dynamic-editors/external commonjs2 \"styled-components\"","webpack://@splunk/dynamic-editors/webpack/bootstrap","webpack://@splunk/dynamic-editors/webpack/startup"],"sourcesContent":["import * as React from 'react';\nimport styled from 'styled-components';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport ArrowDown from '@splunk/react-icons/ArrowDown';\nimport ArrowUp from '@splunk/react-icons/ArrowUp';\n\nconst Wrapper = styled.div`\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n color: white;\n /* this aligns the first item on the far left and the other item is aligned to flex end */\n & :first-child {\n margin-right: auto;\n }\n & {\n padding: 4px 1px;\n }\n`;\n\nconst ArrowLayer = (): React.ReactElement => (\n <Wrapper>\n <ArrowDown aria-label={_('Bottom range')} />\n <ArrowUp aria-label={_('Top range')} />\n </Wrapper>\n);\n\nexport default ArrowLayer;\n","module.exports = require(\"@splunk/react-icons/ArrowDown\");","module.exports = require(\"@splunk/react-icons/ArrowUp\");","module.exports = require(\"@splunk/ui-utils/i18n\");","module.exports = require(\"react\");","module.exports = require(\"styled-components\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(212);\n"],"names":["Wrapper","div","_","module","exports","require","__webpack_module_cache__","__webpack_exports__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call"],"sourceRoot":""}
1
+ {"version":3,"file":"ArrowLayer.js","mappings":";;;;0zBAAA,kBACA,YACA,SACA,YACA,YAEMA,EAAU,UAAOC,GAAG;;;;;;;;;;;;;;;;EA8B1B,UAPmB,EAAGC,YAAWC,aAC7B,gBAACH,EAAO,KACJ,gBAAC,UAAS,eAAa,IAAAI,GAAE,gBAAiBC,MAAO,CAAEC,MAAOJ,GAAa,WACvE,gBAAC,UAAO,eAAa,IAAAE,GAAE,aAAcC,MAAO,CAAEC,MAAOH,GAAW,W,UChCxEI,EAAOC,QAAUC,QAAQ,gC,UCAzBF,EAAOC,QAAUC,QAAQ,8B,UCAzBF,EAAOC,QAAUC,QAAQ,wB,UCAzBF,EAAOC,QAAUC,QAAQ,Q,UCAzBF,EAAOC,QAAUC,QAAQ,oB,GCCrBC,EAA2B,CAAC,ECEhC,IAAIC,EDCJ,SAASC,EAAoBC,GAE5B,IAAIC,EAAeJ,EAAyBG,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaN,QAGrB,IAAID,EAASG,EAAyBG,GAAY,CAGjDL,QAAS,CAAC,GAOX,OAHAQ,EAAoBH,GAAUI,KAAKV,EAAOC,QAASD,EAAQA,EAAOC,QAASI,GAGpEL,EAAOC,OACf,CCnB0BI,CAAoB,K","sources":["webpack://@splunk/dynamic-editors/./src/shared/ArrowLayer.tsx","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/react-icons/ArrowDown\"","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/react-icons/ArrowUp\"","webpack://@splunk/dynamic-editors/external commonjs2 \"@splunk/ui-utils/i18n\"","webpack://@splunk/dynamic-editors/external commonjs2 \"react\"","webpack://@splunk/dynamic-editors/external commonjs2 \"styled-components\"","webpack://@splunk/dynamic-editors/webpack/bootstrap","webpack://@splunk/dynamic-editors/webpack/startup"],"sourcesContent":["import * as React from 'react';\nimport styled from 'styled-components';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport ArrowDown from '@splunk/react-icons/ArrowDown';\nimport ArrowUp from '@splunk/react-icons/ArrowUp';\n\nconst Wrapper = styled.div`\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n /* this aligns the first item on the far left and the other item is aligned to flex end */\n & :first-child {\n margin-right: auto;\n }\n & {\n padding: 4px 1px;\n }\n`;\n\ninterface ArrowLayerProps {\n colorDown?: string;\n colorUp?: string;\n}\n\nconst ArrowLayer = ({ colorDown, colorUp }: ArrowLayerProps): React.ReactElement => (\n <Wrapper>\n <ArrowDown aria-label={_('Bottom range')} style={{ color: colorDown || 'white' }} />\n <ArrowUp aria-label={_('Top range')} style={{ color: colorUp || 'white' }} />\n </Wrapper>\n);\n\nexport default ArrowLayer;\n","module.exports = require(\"@splunk/react-icons/ArrowDown\");","module.exports = require(\"@splunk/react-icons/ArrowUp\");","module.exports = require(\"@splunk/ui-utils/i18n\");","module.exports = require(\"react\");","module.exports = require(\"styled-components\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(212);\n"],"names":["Wrapper","div","colorDown","colorUp","_","style","color","module","exports","require","__webpack_module_cache__","__webpack_exports__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call"],"sourceRoot":""}