New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dhis2-ui/field

Package Overview
Dependencies
Maintainers
2
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2-ui/field - npm Package Compare versions

Comparing version 6.10.0 to 6.10.1

27

build/cjs/field-group/field-group.js

@@ -18,10 +18,2 @@ "use strict";

/** * @module
* @param {FieldGroup.PropTypes} props
* @returns {React.Component}
*
* @example import { FieldGroup } from '@dhis2/ui'
*
* @example import { FieldGroup } from '@dhis2/ui-widgets'
*/
const FieldGroup = ({

@@ -59,21 +51,2 @@ children,

};
/**
* @typedef {Object} PropTypes
* @static
* @private
*
* @prop {Node} [children]
* @prop {string} [className]
* @prop {boolean} [disabled]
* @prop {string} [helpText]
* @prop {string} [label]
* @prop {string} [name]
* @prop {string} [validationText]
* @prop {boolean} [required]
* @prop {string} [dataTest]
* @prop {boolean} [valid] - `valid`, `warning`, and `error`, are mutually exclusive
* @prop {boolean} [warning]
* @prop {boolean} [error]
*/
FieldGroup.propTypes = {

@@ -80,0 +53,0 @@ children: _propTypes.default.node,

@@ -16,9 +16,2 @@ "use strict";

/**
* @module
* @param {FieldSet.PropTypes} props
* @returns {React.Component}
* @example import { FieldSet } from @dhis2/ui-core
* @see Live demo: {@link /demo/?path=/story/fieldset--default}
*/
const FieldSet = ({

@@ -39,10 +32,2 @@ className,

};
/**
* @typedef {Object} PropTypes
* @static
* @prop {Node} [children]
* @prop {string} [className]
* @prop {string} [dataTest]
*/
FieldSet.propTypes = {

@@ -49,0 +34,0 @@ children: _propTypes.default.node,

@@ -22,11 +22,2 @@ "use strict";

/**
* @module
* @param {Field.PropTypes} props
* @returns {React.Component}
*
* @example import { Field } from '@dhis2/ui'
*
* @example import { Field } from '@dhis2/ui-core'
*/
const Field = ({

@@ -69,21 +60,2 @@ children,

};
/**
* @typedef {Object} PropTypes
* @static
* @private
*
* @prop {Node} [children]
* @prop {string} [className]
* @prop {boolean} [disabled]
* @prop {string} [helpText]
* @prop {string} [label]
* @prop {string} [name]
* @prop {string} [validationText]
* @prop {boolean} [required]
* @prop {string} [dataTest]
* @prop {boolean} [valid] - `valid`, `warning`, and `error`, are mutually exclusive
* @prop {boolean} [warning]
* @prop {boolean} [error]
*/
Field.propTypes = {

@@ -90,0 +62,0 @@ children: _propTypes.default.node,

@@ -5,10 +5,2 @@ import { sharedPropTypes } from '@dhis2/ui-constants';

import { Field, FieldSet } from '../index.js';
/** * @module
* @param {FieldGroup.PropTypes} props
* @returns {React.Component}
*
* @example import { FieldGroup } from '@dhis2/ui'
*
* @example import { FieldGroup } from '@dhis2/ui-widgets'
*/

@@ -46,21 +38,2 @@ const FieldGroup = ({

};
/**
* @typedef {Object} PropTypes
* @static
* @private
*
* @prop {Node} [children]
* @prop {string} [className]
* @prop {boolean} [disabled]
* @prop {string} [helpText]
* @prop {string} [label]
* @prop {string} [name]
* @prop {string} [validationText]
* @prop {boolean} [required]
* @prop {string} [dataTest]
* @prop {boolean} [valid] - `valid`, `warning`, and `error`, are mutually exclusive
* @prop {boolean} [warning]
* @prop {boolean} [error]
*/
FieldGroup.propTypes = {

@@ -67,0 +40,0 @@ children: PropTypes.node,

import _JSXStyle from "styled-jsx/style";
import PropTypes from 'prop-types';
import React from 'react';
/**
* @module
* @param {FieldSet.PropTypes} props
* @returns {React.Component}
* @example import { FieldSet } from @dhis2/ui-core
* @see Live demo: {@link /demo/?path=/story/fieldset--default}
*/

@@ -26,10 +19,2 @@ const FieldSet = ({

};
/**
* @typedef {Object} PropTypes
* @static
* @prop {Node} [children]
* @prop {string} [className]
* @prop {string} [dataTest]
*/
FieldSet.propTypes = {

@@ -36,0 +21,0 @@ children: PropTypes.node,

@@ -7,11 +7,2 @@ import { Box } from '@dhis2-ui/box';

import React from 'react';
/**
* @module
* @param {Field.PropTypes} props
* @returns {React.Component}
*
* @example import { Field } from '@dhis2/ui'
*
* @example import { Field } from '@dhis2/ui-core'
*/

@@ -54,21 +45,2 @@ const Field = ({

};
/**
* @typedef {Object} PropTypes
* @static
* @private
*
* @prop {Node} [children]
* @prop {string} [className]
* @prop {boolean} [disabled]
* @prop {string} [helpText]
* @prop {string} [label]
* @prop {string} [name]
* @prop {string} [validationText]
* @prop {boolean} [required]
* @prop {string} [dataTest]
* @prop {boolean} [valid] - `valid`, `warning`, and `error`, are mutually exclusive
* @prop {boolean} [warning]
* @prop {boolean} [error]
*/
Field.propTypes = {

@@ -75,0 +47,0 @@ children: PropTypes.node,

10

package.json
{
"name": "@dhis2-ui/field",
"version": "6.10.0",
"version": "6.10.1",
"description": "UI Field",

@@ -33,7 +33,7 @@ "repository": {

"dependencies": {
"@dhis2-ui/box": "6.10.0",
"@dhis2-ui/help": "6.10.0",
"@dhis2-ui/label": "6.10.0",
"@dhis2-ui/box": "6.10.1",
"@dhis2-ui/help": "6.10.1",
"@dhis2-ui/label": "6.10.1",
"@dhis2/prop-types": "^1.6.4",
"@dhis2/ui-constants": "6.10.0",
"@dhis2/ui-constants": "6.10.1",
"classnames": "^2.3.1",

@@ -40,0 +40,0 @@ "prop-types": "^15.7.2"

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