-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Publish react-field package, and export from react-components/u…
…nstable (#24235) * Publish `@fluentui/react-field` package * Add Field components to `@fluentui/react-components/unstable`
- Loading branch information
Showing
18 changed files
with
286 additions
and
10 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-components-de1ae615-fbbf-4fd4-8957-40d69ff9414f.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "feat: Add *Field components to @fluentui/react-components/unstable", | ||
"packageName": "@fluentui/react-components", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-field-e888af0f-e684-4f66-8f86-8c950a9bb41e.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Initial release", | ||
"packageName": "@fluentui/react-field", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ct-components/react-field/src/stories/CheckboxField/CheckboxFieldDescription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
CheckboxField adds a validation message and hint text to the Checkbox control. | ||
|
||
Unlike other Field controls, the `label` appears to the right of the checkbox, as it does for the `Checkbox` control. If a standard field label is required, use the `fieldLabel` prop. | ||
|
||
<!-- Don't allow prettier to collapse code block into single line --> | ||
<!-- prettier-ignore --> | ||
> **⚠️ Preview components are considered unstable:** | ||
> | ||
> ```jsx | ||
> | ||
> import { CheckboxField } from '@fluentui/react-components/unstable'; | ||
> | ||
> ``` | ||
> | ||
> - Features and APIs may change before final release | ||
> - Please contact us if you intend to use this in your product |
13 changes: 13 additions & 0 deletions
13
...ct-components/react-field/src/stories/ComboboxField/ComboboxFieldDescription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
ComboboxField adds a Label, validation message, and hint text to the Combobox control. | ||
|
||
<!-- Don't allow prettier to collapse code block into single line --> | ||
<!-- prettier-ignore --> | ||
> **⚠️ Preview components are considered unstable:** | ||
> | ||
> ```jsx | ||
> | ||
> import { ComboboxField } from '@fluentui/react-components/unstable'; | ||
> | ||
> ``` | ||
> | ||
> - Features and APIs may change before final release | ||
> - Please contact us if you intend to use this in your product |
5 changes: 0 additions & 5 deletions
5
packages/react-components/react-field/src/stories/Field/FieldBestPractices.md
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/react-components/react-field/src/stories/Field/FieldDescription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
Fields are a combination of the underlying control with a Label, validation message, and hint text. | ||
|
||
> **⚠️ Preview components are considered unstable:** | ||
> | ||
> - Features and APIs may change before final release | ||
> - Please contact us if you intend to use this in your product |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...es/react-components/react-field/src/stories/InputField/InputFieldDescription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
InputField adds a Label, validation message, and hint text to the Input control. | ||
|
||
<!-- Don't allow prettier to collapse code block into single line --> | ||
<!-- prettier-ignore --> | ||
> **⚠️ Preview components are considered unstable:** | ||
> | ||
> ```jsx | ||
> | ||
> import { InputField } from '@fluentui/react-components/unstable'; | ||
> | ||
> ``` | ||
> | ||
> - Features and APIs may change before final release | ||
> - Please contact us if you intend to use this in your product |
Oops, something went wrong.