@forcir/logo-element 0.1.0 → 0.1.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": "@forcir/logo-element",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Forcir logo as vanilla JS custom elements (forcir-logo, forcir-brandmark, forcir-wordmark)",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./react.d.ts" />
1
2
  export { ForcirBrandmarkElement } from "./forcir-brandmark.js";
2
3
  export { ForcirLogoElement } from "./forcir-logo.js";
3
4
  export { ForcirWordmarkElement } from "./forcir-wordmark.js";
package/src/react.d.ts CHANGED
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * React JSX typings for @forcir/logo-element.
3
- * Reference this file in your tsconfig "include" (or via /// <reference />) when using
4
- * the logo elements in React + TypeScript so <forcir-logo /> etc. are valid and typed.
3
+ * Included automatically via the package's main types so <forcir-logo /> etc. are valid in React + TypeScript.
5
4
  * Requires @types/react in your project.
6
5
  */
7
6
  /// <reference types="react" />
8
7
 
9
- import type { ForcirBrandmarkElement, ForcirLogoElement, ForcirWordmarkElement } from "@forcir/logo-element";
8
+ import type { ForcirBrandmarkElement } from "./forcir-brandmark.js";
9
+ import type { ForcirLogoElement } from "./forcir-logo.js";
10
+ import type { ForcirWordmarkElement } from "./forcir-wordmark.js";
10
11
 
11
12
  declare global {
12
13
  namespace JSX {