-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
v9 Website: Organize left navigation, add theme entries #23742
Changes from all commits
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,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Organize left navigation, add theme entries", | ||
"packageName": "@fluentui/react-button", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,7 @@ | ||||||
{ | ||||||
"type": "none", | ||||||
"comment": "Organize left navigation, add theme entries", | ||||||
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.
Suggested change
|
||||||
"packageName": "@fluentui/react-menu", | ||||||
"email": "[email protected]", | ||||||
"dependentChangeType": "none" | ||||||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,7 @@ | ||||||
{ | ||||||
"type": "none", | ||||||
"comment": "Organize left navigation, add theme entries", | ||||||
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.
Suggested change
|
||||||
"packageName": "@fluentui/react-theme", | ||||||
"email": "[email protected]", | ||||||
"dependentChangeType": "none" | ||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ export { Color } from './BadgeColor.stories'; | |
export { Icon } from './BadgeIcon.stories'; | ||
|
||
export default { | ||
title: 'Components/Badge', | ||
title: 'Components/Badge/Badge', | ||
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. is it possible to have these component folders expanded by default? |
||
component: Badge, | ||
parameters: { | ||
docs: { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
A button triggers an action or event when activated. | ||
|
||
See also: | ||
|
||
[MenuButton](/?path=/docs/components-menubutton--menu-button-default), | ||
[ToggleButton](/?path=/docs/components-togglebutton--toggle-button-default), | ||
[CompoundButton](/?path=/docs/components-compoundbutton--compound-button-default) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
A menu list displays a list of actions. It is usually rendered inside of the Menu component. | ||
|
||
See also: | ||
[Menu](/?path=/docs/components-menu--default) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Meta, Canvas } from '@storybook/addon-docs'; | ||
import { Colors } from './ThemeColors.stories.tsx'; | ||
import { Shadows } from './ThemeShadows.stories'; | ||
|
||
<Meta title="Theme/Color" /> | ||
|
||
<h1 class="sbdocs-title"> Colors </h1> | ||
|
||
<Canvas> | ||
<Colors /> | ||
</Canvas> | ||
|
||
## Shadows | ||
|
||
<Canvas> | ||
<Shadows /> | ||
</Canvas> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Meta, Canvas } from '@storybook/addon-docs'; | ||
import { MotionCurves, MotionDuration } from './ThemeMotion.stories'; | ||
import { Spacing } from './ThemeSpacing.stories'; | ||
import { StrokeWidths } from './ThemeStrokeWidths.stories'; | ||
import { BorderRadii } from './ThemeBorderRadii.stories'; | ||
|
||
<Meta title="Theme/Motion and Size" /> | ||
|
||
<h1 class="sbdocs-title"> Motion and size </h1> | ||
|
||
### Motion curves | ||
|
||
<Canvas> | ||
<MotionCurves /> | ||
</Canvas> | ||
|
||
### Motion duration | ||
|
||
<Canvas> | ||
<MotionDuration /> | ||
</Canvas> | ||
|
||
### Spacing | ||
|
||
<Canvas> | ||
<Spacing /> | ||
</Canvas> | ||
|
||
### Stroke widths | ||
|
||
<Canvas> | ||
<StrokeWidths /> | ||
</Canvas> | ||
|
||
### Border radii | ||
|
||
<Canvas> | ||
<BorderRadii /> | ||
</Canvas> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Meta, Canvas } from '@storybook/addon-docs'; | ||
import { FontFamily, FontSize, FontWeight, LineHeight, TypographyStyles } from './ThemeTypography.stories'; | ||
|
||
<Meta title="Theme/Typography" /> | ||
|
||
<h1 class="sbdocs-title"> Typography </h1> | ||
|
||
### Font family | ||
|
||
<Canvas> | ||
<FontFamily /> | ||
</Canvas> | ||
|
||
### Font size | ||
|
||
<Canvas> | ||
<FontSize /> | ||
</Canvas> | ||
|
||
### Font weight | ||
|
||
<Canvas> | ||
<FontWeight /> | ||
</Canvas> | ||
|
||
### Line height | ||
|
||
<Canvas> | ||
<LineHeight /> | ||
</Canvas> | ||
|
||
### Typography styles | ||
|
||
<Canvas> | ||
<TypographyStyles /> | ||
</Canvas> |
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.