@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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Import JS
7
7
  ```jsx harmony
8
- import { EbayField, EbayLabel, fieldLayoutType, EbayFieldDescription, fieldDescriptionType, fieldDescriptionPosition } from '@ebay/ui-core-react/ebay-field';
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={fieldLayoutType.BLOCK}>
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={fieldDescriptionType.CONFIRMATION}
28
- position={fieldDescriptionPosition.BELOW_FIELD}>
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 | `fieldLayoutType.BLOCK`, `fieldLayoutType.inline` (default)
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 | `fieldDescriptionType.CONFIRMATION`, `fieldDescriptionType.DEFAULT`(Default), `fieldDescriptionType.ATTENTION`, `fieldDescriptionType.INFORMATION`
53
- `position` | String | No | No | `fieldDescriptionPosition.BELOW_FIELD` (Default), `fieldDescriptionPosition.INLINE`
52
+ `type` | String | No | No | `confirmation`, `default`(Default), `attention`, `information`
53
+ `position` | String | No | No | `bellow` (Default), `inline`, `above`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebay/ui-core-react",
3
- "version": "3.12.9",
3
+ "version": "3.12.10",
4
4
  "description": "Skin components build off React",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",