@instructure/ui-elements
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -46,3 +46,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
import safeCloneElement from '@instructure/ui-utils/lib/react/safeCloneElement'; | ||
import uid from '@instructure/ui-utils/lib/uid'; | ||
import generateElementId from '@instructure/ui-utils/lib/dom/generateElementId'; | ||
@@ -89,3 +89,3 @@ var styles = { | ||
_this._defaultId = 'Badge__' + uid(); | ||
_this._defaultId = generateElementId('Badge'); | ||
return _this; | ||
@@ -92,0 +92,0 @@ } |
@@ -45,3 +45,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
import ThemeablePropTypes from '@instructure/ui-themeable/lib/utils/ThemeablePropTypes'; | ||
import uid from '@instructure/ui-utils/lib/uid'; | ||
import generateElementId from '@instructure/ui-utils/lib/dom/generateElementId'; | ||
@@ -87,3 +87,3 @@ var styles = { | ||
_this.titleId = 'Spinner__' + uid(); | ||
_this.titleId = generateElementId('Spinner'); | ||
return _this; | ||
@@ -90,0 +90,0 @@ } |
@@ -66,5 +66,5 @@ 'use strict'; | ||
var _uid = require('@instructure/ui-utils/lib/uid'); | ||
var _generateElementId = require('@instructure/ui-utils/lib/dom/generateElementId'); | ||
var _uid2 = _interopRequireDefault(_uid); | ||
var _generateElementId2 = _interopRequireDefault(_generateElementId); | ||
@@ -124,3 +124,3 @@ var _theme = require('./theme'); | ||
_this._defaultId = 'Badge__' + (0, _uid2.default)(); | ||
_this._defaultId = (0, _generateElementId2.default)('Badge'); | ||
return _this; | ||
@@ -127,0 +127,0 @@ } |
@@ -63,5 +63,5 @@ 'use strict'; | ||
var _uid = require('@instructure/ui-utils/lib/uid'); | ||
var _generateElementId = require('@instructure/ui-utils/lib/dom/generateElementId'); | ||
var _uid2 = _interopRequireDefault(_uid); | ||
var _generateElementId2 = _interopRequireDefault(_generateElementId); | ||
@@ -120,3 +120,3 @@ var _theme = require('./theme'); | ||
_this.titleId = 'Spinner__' + (0, _uid2.default)(); | ||
_this.titleId = (0, _generateElementId2.default)('Spinner'); | ||
return _this; | ||
@@ -123,0 +123,0 @@ } |
{ | ||
"name": "@instructure/ui-elements", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "A UI component library made by Instructure Inc.", | ||
@@ -25,4 +25,4 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-presets": "^5.1.0", | ||
"@instructure/ui-themes": "^5.1.0", | ||
"@instructure/ui-presets": "^5.1.1", | ||
"@instructure/ui-themes": "^5.1.1", | ||
"react": "15.6.2", | ||
@@ -32,9 +32,9 @@ "react-dom": "15.6.2" | ||
"dependencies": { | ||
"@instructure/ui-a11y": "^5.1.0", | ||
"@instructure/ui-container": "^5.1.0", | ||
"@instructure/ui-icons": "^5.1.0", | ||
"@instructure/ui-layout": "^5.1.0", | ||
"@instructure/ui-motion": "^5.1.0", | ||
"@instructure/ui-themeable": "^5.1.0", | ||
"@instructure/ui-utils": "^5.1.0", | ||
"@instructure/ui-a11y": "^5.1.1", | ||
"@instructure/ui-container": "^5.1.1", | ||
"@instructure/ui-icons": "^5.1.1", | ||
"@instructure/ui-layout": "^5.1.1", | ||
"@instructure/ui-motion": "^5.1.1", | ||
"@instructure/ui-themeable": "^5.1.1", | ||
"@instructure/ui-utils": "^5.1.1", | ||
"classnames": "^2.2.5", | ||
@@ -41,0 +41,0 @@ "prop-types": "^15.5.10" |
@@ -34,3 +34,3 @@ /* | ||
import safeCloneElement from '@instructure/ui-utils/lib/react/safeCloneElement' | ||
import uid from '@instructure/ui-utils/lib/uid' | ||
import generateElementId from '@instructure/ui-utils/lib/dom/generateElementId' | ||
@@ -98,3 +98,3 @@ import styles from './styles.css' | ||
super(props) | ||
this._defaultId = `Badge__${uid()}` | ||
this._defaultId = generateElementId('Badge') | ||
} | ||
@@ -101,0 +101,0 @@ |
@@ -33,3 +33,3 @@ /* | ||
import ThemeablePropTypes from '@instructure/ui-themeable/lib/utils/ThemeablePropTypes' | ||
import uid from '@instructure/ui-utils/lib/uid' | ||
import generateElementId from '@instructure/ui-utils/lib/dom/generateElementId' | ||
@@ -75,3 +75,3 @@ import styles from './styles.css' | ||
this.titleId = `Spinner__${uid()}` | ||
this.titleId = generateElementId('Spinner') | ||
} | ||
@@ -78,0 +78,0 @@ |
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
732844