creactive 0.0.92 → 0.0.94

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.
@@ -111,31 +111,31 @@ export declare const useThemeStyleSheet: () => {
111
111
  fontFamily: string;
112
112
  };
113
113
  fontWeightBaseThin: {
114
- fontWeight: import("../contexts/theme").ThemeFontWeight;
114
+ fontWeight: import("..").FontWeight;
115
115
  };
116
116
  fontWeightBaseExtraLight: {
117
- fontWeight: import("../contexts/theme").ThemeFontWeight;
117
+ fontWeight: import("..").FontWeight;
118
118
  };
119
119
  fontWeightBaseLight: {
120
- fontWeight: import("../contexts/theme").ThemeFontWeight;
120
+ fontWeight: import("..").FontWeight;
121
121
  };
122
122
  fontWeightBaseRegular: {
123
- fontWeight: import("../contexts/theme").ThemeFontWeight;
123
+ fontWeight: import("..").FontWeight;
124
124
  };
125
125
  fontWeightBaseMedium: {
126
- fontWeight: import("../contexts/theme").ThemeFontWeight;
126
+ fontWeight: import("..").FontWeight;
127
127
  };
128
128
  fontWeightBaseSemibold: {
129
- fontWeight: import("../contexts/theme").ThemeFontWeight;
129
+ fontWeight: import("..").FontWeight;
130
130
  };
131
131
  fontWeightBaseBold: {
132
- fontWeight: import("../contexts/theme").ThemeFontWeight;
132
+ fontWeight: import("..").FontWeight;
133
133
  };
134
134
  fontWeightBaseExtraBold: {
135
- fontWeight: import("../contexts/theme").ThemeFontWeight;
135
+ fontWeight: import("..").FontWeight;
136
136
  };
137
137
  fontWeightBaseBlack: {
138
- fontWeight: import("../contexts/theme").ThemeFontWeight;
138
+ fontWeight: import("..").FontWeight;
139
139
  };
140
140
  fontSizeBaseX2S: {
141
141
  fontSize: number;
package/build/index.d.ts CHANGED
@@ -12,11 +12,11 @@ export { SIZE_FULL } from './constants/size';
12
12
  export { Media, MediaContextProvider, useMediaContext } from './contexts/media';
13
13
  export type { MediaComponent, MediaContextProviderComponent, MediaContextValue, MediaProps, } from './contexts/media';
14
14
  export { ThemeContextProvider, useThemeContext } from './contexts/theme';
15
- export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, ThemeFontWeight, } from './contexts/theme';
15
+ export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, } from './contexts/theme';
16
16
  export { Opacity } from './helpers/opacity';
17
17
  export { Position } from './helpers/position';
18
18
  export type { PositionValue } from './helpers/position';
19
19
  export { Size } from './helpers/size';
20
20
  export type { SizeValue } from './helpers/size';
21
21
  export { useThemeStyleSheet } from './hooks/use-theme-style-sheet';
22
- export type { Color } from './types';
22
+ export type { Color, FontWeight } from './types';
@@ -0,0 +1 @@
1
+ export type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
@@ -1 +1,2 @@
1
1
  export type { Color } from './color.types';
2
+ export type { FontWeight } from './font.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creactive",
3
- "version": "0.0.92",
3
+ "version": "0.0.94",
4
4
  "main": "build/default.js",
5
5
  "files": [
6
6
  "build/**"