@blueprintjs/icons 5.7.0 → 5.7.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueprintjs/icons",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "Components, fonts, icons, and css files for creating and displaying icons.",
5
5
  "main": "lib/cjs/generated/index.js",
6
6
  "module": "lib/esm/generated/index.js",
@@ -57,8 +57,8 @@
57
57
  }
58
58
  },
59
59
  "devDependencies": {
60
- "@blueprintjs/node-build-scripts": "^9.1.0",
61
- "@blueprintjs/test-commons": "^3.0.0",
60
+ "@blueprintjs/node-build-scripts": "^9.2.0",
61
+ "@blueprintjs/test-commons": "^3.0.1",
62
62
  "@twbs/fantasticon": "^2.7.2",
63
63
  "@types/handlebars": "^4.1.0",
64
64
  "enzyme": "^3.11.0",
package/src/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": "../../../config/tsconfig.web",
3
3
  "compilerOptions": {
4
- "outDir": "../lib/esm"
5
- }
4
+ "outDir": "../lib/esm",
5
+ },
6
6
  }
@@ -19,8 +19,9 @@ type hasRed<array extends any[]> = Includes<array, 'red'>;
19
19
 
20
20
  @category Utilities
21
21
  */
22
- export type Includes<Value extends any[], Item> = IsEqual<Value[0], Item> extends true
23
- ? true
24
- : Value extends [Value[0], ...infer rest]
25
- ? Includes<rest, Item>
26
- : false;
22
+ export type Includes<Value extends any[], Item> =
23
+ IsEqual<Value[0], Item> extends true
24
+ ? true
25
+ : Value extends [Value[0], ...infer rest]
26
+ ? Includes<rest, Item>
27
+ : false;
@@ -5,11 +5,12 @@ import type { Includes } from "./includes";
5
5
  /**
6
6
  Returns a boolean for whether the string is screaming snake case.
7
7
  */
8
- type IsScreamingSnakeCase<Value extends string> = Value extends Uppercase<Value>
9
- ? Includes<SplitIncludingDelimiters<Lowercase<Value>, "_">, "_"> extends true
10
- ? true
11
- : false
12
- : false;
8
+ type IsScreamingSnakeCase<Value extends string> =
9
+ Value extends Uppercase<Value>
10
+ ? Includes<SplitIncludingDelimiters<Lowercase<Value>, "_">, "_"> extends true
11
+ ? true
12
+ : false
13
+ : false;
13
14
 
14
15
  /**
15
16
  Convert a string literal to screaming-snake-case.