@plumeria/core 7.3.5 → 7.3.6

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Type definitions only. Configure the bundler plugin for extraction.
2
+ * Type types only. Configure the bundler plugin for extraction.
3
3
  *```ts
4
4
  * type create = <const T extends Record<string, CSSProperties>>(_rule: CreateStyleType<T>)=> ReturnType<T>;
5
5
  * type props = (..._rules: (false | CSSProperties | null | undefined)[])=> string;
@@ -13,18 +13,18 @@
13
13
  * ```
14
14
  */
15
15
  declare module '@plumeria/core' {
16
- export type CSSProperties = import('./definitions').CSSProperties;
17
- export type CreateStyle = import('./definitions').CreateStyle;
18
- export type CreateStyleType<T> = import('./definitions').CreateStyleType<T>;
19
- export type CreateStatic = import('./definitions').CreateStatic;
20
- export type CreateTheme = import('./definitions').CreateTheme;
21
- export type Keyframes = import('./definitions').Keyframes;
22
- export type ViewTransition = import('./definitions').ViewTransition;
23
- export type ReturnType<T> = import('./definitions').ReturnType<T>;
24
- export type ReturnVariableType<T> = import('./definitions').ReturnVariableType<T>;
25
- export type Variants = import('./definitions').Variants;
26
- export type Marker = import('./definitions').Marker;
27
- export type Extended<I extends string, P extends string> = import('./definitions').Extended<I, P>;
16
+ export type CSSProperties = import('./types').CSSProperties;
17
+ export type CreateStyle = import('./types').CreateStyle;
18
+ export type CreateStyleType<T> = import('./types').CreateStyleType<T>;
19
+ export type CreateStatic = import('./types').CreateStatic;
20
+ export type CreateTheme = import('./types').CreateTheme;
21
+ export type Keyframes = import('./types').Keyframes;
22
+ export type ViewTransition = import('./types').ViewTransition;
23
+ export type ReturnType<T> = import('./types').ReturnType<T>;
24
+ export type ReturnVariableType<T> = import('./types').ReturnVariableType<T>;
25
+ export type Variants = import('./types').Variants;
26
+ export type Marker = import('./types').Marker;
27
+ export type Extended<I extends string, P extends string> = import('./types').Extended<I, P>;
28
28
  export type create = <const T extends Record<string, CSSProperties>>(_rule: CreateStyleType<T>)=> ReturnType<T>;
29
29
  export type props = (..._rules: (false | CSSProperties | null | undefined)[])=> string;
30
30
  export type createTheme = <const T extends CreateTheme>(_rule: T)=> ReturnVariableType<T>;
package/lib/css.js ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "7.3.5",
3
+ "version": "7.3.6",
4
4
  "description": "A type-driven styling framework for maintainable UI.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -17,16 +17,21 @@
17
17
  "keywords": [
18
18
  "plumeria",
19
19
  "atomic-css",
20
- "atomic-css-types",
20
+ "type-only",
21
+ "css-in-js",
21
22
  "linaria",
22
23
  "stylex",
23
24
  "react-native-web"
24
25
  ],
25
- "main": "types/css.d.ts",
26
- "module": "types/css.d.ts",
27
- "types": "types/css.d.ts",
26
+ "type": "module",
27
+ "exports": {
28
+ ".": {
29
+ "types": "./lib/css.d.ts",
30
+ "import": "./lib/css.js"
31
+ }
32
+ },
28
33
  "files": [
29
- "types/"
34
+ "lib/"
30
35
  ],
31
36
  "dependencies": {
32
37
  "csstype": "^3.2.3"
File without changes