@atlaskit/form
Advanced tools
Comparing version 9.0.10 to 9.0.11
@@ -20,4 +20,4 @@ "use strict"; | ||
_excluded5 = ["fieldProps"]; | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
@@ -24,0 +24,0 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } |
@@ -15,4 +15,4 @@ "use strict"; | ||
var _set = _interopRequireDefault(require("lodash/set")); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
/** | ||
@@ -68,3 +68,2 @@ * __Form context__ | ||
}); | ||
(0, _finalFormFocus.default)(function () { | ||
@@ -71,0 +70,0 @@ return formRef.current ? Array.from(formRef.current.querySelectorAll('input')) : []; |
@@ -48,3 +48,2 @@ import React, { createContext, useCallback, useEffect, useMemo, useRef, useState } from 'react'; | ||
}); | ||
createDecorator(() => formRef.current ? Array.from(formRef.current.querySelectorAll('input')) : [])(finalForm); | ||
@@ -51,0 +50,0 @@ return finalForm; |
@@ -56,3 +56,2 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
}); | ||
createDecorator(function () { | ||
@@ -59,0 +58,0 @@ return formRef.current ? Array.from(formRef.current.querySelectorAll('input')) : []; |
{ | ||
"name": "@atlaskit/form", | ||
"version": "9.0.10", | ||
"version": "9.0.11", | ||
"description": "A form allows users to input information.", | ||
@@ -31,5 +31,5 @@ "publishConfig": { | ||
"@atlaskit/icon": "^22.1.0", | ||
"@atlaskit/primitives": "^4.0.0", | ||
"@atlaskit/primitives": "^5.0.0", | ||
"@atlaskit/theme": "^12.6.0", | ||
"@atlaskit/tokens": "^1.39.0", | ||
"@atlaskit/tokens": "^1.41.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -50,9 +50,9 @@ "@emotion/react": "^11.7.1", | ||
"@af/visual-regression": "*", | ||
"@atlaskit/button": "^17.6.0", | ||
"@atlaskit/checkbox": "^13.0.0", | ||
"@atlaskit/button": "^17.7.0", | ||
"@atlaskit/checkbox": "^13.1.0", | ||
"@atlaskit/ds-lib": "^2.2.0", | ||
"@atlaskit/range": "^7.1.0", | ||
"@atlaskit/select": "^17.1.0", | ||
"@atlaskit/select": "^17.3.0", | ||
"@atlaskit/ssr": "*", | ||
"@atlaskit/textfield": "^6.0.0", | ||
"@atlaskit/textfield": "^6.1.0", | ||
"@atlaskit/visual-regression": "*", | ||
@@ -59,0 +59,0 @@ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", |
Sorry, the diff of this file is too big to display
234978
3996
+ Added@atlaskit/css@0.1.1(transitive)
+ Added@atlaskit/primitives@5.7.0(transitive)
+ Added@atlaskit/visually-hidden@1.5.2(transitive)
+ Added@compiled/react@0.17.3(transitive)
- Removed@atlaskit/css@0.0.3(transitive)
- Removed@atlaskit/primitives@4.1.1(transitive)
- Removed@compiled/react@0.16.10(transitive)
- Removedbind-event-listener@2.1.1(transitive)
Updated@atlaskit/primitives@^5.0.0
Updated@atlaskit/tokens@^1.41.0