-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(readme) add missing readme (#11)
* doc(readme) add readme and npm command line
- Loading branch information
1 parent
4ca6390
commit 46d1a89
Showing
90 changed files
with
447 additions
and
983 deletions.
There are no files selected for viewing
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,8 @@ | ||
## Form Input Card | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-card | ||
``` | ||
|
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,8 @@ | ||
## Form Input Checkbox | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-checkbox | ||
``` | ||
|
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,8 @@ | ||
## Form Input Choice | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-choice | ||
``` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Form Input Date | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-file | ||
``` | ||
|
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,8 @@ | ||
## Form Input Number | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-number | ||
``` | ||
|
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,8 @@ | ||
## Form Input Pass | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-pass | ||
``` | ||
|
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,8 @@ | ||
## Form Input Radio | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-radio | ||
``` | ||
|
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,8 @@ | ||
## Form Input SelectMulti | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-select-multi | ||
``` | ||
|
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,8 @@ | ||
## Form Input Select | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-select | ||
``` | ||
|
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,8 @@ | ||
## Form Input Slider | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-slider | ||
``` | ||
|
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,84 +1,7 @@ | ||
## SwitchInput | ||
* * * | ||
## Form Input Switch | ||
|
||
### Get started | ||
First to use, you have to import the component. | ||
|
||
|
||
|
||
This story show you the Action Button case. | ||
This isn't a link but a button where you can catch the event to do what you want. | ||
|
||
For more information about style component, you can see the [Action Button Style on Toolkit-core ](http://toolkit-intranet-axa.azurewebsites.net/#/button) | ||
|
||
|
||
### Accessibility | ||
|
||
By default, it is better to use the button tag because it contains all accessibility properties. | ||
|
||
You may need to use other HTML tags or need to handle actions on events. | ||
|
||
In this case, you will need to add several properties to your tag: | ||
|
||
<table aria-labelledby="rps_label" class="af-table data attributes"> | ||
<thead class="af-table__head"> | ||
<tr class="af-table__tr"> | ||
<th class="af-table__th" scope="col">Role</th> | ||
<th class="af-table__th" scope="col">Attribute</th> | ||
<th class="af-table__th" scope="col">Element</th> | ||
<th class="af-table__th" scope="col">Usage</th> | ||
</tr> | ||
</thead> | ||
<tbody class="af-table__body"> | ||
<tr class="af-table__tr"> | ||
<td class="af-table__cell"><code>button</code></td> | ||
<td class="af-table__cell"></td> | ||
<td class="af-table__cell"> | ||
<code>div</code>, <code>a</code> | ||
</td> | ||
<td class="af-table__cell"> | ||
<ul> | ||
<li>Identifies the element as a <code>button</code> widget.</li> | ||
<li> Accessible name for the button is defined by the text content of the element.</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
<tr class="af-table__tr"> | ||
<td class="af-table__cell"></td> | ||
<td class="af-table__cell"> | ||
<code>tabindex="0"</code> | ||
</td> | ||
<td class="af-table__cell"> | ||
<code>div</code>, <code>a</code> | ||
</td> | ||
<td class="af-table__cell"> | ||
<ul> | ||
<li>Includes the element in the tab sequence.</li> | ||
<li>Needed on the <code>a</code> element because it does not have a <code>href</code> attribute.</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
<tr class="af-table__tr"> | ||
<td class="af-table__cell"></td> | ||
<td class="af-table__cell"><code>aria-pressed="false"</code></td> | ||
<td class="af-table__cell"><code>a</code></td> | ||
<td class="af-table__cell"> | ||
<ul> | ||
<li>Identifies the button as a toggle button.</li> | ||
<li>Indicates the toggle button is not pressed.</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
<tr class="af-table__tr"> | ||
<td class="af-table__cell"></td> | ||
<td class="af-table__cell"><code>aria-pressed="true"</code></td> | ||
<td class="af-table__cell"><code>a</code></td> | ||
<td class="af-table__cell"> | ||
<ul> | ||
<li>Identifies the button as a toggle button.</li> | ||
<li>Indicates the toggle button is pressed.</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-switch | ||
``` |
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,8 @@ | ||
## Form Input Text | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-text | ||
``` | ||
|
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,8 @@ | ||
## Form Input TextArea | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-input-textarea | ||
``` | ||
|
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,8 @@ | ||
## Form Filter | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-core | ||
``` | ||
|
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,8 @@ | ||
## Filter Inline | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-filter-inline | ||
``` | ||
|
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,8 @@ | ||
## Form Filter | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-filter | ||
``` | ||
|
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,8 @@ | ||
## Form Steps | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-steps | ||
``` | ||
|
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,8 @@ | ||
## Form Summary | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-form-summary | ||
``` | ||
|
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 @@ | ||
## FooterClient | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i "@axa-fr/react-toolkit-layout-footer-client" | ||
``` |
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,8 @@ | ||
## Modal Boolean | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i @axa-fr/react-toolkit-modal-boolean | ||
``` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## All | ||
|
||
### Get started | ||
|
||
```sh | ||
npm i "@axa-fr/react-toolkit-all" | ||
``` | ||
|
||
Reference every "react-toolkit" modules | ||
|
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
Oops, something went wrong.