@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/{chunk-6R3FTRRJ.js → chunk-4EIPTWJA.js} +3 -3
- package/dist/chunk-4EIPTWJA.js.map +1 -0
- package/dist/{chunk-QKRFHBRB.js → chunk-C3S4A65R.js} +2 -2
- package/dist/{chunk-QKRFHBRB.js.map → chunk-C3S4A65R.js.map} +1 -1
- package/dist/{chunk-GI7ZAXIB.js → chunk-EINHFDWI.js} +2 -2
- package/dist/chunk-EINHFDWI.js.map +1 -0
- package/dist/{themes-bTfTZjCh.d.ts → definition-DLdTdFWs.d.ts} +190 -190
- package/dist/engine.d.ts +2 -2
- package/dist/engine.js +6 -6
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/react.d.ts +1 -1
- package/dist/react.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-6R3FTRRJ.js.map +0 -1
- package/dist/chunk-GI7ZAXIB.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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-
|
|
2
|
-
export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme } from './chunk-
|
|
3
|
-
import { AXES_EXT, overrideKey, ALPHA_EXT } from './chunk-
|
|
4
|
-
import { themeAxes, mergeAxes } from './chunk-
|
|
5
|
-
export { enumerateSelections, fullSelection, isByAxis, parseTokenValue, resolveTheme, selectionKey, serializeTokenValue, themeAxes } from './chunk-
|
|
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,
|
|
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-
|
|
2
|
-
export { isColorModePreference } from './chunk-
|
|
3
|
-
import { themeAxes, fullSelection, selectionKey, resolveTheme } from './chunk-
|
|
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.
|
|
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.
|
|
32
|
+
"@weasel-js/paint": "1.6.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=18"
|