@blueprintjs/icons 4.0.0-beta.7 → 4.0.0-beta.8

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,7 +1,8 @@
1
+ import * as IconSvgPaths16 from "./generated/16px/paths";
2
+ import * as IconSvgPaths20 from "./generated/20px/paths";
1
3
  import type { IconName } from "./iconNames";
2
4
  import type { PascalCase } from "./type-utils";
3
- export declare const IconSvgPaths16: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
4
- export declare const IconSvgPaths20: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
5
+ export { IconSvgPaths16, IconSvgPaths20 };
5
6
  /**
6
7
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
7
8
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -16,11 +16,12 @@
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.iconNameToPathsRecordKey = exports.IconSvgPaths20 = exports.IconSvgPaths16 = void 0;
19
+ var tslib_1 = require("tslib");
19
20
  var change_case_1 = require("change-case");
20
- /* eslint-disable @typescript-eslint/no-var-requires */
21
- exports.IconSvgPaths16 = require("./generated/16px/paths");
22
- exports.IconSvgPaths20 = require("./generated/20px/paths");
23
- /* eslint-enable @typescript-eslint/no-var-requires */
21
+ var IconSvgPaths16 = tslib_1.__importStar(require("./generated/16px/paths"));
22
+ exports.IconSvgPaths16 = IconSvgPaths16;
23
+ var IconSvgPaths20 = tslib_1.__importStar(require("./generated/20px/paths"));
24
+ exports.IconSvgPaths20 = IconSvgPaths20;
24
25
  /**
25
26
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
26
27
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -1 +1 @@
1
- {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2CAAyC;AAKzC,uDAAuD;AAC1C,QAAA,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC7F,QAAA,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC1G,sDAAsD;AAEtD;;;GAGG;AACH,SAAgB,wBAAwB,CAAC,IAAc;IACnD,OAAO,wBAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,2CAAyC;AAEzC,6EAAyD;AAKhD,wCAAc;AAJvB,6EAAyD;AAIhC,wCAAc;AAEvC;;;GAGG;AACH,SAAgB,wBAAwB,CAAC,IAAc;IACnD,OAAO,wBAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC;AAFD,4DAEC"}
@@ -1,7 +1,8 @@
1
+ import * as IconSvgPaths16 from "./generated/16px/paths";
2
+ import * as IconSvgPaths20 from "./generated/20px/paths";
1
3
  import type { IconName } from "./iconNames";
2
4
  import type { PascalCase } from "./type-utils";
3
- export declare const IconSvgPaths16: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
4
- export declare const IconSvgPaths20: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
5
+ export { IconSvgPaths16, IconSvgPaths20 };
5
6
  /**
6
7
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
7
8
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -14,10 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { pascalCase } from "change-case";
17
- /* eslint-disable @typescript-eslint/no-var-requires */
18
- export var IconSvgPaths16 = require("./generated/16px/paths");
19
- export var IconSvgPaths20 = require("./generated/20px/paths");
20
- /* eslint-enable @typescript-eslint/no-var-requires */
17
+ import * as IconSvgPaths16 from "./generated/16px/paths";
18
+ import * as IconSvgPaths20 from "./generated/20px/paths";
19
+ export { IconSvgPaths16, IconSvgPaths20 };
21
20
  /**
22
21
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
23
22
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -1 +1 @@
1
- {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKzC,uDAAuD;AACvD,MAAM,CAAC,IAAM,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC1G,MAAM,CAAC,IAAM,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC1G,sDAAsD;AAEtD;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAc;IACnD,OAAO,UAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC"}
1
+ {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AAIzD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAc;IACnD,OAAO,UAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC"}
@@ -1,7 +1,8 @@
1
+ import * as IconSvgPaths16 from "./generated/16px/paths";
2
+ import * as IconSvgPaths20 from "./generated/20px/paths";
1
3
  import type { IconName } from "./iconNames";
2
4
  import type { PascalCase } from "./type-utils";
3
- export declare const IconSvgPaths16: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
4
- export declare const IconSvgPaths20: Record<import("./generated/16px/blueprint-icons-16").BlueprintIcons_16Key, string[]>;
5
+ export { IconSvgPaths16, IconSvgPaths20 };
5
6
  /**
6
7
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
7
8
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -14,10 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { pascalCase } from "change-case";
17
- /* eslint-disable @typescript-eslint/no-var-requires */
18
- export const IconSvgPaths16 = require("./generated/16px/paths");
19
- export const IconSvgPaths20 = require("./generated/20px/paths");
20
- /* eslint-enable @typescript-eslint/no-var-requires */
17
+ import * as IconSvgPaths16 from "./generated/16px/paths";
18
+ import * as IconSvgPaths20 from "./generated/20px/paths";
19
+ export { IconSvgPaths16, IconSvgPaths20 };
21
20
  /**
22
21
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
23
22
  * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
@@ -1 +1 @@
1
- {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKzC,uDAAuD;AACvD,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC1G,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,wBAAwB,CAA2C,CAAC;AAC1G,sDAAsD;AAEtD;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAc;IACnD,OAAO,UAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC"}
1
+ {"version":3,"file":"iconSvgPaths.js","sourceRoot":"","sources":["../../src/iconSvgPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AAIzD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAc;IACnD,OAAO,UAAU,CAAC,IAAI,CAAyB,CAAC;AACpD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueprintjs/icons",
3
- "version": "4.0.0-beta.7",
3
+ "version": "4.0.0-beta.8",
4
4
  "description": "Components, fonts, icons, and css files for creating and displaying icons.",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -16,13 +16,12 @@
16
16
 
17
17
  import { pascalCase } from "change-case";
18
18
 
19
+ import * as IconSvgPaths16 from "./generated/16px/paths";
20
+ import * as IconSvgPaths20 from "./generated/20px/paths";
19
21
  import type { IconName } from "./iconNames";
20
22
  import type { PascalCase } from "./type-utils";
21
23
 
22
- /* eslint-disable @typescript-eslint/no-var-requires */
23
- export const IconSvgPaths16 = require("./generated/16px/paths") as Record<PascalCase<IconName>, string[]>;
24
- export const IconSvgPaths20 = require("./generated/20px/paths") as Record<PascalCase<IconName>, string[]>;
25
- /* eslint-enable @typescript-eslint/no-var-requires */
24
+ export { IconSvgPaths16, IconSvgPaths20 };
26
25
 
27
26
  /**
28
27
  * Type safe string literal conversion of snake-case icon names to PascalCase icon names,