-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs: more S2 docs fixes #8944
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?
docs: more S2 docs fixes #8944
Conversation
Build successful! 🎉 |
weird, the S2 docs didn't build? |
Build successful! 🎉 |
- Remove `validationState="valid"` (it is no longer supported in Spectrum 2) | ||
- Update `Item` to be a `PickerItem` | ||
- Change `isLoading` to `loadingState` and provide the appropriate loading state. | ||
- Update `defaultSelectedKey` and `selectedKey` to be `defaultValue` and `value` respectively. See the [Picker](Picker.html#value) documentation for more details. |
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.
Want to update the storybook version of this migrating doc too?
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.
Should be handled by #8946
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.
ah it didn't change the placeholder stuff though looks like
@@ -1,30 +0,0 @@ | |||
import {Layout} from '../src/Layout'; |
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.
I think we should replace this page with some info about the status of the website (that it's in beta) and links to the various libraries for now. @dannify anything specific you want it to say?
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.
Agreed, I'll update
selectedKeys={selectedSection ? [selectedSection] : []} | ||
onSelectionChange={handleTagSelection} | ||
styles={style({margin: 12})} | ||
UNSAFE_style={{overflow: 'auto', whiteSpace: 'nowrap', paddingBlock: 8}} |
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.
😢
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: