-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16250ce
commit 1eab167
Showing
99 changed files
with
1,386 additions
and
1,941 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
10 changes: 4 additions & 6 deletions
10
packages/babel-preset/__fixtures__/assets-multiple-declarations/output.ts
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,15 +1,13 @@ | ||
import { __styles as _styles } from '@griffel/react'; | ||
import _asset2 from './empty.jpg'; | ||
import _asset from './blank.jpg'; | ||
import { __styles } from '@griffel/react'; | ||
import blank from './blank.jpg'; | ||
import empty from './empty.jpg'; | ||
export const useStyles = __styles( | ||
export const useStyles = /*#__PURE__*/ _styles( | ||
{ | ||
root: { | ||
Bcmaq0h: 'fp00rh9', | ||
Bcmaq0h: 'f1surbjy', | ||
}, | ||
}, | ||
{ | ||
d: [`.fp00rh9{background-image:url(${_asset}),url(${_asset2});}`], | ||
d: [`.f1surbjy{background-image:url(${_asset}),url(${_asset2});}`], | ||
}, | ||
); |
16 changes: 7 additions & 9 deletions
16
packages/babel-preset/__fixtures__/assets-reset-styles/output.ts
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,11 +1,9 @@ | ||
import _asset2 from './empty.jpg'; | ||
import { __resetStyles as _resetStyles } from '@griffel/react'; | ||
import _asset3 from './empty.jpg'; | ||
import _asset2 from './blank.jpg'; | ||
import _asset from './blank.jpg'; | ||
import { __resetStyles } from '@griffel/react'; | ||
import blank from './blank.jpg'; | ||
import blankDuplicate from './blank.jpg'; | ||
import empty from './empty.jpg'; | ||
export const useStyles = __resetStyles('ra9m047', null, [ | ||
`.ra9m047{background-image:url(${_asset});}`, | ||
`.ra9m047:hover{background-image:url(${_asset});}`, | ||
`.ra9m047:focus{background-image:url(${_asset2});}`, | ||
export const useStyles = /*#__PURE__*/ _resetStyles('rzkd6zb', null, [ | ||
`.rzkd6zb{background-image:url(${_asset});}`, | ||
`.rzkd6zb:hover{background-image:url(${_asset2});}`, | ||
`.rzkd6zb:focus{background-image:url(${_asset3});}`, | ||
]); |
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,30 +1,26 @@ | ||
import _asset3 from './a.svg'; | ||
import { __styles as _styles } from '@griffel/react'; | ||
import _asset2 from './empty.jpg'; | ||
import _asset from './blank.jpg'; | ||
import { __styles } from '@griffel/react'; | ||
import blank from './blank.jpg'; | ||
import blankDuplicate from './blank.jpg'; | ||
import empty from './empty.jpg'; | ||
export const useStyles = __styles( | ||
export const useStyles = /*#__PURE__*/ _styles( | ||
{ | ||
rootA: { | ||
Bcmaq0h: 'fnwsaxv', | ||
Bcmaq0h: 'f1lg9ji5', | ||
}, | ||
rootB: { | ||
Bcmaq0h: 'fnwsaxv', | ||
Bcmaq0h: 'f1lg9ji5', | ||
}, | ||
rootC: { | ||
Bcmaq0h: 'f1ryfumh', | ||
Bcmaq0h: 'feire57', | ||
}, | ||
assetWithHash: { | ||
Bhu2qc9: 'fv04sme', | ||
Bhu2qc9: 'f12vvth1', | ||
}, | ||
}, | ||
{ | ||
d: [ | ||
`.fnwsaxv{background-image:url(${_asset});}`, | ||
`.f1ryfumh{background-image:url(${_asset2});}`, | ||
`.fv04sme{-webkit-filter:url(${_asset3}#a);filter:url(${_asset3}#a);}`, | ||
`.f1lg9ji5{background-image:url(${_asset});}`, | ||
`.feire57{background-image:url(${_asset2});}`, | ||
`.f12vvth1{-webkit-filter:url(./a.svg#a);filter:url(./a.svg#a);}`, | ||
], | ||
}, | ||
); |
12 changes: 2 additions & 10 deletions
12
packages/babel-preset/__fixtures__/config-babel-options/output.ts
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
5 changes: 2 additions & 3 deletions
5
packages/babel-preset/__fixtures__/config-evaluation-rules/output.ts
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
15 changes: 11 additions & 4 deletions
15
packages/babel-preset/__fixtures__/config-evaluation-rules/sampleEvaluator.js
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
12 changes: 0 additions & 12 deletions
12
packages/babel-preset/__fixtures__/duplicated-imports/code.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
packages/babel-preset/__fixtures__/duplicated-imports/output.ts
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/babel-preset/__fixtures__/error-argument-count/fixture.js
This file was deleted.
Oops, something went wrong.
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
6 changes: 0 additions & 6 deletions
6
packages/babel-preset/__fixtures__/import-custom-module/code.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/babel-preset/__fixtures__/import-custom-module/output.ts
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/babel-preset/__fixtures__/import-custom-name/code.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/babel-preset/__fixtures__/import-custom-name/output.ts
This file was deleted.
Oops, something went wrong.
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
10 changes: 0 additions & 10 deletions
10
packages/babel-preset/__fixtures__/non-existing-module-call/code.ts
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
packages/babel-preset/__fixtures__/non-existing-module-call/module.ts
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
packages/babel-preset/__fixtures__/non-existing-module-call/output.ts
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
packages/babel-preset/__fixtures__/object-computed-keys/output.ts
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
5 changes: 2 additions & 3 deletions
5
packages/babel-preset/__fixtures__/object-imported-keys/output.ts
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
3 changes: 2 additions & 1 deletion
3
packages/babel-preset/__fixtures__/object-sequence-expr/code.ts
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
7 changes: 3 additions & 4 deletions
7
packages/babel-preset/__fixtures__/object-sequence-expr/output.ts
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
6 changes: 2 additions & 4 deletions
6
packages/babel-preset/__fixtures__/object-variables/output.ts
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
10 changes: 0 additions & 10 deletions
10
packages/babel-preset/__fixtures__/require-custom-module/code.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.