@dbx-tools/ui-branding 0.4.0 → 0.5.0

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/index.ts CHANGED
@@ -2,11 +2,11 @@
2
2
  // Regenerated from the exporting modules in ./src.
3
3
  // Hand edits are overwritten on the next watch; this file is read-only.
4
4
 
5
- export * as browser from "./src/browser";
6
- export * as generatedAssets from "./src/generated/assets";
7
- export * as reactBrand from "./src/react/brand";
8
- export { resolveBrandAsset, brandCssVariables, applyBrandContext } from "./src/browser";
9
- export type { BrandAssetResolver, ApplyBrandContextOptions } from "./src/browser";
10
- export { dbxToolsAssetSvg, dbxToolsAssetDataUrls } from "./src/generated/assets";
11
- export { BrandProvider, useBrand, BrandIcon, BrandLogo } from "./src/react/brand";
12
- export type { BrandProviderProps, BrandImageProps } from "./src/react/brand";
5
+ export * as browser from "./src/browser.ts";
6
+ export * as generatedAssets from "./src/generated/assets.ts";
7
+ export * as reactBrand from "./src/react/brand.tsx";
8
+ export { resolveBrandAsset, brandCssVariables, applyBrandContext } from "./src/browser.ts";
9
+ export type { BrandAssetResolver, ApplyBrandContextOptions } from "./src/browser.ts";
10
+ export { dbxToolsAssetSvg, dbxToolsAssetDataUrls } from "./src/generated/assets.ts";
11
+ export { BrandProvider, useBrand, BrandIcon, BrandLogo } from "./src/react/brand.tsx";
12
+ export type { BrandProviderProps, BrandImageProps } from "./src/react/brand.tsx";
package/package.json CHANGED
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "react": "^19.2.4",
17
17
  "react-dom": "^19.2.4",
18
- "@dbx-tools/shared-core": "0.4.0"
18
+ "@dbx-tools/shared-core": "0.5.0"
19
19
  },
20
20
  "license": "UNLICENSED",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "version": "0.4.0",
24
+ "version": "0.5.0",
25
25
  "type": "module",
26
26
  "exports": {
27
27
  "./react": "./src/react/index.ts",
package/src/browser.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { brand } from "@dbx-tools/shared-core";
2
- import { dbxToolsAssetDataUrls } from "./generated/assets";
2
+ import { dbxToolsAssetDataUrls } from "./generated/assets.ts";
3
3
 
4
4
  const builtInAssets = new Map<string, string>([
5
5
  [brand.DEFAULT_BRAND_ASSETS.icon.light, dbxToolsAssetDataUrls.iconLight],
@@ -7,7 +7,7 @@ import {
7
7
  useEffect,
8
8
  useMemo,
9
9
  } from "react";
10
- import { applyBrandContext, type BrandAssetResolver, resolveBrandAsset } from "../browser";
10
+ import { applyBrandContext, type BrandAssetResolver, resolveBrandAsset } from "../browser.ts";
11
11
 
12
12
  interface BrandState {
13
13
  context: brand.BrandContext;
@@ -5,5 +5,5 @@ export {
5
5
  useBrand,
6
6
  type BrandImageProps,
7
7
  type BrandProviderProps,
8
- } from "./brand";
8
+ } from "./brand.tsx";
9
9
  export type { BrandContext, BrandContextInput } from "@dbx-tools/shared-core";