@xanui/core 1.1.5 → 1.1.7
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/ServerStyleTags.d.ts +5 -0
- package/ServerStyleTags.js +3 -3
- package/ServerStyleTags.js.map +1 -1
- package/ServerStyleTags.mjs +2 -2
- package/ServerStyleTags.mjs.map +1 -1
- package/Tag/cssPropList.js +2 -2
- package/Tag/cssPropList.js.map +1 -1
- package/Tag/index.d.ts +6 -0
- package/Tag/index.js +3 -3
- package/Tag/index.js.map +1 -1
- package/Tag/types.d.ts +181 -0
- package/Tag/useTagProps.d.ts +5 -0
- package/Tag/useTagProps.js +3 -3
- package/Tag/useTagProps.js.map +1 -1
- package/Transition/index.d.ts +34 -0
- package/Transition/index.js +3 -3
- package/Transition/index.js.map +1 -1
- package/Transition/index.mjs +2 -2
- package/Transition/index.mjs.map +1 -1
- package/Transition/variants.d.ts +134 -0
- package/breakpoint/BreakpointProvider.js +3 -3
- package/breakpoint/BreakpointProvider.js.map +1 -1
- package/breakpoint/BreakpointProvider.mjs +2 -2
- package/breakpoint/BreakpointProvider.mjs.map +1 -1
- package/breakpoint/useBreakpoint.d.ts +12 -0
- package/breakpoint/useBreakpoint.js +3 -3
- package/breakpoint/useBreakpoint.js.map +1 -1
- package/breakpoint/useBreakpointProps.d.ts +9 -0
- package/breakpoint/useBreakpointProps.js +3 -3
- package/breakpoint/useBreakpointProps.js.map +1 -1
- package/css/aliases.js +2 -2
- package/css/aliases.js.map +1 -1
- package/css/getProps.d.ts +5 -0
- package/css/getProps.js +2 -2
- package/css/getProps.js.map +1 -1
- package/css/getValue.d.ts +5 -0
- package/css/getValue.js +2 -2
- package/css/getValue.js.map +1 -1
- package/css/index.d.ts +16 -0
- package/css/index.js +4 -4
- package/css/index.js.map +1 -1
- package/css/types.d.ts +57 -0
- package/index.d.ts +19 -629
- package/index.js +1 -1
- package/isWindow.d.ts +3 -0
- package/isWindow.js +1 -1
- package/isWindow.js.map +1 -1
- package/package.json +5 -26
- package/theme/ThemeCssVars.js +2 -2
- package/theme/ThemeCssVars.js.map +1 -1
- package/theme/ThemeProvider.d.ts +14 -0
- package/theme/ThemeProvider.js +4 -7
- package/theme/ThemeProvider.js.map +1 -1
- package/theme/ThemeProvider.mjs +2 -5
- package/theme/ThemeProvider.mjs.map +1 -1
- package/theme/core.d.ts +6 -0
- package/theme/createColor.js +2 -2
- package/theme/createColor.js.map +1 -1
- package/theme/createTheme.js +7 -7
- package/theme/createTheme.js.map +1 -1
- package/theme/createThemeSwitcher.d.ts +9 -0
- package/theme/createThemeSwitcher.js +2 -2
- package/theme/createThemeSwitcher.js.map +1 -1
- package/theme/index.js +1 -1
- package/theme/index.js.map +1 -1
- package/theme/index.mjs +1 -1
- package/theme/index.mjs.map +1 -1
- package/theme/types.d.ts +127 -0
- package/useAnimation.d.ts +21 -0
- package/useColorTemplate.d.ts +6 -0
- package/useColorTemplate.js +2 -2
- package/useColorTemplate.js.map +1 -1
- package/useInterface.d.ts +5 -0
- package/useInterface.js +2 -2
- package/useInterface.js.map +1 -1
package/index.d.ts
CHANGED
|
@@ -1,629 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
borderColor: string;
|
|
21
|
-
hover: {
|
|
22
|
-
bgcolor: string;
|
|
23
|
-
color: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
fill: {
|
|
27
|
-
bgcolor: string;
|
|
28
|
-
color: string;
|
|
29
|
-
hover: {
|
|
30
|
-
bgcolor: string;
|
|
31
|
-
color: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
text: {
|
|
35
|
-
bgcolor: string;
|
|
36
|
-
color: string;
|
|
37
|
-
hover: {
|
|
38
|
-
bgcolor: string;
|
|
39
|
-
color: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
alpha: {
|
|
43
|
-
bgcolor: string;
|
|
44
|
-
color: string;
|
|
45
|
-
hover: {
|
|
46
|
-
bgcolor: string;
|
|
47
|
-
color: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
type ThemeTypographyItem = {
|
|
53
|
-
fontSize: number;
|
|
54
|
-
lineHeight: number;
|
|
55
|
-
fontWeight: number;
|
|
56
|
-
};
|
|
57
|
-
type ThemeColor = {
|
|
58
|
-
background: Omit<ThemeColorItem, "text">;
|
|
59
|
-
text: Omit<ThemeColorItem, "text" | "alpha" | "template">;
|
|
60
|
-
divider: string;
|
|
61
|
-
brand: ThemeColorItem;
|
|
62
|
-
accent: ThemeColorItem;
|
|
63
|
-
success: ThemeColorItem;
|
|
64
|
-
info: ThemeColorItem;
|
|
65
|
-
warning: ThemeColorItem;
|
|
66
|
-
danger: ThemeColorItem;
|
|
67
|
-
};
|
|
68
|
-
type ThemeTypographyType = {
|
|
69
|
-
fontFamily: string;
|
|
70
|
-
h1: ThemeTypographyItem;
|
|
71
|
-
h2: ThemeTypographyItem;
|
|
72
|
-
h3: ThemeTypographyItem;
|
|
73
|
-
h4: ThemeTypographyItem;
|
|
74
|
-
h5: ThemeTypographyItem;
|
|
75
|
-
h6: ThemeTypographyItem;
|
|
76
|
-
text: ThemeTypographyItem;
|
|
77
|
-
button: ThemeTypographyItem;
|
|
78
|
-
small: ThemeTypographyItem;
|
|
79
|
-
};
|
|
80
|
-
interface ThemeOptions {
|
|
81
|
-
name: string;
|
|
82
|
-
rtl: boolean;
|
|
83
|
-
globalStyle: GlobalCSS;
|
|
84
|
-
breakpoints: {
|
|
85
|
-
[key in BreakpointKeys]: number;
|
|
86
|
-
};
|
|
87
|
-
shadow: string[];
|
|
88
|
-
interfaces: {
|
|
89
|
-
[name: string]: <P extends object>(defaultProps: P, theme: ThemeOptions) => P;
|
|
90
|
-
};
|
|
91
|
-
colors: ThemeColor;
|
|
92
|
-
typography: ThemeTypographyType;
|
|
93
|
-
}
|
|
94
|
-
type ThemeColorItemInput = Partial<Omit<ThemeColorItem, "alpha">>;
|
|
95
|
-
type ThemeTypographyItemInput = Partial<ThemeTypographyItem>;
|
|
96
|
-
type ThemeColorInput = {
|
|
97
|
-
background?: Omit<ThemeColorItemInput, "text">;
|
|
98
|
-
text?: Omit<ThemeColorItemInput, "text">;
|
|
99
|
-
divider?: string;
|
|
100
|
-
brand?: ThemeColorItemInput;
|
|
101
|
-
accent?: ThemeColorItemInput;
|
|
102
|
-
success?: ThemeColorItemInput;
|
|
103
|
-
info?: ThemeColorItemInput;
|
|
104
|
-
warning?: ThemeColorItemInput;
|
|
105
|
-
danger?: ThemeColorItemInput;
|
|
106
|
-
};
|
|
107
|
-
type ThemeTypographyInputType = {
|
|
108
|
-
fontFamily?: string;
|
|
109
|
-
h1?: ThemeTypographyItemInput;
|
|
110
|
-
h2?: ThemeTypographyItemInput;
|
|
111
|
-
h3?: ThemeTypographyItemInput;
|
|
112
|
-
h4?: ThemeTypographyItemInput;
|
|
113
|
-
h5?: ThemeTypographyItemInput;
|
|
114
|
-
h6?: ThemeTypographyItemInput;
|
|
115
|
-
text?: ThemeTypographyItemInput;
|
|
116
|
-
button?: ThemeTypographyItemInput;
|
|
117
|
-
small?: ThemeTypographyItemInput;
|
|
118
|
-
};
|
|
119
|
-
interface ThemeOptionInput {
|
|
120
|
-
rtl?: boolean;
|
|
121
|
-
globalStyle?: GlobalCSS;
|
|
122
|
-
interfaces?: {
|
|
123
|
-
[name: string]: <P extends object>(defaultProps: P, theme: ThemeOptions) => P;
|
|
124
|
-
};
|
|
125
|
-
colors?: ThemeColorInput;
|
|
126
|
-
typography?: ThemeTypographyInputType;
|
|
127
|
-
}
|
|
128
|
-
type TypographyRefTypes = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "text" | "button" | "small";
|
|
129
|
-
type ColorsRefTypes = "text" | "text.primary" | "text.secondary" | "background" | "background.primary" | "background.secondary" | "background.alpha" | "brand" | "brand.primary" | "brand.secondary" | "brand.alpha" | "brand.text" | "accent" | "accent.primary" | "accent.secondary" | "accent.alpha" | "accent.text" | "info" | "info.primary" | "info.secondary" | "info.alpha" | "info.text" | "success" | "success.primary" | "success.secondary" | "success.alpha" | "success.text" | "warning" | "warning.primary" | "warning.secondary" | "warning.alpha" | "warning.text" | "danger" | "danger.primary" | "danger.secondary" | "danger.alpha" | "danger.text";
|
|
130
|
-
|
|
131
|
-
type FN = (theme: ThemeOptions) => string | number;
|
|
132
|
-
type CSSBreakpointType = {
|
|
133
|
-
[key in BreakpointKeys]: string | number;
|
|
134
|
-
};
|
|
135
|
-
type CSSValueType<T extends keyof CSS.Properties> = CSS.Properties[T] | Partial<CSSBreakpointType> | number;
|
|
136
|
-
type Aliases = {
|
|
137
|
-
bgcolor?: CSSValueType<'background'> | ColorsRefTypes;
|
|
138
|
-
bgimage?: CSSValueType<'backgroundImage'>;
|
|
139
|
-
bg?: CSSValueType<'background'> | ColorsRefTypes;
|
|
140
|
-
p?: CSSValueType<'padding'>;
|
|
141
|
-
pt?: CSSValueType<'padding'>;
|
|
142
|
-
pr?: CSSValueType<'padding'>;
|
|
143
|
-
pb?: CSSValueType<'padding'>;
|
|
144
|
-
pl?: CSSValueType<'padding'>;
|
|
145
|
-
px?: CSSValueType<'padding'>;
|
|
146
|
-
py?: CSSValueType<'margin'>;
|
|
147
|
-
m?: CSSValueType<'margin'>;
|
|
148
|
-
mt?: CSSValueType<'margin'>;
|
|
149
|
-
mr?: CSSValueType<'margin'>;
|
|
150
|
-
mb?: CSSValueType<'margin'>;
|
|
151
|
-
ml?: CSSValueType<'margin'>;
|
|
152
|
-
mx?: CSSValueType<'margin'>;
|
|
153
|
-
my?: CSSValueType<'margin'>;
|
|
154
|
-
size?: CSSValueType<'width'>;
|
|
155
|
-
spacing?: Partial<CSSBreakpointType> | number;
|
|
156
|
-
radius?: CSSValueType<'borderRadius'> | number;
|
|
157
|
-
borderRadius?: CSSValueType<'borderRadius'> | number;
|
|
158
|
-
shadow?: CSSValueType<'boxShadow'> | number;
|
|
159
|
-
flexBox?: boolean;
|
|
160
|
-
flexRow?: boolean;
|
|
161
|
-
flexColumn?: boolean;
|
|
162
|
-
flexWraped?: boolean;
|
|
163
|
-
direction?: "row" | "column" | CSSValueType<'direction'>;
|
|
164
|
-
gap?: CSSValueType<'gap'>;
|
|
165
|
-
color?: CSSValueType<'color'> | ColorsRefTypes;
|
|
166
|
-
width?: CSSValueType<'width'> | BreakpointKeys;
|
|
167
|
-
height?: CSSValueType<'height'>;
|
|
168
|
-
borderColor?: CSSValueType<'backgroundColor'> | ColorsRefTypes;
|
|
169
|
-
fontFamily?: CSSValueType<"fontFamily"> | "default";
|
|
170
|
-
fontSize?: CSSValueType<"fontSize"> | TypographyRefTypes;
|
|
171
|
-
minWidth?: CSSValueType<"minWidth"> | BreakpointKeys;
|
|
172
|
-
maxWidth?: CSSValueType<"maxWidth"> | BreakpointKeys;
|
|
173
|
-
minHeight?: CSSValueType<"minHeight">;
|
|
174
|
-
maxHeight?: CSSValueType<"maxHeight">;
|
|
175
|
-
};
|
|
176
|
-
type BreakpointKeys = "xs" | "sm" | "md" | "lg" | "xl";
|
|
177
|
-
type CSSProps = oncss.CSSProps<Aliases, BreakpointKeys>;
|
|
178
|
-
type CSSOptionProps = oncss.CSSOptionProps<Aliases, BreakpointKeys>;
|
|
179
|
-
type GlobalCSS = {
|
|
180
|
-
[key: string]: oncss.CSSPropsWithoutGlobal<Aliases, BreakpointKeys>;
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
type TagComponentType = keyof React.JSX.IntrinsicElements | React.ComponentType<any>;
|
|
184
|
-
type TagProps<T extends TagComponentType = 'div'> = Omit<React.HTMLProps<T>, 'width' | 'height'> & {
|
|
185
|
-
component?: T;
|
|
186
|
-
children?: React.ReactNode;
|
|
187
|
-
ref?: any;
|
|
188
|
-
} & CSSPropAsAttr;
|
|
189
|
-
type TagPropsRoot<T extends TagComponentType = 'div'> = TagProps<T> & {
|
|
190
|
-
sxr?: CSSProps;
|
|
191
|
-
};
|
|
192
|
-
interface TagCSSProperties {
|
|
193
|
-
alignContent: CSSValueType<"alignContent">;
|
|
194
|
-
alignItems: CSSValueType<"alignItems">;
|
|
195
|
-
alignSelf: CSSValueType<"alignSelf">;
|
|
196
|
-
animation: CSSValueType<"animation">;
|
|
197
|
-
animationComposition: CSSValueType<"animationComposition">;
|
|
198
|
-
animationDelay: CSSValueType<"animationDelay">;
|
|
199
|
-
animationDirection: CSSValueType<"animationDirection">;
|
|
200
|
-
animationDuration: CSSValueType<"animationDuration">;
|
|
201
|
-
animationFillMode: CSSValueType<"animationFillMode">;
|
|
202
|
-
animationIterationCount: CSSValueType<"animationIterationCount">;
|
|
203
|
-
animationName: CSSValueType<"animationName">;
|
|
204
|
-
animationTimingFunction: CSSValueType<"animationTimingFunction">;
|
|
205
|
-
backdropFilter: CSSValueType<"backdropFilter">;
|
|
206
|
-
background: CSSValueType<"background"> | ColorsRefTypes;
|
|
207
|
-
backgroundAttachment: CSSValueType<"backgroundAttachment">;
|
|
208
|
-
backgroundColor: CSSValueType<"backgroundColor"> | ColorsRefTypes;
|
|
209
|
-
backgroundImage: CSSValueType<"backgroundImage">;
|
|
210
|
-
backgroundOrigin: CSSValueType<"backgroundOrigin">;
|
|
211
|
-
backgroundPosition: CSSValueType<"backgroundPosition">;
|
|
212
|
-
backgroundRepeat: CSSValueType<"backgroundRepeat">;
|
|
213
|
-
backgroundSize: CSSValueType<"backgroundSize">;
|
|
214
|
-
border: CSSValueType<"border">;
|
|
215
|
-
borderBottom: CSSValueType<"borderBottom">;
|
|
216
|
-
borderBottomColor: CSSValueType<"borderBottomColor"> | ColorsRefTypes;
|
|
217
|
-
borderBottomStyle: CSSValueType<"borderBottomStyle">;
|
|
218
|
-
borderBottomWidth: CSSValueType<"borderBottomWidth">;
|
|
219
|
-
borderColor: CSS.Properties['borderColor'] | ColorsRefTypes;
|
|
220
|
-
borderImage: CSSValueType<"borderImage">;
|
|
221
|
-
borderLeft: CSSValueType<"borderLeft">;
|
|
222
|
-
borderLeftColor: CSSValueType<"borderLeftColor"> | ColorsRefTypes;
|
|
223
|
-
borderLeftStyle: CSSValueType<"borderLeftStyle">;
|
|
224
|
-
borderLeftWidth: CSSValueType<"borderLeftWidth">;
|
|
225
|
-
borderRadius: CSSValueType<"borderRadius">;
|
|
226
|
-
borderRight: CSSValueType<"borderRight">;
|
|
227
|
-
borderRightColor: CSSValueType<"borderRightColor"> | ColorsRefTypes;
|
|
228
|
-
borderRightStyle: CSSValueType<"borderRightStyle">;
|
|
229
|
-
borderRightWidth: CSSValueType<"borderRightWidth">;
|
|
230
|
-
borderStyle: CSSValueType<"borderStyle">;
|
|
231
|
-
borderTop: CSSValueType<"borderTop">;
|
|
232
|
-
borderTopColor: CSSValueType<"borderTopColor"> | ColorsRefTypes;
|
|
233
|
-
borderTopLeftRadius: CSSValueType<"borderTopLeftRadius">;
|
|
234
|
-
borderTopRightRadius: CSSValueType<"borderTopRightRadius">;
|
|
235
|
-
borderTopStyle: CSSValueType<"borderTopStyle">;
|
|
236
|
-
borderTopWidth: CSSValueType<"borderTopWidth">;
|
|
237
|
-
borderWidth: CSSValueType<"borderWidth">;
|
|
238
|
-
bottom: CSSValueType<"bottom">;
|
|
239
|
-
boxShadow: CSSValueType<"boxShadow"> | number;
|
|
240
|
-
boxSizing: CSSValueType<"boxSizing">;
|
|
241
|
-
cursor: CSSValueType<"cursor">;
|
|
242
|
-
color: CSS.Properties['color'] | ColorsRefTypes;
|
|
243
|
-
display: CSSValueType<"display">;
|
|
244
|
-
direction: "row" | "column" | CSSValueType<"direction">;
|
|
245
|
-
filter: CSSValueType<"filter">;
|
|
246
|
-
flex: CSSValueType<"flex">;
|
|
247
|
-
flexBasis: CSSValueType<"flexBasis">;
|
|
248
|
-
flexDirection: CSSValueType<"flexDirection">;
|
|
249
|
-
flexFlow: CSSValueType<"flexFlow">;
|
|
250
|
-
flexGrow: CSSValueType<"flexGrow">;
|
|
251
|
-
flexShrink: CSSValueType<"flexShrink">;
|
|
252
|
-
flexWrap: CSSValueType<"flexWrap">;
|
|
253
|
-
float: CSSValueType<"float">;
|
|
254
|
-
fontFamily: CSSValueType<"fontFamily"> | "default";
|
|
255
|
-
fontSize: CSSValueType<"fontSize"> | TypographyRefTypes;
|
|
256
|
-
fontStyle: CSSValueType<"fontStyle">;
|
|
257
|
-
fontWeight: CSSValueType<"fontWeight"> | TypographyRefTypes;
|
|
258
|
-
font: CSSValueType<"font"> | TypographyRefTypes;
|
|
259
|
-
gap: CSSValueType<"gap">;
|
|
260
|
-
grid: CSSValueType<"grid">;
|
|
261
|
-
gridArea: CSSValueType<"gridArea">;
|
|
262
|
-
gridAutoColumns: CSSValueType<"gridAutoColumns">;
|
|
263
|
-
gridAutoFlow: CSSValueType<"gridAutoFlow">;
|
|
264
|
-
gridAutoRows: CSSValueType<"gridAutoRows">;
|
|
265
|
-
gridColumn: CSSValueType<"gridColumn">;
|
|
266
|
-
gridColumnEnd: CSSValueType<"gridColumnEnd">;
|
|
267
|
-
gridColumnGap: CSSValueType<"gridColumnGap">;
|
|
268
|
-
gridColumnStart: CSSValueType<"gridColumnStart">;
|
|
269
|
-
gridGap: CSSValueType<"gridGap">;
|
|
270
|
-
gridRow: CSSValueType<"gridRow">;
|
|
271
|
-
gridRowEnd: CSSValueType<"gridRowEnd">;
|
|
272
|
-
gridRowGap: CSSValueType<"gridRowGap">;
|
|
273
|
-
gridRowStart: CSSValueType<"gridRowStart">;
|
|
274
|
-
gridTemplate: CSSValueType<"gridTemplate">;
|
|
275
|
-
gridTemplateAreas: CSSValueType<"gridTemplateAreas">;
|
|
276
|
-
gridTemplateColumns: CSSValueType<"gridTemplateColumns">;
|
|
277
|
-
gridTemplateRows: CSSValueType<"gridTemplateRows">;
|
|
278
|
-
height: CSSValueType<"height">;
|
|
279
|
-
justifyContent: CSSValueType<"justifyContent">;
|
|
280
|
-
justifyItems: CSSValueType<"justifyItems">;
|
|
281
|
-
justifySelf: CSSValueType<"justifySelf">;
|
|
282
|
-
left: CSSValueType<"left">;
|
|
283
|
-
letterSpacing: CSSValueType<"letterSpacing">;
|
|
284
|
-
lineBreak: CSSValueType<"lineBreak">;
|
|
285
|
-
lineHeight: CSSValueType<"lineHeight"> | TypographyRefTypes;
|
|
286
|
-
listStyle: CSSValueType<"listStyle">;
|
|
287
|
-
margin: CSSValueType<"margin">;
|
|
288
|
-
marginBlock: CSSValueType<"marginBlock">;
|
|
289
|
-
marginBlockEnd: CSSValueType<"marginBlockEnd">;
|
|
290
|
-
marginBlockStart: CSSValueType<"marginBlockStart">;
|
|
291
|
-
marginBottom: CSSValueType<"marginBottom">;
|
|
292
|
-
marginInline: CSSValueType<"marginInline">;
|
|
293
|
-
marginInlineEnd: CSSValueType<"marginInlineEnd">;
|
|
294
|
-
marginInlineStart: CSSValueType<"marginInlineStart">;
|
|
295
|
-
marginLeft: CSSValueType<"marginLeft">;
|
|
296
|
-
marginRight: CSSValueType<"marginRight">;
|
|
297
|
-
marginTop: CSSValueType<"marginTop">;
|
|
298
|
-
maxHeight: CSSValueType<"maxHeight">;
|
|
299
|
-
maxWidth: CSSValueType<"maxWidth"> | BreakpointKeys;
|
|
300
|
-
minHeight: CSSValueType<"minHeight">;
|
|
301
|
-
minWidth: CSSValueType<"minWidth"> | BreakpointKeys;
|
|
302
|
-
objectFit: CSSValueType<"objectFit">;
|
|
303
|
-
objectPosition: CSSValueType<"objectPosition">;
|
|
304
|
-
opacity: CSSValueType<"opacity">;
|
|
305
|
-
order: CSSValueType<"order">;
|
|
306
|
-
outline: CSSValueType<"outline">;
|
|
307
|
-
overflow: CSSValueType<"overflow">;
|
|
308
|
-
overflowX: CSSValueType<"overflowX">;
|
|
309
|
-
overflowY: CSSValueType<"overflowY">;
|
|
310
|
-
padding: CSSValueType<"padding">;
|
|
311
|
-
paddingBlock: CSSValueType<"paddingBlock">;
|
|
312
|
-
paddingBlockEnd: CSSValueType<"paddingBlockEnd">;
|
|
313
|
-
paddingBlockStart: CSSValueType<"paddingBlockStart">;
|
|
314
|
-
paddingBottom: CSSValueType<"paddingBottom">;
|
|
315
|
-
paddingInline: CSSValueType<"paddingInline">;
|
|
316
|
-
paddingInlineEnd: CSSValueType<"paddingInlineEnd">;
|
|
317
|
-
paddingInlineStart: CSSValueType<"paddingInlineStart">;
|
|
318
|
-
paddingLeft: CSSValueType<"paddingLeft">;
|
|
319
|
-
paddingRight: CSSValueType<"paddingRight">;
|
|
320
|
-
paddingTop: CSSValueType<"paddingTop">;
|
|
321
|
-
perspective: CSSValueType<"perspective">;
|
|
322
|
-
perspectiveOrigin: CSSValueType<"perspectiveOrigin">;
|
|
323
|
-
pointerEvents: CSSValueType<"pointerEvents">;
|
|
324
|
-
position: CSSValueType<"position">;
|
|
325
|
-
right: CSSValueType<"right">;
|
|
326
|
-
textAlign: CSSValueType<"textAlign">;
|
|
327
|
-
textDecoration: CSSValueType<"textDecoration">;
|
|
328
|
-
textShadow: CSSValueType<"textShadow">;
|
|
329
|
-
textTransform: CSSValueType<"textTransform">;
|
|
330
|
-
top: CSSValueType<"top">;
|
|
331
|
-
transform: CSSValueType<"transform">;
|
|
332
|
-
transformOrigin: CSSValueType<"transformOrigin">;
|
|
333
|
-
transformStyle: CSSValueType<"transformStyle">;
|
|
334
|
-
transition: CSSValueType<"transition">;
|
|
335
|
-
transitionDelay: CSSValueType<"transitionDelay">;
|
|
336
|
-
transitionDuration: CSSValueType<"transitionDuration">;
|
|
337
|
-
transitionProperty: CSSValueType<"transitionProperty">;
|
|
338
|
-
transitionTimingFunction: CSSValueType<"transitionTimingFunction">;
|
|
339
|
-
translate: CSSValueType<"translate">;
|
|
340
|
-
userSelect: CSSValueType<"userSelect">;
|
|
341
|
-
verticalAlign: CSSValueType<"verticalAlign">;
|
|
342
|
-
visibility: CSSValueType<"visibility">;
|
|
343
|
-
whiteSpace: CSSValueType<"whiteSpace">;
|
|
344
|
-
width: CSSValueType<"width"> | BreakpointKeys;
|
|
345
|
-
wordBreak: CSSValueType<"wordBreak">;
|
|
346
|
-
wordSpacing: CSSValueType<"wordSpacing">;
|
|
347
|
-
wordWrap: CSSValueType<"wordWrap">;
|
|
348
|
-
zIndex: CSSValueType<"zIndex">;
|
|
349
|
-
}
|
|
350
|
-
type CSSPropAsAttr = Partial<TagCSSProperties> & Aliases & {
|
|
351
|
-
baseClass?: string;
|
|
352
|
-
sx?: CSSProps;
|
|
353
|
-
hover?: CSSProps;
|
|
354
|
-
disabled?: boolean;
|
|
355
|
-
classNames?: classNamesTypes;
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
declare const Tag: React$1.ForwardRefExoticComponent<Omit<TagPropsRoot<TagComponentType>, "ref"> & React$1.RefAttributes<any>>;
|
|
359
|
-
|
|
360
|
-
declare const useTagProps: <T extends TagComponentType = "div">({ sxr, sx, baseClass, classNames: clses, hover, ...props }: TagPropsRoot<T>) => TagProps<T>;
|
|
361
|
-
|
|
362
|
-
declare const animationEases: {
|
|
363
|
-
easeInOut: string;
|
|
364
|
-
easeOut: string;
|
|
365
|
-
easeIn: string;
|
|
366
|
-
sharp: string;
|
|
367
|
-
linear: string;
|
|
368
|
-
easeBounceOut: string;
|
|
369
|
-
};
|
|
370
|
-
interface UseAnimationProps {
|
|
371
|
-
delay?: number;
|
|
372
|
-
duration?: number;
|
|
373
|
-
from: CSSProps;
|
|
374
|
-
to: CSSProps;
|
|
375
|
-
ease?: keyof typeof animationEases;
|
|
376
|
-
}
|
|
377
|
-
declare const useAnimation: ({ from, to, delay, ease, duration }: UseAnimationProps) => string;
|
|
378
|
-
|
|
379
|
-
type ColorTemplateColors = "default" | "brand" | "accent" | "info" | "success" | "warning" | "danger";
|
|
380
|
-
type ColorTemplateType = "fill" | "outline" | "text" | "alpha";
|
|
381
|
-
declare const useColorTemplate: (color: ColorTemplateColors, type: ColorTemplateType) => any;
|
|
382
|
-
|
|
383
|
-
declare const useBreakpoint: () => {
|
|
384
|
-
value: BreakpointKeys;
|
|
385
|
-
is: (key: BreakpointKeys) => boolean;
|
|
386
|
-
isDown: (key: BreakpointKeys) => boolean;
|
|
387
|
-
isUp: (key: BreakpointKeys) => boolean;
|
|
388
|
-
isOrDown: (key: BreakpointKeys) => boolean;
|
|
389
|
-
isOrUp: (key: BreakpointKeys) => boolean;
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
type useBreakpointPropsType<P> = P | {
|
|
393
|
-
[key in BreakpointKeys]?: P;
|
|
394
|
-
};
|
|
395
|
-
declare const useBreakpoinProps: <P extends object>(props: useBreakpointPropsType<P>) => useBreakpointPropsType<P>;
|
|
396
|
-
|
|
397
|
-
declare const ServerStyleTags: () => React$1.JSX.Element[];
|
|
398
|
-
|
|
399
|
-
declare const isWindow: () => Window | void;
|
|
400
|
-
|
|
401
|
-
declare const useInterface: <P extends object>(name: string, userPorps: P, defaultProps: P) => (P | ThemeOptions)[];
|
|
402
|
-
|
|
403
|
-
declare const slideDown: (_arg: TransitionElementProps) => {
|
|
404
|
-
from: {
|
|
405
|
-
transform: string;
|
|
406
|
-
};
|
|
407
|
-
to: {
|
|
408
|
-
transform: string;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
declare const slideUp: (_arg: TransitionElementProps) => {
|
|
412
|
-
from: {
|
|
413
|
-
transform: string;
|
|
414
|
-
};
|
|
415
|
-
to: {
|
|
416
|
-
transform: string;
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
declare const slideRight: (_arg: TransitionElementProps) => {
|
|
420
|
-
from: {
|
|
421
|
-
transform: string;
|
|
422
|
-
};
|
|
423
|
-
to: {
|
|
424
|
-
transform: string;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
declare const slideLeft: (_arg: TransitionElementProps) => {
|
|
428
|
-
from: {
|
|
429
|
-
transform: string;
|
|
430
|
-
};
|
|
431
|
-
to: {
|
|
432
|
-
transform: string;
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
declare const fade: (_arg: TransitionElementProps) => {
|
|
436
|
-
from: {
|
|
437
|
-
opacity: number;
|
|
438
|
-
};
|
|
439
|
-
to: {
|
|
440
|
-
opacity: number;
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
declare const fadeDown: (_arg: TransitionElementProps) => {
|
|
444
|
-
from: {
|
|
445
|
-
transform: string;
|
|
446
|
-
opacity: number;
|
|
447
|
-
};
|
|
448
|
-
to: {
|
|
449
|
-
transform: string;
|
|
450
|
-
opacity: number;
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
declare const fadeUp: (_arg: TransitionElementProps) => {
|
|
454
|
-
from: {
|
|
455
|
-
transform: string;
|
|
456
|
-
opacity: number;
|
|
457
|
-
};
|
|
458
|
-
to: {
|
|
459
|
-
transform: string;
|
|
460
|
-
opacity: number;
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
declare const fadeRight: (_arg: TransitionElementProps) => {
|
|
464
|
-
from: {
|
|
465
|
-
transform: string;
|
|
466
|
-
opacity: number;
|
|
467
|
-
};
|
|
468
|
-
to: {
|
|
469
|
-
transform: string;
|
|
470
|
-
opacity: number;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
declare const fadeLeft: (_arg: TransitionElementProps) => {
|
|
474
|
-
from: {
|
|
475
|
-
transform: string;
|
|
476
|
-
opacity: number;
|
|
477
|
-
};
|
|
478
|
-
to: {
|
|
479
|
-
transform: string;
|
|
480
|
-
opacity: number;
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
declare const grow: (_arg: TransitionElementProps) => {
|
|
484
|
-
from: {
|
|
485
|
-
transform: string;
|
|
486
|
-
opacity: number;
|
|
487
|
-
};
|
|
488
|
-
to: {
|
|
489
|
-
transform: string;
|
|
490
|
-
opacity: number;
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
declare const zoom: (_arg: TransitionElementProps) => {
|
|
494
|
-
from: {
|
|
495
|
-
transform: string;
|
|
496
|
-
opacity: number;
|
|
497
|
-
};
|
|
498
|
-
to: {
|
|
499
|
-
transform: string;
|
|
500
|
-
opacity: number;
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
declare const zoomOver: (_arg: TransitionElementProps) => {
|
|
504
|
-
from: {
|
|
505
|
-
transform: string;
|
|
506
|
-
opacity: number;
|
|
507
|
-
};
|
|
508
|
-
to: {
|
|
509
|
-
transform: string;
|
|
510
|
-
opacity: number;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
declare const collapsVerticle: (_arg: TransitionElementProps) => {
|
|
514
|
-
from: {
|
|
515
|
-
height: string;
|
|
516
|
-
overflow: string;
|
|
517
|
-
};
|
|
518
|
-
to: {
|
|
519
|
-
height: string;
|
|
520
|
-
overflow: string;
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
declare const collapsHorizental: (_arg: TransitionElementProps) => {
|
|
524
|
-
from: {
|
|
525
|
-
width: string;
|
|
526
|
-
overflow: string;
|
|
527
|
-
};
|
|
528
|
-
to: {
|
|
529
|
-
width: string;
|
|
530
|
-
overflow: string;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
declare const variants_collapsHorizental: typeof collapsHorizental;
|
|
535
|
-
declare const variants_collapsVerticle: typeof collapsVerticle;
|
|
536
|
-
declare const variants_fade: typeof fade;
|
|
537
|
-
declare const variants_fadeDown: typeof fadeDown;
|
|
538
|
-
declare const variants_fadeLeft: typeof fadeLeft;
|
|
539
|
-
declare const variants_fadeRight: typeof fadeRight;
|
|
540
|
-
declare const variants_fadeUp: typeof fadeUp;
|
|
541
|
-
declare const variants_grow: typeof grow;
|
|
542
|
-
declare const variants_slideDown: typeof slideDown;
|
|
543
|
-
declare const variants_slideLeft: typeof slideLeft;
|
|
544
|
-
declare const variants_slideRight: typeof slideRight;
|
|
545
|
-
declare const variants_slideUp: typeof slideUp;
|
|
546
|
-
declare const variants_zoom: typeof zoom;
|
|
547
|
-
declare const variants_zoomOver: typeof zoomOver;
|
|
548
|
-
declare namespace variants {
|
|
549
|
-
export {
|
|
550
|
-
variants_collapsHorizental as collapsHorizental,
|
|
551
|
-
variants_collapsVerticle as collapsVerticle,
|
|
552
|
-
variants_fade as fade,
|
|
553
|
-
variants_fadeDown as fadeDown,
|
|
554
|
-
variants_fadeLeft as fadeLeft,
|
|
555
|
-
variants_fadeRight as fadeRight,
|
|
556
|
-
variants_fadeUp as fadeUp,
|
|
557
|
-
variants_grow as grow,
|
|
558
|
-
variants_slideDown as slideDown,
|
|
559
|
-
variants_slideLeft as slideLeft,
|
|
560
|
-
variants_slideRight as slideRight,
|
|
561
|
-
variants_slideUp as slideUp,
|
|
562
|
-
variants_zoom as zoom,
|
|
563
|
-
variants_zoomOver as zoomOver,
|
|
564
|
-
};
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
type TransitionVariantTypes = keyof typeof variants;
|
|
568
|
-
type TransitionElementProps = {
|
|
569
|
-
height: number;
|
|
570
|
-
width: number;
|
|
571
|
-
rect: DOMRect | null;
|
|
572
|
-
};
|
|
573
|
-
type TransitionState = "open" | "opened" | "close" | "closed";
|
|
574
|
-
type TransitionProps = {
|
|
575
|
-
children: ReactElement;
|
|
576
|
-
open: boolean;
|
|
577
|
-
variant: {
|
|
578
|
-
from: CSSProps;
|
|
579
|
-
to: CSSProps;
|
|
580
|
-
} | TransitionVariantTypes;
|
|
581
|
-
ease?: string;
|
|
582
|
-
easing?: keyof typeof animationEases;
|
|
583
|
-
duration?: number;
|
|
584
|
-
delay?: number;
|
|
585
|
-
disableInitialTransition?: boolean;
|
|
586
|
-
onOpen?: () => void;
|
|
587
|
-
onOpened?: () => void;
|
|
588
|
-
onClose?: () => void;
|
|
589
|
-
onClosed?: () => void;
|
|
590
|
-
onState?: (state: TransitionState) => void;
|
|
591
|
-
};
|
|
592
|
-
declare const Transition: ({ children, open, ...props }: TransitionProps) => React__default.JSX.Element;
|
|
593
|
-
|
|
594
|
-
declare const getValue: (prop: any, value: string | number, _css: CSSProps) => any;
|
|
595
|
-
|
|
596
|
-
declare const getProps: (prop: string, value: string, _css: CSSProps) => any;
|
|
597
|
-
|
|
598
|
-
declare const breakpoints: {
|
|
599
|
-
xs: number;
|
|
600
|
-
sm: number;
|
|
601
|
-
md: number;
|
|
602
|
-
lg: number;
|
|
603
|
-
xl: number;
|
|
604
|
-
};
|
|
605
|
-
declare const css: (props: CSSProps, options?: CSSOptionProps) => oncss.CSSFactoryType;
|
|
606
|
-
declare const adjustColor: (hex: string, factor: number) => string;
|
|
607
|
-
declare const adjustTextContrast: (color: string) => "#111111" | "#FFFFFF";
|
|
608
|
-
declare const alpha: (color: string, opacity?: number) => string;
|
|
609
|
-
|
|
610
|
-
type ThemeProviderProps<T extends TagComponentType = 'div'> = TagProps<T> & {
|
|
611
|
-
theme: string;
|
|
612
|
-
resetCss?: boolean;
|
|
613
|
-
scrollbarCss?: boolean;
|
|
614
|
-
isRootProvider?: boolean;
|
|
615
|
-
renderIsRoot?: React$1.ReactElement;
|
|
616
|
-
};
|
|
617
|
-
declare const ThemeProvider: ({ children, theme, resetCss, scrollbarCss, isRootProvider, renderIsRoot, ...props }: ThemeProviderProps) => React$1.JSX.Element;
|
|
618
|
-
|
|
619
|
-
declare const createThemeSwitcher: (defaultTheme: string, store?: "session" | "local") => () => {
|
|
620
|
-
name: string;
|
|
621
|
-
theme: ThemeOptions | undefined;
|
|
622
|
-
change: (theme: string) => void;
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
declare const getTheme: (theme: string) => ThemeOptions | undefined;
|
|
626
|
-
declare const useTheme: () => ThemeOptions;
|
|
627
|
-
|
|
628
|
-
export { ServerStyleTags, Tag, ThemeProvider, Transition, adjustColor, adjustTextContrast, alpha, animationEases, breakpoints, createThemeSwitcher, css, getProps, getTheme, getValue, isWindow, useAnimation, useBreakpoint, useBreakpoinProps as useBreakpointProps, useColorTemplate, useInterface, useTagProps, useTheme };
|
|
629
|
-
export type { Aliases, BreakpointKeys, CSSBreakpointType, CSSOptionProps, CSSPropAsAttr, CSSProps, CSSValueType, ColorTemplateColors, ColorTemplateType, ColorsRefTypes, FN, GlobalCSS, ObjectType, TagComponentType, TagProps, TagPropsRoot, ThemeColor, ThemeColorInput, ThemeColorItem, ThemeColorItemInput, ThemeOptionInput, ThemeOptions, ThemeProviderProps, ThemeTypographyInputType, ThemeTypographyItem, ThemeTypographyItemInput, ThemeTypographyType, TransitionElementProps, TransitionProps, TransitionState, TransitionVariantTypes, TypographyRefTypes, UseAnimationProps, useBreakpointPropsType };
|
|
1
|
+
export { default as Tag } from './Tag/index.js';
|
|
2
|
+
export { default as useTagProps } from './Tag/useTagProps.js';
|
|
3
|
+
export { UseAnimationProps, animationEases, default as useAnimation } from './useAnimation.js';
|
|
4
|
+
export { ColorTemplateColors, ColorTemplateType, default as useColorTemplate } from './useColorTemplate.js';
|
|
5
|
+
export { default as useBreakpoint } from './breakpoint/useBreakpoint.js';
|
|
6
|
+
export { default as useBreakpointProps, useBreakpointPropsType } from './breakpoint/useBreakpointProps.js';
|
|
7
|
+
export { default as ServerStyleTags } from './ServerStyleTags.js';
|
|
8
|
+
export { default as isWindow } from './isWindow.js';
|
|
9
|
+
export { default as useInterface } from './useInterface.js';
|
|
10
|
+
export { default as Transition, TransitionElementProps, TransitionProps, TransitionState, TransitionVariantTypes } from './Transition/index.js';
|
|
11
|
+
export { adjustColor, adjustTextContrast, alpha, breakpoints, css } from './css/index.js';
|
|
12
|
+
export { default as ThemeProvider, ThemeProviderProps } from './theme/ThemeProvider.js';
|
|
13
|
+
export { default as createThemeSwitcher } from './theme/createThemeSwitcher.js';
|
|
14
|
+
export { getTheme, useTheme } from './theme/core.js';
|
|
15
|
+
export { Aliases, BreakpointKeys, CSSBreakpointType, CSSOptionProps, CSSProps, CSSValueType, FN, GlobalCSS } from './css/types.js';
|
|
16
|
+
export { CSSPropAsAttr, TagCSSProperties, TagComponentType, TagProps, TagPropsRoot } from './Tag/types.js';
|
|
17
|
+
export { ColorsRefTypes, ObjectType, ThemeColor, ThemeColorInput, ThemeColorItem, ThemeColorItemInput, ThemeOptionInput, ThemeOptions, ThemeTypographyInputType, ThemeTypographyItem, ThemeTypographyItemInput, ThemeTypographyType, TypographyRefTypes } from './theme/types.js';
|
|
18
|
+
export { default as getValue } from './css/getValue.js';
|
|
19
|
+
export { default as getProps } from './css/getProps.js';
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var index=require('./Tag/index.js'),useTagProps=require('./Tag/useTagProps.js'),useAnimation=require('./useAnimation.js'),useColorTemplate=require('./useColorTemplate.js'),useBreakpoint=require('./breakpoint/useBreakpoint.js'),useBreakpointProps=require('./breakpoint/useBreakpointProps.js'),ServerStyleTags=require('./ServerStyleTags.js'),isWindow=require('./isWindow.js'),useInterface=require('./useInterface.js'),index$1=require('./Transition/index.js'),index$2=require('./css/index.js');require('./theme/index.js');var getValue=require('./css/getValue.js'),getProps=require('./css/getProps.js'),ThemeProvider=require('./theme/ThemeProvider.js'),createThemeSwitcher=require('./theme/createThemeSwitcher.js'),core=require('./theme/core.js');exports.Tag=index;exports.useTagProps=useTagProps;exports.animationEases=useAnimation.animationEases;exports.useAnimation=useAnimation.default;exports.useColorTemplate=useColorTemplate;exports.useBreakpoint=useBreakpoint;exports.useBreakpointProps=useBreakpointProps;exports.ServerStyleTags=ServerStyleTags;exports.isWindow=isWindow;exports.useInterface=useInterface;exports.Transition=index$1;exports.adjustColor=index$2.adjustColor;exports.adjustTextContrast=index$2.adjustTextContrast;exports.alpha=index$2.alpha;exports.breakpoints=index$2.breakpoints;exports.css=index$2.css;exports.getValue=getValue;exports.getProps=getProps;exports.ThemeProvider=ThemeProvider;exports.createThemeSwitcher=createThemeSwitcher;exports.getTheme=core.getTheme;exports.useTheme=core.useTheme;//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var index=require('./Tag/index.js'),useTagProps=require('./Tag/useTagProps.js'),useAnimation=require('./useAnimation.js'),useColorTemplate=require('./useColorTemplate.js'),useBreakpoint=require('./breakpoint/useBreakpoint.js'),useBreakpointProps=require('./breakpoint/useBreakpointProps.js'),ServerStyleTags=require('./ServerStyleTags.js'),isWindow=require('./isWindow.js'),useInterface=require('./useInterface.js'),index$1=require('./Transition/index.js'),index$2=require('./css/index.js');require('./theme/index.js');var getValue=require('./css/getValue.js'),getProps=require('./css/getProps.js'),ThemeProvider=require('./theme/ThemeProvider.js'),createThemeSwitcher=require('./theme/createThemeSwitcher.js'),core=require('./theme/core.js');exports.Tag=index.default;exports.useTagProps=useTagProps.default;exports.animationEases=useAnimation.animationEases;exports.useAnimation=useAnimation.default;exports.useColorTemplate=useColorTemplate.default;exports.useBreakpoint=useBreakpoint.default;exports.useBreakpointProps=useBreakpointProps.default;exports.ServerStyleTags=ServerStyleTags.default;exports.isWindow=isWindow.default;exports.useInterface=useInterface.default;exports.Transition=index$1.default;exports.adjustColor=index$2.adjustColor;exports.adjustTextContrast=index$2.adjustTextContrast;exports.alpha=index$2.alpha;exports.breakpoints=index$2.breakpoints;exports.css=index$2.css;exports.getValue=getValue.default;exports.getProps=getProps.default;exports.ThemeProvider=ThemeProvider.default;exports.createThemeSwitcher=createThemeSwitcher.default;exports.getTheme=core.getTheme;exports.useTheme=core.useTheme;//# sourceMappingURL=index.js.map
|
package/isWindow.d.ts
ADDED
package/isWindow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const isWindow = () => typeof window !== 'undefined' ? window : undefined;
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});const isWindow = () => typeof window !== 'undefined' ? window : undefined;exports.default=isWindow;//# sourceMappingURL=isWindow.js.map
|
package/isWindow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isWindow.js","sources":["../src/isWindow.ts"],"sourcesContent":["\nconst isWindow = (): Window | void => typeof window !== 'undefined' ? window : undefined\nexport default isWindow"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isWindow.js","sources":["../src/isWindow.ts"],"sourcesContent":["\nconst isWindow = (): Window | void => typeof window !== 'undefined' ? window : undefined\nexport default isWindow"],"names":[],"mappings":"sEACA,MAAM,QAAQ,GAAG,MAAqB,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,GAAG"}
|