-
Notifications
You must be signed in to change notification settings - Fork 0
(components) Release: 4.0.0 #467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e8a8bcb
09f8c4d
0acb710
a7ffc70
e46fc45
a2837a1
3892cdb
243e15a
71526f9
17a1bb5
69af776
7db5cb3
e6b629f
16c277e
21c8650
95668af
30c6a98
cdf2599
c664a3c
fc0924c
ae79cc5
5bac9a2
0e938bb
f4034a1
c1231e0
605cd45
0b3583b
d8956fb
84f4af6
d1b73f0
3221337
cf343c8
3eb267e
053f02d
a411cae
41bf5d0
9421a98
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| "@wethegit/components": major | ||
| "@wethegit/components-cli": patch | ||
| --- | ||
|
|
||
| - COMP: Removes barrel files (`index.ts`) from each component. Barrel files are known to cause circular reference issues, and so we've opted to remove them in favor of explicit imports. | ||
| - COMP: Removes the CSS modules file from `useBreakpoints`, due to Next JS and Turbopack no longer supporting the `:export` feature. Instead, this value is hard-coded in the `use-breakpoints.ts` file now. | ||
| - COMP: Overhauls the flex `grid-layout` system: | ||
| - Removes `Wrapper` component in favor of the new `variant` prop on the `Row` component. | ||
| - Removes inline padding from `Column` components, in favor of flexbox's `gap` property. Way less of a learning curve here now for newcomers. | ||
| - Adds a `flexDirection` prop to the `Flex` (and therefore the `Row`) component, to allow users to specify per-breakpoint flex directions. | ||
| - This removes the need for the `reverse` prop, so that's now gone. | ||
| - Refactors and renames the `grid-calc(n)` SCSS utility to be `get-column-width(n)`. This is more indicative of what it's used for. | ||
| - COMP: Updates the `grid-layout` system to use the latest standards created by We the Collective's Design Team. This introduces a `--grid-margin-width` CSS custom property, and updates the `Row` component's width and margin calculations to take the new value into account. | ||
| - COMP: Adds `margin: 0` to the `body` element in the CSS resets stylesheet. | ||
| - COMP: Fixes Github-flavored Markdown not working in Storybook | ||
| - COMP: Fixes static asset path on deployed Storybook (image group examples have broken images) | ||
| - CLI: Fixes SCSS import instructions syntax on the CLI after adding components | ||
| - CLI: Supports `deno` package manager. |
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Github-flavored Markdown specifically needed to be an option under |
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No more padding for gutters, so no need for this! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| module.exports = { | ||
| extends: ["stylelint-config-custom/base"], | ||
| rules: { | ||
| "scss/operator-no-newline-after": null, | ||
| }, | ||
| } |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were technically wrong syntax for the scss imports, so I've updated 'em. Also added
@useinstead of@importsince SASS is deprecating that.