@blueprintjs/icons 5.2.0 → 5.2.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.
Files changed (44) hide show
  1. package/dist/blueprint-icons-all-paths-loader.bundle.js +1 -1
  2. package/dist/blueprint-icons-split-paths-by-size-loader.bundle.js +1 -1
  3. package/dist/icons.bundle.js +1 -1
  4. package/lib/cjs/allPaths.d.ts +1 -1
  5. package/lib/cjs/index.js +1 -0
  6. package/lib/cjs/index.js.map +1 -1
  7. package/lib/cjs/svgIconProps.d.ts +1 -1
  8. package/lib/cjs/type-utils/camel-case.d.ts +2 -2
  9. package/lib/cjs/type-utils/delimiter-case.d.ts +1 -1
  10. package/lib/cjs/type-utils/index.d.ts +6 -3
  11. package/lib/cjs/type-utils/pascal-case.d.ts +1 -1
  12. package/lib/cjs/type-utils/screaming-snake-case.d.ts +3 -3
  13. package/lib/cjs/type-utils/snake-case.d.ts +1 -1
  14. package/lib/esm/allPaths.d.ts +1 -1
  15. package/lib/esm/iconNames.d.ts +335 -335
  16. package/lib/esm/index.js +1 -0
  17. package/lib/esm/index.js.map +1 -1
  18. package/lib/esm/svgIconProps.d.ts +1 -1
  19. package/lib/esm/type-utils/camel-case.d.ts +2 -2
  20. package/lib/esm/type-utils/delimiter-case.d.ts +1 -1
  21. package/lib/esm/type-utils/index.d.ts +6 -3
  22. package/lib/esm/type-utils/pascal-case.d.ts +1 -1
  23. package/lib/esm/type-utils/screaming-snake-case.d.ts +3 -3
  24. package/lib/esm/type-utils/snake-case.d.ts +1 -1
  25. package/lib/esnext/allPaths.d.ts +1 -1
  26. package/lib/esnext/index.js +1 -0
  27. package/lib/esnext/index.js.map +1 -1
  28. package/lib/esnext/svgIconProps.d.ts +1 -1
  29. package/lib/esnext/type-utils/camel-case.d.ts +2 -2
  30. package/lib/esnext/type-utils/delimiter-case.d.ts +1 -1
  31. package/lib/esnext/type-utils/index.d.ts +6 -3
  32. package/lib/esnext/type-utils/pascal-case.d.ts +1 -1
  33. package/lib/esnext/type-utils/screaming-snake-case.d.ts +3 -3
  34. package/lib/esnext/type-utils/snake-case.d.ts +1 -1
  35. package/package.json +3 -3
  36. package/src/allPaths.ts +1 -1
  37. package/src/paths-loaders/splitPathsBySizeLoader.ts +1 -1
  38. package/src/svgIconProps.ts +1 -1
  39. package/src/type-utils/camel-case.ts +2 -2
  40. package/src/type-utils/delimiter-case.ts +1 -1
  41. package/src/type-utils/index.ts +6 -3
  42. package/src/type-utils/pascal-case.ts +1 -1
  43. package/src/type-utils/screaming-snake-case.ts +3 -3
  44. package/src/type-utils/snake-case.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as IconSvgPaths16 from "./generated/16px/paths";
2
2
  import * as IconSvgPaths20 from "./generated/20px/paths";
3
- import { IconName } from "./iconNames";
3
+ import type { IconName } from "./iconNames";
4
4
  import { IconPaths, IconSize } from "./iconTypes";
5
5
  import type { PascalCase } from "./type-utils";
6
6
  export { IconSvgPaths16, IconSvgPaths20 };
package/lib/cjs/index.js CHANGED
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "IconSvgPaths20", { enumerable: true, get: functi
23
23
  Object.defineProperty(exports, "getIconPaths", { enumerable: true, get: function () { return allPaths_1.getIconPaths; } });
24
24
  var iconLoader_1 = require("./iconLoader");
25
25
  Object.defineProperty(exports, "Icons", { enumerable: true, get: function () { return iconLoader_1.Icons; } });
26
+ var svgIconProps_1 = require("./svgIconProps");
26
27
  var svgIconContainer_1 = require("./svgIconContainer");
27
28
  Object.defineProperty(exports, "SVGIconContainer", { enumerable: true, get: function () { return svgIconContainer_1.SVGIconContainer; } });
28
29
  var iconCodepoints_1 = require("./iconCodepoints");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2FAA2F;AAC3F,uCAA0E;AAAjE,0GAAA,cAAc,OAAA;AAAE,0GAAA,cAAc,OAAA;AAAE,wGAAA,YAAY,OAAA;AAErD,2CAAyE;AAAhE,mGAAA,KAAK,OAAA;AAEd,uDAAwG;AAA/F,oHAAA,gBAAgB,OAAA;AACzB,mDAAwE;AAA/D,sHAAA,oBAAoB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAC7C,yCAAkD;AAA/B,sGAAA,SAAS,OAAA;AAC5B,yCAAkD;AAAzC,qGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2FAA2F;AAC3F,uCAA0E;AAAjE,0GAAA,cAAc,OAAA;AAAE,0GAAA,cAAc,OAAA;AAAE,wGAAA,YAAY,OAAA;AAErD,2CAAyE;AAAhE,mGAAA,KAAK,OAAA;AACd,+CAAgH;AAChH,uDAAwG;AAA/F,oHAAA,gBAAgB,OAAA;AACzB,mDAAwE;AAA/D,sHAAA,oBAAoB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAC7C,yCAAkD;AAA/B,sGAAA,SAAS,OAAA;AAC5B,yCAAkD;AAAzC,qGAAA,QAAQ,OAAA"}
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ import type * as React from "react";
2
2
  type OmittedDOMAttributes = "children" | "dangerouslySetInnerHTML";
3
3
  /**
4
4
  * Default set of DOM attributes which are assignable as props to the root element rendered by an
@@ -1,5 +1,5 @@
1
- import { WordSeparators } from "./sourceUtilities";
2
- import { Split } from "./utilities";
1
+ import type { WordSeparators } from "./sourceUtilities";
2
+ import type { Split } from "./utilities";
3
3
  /**
4
4
  Step by step takes the first item in an array literal, formats it and adds it to a string literal, and then recursively appends the remainder.
5
5
 
@@ -1,4 +1,4 @@
1
- import { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
1
+ import type { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
2
2
  /**
3
3
  Unlike a simpler split, this one includes the delimiter splitted on in the resulting array literal. This is to enable splitting on, for example, upper-case characters.
4
4
 
@@ -1,3 +1,6 @@
1
- /** @fileoverview Mapped type utils copied from the "type-fest" package */
2
- export { PascalCase } from "./pascal-case";
3
- export { ScreamingSnakeCase } from "./screaming-snake-case";
1
+ /**
2
+ * @fileoverview Mapped type utils copied from the "type-fest" package to avoid a dependency on that package
3
+ * (it caused surprising compilation errors downstream).
4
+ */
5
+ export type { PascalCase } from "./pascal-case";
6
+ export type { ScreamingSnakeCase } from "./screaming-snake-case";
@@ -1,4 +1,4 @@
1
- import { CamelCase } from "./camel-case";
1
+ import type { CamelCase } from "./camel-case";
2
2
  /**
3
3
  Converts a string literal to pascal-case.
4
4
 
@@ -1,6 +1,6 @@
1
- import { SplitIncludingDelimiters } from "./delimiter-case";
2
- import { SnakeCase } from "./snake-case";
3
- import { Includes } from "./includes";
1
+ import type { SplitIncludingDelimiters } from "./delimiter-case";
2
+ import type { SnakeCase } from "./snake-case";
3
+ import type { Includes } from "./includes";
4
4
  /**
5
5
  Returns a boolean for whether the string is screaming snake case.
6
6
  */
@@ -1,4 +1,4 @@
1
- import { DelimiterCase } from "./delimiter-case";
1
+ import type { DelimiterCase } from "./delimiter-case";
2
2
  /**
3
3
  Convert a string literal to snake-case.
4
4
 
@@ -1,6 +1,6 @@
1
1
  import * as IconSvgPaths16 from "./generated/16px/paths";
2
2
  import * as IconSvgPaths20 from "./generated/20px/paths";
3
- import { IconName } from "./iconNames";
3
+ import type { IconName } from "./iconNames";
4
4
  import { IconPaths, IconSize } from "./iconTypes";
5
5
  import type { PascalCase } from "./type-utils";
6
6
  export { IconSvgPaths16, IconSvgPaths20 };