@salty-css/react 0.0.1-alpha.44 → 0.0.1-alpha.45
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/element-factory.d.ts +2 -2
- package/keyframes.d.ts +1 -1
- package/media.d.ts +1 -1
- package/package.json +2 -2
- package/styled-client.d.ts +3 -3
- package/styled.d.ts +1 -1
package/element-factory.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { GeneratorProps } from '
|
2
|
-
import { StyledComponentProps, Tag } from '
|
1
|
+
import { GeneratorProps } from '@salty-css/core/generator';
|
2
|
+
import { StyledComponentProps, Tag } from '@salty-css/core/types';
|
3
3
|
export declare const elementFactory: (tagName: Tag<any>, _className: string, _generatorProps: GeneratorProps, _additionalProps?: Record<PropertyKey, any>) => import('react').ForwardRefExoticComponent<Omit<StyledComponentProps, "ref"> & import('react').RefAttributes<any>>;
|
package/keyframes.d.ts
CHANGED
package/media.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salty-css/react",
|
3
|
-
"version": "0.0.1-alpha.
|
3
|
+
"version": "0.0.1-alpha.45",
|
4
4
|
"main": "./dist/index.js",
|
5
5
|
"module": "./dist/index.mjs",
|
6
6
|
"typings": "./dist/index.d.ts",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
}
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@salty-css/core": "^0.0.1-alpha.
|
44
|
+
"@salty-css/core": "^0.0.1-alpha.45",
|
45
45
|
"clsx": ">=2.x",
|
46
46
|
"react": ">=19.x || >=18.3.x"
|
47
47
|
}
|
package/styled-client.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { GeneratorProps } from '
|
2
|
-
import { Tag } from '
|
3
|
-
export declare const styledClient: (tagName: Tag<any>, className: string, callerName: string | undefined, generatorProps: GeneratorProps) => import('react').ForwardRefExoticComponent<Omit<import('
|
1
|
+
import { GeneratorProps } from '@salty-css/core/generator';
|
2
|
+
import { Tag } from '@salty-css/core/types';
|
3
|
+
export declare const styledClient: (tagName: Tag<any>, className: string, callerName: string | undefined, generatorProps: GeneratorProps) => import('react').ForwardRefExoticComponent<Omit<import('@salty-css/core/types').StyledComponentProps, "ref"> & import('react').RefAttributes<any>>;
|
package/styled.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AllHTMLAttributes, ReactDOM, ReactNode } from 'react';
|
2
|
-
import { Tag, StyledComponentProps, CreateElementProps, VariantProps, ParentComponentProps, StyledParams, ValueProps } from '
|
2
|
+
import { Tag, StyledComponentProps, CreateElementProps, VariantProps, ParentComponentProps, StyledParams, ValueProps } from '@salty-css/core/types';
|
3
3
|
export declare const styled: <const PROPS extends StyledComponentProps, const TAG extends Tag<Required<PROPS>>, const STYLE_PARAMS extends StyledParams>(tagName: TAG, params: STYLE_PARAMS) => ((props: (CreateElementProps & ParentComponentProps<TAG>) | (TAG extends string ? {
|
4
4
|
ref: any;
|
5
5
|
} : never) | VariantProps<STYLE_PARAMS> | ValueProps | (TAG extends keyof ReactDOM ? ReactDOM[TAG] extends (...props: infer R) => any ? R[0] : TAG extends string ? AllHTMLAttributes<HTMLElement> : never : TAG extends string ? AllHTMLAttributes<HTMLElement> : never)) => ReactNode) & string;
|