@splunk/visualization-icons 27.0.0 → 27.2.0

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/Timeline.js ADDED
@@ -0,0 +1,83 @@
1
+ /* Copyright © 2020 Splunk Inc.
2
+ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
3
+ in part without a valid written license from Splunk Inc. is PROHIBITED. */
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __export = (target, all) => {
25
+ for (var name in all)
26
+ __defProp(target, name, { get: all[name], enumerable: true });
27
+ };
28
+ var __copyProps = (to, from, except, desc) => {
29
+ if (from && typeof from === "object" || typeof from === "function") {
30
+ for (let key of __getOwnPropNames(from))
31
+ if (!__hasOwnProp.call(to, key) && key !== except)
32
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
33
+ }
34
+ return to;
35
+ };
36
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
42
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
43
+ mod
44
+ ));
45
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
46
+
47
+ // src/Timeline.tsx
48
+ var Timeline_exports = {};
49
+ __export(Timeline_exports, {
50
+ default: () => Timeline_default
51
+ });
52
+ module.exports = __toCommonJS(Timeline_exports);
53
+
54
+ // esm-externals:react
55
+ var react_exports = {};
56
+ __export(react_exports, {
57
+ default: () => react_default
58
+ });
59
+ var defaultImport = __toESM(require("react"));
60
+ __reExport(react_exports, require("react"));
61
+ var react_default = "default" in defaultImport ? defaultImport.default : defaultImport;
62
+
63
+ // esm-externals:@splunk/react-icons/SVGEnterprise
64
+ var SVGEnterprise_exports = {};
65
+ __export(SVGEnterprise_exports, {
66
+ default: () => SVGEnterprise_default
67
+ });
68
+ var defaultImport2 = __toESM(require("@splunk/react-icons/SVGEnterprise"));
69
+ __reExport(SVGEnterprise_exports, require("@splunk/react-icons/SVGEnterprise"));
70
+ var SVGEnterprise_default = "default" in defaultImport2 ? defaultImport2.default : defaultImport2;
71
+
72
+ // src/Timeline.tsx
73
+ var Timeline = (props) => /* @__PURE__ */ react_exports.createElement(SVGEnterprise_default, __spreadValues({ viewBox: "0 0 18 18" }, props), /* @__PURE__ */ react_exports.createElement(
74
+ "path",
75
+ {
76
+ fillRule: "evenodd",
77
+ clipRule: "evenodd",
78
+ d: "M2 2C2.27614 2 2.5 2.22386 2.5 2.5V9H10C10.2761 9 10.5 9.22386 10.5 9.5C10.5 9.77614 10.2761 10 10 10H2.25C1.83579 10 1.5 9.66421 1.5 9.25V2.5C1.5 2.22386 1.72386 2 2 2ZM4 3C4 2.72386 4.22386 2.5 4.5 2.5H7.5C7.77614 2.5 8 2.72386 8 3C8 3.27614 7.77614 3.5 7.5 3.5H4.5C4.22386 3.5 4 3.27614 4 3ZM5.5 5C5.5 4.72386 5.72386 4.5 6 4.5H7.5C7.77614 4.5 8 4.72386 8 5C8 5.27614 7.77614 5.5 7.5 5.5H6C5.72386 5.5 5.5 5.27614 5.5 5ZM5.5 7C5.5 6.72386 5.72386 6.5 6 6.5H9.5C9.77614 6.5 10 6.72386 10 7C10 7.27614 9.77614 7.5 9.5 7.5H6C5.72386 7.5 5.5 7.27614 5.5 7Z",
79
+ fill: "currentColor"
80
+ }
81
+ ));
82
+ var Timeline_default = Timeline;
83
+ //# sourceMappingURL=Timeline.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["src/Timeline.tsx", "esm-externals:react", "esm-externals:@splunk/react-icons/SVGEnterprise"],
4
+ "sourcesContent": ["import * as React from 'react';\nimport SVGEnterprise from '@splunk/react-icons/SVGEnterprise';\n\nconst Timeline = (props: React.ComponentProps<typeof SVGEnterprise>): React.ReactElement<SVGElement> => (\n <SVGEnterprise viewBox=\"0 0 18 18\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M2 2C2.27614 2 2.5 2.22386 2.5 2.5V9H10C10.2761 9 10.5 9.22386 10.5 9.5C10.5 9.77614 10.2761 10 10 10H2.25C1.83579 10 1.5 9.66421 1.5 9.25V2.5C1.5 2.22386 1.72386 2 2 2ZM4 3C4 2.72386 4.22386 2.5 4.5 2.5H7.5C7.77614 2.5 8 2.72386 8 3C8 3.27614 7.77614 3.5 7.5 3.5H4.5C4.22386 3.5 4 3.27614 4 3ZM5.5 5C5.5 4.72386 5.72386 4.5 6 4.5H7.5C7.77614 4.5 8 4.72386 8 5C8 5.27614 7.77614 5.5 7.5 5.5H6C5.72386 5.5 5.5 5.27614 5.5 5ZM5.5 7C5.5 6.72386 5.72386 6.5 6 6.5H9.5C9.77614 6.5 10 6.72386 10 7C10 7.27614 9.77614 7.5 9.5 7.5H6C5.72386 7.5 5.5 7.27614 5.5 7Z\"\n fill=\"currentColor\"\n />\n </SVGEnterprise>\n);\n\nexport default Timeline;\n", "\nimport * as defaultImport from \"react\";\nexport * from \"react\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/react-icons/SVGEnterprise\";\nexport * from \"@splunk/react-icons/SVGEnterprise\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AACA,oBAA+B;AAC/B,0BAAc;AACd,IAAO,gBAAS,aAAa,gBAA8B,wBAAU;;;ACHrE;AAAA;AAAA;AAAA;AACA,IAAAA,iBAA+B;AAC/B,kCAAc;AACd,IAAO,wBAAS,aAAaA,iBAA8B,yBAAUA;;;AFArE,IAAM,WAAW,CAAC,UACd,4CAAC,wCAAc,SAAQ,eAAgB,QACnC;AAAA,EAAC;AAAA;AAAA,IACG,UAAS;AAAA,IACT,UAAS;AAAA,IACT,GAAE;AAAA,IACF,MAAK;AAAA;AACT,CACJ;AAGJ,IAAO,mBAAQ;",
6
+ "names": ["defaultImport"]
7
+ }
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@splunk/visualization-icons",
3
3
  "license": "SEE LICENSE IN LICENSE.md",
4
4
  "author": "Splunk",
5
- "version": "27.0.0",
5
+ "version": "27.2.0",
6
6
  "scripts": {
7
- "build": "../build-tools/bin/viz-build.js --no-types",
7
+ "build": "viz-build --no-types",
8
8
  "build-storybook": "sb build -c .storybook -o .storybook-bundle",
9
9
  "clean": "yarn clean:storybook && yarn clean:esbuild",
10
10
  "clean:storybook": "rm -rf .storybook-bundle",
11
11
  "clean:esbuild": "git ls-files --others -i --exclude-standard *.js *.map | xargs rm",
12
- "dev": "../build-tools/bin/viz-build.js --no-types --watch",
12
+ "dev": "viz-build --no-types --watch",
13
13
  "storybook": "sb dev -p 6006 -c .storybook",
14
14
  "test": "yarn run test:visual",
15
15
  "test:ci": "yarn run test:visual:ci",
@@ -18,15 +18,15 @@
18
18
  "test:visual:update": "yarn loki approve"
19
19
  },
20
20
  "dependencies": {
21
- "@splunk/react-icons": "^4.8.0",
22
- "@splunk/ui-utils": "^1.7.1"
21
+ "@splunk/react-icons": "^4.10.0",
22
+ "@splunk/ui-utils": "^1.8.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^16.11.0",
26
26
  "react-dom": "^16.11.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@splunk/visualization-build-tools": "^27.0.0",
29
+ "@splunk/visualization-build-tools": "^27.2.0",
30
30
  "@storybook/addon-actions": "^7.6.20",
31
31
  "@storybook/addons": "^7.6.20",
32
32
  "@storybook/react": "^7.6.20",