@spidunno/desmos-types 1.13.54 → 1.13.55

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/README.md CHANGED
@@ -6,11 +6,11 @@ the graphing calculator, geometry tool, 3D calculator, and the four-function and
6
6
  ## Install
7
7
 
8
8
  ```sh
9
- npm install --save-dev @spidunno/desmos-types@~1.13.54
9
+ npm install --save-dev @spidunno/desmos-types@~1.13.55
10
10
  ```
11
11
 
12
12
  The package's major and minor version match the Desmos API version it describes; patch releases
13
- are fixes to the types. Use a tilde range (`~1.13.54`), not npm's default caret (`^`), so you only
13
+ are fixes to the types. Use a tilde range (`~1.13.55`), not npm's default caret (`^`), so you only
14
14
  get type fixes for the API version you load.
15
15
 
16
16
  ## Usage
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
2
2
  // put precise types in the hand-written files in internals/ instead.
3
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
3
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
4
4
  // Actions accepted by each dispatch domain, from static analysis.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
2
2
  // put precise types in the hand-written files in internals/ instead.
3
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
3
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
4
4
  // Runtime shapes of internal objects.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  interface Controller {
@@ -1740,6 +1740,7 @@ declare namespace Desmos.Internals.Generated {
1740
1740
  destroy(): void;
1741
1741
  dispatch(action: unknown): void;
1742
1742
  findReferencedOrDefinedTokenIdentifiers(): { permanent: Set<unknown>; transient: Set<unknown> };
1743
+ getColorMode(): string;
1743
1744
  getIdFromParentRef(arg0: unknown): unknown;
1744
1745
  getParentOrChildHovered(arg0: unknown): boolean | "parent" | "child";
1745
1746
  getTokenRenderInfoByIdentifier(arg0: unknown): unknown;
@@ -2575,7 +2576,7 @@ declare namespace Desmos.Internals.Generated {
2575
2576
  applyLocalizationMap(arg0: unknown, arg1: unknown, arg2: string): unknown;
2576
2577
  builtInFrame: unknown;
2577
2578
  calculateDiff(arg0: unknown, arg1: unknown): unknown;
2578
- colorHelpers: { LinearToSRGB: (arg0?: any) => unknown; SRGBToLinear: (arg0?: any) => unknown; colorModeForThemeColors: (arg0?: any, arg1?: any) => unknown; colorString: (arg0?: any, arg1?: any, arg2?: any) => unknown; colors: Record<string, string>; colors3d: { RED: string; BLUE: string; GREEN: string; ORANGE: string; PURPLE: string; GRAY: string }; computedThemeColors: (arg0?: any) => unknown; convertColorStringToLinearRGB: (arg0?: any) => unknown; curveDisplayColor: (arg0?: any, arg1?: any) => unknown; darkModeTheme: { background: string; text: string; accent: string; curves: Record<string, string> }; getDisplayColor: (arg0?: any, arg1?: any) => unknown; invertColor: (arg0?: any) => unknown; isLowContrastDarkSwatch: (arg0?: any) => boolean; isResolvedColorMode: (arg0?: any) => boolean; isValidHexColor: (arg0?: any) => unknown; mixColors: (arg0?: any, arg1?: any, arg2?: any) => unknown; mutateOpacity: (arg0?: any, arg1?: any) => unknown; normalizeColor: (arg0?: any) => unknown; parseHex: (arg0?: any) => unknown; shadeColor: (arg0?: any, arg1?: any) => unknown; themeColorsForMode: (arg0?: any, arg1?: any) => unknown };
2579
+ colorHelpers: { LinearToSRGB: (arg0?: any) => unknown; SRGBToLinear: (arg0?: any) => unknown; colorModeForThemeColors: (arg0?: any, arg1?: any) => unknown; colorString: (arg0?: any, arg1?: any, arg2?: any) => unknown; colors: Record<string, string>; colors3d: { RED: string; BLUE: string; GREEN: string; ORANGE: string; PURPLE: string; GRAY: string }; computedThemeColors: (arg0?: any) => unknown; convertColorStringToLinearRGB: (arg0?: any) => unknown; curveDisplayColor: (arg0?: any, arg1?: any) => unknown; darkModeTheme: { background: string; text: string; accent: string; curves: Record<string, string>; secondaryText: string }; getDisplayColor: (arg0?: any, arg1?: any) => unknown; hexToRgba: (arg0?: any, arg1?: any) => unknown; invertColor: (arg0?: any) => unknown; isLowContrastDarkSwatch: (arg0?: any) => boolean; isResolvedColorMode: (arg0?: any) => boolean; isValidHexColor: (arg0?: any) => unknown; mixColors: (arg0?: any, arg1?: any, arg2?: any) => unknown; mutateOpacity: (arg0?: any, arg1?: any) => unknown; normalizeColor: (arg0?: any) => unknown; parseHex: (arg0?: any) => unknown; shadeColor: (arg0?: any, arg1?: any) => unknown; themeColorsForMode: (arg0?: any, arg1?: any) => unknown };
2579
2580
  context(arg0?: unknown): unknown;
2580
2581
  createEvaluationContext(arg0: unknown): { evaluate: (...args: any[]) => unknown };
2581
2582
  extractLocalizationMap(arg0: unknown): unknown;
@@ -1,6 +1,6 @@
1
1
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
2
2
  // put precise types in the hand-written files in internals/ instead.
3
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
3
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
4
4
  // Props and instance members of the views on Private.Fragile.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  /**
@@ -2101,7 +2101,7 @@ declare namespace Desmos {
2101
2101
 
2102
2102
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
2103
2103
  // put precise types in the hand-written files in internals/ instead.
2104
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
2104
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
2105
2105
  // Runtime shapes of internal objects.
2106
2106
  declare namespace Desmos.Internals.Generated {
2107
2107
  interface Controller {
@@ -3841,6 +3841,7 @@ declare namespace Desmos.Internals.Generated {
3841
3841
  destroy(): void;
3842
3842
  dispatch(action: unknown): void;
3843
3843
  findReferencedOrDefinedTokenIdentifiers(): { permanent: Set<unknown>; transient: Set<unknown> };
3844
+ getColorMode(): string;
3844
3845
  getIdFromParentRef(arg0: unknown): unknown;
3845
3846
  getParentOrChildHovered(arg0: unknown): boolean | "parent" | "child";
3846
3847
  getTokenRenderInfoByIdentifier(arg0: unknown): unknown;
@@ -4676,7 +4677,7 @@ declare namespace Desmos.Internals.Generated {
4676
4677
  applyLocalizationMap(arg0: unknown, arg1: unknown, arg2: string): unknown;
4677
4678
  builtInFrame: unknown;
4678
4679
  calculateDiff(arg0: unknown, arg1: unknown): unknown;
4679
- colorHelpers: { LinearToSRGB: (arg0?: any) => unknown; SRGBToLinear: (arg0?: any) => unknown; colorModeForThemeColors: (arg0?: any, arg1?: any) => unknown; colorString: (arg0?: any, arg1?: any, arg2?: any) => unknown; colors: Record<string, string>; colors3d: { RED: string; BLUE: string; GREEN: string; ORANGE: string; PURPLE: string; GRAY: string }; computedThemeColors: (arg0?: any) => unknown; convertColorStringToLinearRGB: (arg0?: any) => unknown; curveDisplayColor: (arg0?: any, arg1?: any) => unknown; darkModeTheme: { background: string; text: string; accent: string; curves: Record<string, string> }; getDisplayColor: (arg0?: any, arg1?: any) => unknown; invertColor: (arg0?: any) => unknown; isLowContrastDarkSwatch: (arg0?: any) => boolean; isResolvedColorMode: (arg0?: any) => boolean; isValidHexColor: (arg0?: any) => unknown; mixColors: (arg0?: any, arg1?: any, arg2?: any) => unknown; mutateOpacity: (arg0?: any, arg1?: any) => unknown; normalizeColor: (arg0?: any) => unknown; parseHex: (arg0?: any) => unknown; shadeColor: (arg0?: any, arg1?: any) => unknown; themeColorsForMode: (arg0?: any, arg1?: any) => unknown };
4680
+ colorHelpers: { LinearToSRGB: (arg0?: any) => unknown; SRGBToLinear: (arg0?: any) => unknown; colorModeForThemeColors: (arg0?: any, arg1?: any) => unknown; colorString: (arg0?: any, arg1?: any, arg2?: any) => unknown; colors: Record<string, string>; colors3d: { RED: string; BLUE: string; GREEN: string; ORANGE: string; PURPLE: string; GRAY: string }; computedThemeColors: (arg0?: any) => unknown; convertColorStringToLinearRGB: (arg0?: any) => unknown; curveDisplayColor: (arg0?: any, arg1?: any) => unknown; darkModeTheme: { background: string; text: string; accent: string; curves: Record<string, string>; secondaryText: string }; getDisplayColor: (arg0?: any, arg1?: any) => unknown; hexToRgba: (arg0?: any, arg1?: any) => unknown; invertColor: (arg0?: any) => unknown; isLowContrastDarkSwatch: (arg0?: any) => boolean; isResolvedColorMode: (arg0?: any) => boolean; isValidHexColor: (arg0?: any) => unknown; mixColors: (arg0?: any, arg1?: any, arg2?: any) => unknown; mutateOpacity: (arg0?: any, arg1?: any) => unknown; normalizeColor: (arg0?: any) => unknown; parseHex: (arg0?: any) => unknown; shadeColor: (arg0?: any, arg1?: any) => unknown; themeColorsForMode: (arg0?: any, arg1?: any) => unknown };
4680
4681
  context(arg0?: unknown): unknown;
4681
4682
  createEvaluationContext(arg0: unknown): { evaluate: (...args: any[]) => unknown };
4682
4683
  extractLocalizationMap(arg0: unknown): unknown;
@@ -4766,7 +4767,7 @@ declare namespace Desmos.Internals.Generated {
4766
4767
 
4767
4768
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
4768
4769
  // put precise types in the hand-written files in internals/ instead.
4769
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
4770
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
4770
4771
  // Actions accepted by each dispatch domain, from static analysis.
4771
4772
  declare namespace Desmos.Internals.Generated {
4772
4773
  /**
@@ -5524,7 +5525,7 @@ declare namespace Desmos.Internals.Generated {
5524
5525
 
5525
5526
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
5526
5527
  // put precise types in the hand-written files in internals/ instead.
5527
- // Source: Desmos v1.13-prerelease (commit f6aa1eb3bae0e935f8f00d2574f474a660f8db17).
5528
+ // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
5528
5529
  // Props and instance members of the views on Private.Fragile.
5529
5530
  declare namespace Desmos.Internals.Generated {
5530
5531
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spidunno/desmos-types",
3
- "version": "1.13.54",
3
+ "version": "1.13.55",
4
4
  "description": "TypeScript type definitions for the Desmos API v1.13",
5
5
  "types": "index.d.ts",
6
6
  "publishConfig": {
@@ -54,6 +54,6 @@
54
54
  },
55
55
  "desmos": {
56
56
  "version": "v1.13-prerelease",
57
- "commit": "f6aa1eb3bae0e935f8f00d2574f474a660f8db17"
57
+ "commit": "10328ba0f54d274d4558ecc80096728068a11449"
58
58
  }
59
59
  }