-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: icss hashing * bump version * remove console log * remove other console logs
- Loading branch information
Showing
29 changed files
with
205 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
integration-test/packages/atoms/duplicate-classes-a/.npmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/*.tsx | ||
**/*.ts | ||
!**/*.d.ts |
15 changes: 15 additions & 0 deletions
15
integration-test/packages/atoms/duplicate-classes-a/index.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
:import("@my-org/simple-class/module.css") { | ||
single-declaration: singleDeclaration; | ||
} | ||
|
||
.simpleDeclaration { | ||
composes: single-declaration; | ||
} | ||
|
||
.withSharedVar { | ||
color: blue; | ||
|
||
.nested { | ||
color: green; | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
integration-test/packages/atoms/duplicate-classes-a/index.d.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare const simpleDeclaration: string; | ||
declare const withSharedVar: string; | ||
declare const nested: string | ||
export { simpleDeclaration, withSharedVar, nested } |
3 changes: 3 additions & 0 deletions
3
integration-test/packages/atoms/duplicate-classes-a/index.esm.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export var simpleDeclaration = "_9M8f-j"; | ||
export var withSharedVar = "sMmOaU"; | ||
export var nested = "R2GDg-" |
5 changes: 5 additions & 0 deletions
5
integration-test/packages/atoms/duplicate-classes-a/index.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
simpleDeclaration: "_9M8f-j", | ||
withSharedVar: "sMmOaU", | ||
nested: "R2GDg-" | ||
}; |
1 change: 1 addition & 0 deletions
1
integration-test/packages/atoms/duplicate-classes-a/module.css.json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"simpleDeclaration":"_9M8f-j","withSharedVar":"sMmOaU","nested":"R2GDg-"} |
15 changes: 15 additions & 0 deletions
15
integration-test/packages/atoms/duplicate-classes-a/module.css.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
:import("@my-org/simple-class/module.css") { | ||
single-declaration: singleDeclaration; | ||
} | ||
|
||
.simpleDeclaration { | ||
composes: single-declaration; | ||
} | ||
|
||
.withSharedVar { | ||
color: blue | ||
} | ||
|
||
.withSharedVar .nested { | ||
color: green; | ||
} |
10 changes: 10 additions & 0 deletions
10
integration-test/packages/atoms/duplicate-classes-a/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@my-org/duplicate-classes-a", | ||
"version": "0.0.1", | ||
"main": "index.js", | ||
"module": "index.esm.js", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@my-org/simple-class": "0.0.1" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
integration-test/packages/atoms/duplicate-classes-a/result.css.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
._9M8f-j { | ||
color: red; | ||
} | ||
|
||
.sMmOaU { | ||
color: blue | ||
} | ||
|
||
.sMmOaU .R2GDg- { | ||
color: green; | ||
} |
3 changes: 3 additions & 0 deletions
3
integration-test/packages/atoms/duplicate-classes-b/.npmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/*.tsx | ||
**/*.ts | ||
!**/*.d.ts |
15 changes: 15 additions & 0 deletions
15
integration-test/packages/atoms/duplicate-classes-b/index.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
:import("@my-org/simple-class/module.css") { | ||
single-declaration: singleDeclaration; | ||
} | ||
|
||
.simpleDeclaration { | ||
composes: single-declaration; | ||
} | ||
|
||
.withSharedVar { | ||
color: blue; | ||
|
||
.nested { | ||
color: green; | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
integration-test/packages/atoms/duplicate-classes-b/index.d.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare const simpleDeclaration: string; | ||
declare const withSharedVar: string; | ||
declare const nested: string | ||
export { simpleDeclaration, withSharedVar, nested } |
3 changes: 3 additions & 0 deletions
3
integration-test/packages/atoms/duplicate-classes-b/index.esm.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export var simpleDeclaration = "_9M8f-j"; | ||
export var withSharedVar = "sMmOaU"; | ||
export var nested = "R2GDg-" |
5 changes: 5 additions & 0 deletions
5
integration-test/packages/atoms/duplicate-classes-b/index.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
simpleDeclaration: "_9M8f-j", | ||
withSharedVar: "sMmOaU", | ||
nested: "R2GDg-" | ||
}; |
1 change: 1 addition & 0 deletions
1
integration-test/packages/atoms/duplicate-classes-b/module.css.json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"simpleDeclaration":"_9M8f-j","withSharedVar":"sMmOaU","nested":"R2GDg-"} |
15 changes: 15 additions & 0 deletions
15
integration-test/packages/atoms/duplicate-classes-b/module.css.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
:import("@my-org/simple-class/module.css") { | ||
single-declaration: singleDeclaration; | ||
} | ||
|
||
.simpleDeclaration { | ||
composes: single-declaration; | ||
} | ||
|
||
.withSharedVar { | ||
color: blue | ||
} | ||
|
||
.withSharedVar .nested { | ||
color: green; | ||
} |
10 changes: 10 additions & 0 deletions
10
integration-test/packages/atoms/duplicate-classes-b/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@my-org/duplicate-classes-b", | ||
"version": "0.0.1", | ||
"main": "index.js", | ||
"module": "index.esm.js", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@my-org/simple-class": "0.0.1" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
integration-test/packages/atoms/duplicate-classes-b/result.css.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
._9M8f-j { | ||
color: red; | ||
} | ||
|
||
.sMmOaU { | ||
color: blue | ||
} | ||
|
||
.sMmOaU .R2GDg- { | ||
color: green; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
integration-test/packages/atoms/icss-import/index.esm.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export var localClass = "n4oS1I"; | ||
export var localComposes = "i6EUck n4oS1I dgII7d"; | ||
export var simpleComposes = ""; | ||
export var complexComposes = "i6EUck n4oS1I dgII7d _1RrCqF pQ96hs"; | ||
export var extend = "_8F86eH" | ||
export var localClass = "hZEeRw"; | ||
export var localComposes = "Gpf-P8 hZEeRw dgII7d"; | ||
export var simpleComposes = "_9M8f-j"; | ||
export var complexComposes = "_9M8f-j o3-BnE Gpf-P8 hZEeRw dgII7d _1RrCqF pQ96hs"; | ||
export var extend = "_3XV0Ef o3-BnE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module.exports = { | ||
localClass: "n4oS1I", | ||
localComposes: "i6EUck n4oS1I dgII7d", | ||
simpleComposes: "", | ||
complexComposes: "i6EUck n4oS1I dgII7d _1RrCqF pQ96hs", | ||
extend: "_8F86eH" | ||
localClass: "hZEeRw", | ||
localComposes: "Gpf-P8 hZEeRw dgII7d", | ||
simpleComposes: "_9M8f-j", | ||
complexComposes: "_9M8f-j o3-BnE Gpf-P8 hZEeRw dgII7d _1RrCqF pQ96hs", | ||
extend: "_3XV0Ef o3-BnE" | ||
}; |
2 changes: 1 addition & 1 deletion
2
integration-test/packages/atoms/icss-import/module.css.json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"localClass":"n4oS1I","localComposes":"i6EUck n4oS1I dgII7d","simpleComposes":"","complexComposes":"i6EUck n4oS1I dgII7d _1RrCqF pQ96hs","extend":"_8F86eH"} | ||
{"localClass":"hZEeRw","localComposes":"Gpf-P8 hZEeRw dgII7d","simpleComposes":"_9M8f-j","complexComposes":"_9M8f-j o3-BnE Gpf-P8 hZEeRw dgII7d _1RrCqF pQ96hs","extend":"_3XV0Ef o3-BnE"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@utilitycss/atomic", | ||
"version": "0.16.2", | ||
"version": "0.17.0", | ||
"author": "Andrea Moretti (@axyz) <[email protected]>", | ||
"description": "Atomic CSS composition for yarn workspaces", | ||
"repository": "utilitycss/atomic", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters