@pingux/astro 1.16.0-alpha.2 → 1.16.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.
@@ -133,7 +133,9 @@ var ChipWithIcon = function ChipWithIcon() {
133
133
  icon: _ContentCopyIcon["default"],
134
134
  ml: "xs",
135
135
  size: "14px",
136
- color: "white"
136
+ color: "white",
137
+ "aria-hidden": "true",
138
+ focusable: "false"
137
139
  })));
138
140
  };
139
141
 
@@ -467,7 +467,12 @@ MultivaluesField.propTypes = {
467
467
  /** Whether user input is required on the input before form submission. */
468
468
  isRequired: _propTypes["default"].bool,
469
469
 
470
- /** The list of items. */
470
+ /** The list of items.
471
+ *
472
+ * **Note:** Every item needs to have key and name properties.
473
+ *
474
+ * `Array<{key: string, name: string}>`
475
+ */
471
476
  items: _isIterable.isIterableProp,
472
477
 
473
478
  /** The rendered label for the field. */
@@ -72,6 +72,18 @@ var _default = {
72
72
  source: {
73
73
  type: 'code'
74
74
  }
75
+ },
76
+ a11y: {
77
+ config: {
78
+ /** The "color-contrast" test ends with an "incomplete" status
79
+ * since pseudo-element applies to the same container as selected values.
80
+ * A workaround to disable "color-contrast" incomplete tests.
81
+ */
82
+ rules: [{
83
+ id: 'color-contrast',
84
+ enabled: false
85
+ }]
86
+ }
75
87
  }
76
88
  }
77
89
  };
@@ -109,7 +109,7 @@ var listBoxSectionTitle = {
109
109
  justifyContent: 'center'
110
110
  };
111
111
  var chip = {
112
- cursor: 'pointer',
112
+ cursor: 'default',
113
113
  p: '3px 5px 4px 5px',
114
114
  alignItems: 'center',
115
115
  justifyContent: 'center',
@@ -102,6 +102,8 @@ export var ChipWithIcon = function ChipWithIcon() {
102
102
  icon: ContentCopy,
103
103
  ml: "xs",
104
104
  size: "14px",
105
- color: "white"
105
+ color: "white",
106
+ "aria-hidden": "true",
107
+ focusable: "false"
106
108
  })));
107
109
  };
@@ -422,7 +422,12 @@ MultivaluesField.propTypes = {
422
422
  /** Whether user input is required on the input before form submission. */
423
423
  isRequired: PropTypes.bool,
424
424
 
425
- /** The list of items. */
425
+ /** The list of items.
426
+ *
427
+ * **Note:** Every item needs to have key and name properties.
428
+ *
429
+ * `Array<{key: string, name: string}>`
430
+ */
426
431
  items: isIterableProp,
427
432
 
428
433
  /** The rendered label for the field. */
@@ -45,6 +45,18 @@ export default {
45
45
  source: {
46
46
  type: 'code'
47
47
  }
48
+ },
49
+ a11y: {
50
+ config: {
51
+ /** The "color-contrast" test ends with an "incomplete" status
52
+ * since pseudo-element applies to the same container as selected values.
53
+ * A workaround to disable "color-contrast" incomplete tests.
54
+ */
55
+ rules: [{
56
+ id: 'color-contrast',
57
+ enabled: false
58
+ }]
59
+ }
48
60
  }
49
61
  }
50
62
  };
@@ -90,7 +90,7 @@ var listBoxSectionTitle = {
90
90
  justifyContent: 'center'
91
91
  };
92
92
  export var chip = {
93
- cursor: 'pointer',
93
+ cursor: 'default',
94
94
  p: '3px 5px 4px 5px',
95
95
  alignItems: 'center',
96
96
  justifyContent: 'center',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.16.0-alpha.2",
3
+ "version": "1.16.0",
4
4
  "description": "PingUX themeable React component library",
5
5
  "author": "ux-development@pingidentity.com",
6
6
  "license": "Apache-2.0",