@dhis2-ui/loader
Advanced tools
Comparing version 6.10.0 to 6.10.1
@@ -20,13 +20,2 @@ "use strict"; | ||
''; // TODO: https://github.com/jsdoc/jsdoc/issues/1718 | ||
/** | ||
* @module | ||
* @param {CircularLoader.PropTypes} props | ||
* @returns {React.Component} | ||
* @example import { CircularLoader } from @dhis2/ui-core | ||
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/atoms/loading.md|Design system} | ||
* @see Live demo: {@link /demo/?path=/story/circularloader--default|Storybook} | ||
*/ | ||
const CircularLoader = ({ | ||
@@ -63,11 +52,2 @@ small, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* @prop {string} [className] | ||
* @prop {boolean} [small] - `small` and `large` are mutually exclusive. | ||
* @prop {boolean} [large] | ||
* @prop {string} [dataTest] | ||
*/ | ||
CircularLoader.propTypes = { | ||
@@ -74,0 +54,0 @@ className: _propTypes.default.string, |
@@ -35,12 +35,2 @@ "use strict"; | ||
}; | ||
/** | ||
* @module | ||
* @param {LinearLoader.PropTypes} props | ||
* @returns {React.Component} | ||
* | ||
* @example import { LinearLoader } from '@dhis2/ui-core' | ||
* | ||
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/atoms/loading.md|Design system} | ||
* @see Live demo: {@link /demo/?path=/story/linearloader--determinate|Storybook} | ||
*/ | ||
@@ -74,13 +64,2 @@ const LinearLoader = ({ | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {string} [className] | ||
* @prop {number} [amount] - The progression in percent without the '%' sign | ||
* @prop {string} [margin=spacers.dp12] - The margin around the loader, can be a full shorthand | ||
* @prop {string} [width=300px] - The width of the entire indicator, e.g. '100%' or '300px' | ||
* @prop {string} [dataTest] | ||
*/ | ||
LinearLoader.propTypes = { | ||
@@ -87,0 +66,0 @@ /** The progression in percent without the '%' sign */ |
@@ -6,13 +6,3 @@ import _JSXStyle from "styled-jsx/style"; | ||
import React from 'react'; | ||
''; // TODO: https://github.com/jsdoc/jsdoc/issues/1718 | ||
/** | ||
* @module | ||
* @param {CircularLoader.PropTypes} props | ||
* @returns {React.Component} | ||
* @example import { CircularLoader } from @dhis2/ui-core | ||
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/atoms/loading.md|Design system} | ||
* @see Live demo: {@link /demo/?path=/story/circularloader--default|Storybook} | ||
*/ | ||
const CircularLoader = ({ | ||
@@ -48,11 +38,2 @@ small, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* @prop {string} [className] | ||
* @prop {boolean} [small] - `small` and `large` are mutually exclusive. | ||
* @prop {boolean} [large] | ||
* @prop {string} [dataTest] | ||
*/ | ||
CircularLoader.propTypes = { | ||
@@ -59,0 +40,0 @@ className: PropTypes.string, |
@@ -23,12 +23,2 @@ import _JSXStyle from "styled-jsx/style"; | ||
}; | ||
/** | ||
* @module | ||
* @param {LinearLoader.PropTypes} props | ||
* @returns {React.Component} | ||
* | ||
* @example import { LinearLoader } from '@dhis2/ui-core' | ||
* | ||
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/atoms/loading.md|Design system} | ||
* @see Live demo: {@link /demo/?path=/story/linearloader--determinate|Storybook} | ||
*/ | ||
@@ -61,13 +51,2 @@ const LinearLoader = ({ | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {string} [className] | ||
* @prop {number} [amount] - The progression in percent without the '%' sign | ||
* @prop {string} [margin=spacers.dp12] - The margin around the loader, can be a full shorthand | ||
* @prop {string} [width=300px] - The width of the entire indicator, e.g. '100%' or '300px' | ||
* @prop {string} [dataTest] | ||
*/ | ||
LinearLoader.propTypes = { | ||
@@ -74,0 +53,0 @@ /** The progression in percent without the '%' sign */ |
{ | ||
"name": "@dhis2-ui/loader", | ||
"version": "6.10.0", | ||
"version": "6.10.1", | ||
"description": "UI Loaders", | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"@dhis2/prop-types": "^1.6.4", | ||
"@dhis2/ui-constants": "6.10.0", | ||
"@dhis2/ui-constants": "6.10.1", | ||
"classnames": "^2.3.1", | ||
@@ -37,0 +37,0 @@ "prop-types": "^15.7.2" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21252
464
+ Added@dhis2/ui-constants@6.10.1(transitive)
- Removed@dhis2/ui-constants@6.10.0(transitive)
Updated@dhis2/ui-constants@6.10.1