@panneau/form-inline 3.0.299 → 3.0.307

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.
Files changed (2) hide show
  1. package/es/index.js +16 -16
  2. package/package.json +6 -6
package/es/index.js CHANGED
@@ -1,29 +1,29 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import React from 'react';
4
- import PropTypes$1 from 'prop-types';
5
- import { PropTypes } from '@panneau/core';
4
+ import PropTypes from 'prop-types';
5
+ import { PropTypes as PropTypes$1 } from '@panneau/core';
6
6
  import Form from '@panneau/element-form';
7
7
  import { useFieldComponent } from '@panneau/core/contexts';
8
8
 
9
9
  var _excluded = ["fields", "status", "value", "onChange", "className", "onSubmit"];
10
10
  var propTypes = {
11
- fields: PropTypes.fields.isRequired,
12
- value: PropTypes$1.object,
11
+ fields: PropTypes$1.fields.isRequired,
12
+ value: PropTypes.object,
13
13
  // eslint-disable-line react/forbid-prop-types
14
- onChange: PropTypes$1.func.isRequired,
15
- onSubmit: PropTypes$1.func,
16
- status: PropTypes.formStatus,
17
- generalError: PropTypes$1.string,
18
- errors: PropTypes$1.objectOf(PropTypes$1.arrayOf(PropTypes$1.string)),
19
- buttons: PropTypes$1.arrayOf(PropTypes$1.shape({
20
- type: PropTypes$1.oneOf(['submit', 'button', 'link', 'reset']),
21
- id: PropTypes$1.string,
22
- label: PropTypes$1.string,
23
- position: PropTypes$1.string,
24
- onClick: PropTypes$1.func
14
+ onChange: PropTypes.func.isRequired,
15
+ onSubmit: PropTypes.func,
16
+ status: PropTypes$1.formStatus,
17
+ generalError: PropTypes.string,
18
+ errors: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),
19
+ buttons: PropTypes.arrayOf(PropTypes.shape({
20
+ type: PropTypes.oneOf(['submit', 'button', 'link', 'reset']),
21
+ id: PropTypes.string,
22
+ label: PropTypes.string,
23
+ position: PropTypes.string,
24
+ onClick: PropTypes.func
25
25
  })),
26
- className: PropTypes$1.string
26
+ className: PropTypes.string
27
27
  };
28
28
  var defaultProps = {
29
29
  status: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/form-inline",
3
- "version": "3.0.299",
3
+ "version": "3.0.307",
4
4
  "description": "Inline form",
5
5
  "keywords": [
6
6
  "javascript"
@@ -57,10 +57,10 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@babel/runtime": "^7.12.5",
60
- "@panneau/core": "^3.0.295",
61
- "@panneau/element-button": "^3.0.299",
62
- "@panneau/element-form": "^3.0.299",
63
- "@panneau/field-fields": "^3.0.299",
60
+ "@panneau/core": "^3.0.307",
61
+ "@panneau/element-button": "^3.0.307",
62
+ "@panneau/element-form": "^3.0.307",
63
+ "@panneau/field-fields": "^3.0.307",
64
64
  "classnames": "^2.5.1",
65
65
  "lodash-es": "^4.17.21",
66
66
  "prop-types": "^15.7.2",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "265c38d01fe6da4ef49ff2792cf07a496424d985"
72
+ "gitHead": "cbe5e8b1705d01c5653a4df617a06243344310d3"
73
73
  }