Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-form-field

Package Overview
Dependencies
Maintainers
7
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-form-field - npm Package Compare versions

Comparing version 4.32.0 to 4.33.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## 4.33.0 - (February 15, 2024)
* Changed
* Minor dependency version bump.
## 4.32.0 - (December 11, 2023)

@@ -7,0 +12,0 @@

5

lib/Field.js

@@ -22,4 +22,4 @@ "use strict";

function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

@@ -217,5 +217,4 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

};
Field.propTypes = propTypes;
Field.defaultProps = defaultProps;
var _default = exports.default = Field;

6

package.json
{
"name": "terra-form-field",
"version": "4.32.0",
"version": "4.33.0",
"description": "The Form Field component handles the layout of the label, help text and error text associated with a form element.",

@@ -27,3 +27,3 @@ "author": "Cerner Corporation",

"prop-types": "^15.5.8",
"terra-icon": "^3.59.0",
"terra-icon": "^3.60.0",
"terra-theme-context": "^1.0.0"

@@ -49,3 +49,3 @@ },

},
"gitHead": "9bb7f9261dac42e2bc7e9e6289cdb43fd0689e79"
"gitHead": "31ec38baf909fed741b41a204f7fa28884ab327e"
}

@@ -5,3 +5,2 @@ /* eslint-disable react/jsx-boolean-value, import/no-extraneous-dependencies */

import IconHelp from 'terra-icon/lib/icon/IconHelp';
import { shallowWithIntl, mountWithIntl } from 'terra-enzyme-intl';
import Input from './mocks/Input';

@@ -19,3 +18,3 @@ import Select from './mocks/Select';

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -32,3 +31,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -45,3 +44,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -59,3 +58,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -72,3 +71,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -86,3 +85,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -100,3 +99,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -114,3 +113,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -133,3 +132,3 @@ });

const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -148,3 +147,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -164,3 +163,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -180,3 +179,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -195,3 +194,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -212,3 +211,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -225,3 +224,3 @@ });

);
const wrapper = shallowWithIntl(field);
const wrapper = enzymeIntl.shallowWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -240,3 +239,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -255,3 +254,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -270,3 +269,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -285,3 +284,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -300,3 +299,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -315,3 +314,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -331,3 +330,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -347,3 +346,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -363,3 +362,3 @@ });

);
const wrapper = mountWithIntl(field);
const wrapper = enzymeIntl.mountWithIntl(field);
expect(wrapper).toMatchSnapshot();

@@ -377,3 +376,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -391,3 +390,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -405,3 +404,3 @@ });

);
const wrapper = mountWithIntl(field).children();
const wrapper = enzymeIntl.mountWithIntl(field).children();
expect(wrapper).toMatchSnapshot();

@@ -411,3 +410,3 @@ });

it('correctly applies the theme context className', () => {
const wrapper = mountWithIntl(
const wrapper = enzymeIntl.mountWithIntl(
<ThemeContextProvider theme={{ className: 'orion-fusion-theme' }}>

@@ -414,0 +413,0 @@ <Field

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc