@weasel-js/theme 1.6.0 → 1.6.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TokenName, R as ResolvedTheme, a as Theme, S as Selection, b as TokenValue } from './themes-bTfTZjCh.js';
2
- export { A as AxisDef, c as AxisDefs, d as AxisValue, B as BAKED_THEMES, e as BakedTheme, f as ByAxis, C as ColorContext, g as ColorList, F as FlatTokens, G as GeneratedColors, h as GeneratedTheme, P as PinObject, i as PinValue, j as RampColors, k as RawToken, l as SerializableColorList, m as THEMES, n as THEME_SOURCES, o as ThemeDefinition, p as ThemeInput, V as Varying, q as colorAt, r as colorCount, s as colorCssAt, t as defineTheme, u as enumerateSelections, v as fullSelection, w as isByAxis, x as rampSteps, y as resolveTheme, z as selectionKey, D as themeAxes, E as themeTones, H as weaselTheme } from './themes-bTfTZjCh.js';
1
+ import { n as TokenName, o as ResolvedTheme, a as Theme, S as Selection, p as TokenValue } from './definition-DLdTdFWs.js';
2
+ export { q as AxisDef, A as AxisDefs, r as AxisValue, s as BAKED_THEMES, B as BakedTheme, t as ByAxis, u as ColorContext, v as ColorList, F as FlatTokens, G as GeneratedColors, w as GeneratedTheme, P as PinObject, e as PinValue, x as RampColors, R as RawToken, y as SerializableColorList, z as THEMES, D as THEME_SOURCES, T as ThemeDefinition, E as ThemeInput, V as Varying, H as colorAt, I as colorCount, J as colorCssAt, K as defineTheme, M as enumerateSelections, Q as fullSelection, U as isByAxis, W as rampSteps, X as resolveTheme, Y as selectionKey, Z as themeAxes, _ as themeTones, $ as weaselTheme } from './definition-DLdTdFWs.js';
3
3
  export { C as ColorMode, a as ColorModePreference, i as isColorModePreference } from './colorMode-CoklZomJ.js';
4
4
 
5
5
  /** One row of `TOKEN_MANIFEST`: a token, its DTCG type, the name-prefix
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { weaselTheme } from './chunk-6R3FTRRJ.js';
2
- export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme } from './chunk-6R3FTRRJ.js';
3
- import { AXES_EXT, overrideKey, ALPHA_EXT } from './chunk-GI7ZAXIB.js';
4
- import { themeAxes, mergeAxes } from './chunk-QKRFHBRB.js';
5
- export { enumerateSelections, fullSelection, isByAxis, parseTokenValue, resolveTheme, selectionKey, serializeTokenValue, themeAxes } from './chunk-QKRFHBRB.js';
1
+ import { weaselTheme } from './chunk-4EIPTWJA.js';
2
+ export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme } from './chunk-4EIPTWJA.js';
3
+ import { AXES_EXT, overrideKey, ALPHA_EXT } from './chunk-EINHFDWI.js';
4
+ import { themeAxes, mergeAxes } from './chunk-C3S4A65R.js';
5
+ export { enumerateSelections, fullSelection, isByAxis, parseTokenValue, resolveTheme, selectionKey, serializeTokenValue, themeAxes } from './chunk-C3S4A65R.js';
6
6
 
7
7
  // src/generated/manifest.ts
8
8
  var TOKEN_MANIFEST = [
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { a as Theme, S as Selection, R as ResolvedTheme, g as ColorList } from './themes-bTfTZjCh.js';
2
+ import { a as Theme, S as Selection, o as ResolvedTheme, v as ColorList } from './definition-DLdTdFWs.js';
3
3
  import { a as ColorModePreference, C as ColorMode } from './colorMode-CoklZomJ.js';
4
4
  export { i as isColorModePreference } from './colorMode-CoklZomJ.js';
5
5
 
package/dist/react.js CHANGED
@@ -1,6 +1,6 @@
1
- import { isColorModePreference, weaselTheme, themeTones, applyTheme } from './chunk-6R3FTRRJ.js';
2
- export { isColorModePreference } from './chunk-6R3FTRRJ.js';
3
- import { themeAxes, fullSelection, selectionKey, resolveTheme } from './chunk-QKRFHBRB.js';
1
+ import { isColorModePreference, weaselTheme, themeTones, applyTheme } from './chunk-4EIPTWJA.js';
2
+ export { isColorModePreference } from './chunk-4EIPTWJA.js';
3
+ import { themeAxes, fullSelection, selectionKey, resolveTheme } from './chunk-C3S4A65R.js';
4
4
  import { createContext, useState, useEffect, useCallback, useRef, useMemo, useLayoutEffect, useContext } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weasel-js/theme",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Design tokens shared by weasel-ui and weasel-hud — CSS variables + a parallel TS export.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "dependencies": {
32
- "@weasel-js/paint": "1.6.0"
32
+ "@weasel-js/paint": "1.6.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18"