@papillonarts/components 0.18.0 → 0.19.0

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.
@@ -41,8 +41,8 @@ function Button(_ref) {
41
41
  _ref$autoFocus = _ref.autoFocus,
42
42
  autoFocus = _ref$autoFocus === void 0 ? _Button.defaultProps.autoFocus : _ref$autoFocus;
43
43
  var stateProps = state === _Button.buttonState.inactive ? _objectSpread({}, {
44
- disabled: 'true',
45
- 'aria-disabled': 'true'
44
+ disabled: true,
45
+ 'aria-disabled': true
46
46
  }) : null;
47
47
  var fileInputRef = (0, _hooks.useRef)(null);
48
48
  if (element === _Button.buttonElement.button) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonarts/components",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Papillon Arts Components",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/components",
6
6
  "repository": {
@@ -26,8 +26,8 @@
26
26
  "build-release": "npm run build"
27
27
  },
28
28
  "dependencies": {
29
- "@papillonarts/css": "^0.18.0",
30
- "@papillonarts/library": "^0.18.0"
29
+ "@papillonarts/css": "^0.19.0",
30
+ "@papillonarts/library": "^0.19.0"
31
31
  },
32
- "gitHead": "544268349dfa3909e32fd124346312cc53a64294"
32
+ "gitHead": "1e0d601dc56a0abcde7730828eb1d83faca7222a"
33
33
  }
@@ -1,38 +0,0 @@
1
- # Toast
2
-
3
- > Toasts are used to show live, time-sensitive feedback to users.
4
-
5
- ## Variants
6
-
7
- > - Info, Success, Warning, Error
8
- > - Dismissable
9
-
10
- ## Info
11
-
12
- ```jsx
13
- <Toast variant={toastVariant.info} text={text.info} />
14
- ```
15
-
16
- ## Success
17
-
18
- ```jsx
19
- <Toast variant={toastVariant.success} text={text.success} />
20
- ```
21
-
22
- ## Warning
23
-
24
- ```jsx
25
- <Toast variant={toastVariant.warning} text={text.warning} />
26
- ```
27
-
28
- ## Error
29
-
30
- ```jsx
31
- <Toast variant={toastVariant.error} text={text.error} />
32
- ```
33
-
34
- ## IsDismissable
35
-
36
- ```jsx
37
- <Toast variant={toastVariant.info} text={text.dismissable} isDismissable={true} onClick={action('onClick')} />
38
- ```