Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions loom.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {stylelint} from '@shopify/loom-plugin-stylelint';
import {prettier} from '@shopify/loom-plugin-prettier';
import replace from '@rollup/plugin-replace';
import image from '@rollup/plugin-image';
import json from '@rollup/plugin-json';

import packageJSON from './package.json';
import {styles} from './config/rollup/plugin-styles';
Expand Down Expand Up @@ -140,6 +141,9 @@ function rollupAdjustPluginsPlugin() {
delimiters: ['', ''],
}),
image(),
json({
compact: true,
}),
styles(stylesConfig),
];
});
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"version": "yarn run readme-update-version",
"storybook": "start-storybook -p 6006 --quiet",
"storybook:build": "build-storybook -o build-internal/storybook/static",
"validate-tokens": "ajv validate -s tokens/schemas/token-group.json -d 'tokens/*.json'"
"validate-tokens": "ajv validate -s src/tokens/schemas/token-group.json -d 'src/tokens/token-groups/*.json'"
},
"dependencies": {
"@shopify/polaris-icons": "^4.10.0",
Expand All @@ -86,6 +86,7 @@
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/pluginutils": "^3.1.0",
"@shopify/babel-preset": "^24.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/IndexTable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function SimpleSmallScreenIndexTableExample() {
selected={selectedResources.includes(id)}
position={index}
>
<div style={{padding: '1.2rem 1.6rem'}}>
<div style={{padding: '12px 16px'}}>
<p>
<TextStyle variation="strong">{name}</TextStyle>
</p>
Expand Down
271 changes: 0 additions & 271 deletions src/tokens/_color.ts

This file was deleted.

22 changes: 0 additions & 22 deletions src/tokens/_depth.ts

This file was deleted.

32 changes: 0 additions & 32 deletions src/tokens/_legacy-tokens.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/tokens/_motion.ts

This file was deleted.

Loading