Skip to content

Commit c4f5a96

Browse files
committed
feat!: rename and repath constants
BREAKING CHANGE: - `styled-components` has been upgraded to v6 (still in beta for now) - `theme` constant has been renamed to `THEME` - `SUI.ACCENT` constant has been renamed to `Accent` (without `SUI`) - `SUI.SIZE` constant has been renamed to `Size` (without `SUI`) - `SUI.SORT_ORDER` constant has been renamed to `SortOrder` (without `SUI`) - `SUI` constant has been removed - All props using Accent, Size or SortOrder must now use the Accent, Size and SortOrder enums instead of strings
1 parent b98f386 commit c4f5a96

File tree

133 files changed

+4880
-1218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+4880
-1218
lines changed

.eslintrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@
99
"extraFileExtensions": [".mjs"],
1010
"project": "./tsconfig.json"
1111
},
12-
"ignorePatterns": [
13-
"/dist/",
14-
"/examples/",
15-
"/scripts/",
16-
"/storybook-static/",
17-
"postcss.config.js",
18-
"rollup.config.icons.js",
19-
"rollup.config.js"
20-
],
12+
"ignorePatterns": ["/dist/", "/examples/", "/scripts/", "/storybook-static/", "rollup.config.js"],
2113
"rules": {
2214
"no-console": ["error", { "allow": ["warn", "error"] }],
2315
"no-underscore-dangle": "off",

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ jobs:
6767
- name: Install
6868
run: yarn
6969
- name: Build
70-
run: yarn build
70+
run: make test-build

.pnp.cjs

Lines changed: 164 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.storybook/preview.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { ThemeProvider } from 'styled-components'
2-
3-
import { theme } from '../common/theme'
4-
import { GlobalStyle } from '../GlobalStyle'
1+
import { GlobalStyle } from '../src/GlobalStyle'
2+
import { ThemeProvider } from '../src/ThemeProvider'
53

64
import '@fontsource/poppins/300.css'
75
import '@fontsource/poppins/400.css'
@@ -10,7 +8,7 @@ import '@fontsource/poppins/700.css'
108

119
export const decorators = [
1210
Story => (
13-
<ThemeProvider theme={theme}>
11+
<ThemeProvider>
1412
<GlobalStyle />
1513

1614
<Story />
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)