@griffel/react 1.7.0 → 1.7.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/package.json +2 -2
- package/src/__css.d.ts +7 -1
- package/src/__css.js +1 -1
- package/src/__resetCSS.d.ts +6 -1
- package/src/__resetCSS.js +1 -1
- package/src/__resetStyles.d.ts +7 -1
- package/src/__resetStyles.js +1 -1
- package/src/__staticCSS.d.ts +6 -1
- package/src/__staticCSS.js +1 -1
- package/src/__staticStyles.d.ts +7 -1
- package/src/__staticStyles.js +1 -1
- package/src/__styles.d.ts +7 -1
- package/src/__styles.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griffel/react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "React implementation of Atomic CSS-in-JS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@griffel/core": "^1.20.
|
|
30
|
+
"@griffel/core": "^1.20.3",
|
|
31
31
|
"tslib": "^2.1.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
package/src/__css.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CSSClassesMapBySlot } from '@griffel/core';
|
|
2
|
+
/**
|
|
3
|
+
* A version of makeStyles() that accepts build output as an input and skips all runtime transforms & DOM insertion.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
export declare function __css<Slots extends string>(classesMapBySlot: CSSClassesMapBySlot<Slots>): () => Record<Slots, string>;
|
package/src/__css.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useTextDirection } from './TextDirectionContext.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* A version of makeStyles() that accepts build output as an input and skips all runtime transforms & DOM insertion.
|
|
6
6
|
*
|
|
7
|
-
* @
|
|
7
|
+
* @private
|
|
8
8
|
*/
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10
10
|
export function __css(classesMapBySlot) {
|
package/src/__resetCSS.d.ts
CHANGED
package/src/__resetCSS.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useTextDirection } from './TextDirectionContext.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* A version of makeResetStyles() that accepts build output as an input and skips all runtime transforms & DOM insertion.
|
|
6
6
|
*
|
|
7
|
-
* @
|
|
7
|
+
* @private
|
|
8
8
|
*/
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10
10
|
export function __resetCSS(ltrClassName, rtlClassName) {
|
package/src/__resetStyles.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CSSRulesByBucket } from '@griffel/core';
|
|
2
|
+
/**
|
|
3
|
+
* A version of makeResetStyles() that accepts build output as an input and skips all runtime transforms.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
export declare function __resetStyles(ltrClassName: string, rtlClassName: string | null, cssRules: CSSRulesByBucket | string[]): () => string;
|
package/src/__resetStyles.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useTextDirection } from './TextDirectionContext.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* A version of makeResetStyles() that accepts build output as an input and skips all runtime transforms.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @private
|
|
10
10
|
*/
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
12
12
|
export function __resetStyles(ltrClassName, rtlClassName, cssRules) {
|
package/src/__staticCSS.d.ts
CHANGED
package/src/__staticCSS.js
CHANGED
|
@@ -3,7 +3,7 @@ import { __staticCSS as vanillaStaticCSS } from '@griffel/core';
|
|
|
3
3
|
/**
|
|
4
4
|
* A version of makeStaticStyles() that accepts build output as an input and skips all runtime transforms & DOM insertion.
|
|
5
5
|
*
|
|
6
|
-
* @
|
|
6
|
+
* @private
|
|
7
7
|
*/
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
9
|
export function __staticCSS() {
|
package/src/__staticStyles.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CSSRulesByBucket } from '@griffel/core';
|
|
2
|
+
/**
|
|
3
|
+
* A version of makeStaticStyles() that accepts build output as an input and skips all runtime transforms.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
export declare function __staticStyles(cssRules: CSSRulesByBucket): () => void;
|
package/src/__staticStyles.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRenderer } from './RendererContext.js';
|
|
|
5
5
|
/**
|
|
6
6
|
* A version of makeStaticStyles() that accepts build output as an input and skips all runtime transforms.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @private
|
|
9
9
|
*/
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11
11
|
export function __staticStyles(cssRules) {
|
package/src/__styles.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CSSClassesMapBySlot, CSSRulesByBucket } from '@griffel/core';
|
|
2
|
+
/**
|
|
3
|
+
* A version of makeStyles() that accepts build output as an input and skips all runtime transforms.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
export declare function __styles<Slots extends string>(classesMapBySlot: CSSClassesMapBySlot<Slots>, cssRules: CSSRulesByBucket): () => Record<Slots, string>;
|
package/src/__styles.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useTextDirection } from './TextDirectionContext.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* A version of makeStyles() that accepts build output as an input and skips all runtime transforms.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @private
|
|
10
10
|
*/
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
12
12
|
export function __styles(classesMapBySlot, cssRules) {
|