Skip to content
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

chore: Fix links to Reactist components in storybook stories #794

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Reactist follows [semantic versioning](https://semver.org/) and doesn't introduce breaking changes (API-wise) in minor or patch releases. However, the appearance of a component might change in a minor or patch release so keep an eye on redesigns and make sure your app still looks and feels like you expect it.

# v21.2.1

- [Docs] Fix links to Reactist components in storybook stories.

# v21.2.0

- [Feat] `Textfield`, `PasswordField`, `SelectField`, and `TextArea` will now use two new CSS variables to define their border colors: `--reactist-inputs-focus`, `--reactist-inputs-idle`. If they were previously set using `--reactist-divider-primary` and `--reactist-divider-secondary`, they will continue to work as well.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "http://doist.com"
},
"version": "21.2.0",
"version": "21.2.1",
"license": "MIT",
"homepage": "https://github.com/Doist/reactist#readme",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion stories/components/Dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export const DropdownStory = () => (
<Stack as="section" exceptionallySetClassName="story" space="large">
<Alert tone="critical">
<strong>Deprecated:</strong> While not a 1:1 replacement, consider using{' '}
<a href="/?path=/docs/components-menu">Menu</a> as an alternative
<a href={`${window.location.origin}?path=/docs/components-menu`}>Menu</a> as an
alternative
</Alert>

<Dropdown.Box>
Expand Down
5 changes: 4 additions & 1 deletion stories/components/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export const InputStory = () => (
<div className="story-info">
<Alert tone="critical">
<strong>Deprecated:</strong> Please use{' '}
<a href="/?path=/docs/design-system-textfield">TextField</a> instead
<a href={`${window.location.origin}?path=/docs/design-system-textfield`}>
TextField
</a>{' '}
instead
</Alert>
<p>
This component is a dumb wrapper around the
Expand Down
5 changes: 4 additions & 1 deletion stories/components/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ export function SelectStory() {
<Stack as="section" exceptionallySetClassName="story" space="large">
<Alert tone="critical">
<strong>Deprecated:</strong> Please use{' '}
<a href="/?path=/docs/design-system-selectfield">SelectField</a> instead
<a href={`${window.location.origin}?path=/docs/design-system-selectfield`}>
SelectField
</a>{' '}
instead
</Alert>

<Select value={value} options={options} onChange={setValue} />
Expand Down
Loading