@pingux/astro 1.16.0-alpha.0 → 1.16.0-alpha.3

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.
@@ -190,7 +190,8 @@ var ArrayField = function ArrayField(props) {
190
190
  variant: "text",
191
191
  onPress: onFieldAdd,
192
192
  sx: {
193
- width: 'fit-content'
193
+ width: 'fit-content',
194
+ mt: 'xs'
194
195
  }
195
196
  }, (0, _react2.jsx)(_Text["default"], {
196
197
  variant: "label",
@@ -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
  };
@@ -145,7 +145,8 @@ var ArrayField = function ArrayField(props) {
145
145
  variant: "text",
146
146
  onPress: onFieldAdd,
147
147
  sx: {
148
- width: 'fit-content'
148
+ width: 'fit-content',
149
+ mt: 'xs'
149
150
  }
150
151
  }, ___EmotionJSX(Text, {
151
152
  variant: "label",
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.16.0-alpha.0",
3
+ "version": "1.16.0-alpha.3",
4
4
  "description": "PingUX themeable React component library",
5
5
  "author": "ux-development@pingidentity.com",
6
6
  "license": "Apache-2.0",