@plumeria/core 7.2.0 → 7.2.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/css.d.ts +9 -9
- package/dist/css.js +12 -30
- package/package.json +1 -1
package/dist/css.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ export type viewTransition = typeof viewTransition;
|
|
|
8
8
|
export type variants = typeof variants;
|
|
9
9
|
export type marker = typeof marker;
|
|
10
10
|
export type extended = typeof extended;
|
|
11
|
-
export declare
|
|
12
|
-
export declare
|
|
13
|
-
export declare
|
|
14
|
-
export declare
|
|
15
|
-
export declare
|
|
16
|
-
export declare
|
|
17
|
-
export declare
|
|
18
|
-
export declare
|
|
19
|
-
export declare
|
|
11
|
+
export declare const create: <const T extends Record<string, CSSProperties>>(_rule: CreateStyleType<T>) => ReturnType<T>;
|
|
12
|
+
export declare const props: (..._rules: (false | CSSProperties | null | undefined)[]) => string;
|
|
13
|
+
export declare const createTheme: <const T extends CreateTheme>(_rule: T) => ReturnVariableType<T>;
|
|
14
|
+
export declare const createStatic: <const T extends CreateStatic>(_rule: T) => T;
|
|
15
|
+
export declare const keyframes: (_rule: Keyframes) => string;
|
|
16
|
+
export declare const viewTransition: (_rule: ViewTransition) => string;
|
|
17
|
+
export declare const variants: <T extends Variant>(_rule: T) => (_props: { [K in keyof T]?: keyof T[K]; }) => CSSProperties;
|
|
18
|
+
export declare const marker: (_id: string, _pseudo: string) => CSSProperties;
|
|
19
|
+
export declare const extended: (_id: string, _pseudo: string) => ContainerStyleQuery;
|
|
20
20
|
export type { CreateStyle, CSSProperties } from './types';
|
package/dist/css.js
CHANGED
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export function keyframes(_rule) {
|
|
15
|
-
throw errorForFn();
|
|
16
|
-
}
|
|
17
|
-
export function viewTransition(_rule) {
|
|
18
|
-
throw errorForFn();
|
|
19
|
-
}
|
|
20
|
-
export function variants(_rule) {
|
|
21
|
-
return (_props) => {
|
|
22
|
-
throw errorForFn();
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export function marker(_id, _pseudo) {
|
|
26
|
-
throw errorForFn();
|
|
27
|
-
}
|
|
28
|
-
export function extended(_id, _pseudo) {
|
|
29
|
-
throw errorForFn();
|
|
30
|
-
}
|
|
1
|
+
const runtimeNotSupported = () => {
|
|
2
|
+
throw new Error('Runtime is not supported. Configure the bundler plugin.');
|
|
3
|
+
};
|
|
4
|
+
export const create = (_rule) => runtimeNotSupported();
|
|
5
|
+
export const props = (..._rules) => runtimeNotSupported();
|
|
6
|
+
export const createTheme = (_rule) => runtimeNotSupported();
|
|
7
|
+
export const createStatic = (_rule) => runtimeNotSupported();
|
|
8
|
+
export const keyframes = (_rule) => runtimeNotSupported();
|
|
9
|
+
export const viewTransition = (_rule) => runtimeNotSupported();
|
|
10
|
+
export const variants = (_rule) => (_props) => runtimeNotSupported();
|
|
11
|
+
export const marker = (_id, _pseudo) => runtimeNotSupported();
|
|
12
|
+
export const extended = (_id, _pseudo) => runtimeNotSupported();
|