umber-style 0.1.0-rc.0 → 0.1.0-rc.2

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/shared.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Context, ReactElement } from "react";
2
2
  import { CacheProviderProps, DefaultStyleOptions as DefaultStyleOptions$1, StyleOptions as StyleOptions$1, Theme as Theme$1, ThemeScopeProps } from "@umber-style/react";
3
- import { $ as multiply, A as SharedStyled, B as ThemeProviderProps, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as alpha, H as WebProperties, I as StyledOptions, J as configure, K as apply, L as Theme, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as keyframes, R as ThemeKey, S as SharedSheetStyles, T as SharedStyleInput, U as WebStyleObject, V as WebNested, W as add, X as divide, Y as css, Z as globalStyles, _ as SharedObjectSheet, a as GlobalProps, at as useTheme, b as SharedSheetDefinition, c as KeyframesSteps, d as SchemeName, et as negate, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as useStyle, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as subtract, o as GlobalStyleObject, ot as when, p as SharedApply, q as at, r as Global, rt as themeClass, s as GlobalStyles, st as whenScheme, t as AlphaColor, tt as styled, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeProvider } from "./sharedCommon-oXik3dYV.cjs";
3
+ import { $ as keyframes, A as SharedStyled, B as ThemeProvider, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as add, H as WebNested, I as StyleTypeOptions, J as at, K as alpha, L as StyledOptions, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as globalStyles, R as Theme, S as SharedSheetStyles, T as SharedStyleInput, U as WebProperties, V as ThemeProviderProps, W as WebStyleObject, X as css, Y as configure, Z as divide, _ as SharedObjectSheet, a as GlobalProps, at as useStyle, b as SharedSheetDefinition, c as KeyframesSteps, ct as whenScheme, d as SchemeName, et as multiply, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as themeClass, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as styled, o as GlobalStyleObject, ot as useTheme, p as SharedApply, q as apply, r as Global, rt as subtract, s as GlobalStyles, st as when, t as AlphaColor, tt as negate, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeKey } from "./sharedCommon-Dat4ecf1.cjs";
4
4
  /** The options of `useMediaQuery`, the same on both platforms. */
5
5
  export interface MediaQueryOptions {
6
6
  /** The answer where it cannot be known yet: a server render on the web. Default false. */
@@ -28,4 +28,4 @@ export declare function createStyle<T extends object>(theme: T, options?: StyleO
28
28
  export declare function createDefaultStyle(): SharedStyle<Theme$1> & {
29
29
  configure: (options: DefaultStyleOptions$1) => void;
30
30
  };
31
- export { type AlphaColor, type CacheProviderProps, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type ThemeScopeProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
31
+ export { type AlphaColor, type CacheProviderProps, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyleTypeOptions, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type ThemeScopeProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
package/dist/shared.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Context, ReactElement } from "react";
2
2
  import { CacheProviderProps, DefaultStyleOptions as DefaultStyleOptions$1, StyleOptions as StyleOptions$1, Theme as Theme$1, ThemeScopeProps } from "@umber-style/react";
3
- import { $ as multiply, A as SharedStyled, B as ThemeProviderProps, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as alpha, H as WebProperties, I as StyledOptions, J as configure, K as apply, L as Theme, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as keyframes, R as ThemeKey, S as SharedSheetStyles, T as SharedStyleInput, U as WebStyleObject, V as WebNested, W as add, X as divide, Y as css, Z as globalStyles, _ as SharedObjectSheet, a as GlobalProps, at as useTheme, b as SharedSheetDefinition, c as KeyframesSteps, d as SchemeName, et as negate, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as useStyle, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as subtract, o as GlobalStyleObject, ot as when, p as SharedApply, q as at, r as Global, rt as themeClass, s as GlobalStyles, st as whenScheme, t as AlphaColor, tt as styled, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeProvider } from "./sharedCommon-bAr973Gk.mjs";
3
+ import { $ as keyframes, A as SharedStyled, B as ThemeProvider, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as add, H as WebNested, I as StyleTypeOptions, J as at, K as alpha, L as StyledOptions, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as globalStyles, R as Theme, S as SharedSheetStyles, T as SharedStyleInput, U as WebProperties, V as ThemeProviderProps, W as WebStyleObject, X as css, Y as configure, Z as divide, _ as SharedObjectSheet, a as GlobalProps, at as useStyle, b as SharedSheetDefinition, c as KeyframesSteps, ct as whenScheme, d as SchemeName, et as multiply, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as themeClass, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as styled, o as GlobalStyleObject, ot as useTheme, p as SharedApply, q as apply, r as Global, rt as subtract, s as GlobalStyles, st as when, t as AlphaColor, tt as negate, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeKey } from "./sharedCommon-Bio75OJH.mjs";
4
4
  /** The options of `useMediaQuery`, the same on both platforms. */
5
5
  export interface MediaQueryOptions {
6
6
  /** The answer where it cannot be known yet: a server render on the web. Default false. */
@@ -28,4 +28,4 @@ export declare function createStyle<T extends object>(theme: T, options?: StyleO
28
28
  export declare function createDefaultStyle(): SharedStyle<Theme$1> & {
29
29
  configure: (options: DefaultStyleOptions$1) => void;
30
30
  };
31
- export { type AlphaColor, type CacheProviderProps, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type ThemeScopeProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
31
+ export { type AlphaColor, type CacheProviderProps, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyleTypeOptions, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type ThemeScopeProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
@@ -1,5 +1,5 @@
1
1
  import { DefaultStyleOptions as DefaultStyleOptions$1, StyleOptions as StyleOptions$1, Theme as Theme$1 } from "@umber-style/react";
2
- import { $ as multiply, A as SharedStyled, B as ThemeProviderProps, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as alpha, H as WebProperties, I as StyledOptions, J as configure, K as apply, L as Theme, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as keyframes, R as ThemeKey, S as SharedSheetStyles, T as SharedStyleInput, U as WebStyleObject, V as WebNested, W as add, X as divide, Y as css, Z as globalStyles, _ as SharedObjectSheet, a as GlobalProps, at as useTheme, b as SharedSheetDefinition, c as KeyframesSteps, d as SchemeName, et as negate, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as useStyle, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as subtract, o as GlobalStyleObject, ot as when, p as SharedApply, q as at, r as Global, rt as themeClass, s as GlobalStyles, st as whenScheme, t as AlphaColor, tt as styled, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeProvider } from "./sharedCommon-oXik3dYV.cjs";
2
+ import { $ as keyframes, A as SharedStyled, B as ThemeProvider, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as add, H as WebNested, I as StyleTypeOptions, J as at, K as alpha, L as StyledOptions, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as globalStyles, R as Theme, S as SharedSheetStyles, T as SharedStyleInput, U as WebProperties, V as ThemeProviderProps, W as WebStyleObject, X as css, Y as configure, Z as divide, _ as SharedObjectSheet, a as GlobalProps, at as useStyle, b as SharedSheetDefinition, c as KeyframesSteps, ct as whenScheme, d as SchemeName, et as multiply, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as themeClass, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as styled, o as GlobalStyleObject, ot as useTheme, p as SharedApply, q as apply, r as Global, rt as subtract, s as GlobalStyles, st as when, t as AlphaColor, tt as negate, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeKey } from "./sharedCommon-Dat4ecf1.cjs";
3
3
  /** The styling of one theme shape for server components: `useTheme` is a plain function there, and returns the base theme. */
4
4
  export interface SharedServerStyle<T> extends SharedStyleBase<T> {
5
5
  /** Another name of `useTheme` in server components: the base theme, else an empty object. */
@@ -12,4 +12,4 @@ export declare function createStyle<T extends object>(theme: T, options?: StyleO
12
12
  export declare function createDefaultStyle(): SharedServerStyle<Theme$1> & {
13
13
  configure: (options: DefaultStyleOptions$1) => void;
14
14
  };
15
- export { type AlphaColor, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
15
+ export { type AlphaColor, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyleTypeOptions, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
@@ -1,5 +1,5 @@
1
1
  import { DefaultStyleOptions as DefaultStyleOptions$1, StyleOptions as StyleOptions$1, Theme as Theme$1 } from "@umber-style/react";
2
- import { $ as multiply, A as SharedStyled, B as ThemeProviderProps, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as alpha, H as WebProperties, I as StyledOptions, J as configure, K as apply, L as Theme, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as keyframes, R as ThemeKey, S as SharedSheetStyles, T as SharedStyleInput, U as WebStyleObject, V as WebNested, W as add, X as divide, Y as css, Z as globalStyles, _ as SharedObjectSheet, a as GlobalProps, at as useTheme, b as SharedSheetDefinition, c as KeyframesSteps, d as SchemeName, et as negate, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as useStyle, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as subtract, o as GlobalStyleObject, ot as when, p as SharedApply, q as at, r as Global, rt as themeClass, s as GlobalStyles, st as whenScheme, t as AlphaColor, tt as styled, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeProvider } from "./sharedCommon-bAr973Gk.mjs";
2
+ import { $ as keyframes, A as SharedStyled, B as ThemeProvider, C as SharedStyleBase, D as SharedStyleProp, E as SharedStyleObject, F as StyleSheet, G as add, H as WebNested, I as StyleTypeOptions, J as at, K as alpha, L as StyledOptions, M as SheetEntry, N as StyleObject, O as SharedStyleResult, P as StyleOptions, Q as globalStyles, R as Theme, S as SharedSheetStyles, T as SharedStyleInput, U as WebProperties, V as ThemeProviderProps, W as WebStyleObject, X as css, Y as configure, Z as divide, _ as SharedObjectSheet, a as GlobalProps, at as useStyle, b as SharedSheetDefinition, c as KeyframesSteps, ct as whenScheme, d as SchemeName, et as multiply, f as SharedApplied, g as SharedEntry, h as SharedCssArgument, i as GlobalInput, it as themeClass, j as SharedStyledComponent, k as SharedStyleSheet, l as NestedKey, m as SharedCss, n as DefaultStyleOptions, nt as styled, o as GlobalStyleObject, ot as useTheme, p as SharedApply, q as apply, r as Global, rt as subtract, s as GlobalStyles, st as when, t as AlphaColor, tt as negate, u as SchemeKey, v as SharedPercent, w as SharedStyleFunction, x as SharedSheetInput, y as SharedProperties, z as ThemeKey } from "./sharedCommon-Bio75OJH.mjs";
3
3
  /** The styling of one theme shape for server components: `useTheme` is a plain function there, and returns the base theme. */
4
4
  export interface SharedServerStyle<T> extends SharedStyleBase<T> {
5
5
  /** Another name of `useTheme` in server components: the base theme, else an empty object. */
@@ -12,4 +12,4 @@ export declare function createStyle<T extends object>(theme: T, options?: StyleO
12
12
  export declare function createDefaultStyle(): SharedServerStyle<Theme$1> & {
13
13
  configure: (options: DefaultStyleOptions$1) => void;
14
14
  };
15
- export { type AlphaColor, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
15
+ export { type AlphaColor, type DefaultStyleOptions, Global, type GlobalInput, type GlobalProps, type GlobalStyleObject, type GlobalStyles, type KeyframesSteps, type NestedKey, type SchemeKey, type SchemeName, SharedApplied, SharedApply, SharedCss, SharedCssArgument, SharedEntry, SharedObjectSheet, SharedPercent, SharedProperties, SharedSheetDefinition, SharedSheetInput, SharedSheetStyles, SharedStyleBase, SharedStyleFunction, SharedStyleInput, SharedStyleObject, SharedStyleProp, SharedStyleResult, SharedStyleSheet, SharedStyled, SharedStyledComponent, type SheetEntry, type StyleObject, type StyleOptions, StyleSheet, type StyleTypeOptions, type StyledOptions, type Theme, type ThemeKey, ThemeProvider, type ThemeProviderProps, type WebNested, type WebProperties, type WebStyleObject, add, alpha, apply, at, configure, css, divide, globalStyles, keyframes, multiply, negate, styled, subtract, themeClass, useStyle, useTheme, when, whenScheme };
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ElementType, FunctionComponent, ReactElement } from "react";
2
- import { AlphaColor, ColorScheme, DeepPartial, GlobalInput, GlobalStyleObject, GlobalStyles, GlobalStyles as GlobalStyles$1, GlobalStylesInput, KeyframesInput, KeyframesOptions, KeyframesSteps, NestedKey, SchemeKey, SchemeName, SheetEntry, StaticTemplateValue, StyleObject, ThemeKey, WebNested, WebProperties, WebStyleObject } from "@umber-style/core";
2
+ import { AlphaColor, ColorScheme, DeepPartial, GlobalInput, GlobalStyleObject, GlobalStyles, GlobalStyles as GlobalStyles$1, GlobalStylesInput, KeyframesInput, KeyframesOptions, KeyframesSteps, NestedKey, SchemeKey, SchemeName, SheetEntry, StaticTemplateValue, StyleObject, StyleTypeOptions, ThemeKey, WebNested, WebProperties, WebStyleObject } from "@umber-style/core";
3
3
  import { DefaultStyleOptions, GlobalProps, StyleOptions, StyledOptions, Theme, ThemeProviderProps } from "@umber-style/react";
4
4
  import { NativeStyleObject } from "@umber-style/react-native";
5
5
  /** The keys that the web style and the native style both have. */
@@ -151,4 +151,4 @@ declare function subtract(value: SharedPercent, ...values: SharedPercent[]): num
151
151
  /** `value` times -1: a negative margin from a token. */
152
152
  declare function negate(value: number): number;
153
153
  declare function negate(value: SharedPercent): number | SharedPercent;
154
- export { multiply as $, SharedStyled as A, ThemeProviderProps as B, SharedStyleBase as C, SharedStyleProp as D, SharedStyleObject as E, StyleSheet as F, alpha as G, WebProperties as H, StyledOptions as I, configure as J, apply as K, Theme as L, SheetEntry as M, StyleObject as N, SharedStyleResult as O, StyleOptions as P, keyframes as Q, ThemeKey as R, SharedSheetStyles as S, SharedStyleInput as T, WebStyleObject as U, WebNested as V, add as W, divide as X, css as Y, globalStyles as Z, SharedObjectSheet as _, GlobalProps as a, useTheme as at, SharedSheetDefinition as b, KeyframesSteps as c, SchemeName as d, negate as et, SharedApplied as f, SharedEntry as g, SharedCssArgument as h, GlobalInput as i, useStyle as it, SharedStyledComponent as j, SharedStyleSheet as k, NestedKey as l, SharedCss as m, DefaultStyleOptions as n, subtract as nt, GlobalStyleObject as o, when as ot, SharedApply as p, at as q, Global as r, themeClass as rt, GlobalStyles as s, whenScheme as st, AlphaColor as t, styled as tt, SchemeKey as u, SharedPercent as v, SharedStyleFunction as w, SharedSheetInput as x, SharedProperties as y, ThemeProvider as z };
154
+ export { keyframes as $, SharedStyled as A, ThemeProvider as B, SharedStyleBase as C, SharedStyleProp as D, SharedStyleObject as E, StyleSheet as F, add as G, WebNested as H, StyleTypeOptions as I, at as J, alpha as K, StyledOptions as L, SheetEntry as M, StyleObject as N, SharedStyleResult as O, StyleOptions as P, globalStyles as Q, Theme as R, SharedSheetStyles as S, SharedStyleInput as T, WebProperties as U, ThemeProviderProps as V, WebStyleObject as W, css as X, configure as Y, divide as Z, SharedObjectSheet as _, GlobalProps as a, useStyle as at, SharedSheetDefinition as b, KeyframesSteps as c, whenScheme as ct, SchemeName as d, multiply as et, SharedApplied as f, SharedEntry as g, SharedCssArgument as h, GlobalInput as i, themeClass as it, SharedStyledComponent as j, SharedStyleSheet as k, NestedKey as l, SharedCss as m, DefaultStyleOptions as n, styled as nt, GlobalStyleObject as o, useTheme as ot, SharedApply as p, apply as q, Global as r, subtract as rt, GlobalStyles as s, when as st, AlphaColor as t, negate as tt, SchemeKey as u, SharedPercent as v, SharedStyleFunction as w, SharedSheetInput as x, SharedProperties as y, ThemeKey as z };
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, ElementType, FunctionComponent, ReactElement } from "react";
2
2
  import { DefaultStyleOptions, GlobalProps, StyleOptions, StyledOptions, Theme, ThemeProviderProps } from "@umber-style/react";
3
- import { AlphaColor, ColorScheme, DeepPartial, GlobalInput, GlobalStyleObject, GlobalStyles, GlobalStyles as GlobalStyles$1, GlobalStylesInput, KeyframesInput, KeyframesOptions, KeyframesSteps, NestedKey, SchemeKey, SchemeName, SheetEntry, StaticTemplateValue, StyleObject, ThemeKey, WebNested, WebProperties, WebStyleObject } from "@umber-style/core";
3
+ import { AlphaColor, ColorScheme, DeepPartial, GlobalInput, GlobalStyleObject, GlobalStyles, GlobalStyles as GlobalStyles$1, GlobalStylesInput, KeyframesInput, KeyframesOptions, KeyframesSteps, NestedKey, SchemeKey, SchemeName, SheetEntry, StaticTemplateValue, StyleObject, StyleTypeOptions, ThemeKey, WebNested, WebProperties, WebStyleObject } from "@umber-style/core";
4
4
  import { NativeStyleObject } from "@umber-style/react-native";
5
5
  /** The keys that the web style and the native style both have. */
6
6
  type SharedKeys = keyof WebProperties & keyof NativeStyleObject;
@@ -151,4 +151,4 @@ declare function subtract(value: SharedPercent, ...values: SharedPercent[]): num
151
151
  /** `value` times -1: a negative margin from a token. */
152
152
  declare function negate(value: number): number;
153
153
  declare function negate(value: SharedPercent): number | SharedPercent;
154
- export { multiply as $, SharedStyled as A, ThemeProviderProps as B, SharedStyleBase as C, SharedStyleProp as D, SharedStyleObject as E, StyleSheet as F, alpha as G, WebProperties as H, StyledOptions as I, configure as J, apply as K, Theme as L, SheetEntry as M, StyleObject as N, SharedStyleResult as O, StyleOptions as P, keyframes as Q, ThemeKey as R, SharedSheetStyles as S, SharedStyleInput as T, WebStyleObject as U, WebNested as V, add as W, divide as X, css as Y, globalStyles as Z, SharedObjectSheet as _, GlobalProps as a, useTheme as at, SharedSheetDefinition as b, KeyframesSteps as c, SchemeName as d, negate as et, SharedApplied as f, SharedEntry as g, SharedCssArgument as h, GlobalInput as i, useStyle as it, SharedStyledComponent as j, SharedStyleSheet as k, NestedKey as l, SharedCss as m, DefaultStyleOptions as n, subtract as nt, GlobalStyleObject as o, when as ot, SharedApply as p, at as q, Global as r, themeClass as rt, GlobalStyles as s, whenScheme as st, AlphaColor as t, styled as tt, SchemeKey as u, SharedPercent as v, SharedStyleFunction as w, SharedSheetInput as x, SharedProperties as y, ThemeProvider as z };
154
+ export { keyframes as $, SharedStyled as A, ThemeProvider as B, SharedStyleBase as C, SharedStyleProp as D, SharedStyleObject as E, StyleSheet as F, add as G, WebNested as H, StyleTypeOptions as I, at as J, alpha as K, StyledOptions as L, SheetEntry as M, StyleObject as N, SharedStyleResult as O, StyleOptions as P, globalStyles as Q, Theme as R, SharedSheetStyles as S, SharedStyleInput as T, WebProperties as U, ThemeProviderProps as V, WebStyleObject as W, css as X, configure as Y, divide as Z, SharedObjectSheet as _, GlobalProps as a, useStyle as at, SharedSheetDefinition as b, KeyframesSteps as c, whenScheme as ct, SchemeName as d, multiply as et, SharedApplied as f, SharedEntry as g, SharedCssArgument as h, GlobalInput as i, themeClass as it, SharedStyledComponent as j, SharedStyleSheet as k, NestedKey as l, SharedCss as m, DefaultStyleOptions as n, styled as nt, GlobalStyleObject as o, useTheme as ot, SharedApply as p, apply as q, Global as r, subtract as rt, GlobalStyles as s, when as st, AlphaColor as t, negate as tt, SchemeKey as u, SharedPercent as v, SharedStyleFunction as w, SharedSheetInput as x, SharedProperties as y, ThemeKey as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umber-style",
3
- "version": "0.1.0-rc.0",
3
+ "version": "0.1.0-rc.2",
4
4
  "description": "UmberStyle in one package: the engine at the root, and the React, React Native and Vue bindings as subpaths.",
5
5
  "keywords": [
6
6
  "styling",
@@ -95,10 +95,10 @@
95
95
  "access": "public"
96
96
  },
97
97
  "dependencies": {
98
- "@umber-style/core": "0.1.0-rc.0",
99
- "@umber-style/react": "0.1.0-rc.0",
100
- "@umber-style/react-native": "0.1.0-rc.0",
101
- "@umber-style/vue": "0.1.0-rc.0"
98
+ "@umber-style/core": "0.1.0-rc.2",
99
+ "@umber-style/react": "0.1.0-rc.2",
100
+ "@umber-style/react-native": "0.1.0-rc.2",
101
+ "@umber-style/vue": "0.1.0-rc.2"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "react": "^19.2.8",
@@ -131,7 +131,7 @@
131
131
  "scripts": {
132
132
  "build": "tsdown",
133
133
  "lint": "oxlint --deny-warnings",
134
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.native.json && tsc --noEmit -p tsconfig.server.json",
134
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.native.json && tsc --noEmit -p tsconfig.server.json && tsc --noEmit -p tsconfig.strict.json && tsc --noEmit -p tsconfig.strict.native.json",
135
135
  "test": "vitest run",
136
136
  "test:coverage": "vitest run --coverage"
137
137
  },