@ebay/ui-core-react 3.12.9 → 3.12.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ebay-field/README.md +7 -7
- package/package.json +1 -1
package/ebay-field/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## Import JS
|
|
7
7
|
```jsx harmony
|
|
8
|
-
import { EbayField, EbayLabel,
|
|
8
|
+
import { EbayField, EbayLabel, EbayFieldDescription } from '@ebay/ui-core-react/ebay-field';
|
|
9
9
|
```
|
|
10
10
|
## Import following styles from SKIN
|
|
11
11
|
```jsx harmony
|
|
@@ -20,12 +20,12 @@ import '@ebay/skin/field.css'
|
|
|
20
20
|
yarn add @ebay/ui-core-react
|
|
21
21
|
```
|
|
22
22
|
```jsx harmony
|
|
23
|
-
<EbayField layout=
|
|
23
|
+
<EbayField layout="block">
|
|
24
24
|
<EbayLabel stacked htmlFor="field1">Label 1</EbayLabel>
|
|
25
25
|
<EbayTextbox placeholder="placeholder text" id="field1" />
|
|
26
26
|
<EbayFieldDescription
|
|
27
|
-
type=
|
|
28
|
-
position=
|
|
27
|
+
type="confirmation"
|
|
28
|
+
position="bellow">
|
|
29
29
|
Some description Text
|
|
30
30
|
</EbayFieldDescription>
|
|
31
31
|
</EbayField>
|
|
@@ -35,7 +35,7 @@ yarn add @ebay/ui-core-react
|
|
|
35
35
|
|
|
36
36
|
Name | Type | Stateful | Required | Description
|
|
37
37
|
--- | --- | --- | --- | ---
|
|
38
|
-
`layout` | String | No | No | `
|
|
38
|
+
`layout` | String | No | No | `block`, `inline` (default)
|
|
39
39
|
|
|
40
40
|
## EbayLabel Attributes
|
|
41
41
|
|
|
@@ -49,5 +49,5 @@ Name | Type | Stateful | Required | Description
|
|
|
49
49
|
|
|
50
50
|
Name | Type | Stateful | Required | Description
|
|
51
51
|
--- | --- | --- | --- | ---
|
|
52
|
-
`type` | String | No | No | `
|
|
53
|
-
`position` | String | No | No | `
|
|
52
|
+
`type` | String | No | No | `confirmation`, `default`(Default), `attention`, `information`
|
|
53
|
+
`position` | String | No | No | `bellow` (Default), `inline`, `above`
|