@compiled/react 0.17.0 → 0.17.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/browser/index.d.ts +3 -2
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/cjs/index.d.ts +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +16 -2
package/dist/browser/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import { createElement } from 'react';
|
|
|
2
2
|
import type { CompiledJSX } from './jsx/jsx-local-namespace';
|
|
3
3
|
export { ClassNames } from './class-names';
|
|
4
4
|
export { createStrictAPI } from './create-strict-api';
|
|
5
|
+
export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types';
|
|
5
6
|
export { default as css } from './css';
|
|
6
7
|
export { default as cssMap } from './css-map';
|
|
7
8
|
export { keyframes } from './keyframes';
|
|
8
|
-
export { styled } from './styled';
|
|
9
|
+
export { styled, StyledProps } from './styled';
|
|
9
10
|
export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types';
|
|
10
|
-
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, cx } from './xcss-prop';
|
|
11
|
+
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop';
|
|
11
12
|
export declare const jsx: typeof createElement;
|
|
12
13
|
export declare namespace jsx {
|
|
13
14
|
namespace JSX {
|
package/dist/browser/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { default as css } from './css';
|
|
|
5
5
|
export { default as cssMap } from './css-map';
|
|
6
6
|
export { keyframes } from './keyframes';
|
|
7
7
|
export { styled } from './styled';
|
|
8
|
-
export { cx } from './xcss-prop';
|
|
8
|
+
export { cx, } from './xcss-prop';
|
|
9
9
|
// Pass through the (classic) jsx runtime.
|
|
10
10
|
// Compiled currently doesn't define its own and uses this purely to enable a local jsx namespace.
|
|
11
11
|
export const jsx = createElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQtD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAS/C,OAAO,EAML,EAAE,GACH,MAAM,aAAa,CAAC;AAErB,0CAA0C;AAC1C,kGAAkG;AAClG,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import { createElement } from 'react';
|
|
|
2
2
|
import type { CompiledJSX } from './jsx/jsx-local-namespace';
|
|
3
3
|
export { ClassNames } from './class-names';
|
|
4
4
|
export { createStrictAPI } from './create-strict-api';
|
|
5
|
+
export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types';
|
|
5
6
|
export { default as css } from './css';
|
|
6
7
|
export { default as cssMap } from './css-map';
|
|
7
8
|
export { keyframes } from './keyframes';
|
|
8
|
-
export { styled } from './styled';
|
|
9
|
+
export { styled, StyledProps } from './styled';
|
|
9
10
|
export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types';
|
|
10
|
-
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, cx } from './xcss-prop';
|
|
11
|
+
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop';
|
|
11
12
|
export declare const jsx: typeof createElement;
|
|
12
13
|
export declare namespace jsx {
|
|
13
14
|
namespace JSX {
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAsC;AAItC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAsC;AAItC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AAQxB,6BAAuC;AAA9B,2GAAA,OAAO,OAAO;AACvB,qCAA8C;AAArC,kHAAA,OAAO,OAAU;AAC1B,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,mCAA+C;AAAtC,gGAAA,MAAM,OAAA;AASf,yCAOqB;AADnB,+FAAA,EAAE,OAAA;AAGJ,0CAA0C;AAC1C,kGAAkG;AACrF,QAAA,GAAG,GAAG,qBAAa,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import { createElement } from 'react';
|
|
|
2
2
|
import type { CompiledJSX } from './jsx/jsx-local-namespace';
|
|
3
3
|
export { ClassNames } from './class-names';
|
|
4
4
|
export { createStrictAPI } from './create-strict-api';
|
|
5
|
+
export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types';
|
|
5
6
|
export { default as css } from './css';
|
|
6
7
|
export { default as cssMap } from './css-map';
|
|
7
8
|
export { keyframes } from './keyframes';
|
|
8
|
-
export { styled } from './styled';
|
|
9
|
+
export { styled, StyledProps } from './styled';
|
|
9
10
|
export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types';
|
|
10
|
-
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, cx } from './xcss-prop';
|
|
11
|
+
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop';
|
|
11
12
|
export declare const jsx: typeof createElement;
|
|
12
13
|
export declare namespace jsx {
|
|
13
14
|
namespace JSX {
|
package/dist/esm/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { default as css } from './css';
|
|
|
5
5
|
export { default as cssMap } from './css-map';
|
|
6
6
|
export { keyframes } from './keyframes';
|
|
7
7
|
export { styled } from './styled';
|
|
8
|
-
export { cx } from './xcss-prop';
|
|
8
|
+
export { cx, } from './xcss-prop';
|
|
9
9
|
// Pass through the (classic) jsx runtime.
|
|
10
10
|
// Compiled currently doesn't define its own and uses this purely to enable a local jsx namespace.
|
|
11
11
|
export const jsx = createElement;
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQtD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAS/C,OAAO,EAML,EAAE,GACH,MAAM,aAAa,CAAC;AAErB,0CAA0C;AAC1C,kGAAkG;AAClG,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -4,10 +4,17 @@ import type { CompiledJSX } from './jsx/jsx-local-namespace';
|
|
|
4
4
|
|
|
5
5
|
export { ClassNames } from './class-names';
|
|
6
6
|
export { createStrictAPI } from './create-strict-api';
|
|
7
|
+
export type {
|
|
8
|
+
PseudosDeclarations,
|
|
9
|
+
MediaQueries,
|
|
10
|
+
AllowedStyles,
|
|
11
|
+
ApplySchema,
|
|
12
|
+
ApplySchemaMap,
|
|
13
|
+
} from './create-strict-api/types';
|
|
7
14
|
export { default as css } from './css';
|
|
8
15
|
export { default as cssMap } from './css-map';
|
|
9
16
|
export { keyframes } from './keyframes';
|
|
10
|
-
export { styled } from './styled';
|
|
17
|
+
export { styled, StyledProps } from './styled';
|
|
11
18
|
export type {
|
|
12
19
|
CSSProperties,
|
|
13
20
|
CSSProps,
|
|
@@ -16,7 +23,14 @@ export type {
|
|
|
16
23
|
CssType,
|
|
17
24
|
StrictCSSProperties,
|
|
18
25
|
} from './types';
|
|
19
|
-
export {
|
|
26
|
+
export {
|
|
27
|
+
type XCSSAllProperties,
|
|
28
|
+
type XCSSAllPseudos,
|
|
29
|
+
type XCSSProp,
|
|
30
|
+
type CompiledStyles,
|
|
31
|
+
type Internal$XCSSProp,
|
|
32
|
+
cx,
|
|
33
|
+
} from './xcss-prop';
|
|
20
34
|
|
|
21
35
|
// Pass through the (classic) jsx runtime.
|
|
22
36
|
// Compiled currently doesn't define its own and uses this purely to enable a local jsx namespace.
|