simplestyle-js 5.2.1 → 5.2.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/cjs/createStyles.d.ts +1 -2
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/types.d.ts +1 -0
- package/dist/esm/createStyles.d.ts +1 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/types.d.ts +1 -0
- package/dist/esm/types.mjs +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { Properties } from 'csstype';
|
|
2
1
|
import type { SimpleStyleRegistry } from './simpleStyleRegistry.js';
|
|
3
|
-
import type { ImportStringType, SimpleStyleRules } from './types.js';
|
|
2
|
+
import type { ImportStringType, Properties, SimpleStyleRules } from './types.js';
|
|
4
3
|
export type CreateStylesOptions = Partial<{
|
|
5
4
|
/**
|
|
6
5
|
* If true, automatically renders generated styles
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -29,6 +29,7 @@ const _createStyles = /*#__PURE__*/ _interop_require_wildcard(require("./createS
|
|
|
29
29
|
const _generateClassName = require("./generateClassName.cjs");
|
|
30
30
|
_export_star(require("./makeStyles.cjs"), exports);
|
|
31
31
|
const _plugins = require("./plugins.cjs");
|
|
32
|
+
_export_star(require("./types.cjs"), exports);
|
|
32
33
|
function _export_star(from, to) {
|
|
33
34
|
Object.keys(from).forEach(function(k) {
|
|
34
35
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { setSeed } from './generateClassName.js';
|
|
|
4
4
|
export * from './makeStyles.js';
|
|
5
5
|
export type { PosthookPlugin } from './plugins.js';
|
|
6
6
|
export { registerPosthook } from './plugins.js';
|
|
7
|
-
export
|
|
7
|
+
export * from './types.js';
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export type SimpleStyleRules = {
|
|
|
5
5
|
export type RenderableSimpleStyleRules = SimpleStyleRules & Record<string, Properties[]>;
|
|
6
6
|
export type HasProperty<T, K extends keyof T> = T extends Record<K, any> ? true : false;
|
|
7
7
|
export type ImportStringType = `@import ${string}`;
|
|
8
|
+
export type { Properties };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { Properties } from 'csstype';
|
|
2
1
|
import type { SimpleStyleRegistry } from './simpleStyleRegistry.js';
|
|
3
|
-
import type { ImportStringType, SimpleStyleRules } from './types.js';
|
|
2
|
+
import type { ImportStringType, Properties, SimpleStyleRules } from './types.js';
|
|
4
3
|
export type CreateStylesOptions = Partial<{
|
|
5
4
|
/**
|
|
6
5
|
* If true, automatically renders generated styles
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { setSeed } from './generateClassName.js';
|
|
|
4
4
|
export * from './makeStyles.js';
|
|
5
5
|
export type { PosthookPlugin } from './plugins.js';
|
|
6
6
|
export { registerPosthook } from './plugins.js';
|
|
7
|
-
export
|
|
7
|
+
export * from './types.js';
|
package/dist/esm/index.mjs
CHANGED
package/dist/esm/types.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export type SimpleStyleRules = {
|
|
|
5
5
|
export type RenderableSimpleStyleRules = SimpleStyleRules & Record<string, Properties[]>;
|
|
6
6
|
export type HasProperty<T, K extends keyof T> = T extends Record<K, any> ? true : false;
|
|
7
7
|
export type ImportStringType = `@import ${string}`;
|
|
8
|
+
export type { Properties };
|
package/dist/esm/types.mjs
CHANGED
package/package.json
CHANGED